/* Sitewide shell for the 2026-11 redesign: tokens, header, phone menu, buttons, footer.
   Every page opts in with <body class="site">. Loads after tailwind.css and styles.css.
   Page-specific design lives in its own file (home.css for the homepage). */
body.site{--ink:#111315;--mute:#5d6268;--line:#ececea;--bg:#fafaf8;--card:#fff;--g:#1b7a43;--g-dark:#145f34;--g2:#e7f3ec;--sun:#ffb547;--blue:#2c55b0;
  margin:0;color:var(--ink);background:var(--bg);font-family:Onest,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.site .hidden{display:none}
html.trial-open .site .no-trial{display:none} /* data-trial-cta's opposite: shown only while signup is closed */
.site .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* buttons */
.site .btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:12px 20px;border-radius:10px;font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;transition:background .15s,transform .15s;cursor:pointer}
.site .btn:hover{transform:translateY(-1px)}
.site .btn-k{background:var(--ink);color:#fff}.site .btn-k:hover{background:#2b2f33}
.site .btn-l{background:#fff;border:1px solid #dcdcd8;color:var(--ink)}
.site .btn-sun{background:var(--sun);color:var(--ink)}
.site .btn-ghost{border:1px solid rgba(255,255,255,.35);color:#fff}

/* header */
.site .site-nav{position:sticky;top:0;z-index:50;margin:0 auto;padding:12px 16px 0;background:linear-gradient(var(--bg) 26px,transparent 26px)} /* solid strip above the pill and behind its rounded corners, so text never shows through */
.site .site-nav .bar,.site #mobile-menu{max-width:1148px;margin-left:auto;margin-right:auto}
.site .site-nav a:not(.btn){color:inherit;text-decoration:none}
.site .site-nav .bar{display:flex;align-items:center;gap:28px;padding:8px 8px 8px 18px;border-radius:14px;background:rgba(250,250,248,.97);backdrop-filter:blur(12px);border:1px solid var(--line)}
.site .site-nav .logo img{height:30px;width:auto;display:block}
.site .site-nav .links{display:flex;gap:22px;font-size:14px;color:var(--mute)}
.site .site-nav .links a:hover,.site .site-nav .links a[aria-current]{color:var(--ink)}
.site .site-nav .links a[aria-current]{font-weight:600}
.site .site-nav .right{margin-left:auto;display:flex;gap:14px;align-items:center;font-size:14px}
.site .site-nav .right .btn{padding:10px 16px;font-size:14px}
.site #mobile-menu-btn{display:none;margin-left:auto;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:0;background:none;font:inherit;font-size:14px;color:var(--ink);cursor:pointer}
.site #mobile-menu{margin-top:8px;padding:8px 18px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.site #mobile-menu a{display:block;padding:12px 0;border-top:1px solid var(--line)}.site #mobile-menu a:first-child{border:0}

/* footer */
.site .site-footer{border-top:1px solid var(--line);padding:44px 0 56px;color:var(--mute);font-size:14px;background:var(--bg)}
.site .site-footer a{color:inherit;text-decoration:none}
.site .site-footer .wrap{max-width:1240px;margin:0 auto;padding:0 32px;display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:space-between}
.site .site-footer img{height:30px;width:auto;display:block;filter:none} /* styles.css whitens footer logos for the old dark footer */
.site .site-footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.site .site-footer nav a:hover{color:var(--ink)}
.site .site-footer p{flex-basis:100%;margin:0}

/* Older Tailwind pages: the new header is in the page flow, so drop the space kept for the old fixed one,
   and map the old blue brand classes onto the new palette (tailwind.css bakes the hex values in). */
body.site > main.pt-16{padding-top:0}
@media (min-width:768px){body.site > main.md\:pt-20{padding-top:0}}
.site .text-text{color:var(--ink)}
.site .bg-text{background-color:var(--ink)}
.site .text-primary,.site .text-cta,.site .group:hover .group-hover\:text-primary{color:var(--g)}
.site .hover\:text-primary:hover{color:var(--g)}
.site .hover\:text-primary-light:hover{color:var(--g-dark)}
.site .bg-primary,.site .hover\:bg-primary:hover{background-color:var(--g)}
.site .hover\:bg-primary-light:hover{background-color:var(--g-dark)}
.site .bg-primary\/10{background-color:rgba(27,122,67,.1)}
.site .bg-primary\/5{background-color:rgba(27,122,67,.05)}
.site .border-primary,.site .hover\:border-primary:hover,.site .focus\:border-primary:focus{border-color:var(--g)}
.site .border-primary\/20{border-color:rgba(27,122,67,.2)}
.site .focus\:ring-primary:focus{--tw-ring-color:var(--g)}
.site .bg-cta{background-color:var(--ink)}
.site .hover\:bg-sky-700:hover{background-color:#2b2f33}
.site .bg-background,.site .bg-gradient-theme-subtle{background:var(--bg)}
body.site.bg-gradient-theme-subtle{background:var(--bg)!important} /* styles.css paints this body gradient with !important */
.site .bg-gradient-to-br.from-primary\/5{background:#f1f5f1}
.site .bg-gradient-theme{background:var(--ink)}
.site .bg-gradient-footer{background:var(--ink)}

@media (max-width:860px){
  .site .site-nav .links,.site .site-nav .right{display:none}
  .site #mobile-menu-btn{display:inline-flex}
  .site .site-footer .wrap{padding:0 20px}
}

/* ---- Content pages (features, blog, FAQ, contact, how it works...). They keep their Tailwind markup;
   these rules restyle its shared patterns into the homepage look. The homepage has its own home.css. ---- */
body.site:not(.home) main{font-size:16px}
body.site:not(.home) main h1{font-weight:600;font-size:clamp(38px,5.2vw,68px);line-height:1.05;letter-spacing:-.04em;color:var(--ink)}
body.site:not(.home) main h2{font-weight:600;letter-spacing:-.03em;line-height:1.12;color:var(--ink)}
body.site:not(.home) main h2.text-2xl,body.site:not(.home) main h2.text-3xl{font-size:clamp(28px,3.4vw,42px)}
body.site:not(.home) main h3{font-weight:600;letter-spacing:-.01em}
body.site:not(.home) main .text-gray-600,body.site:not(.home) main .text-slate-600{color:var(--mute)}
/* sections: one calm background, hairline separators, more air */
body.site:not(.home) main > section{background:transparent}
body.site:not(.home) main > section + section{border-top:1px solid var(--line)}
body.site:not(.home) main > section.py-16{padding-top:88px;padding-bottom:88px}
body.site:not(.home) main > section.py-12{padding-top:56px;padding-bottom:56px}
body.site:not(.home) main > section.bg-gradient-to-br{background:transparent}
body.site:not(.home) main > section.bg-gradient-to-br > div{padding-top:72px}
/* cards */
body.site:not(.home) main .rounded-xl.border:not(img):not(video):not(.screenshot-clickable),
body.site:not(.home) main .faq-item{border-radius:20px;border-color:var(--line);background:#fff}
body.site:not(.home) main .p-6.rounded-xl.border{padding:28px}
body.site:not(.home) main .blog-card:hover{border-color:#cfd8d2;box-shadow:none;transform:translateY(-3px)}
body.site:not(.home) main .blog-card{transition:transform .2s,border-color .2s}
body.site:not(.home) main .bg-primary\/10{background:var(--g2)}
/* screenshots and videos */
body.site:not(.home) main .screenshot-panel{min-width:0;width:100%} /* its row is items-start, so without this it sizes to the image */
body.site:not(.home) main .screenshot-panel > .screenshot-clickable{width:100%;min-width:0} /* the frame, not the image's own width, sets the size */
body.site:not(.home) main .screenshot-panel img.object-cover{object-position:left top}
body.site:not(.home) main img.object-cover[src*="home-parent-form"]{object-position:center top} /* the form is centered in its shot, so a left crop cuts its right edge when the frame is narrower than the image (phones) */
body.site:not(.home) main img.rounded-xl,body.site:not(.home) main video.rounded-xl,body.site:not(.home) main .screenshot-clickable{border-radius:14px;border-color:var(--line)}
body.site:not(.home) main img.shadow-lg,body.site:not(.home) main video.shadow-lg,body.site:not(.home) main .screenshot-clickable.shadow-lg{box-shadow:0 40px 80px -40px rgba(0,0,0,.35)}
/* feature bullet lists: Tailwind's reset strips list markers, so plain items get the green tick (items already built as li.flex carry their own) */
body.site:not(.home) main ul.text-gray-600 > li:not(.flex){position:relative;padding-left:26px}
body.site:not(.home) main ul.text-gray-600 > li:not(.flex)::before{content:"\2713";position:absolute;left:0;top:0;color:var(--g);font-weight:700}
/* buttons */
body.site:not(.home) main a.rounded-lg.px-6,body.site:not(.home) main a.rounded-lg.px-8,body.site:not(.home) main button.rounded-lg{border-radius:10px;font-weight:600}
body.site:not(.home) main a.border-2.border-primary{border:1px solid #dcdcd8;background:#fff;color:var(--ink)}
body.site:not(.home) main a.border-2.border-primary:hover{background:#fff;color:var(--ink);border-color:#b9bdb8}
/* closing call to action: the homepage's dark banner */
body.site:not(.home) main > section.bg-gradient-theme{margin:24px 32px 60px;border-radius:28px;border-top:0;background:var(--ink)}
body.site:not(.home) main > section.bg-gradient-theme h2{color:#fff}
body.site:not(.home) main > section.bg-gradient-theme a.bg-white{background:var(--sun);color:var(--ink)}
body.site:not(.home) main > section.bg-gradient-theme a.bg-white:hover{background:#ffc56e}
body.site:not(.home) main > section.bg-gradient-theme .text-white\/80{color:rgba(255,255,255,.82)}
/* related links become pills */
body.site:not(.home) main a.underline.font-medium{text-decoration:none;padding:8px 14px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px}
body.site:not(.home) main a.underline.font-medium:hover{border-color:#cfd8d2;color:var(--g)}
/* forms */
body.site:not(.home) main input.rounded-lg,body.site:not(.home) main select.rounded-lg,body.site:not(.home) main textarea.rounded-lg{border-radius:10px;border-color:#dcdcd8}
/* blog articles (blog.css still sets the spacing) */
body.site .blog-prose h2{color:var(--ink);font-weight:600;letter-spacing:-.025em;border-bottom:1px solid var(--line)}
body.site .blog-prose h3,body.site .blog-prose h4,body.site .blog-prose th{color:var(--ink)}
body.site .blog-prose p,body.site .blog-prose li{color:#3d4247}
body.site .blog-prose a{color:var(--g)}
body.site .blog-prose a:hover{color:var(--g-dark)}
body.site .blog-prose blockquote{border-left-color:var(--g)}
body.site main article h1{font-size:clamp(32px,4.4vw,52px)}
@media (max-width:860px){
  body.site:not(.home) main > section.bg-gradient-theme{margin:16px 16px 40px}
  body.site:not(.home) main > section.py-16{padding-top:60px;padding-bottom:60px}
}
/* video Pause/Play control (WCAG 2.2.2), pinned to the video's corner */
.site .vid{position:relative}
.site .vid-toggle{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:0;border-radius:999px;background:rgba(17,19,21,.88);color:#fff;font:600 12px/1 Onest,system-ui,sans-serif;cursor:pointer;transition:opacity .15s}
@media (hover:hover){.site .vid.playing .vid-toggle{opacity:0}.site .vid.playing:hover .vid-toggle,.site .vid.playing .vid-toggle:focus-visible{opacity:1}} /* mouse users: hidden while playing until hover; keyboard focus still shows it */
.site .vid-toggle:hover{background:var(--ink)}
.site .vid-toggle:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.site .vid-toggle.hidden{display:none}
