/* Landing section: a 1-to-1 replica of the gutgutgoose.com hero layout, measured from the live
   site at 1440, 1280, 1024 and 390px. Their breakpoints are kept: desktop ≥1440px (fixed sizes,
   centered), tablet 810–1439px, phone <810px. Their pages carry a promo banner (36px desktop, 32px
   tablet/phone) above the hero; we have none, so every vertical position here is theirs minus that
   banner. Loaded last. */
@font-face{font-family:Manrope;src:url('fonts/manrope-latin-var.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:Figtree;src:url('fonts/figtree-latin-var.woff2') format('woff2');font-weight:400 600;font-display:swap}
/* Fitting the page to the screen. The desktop layout is drawn for a 1440px-wide laptop window; a
   bigger monitor is also further away, so scaling everything with its width would make the type and
   buttons huge. Two units instead, both exactly 1px at 1440px and below (where the tablet and phone
   layouts take over at their own sizes):
   --px  type, spacing, buttons, the nav: grows gently, 15% larger at 2560px, at most 30%;
   --w   layout widths (the content column, the photo cards, the plan cards, the test ring): keeps
         the same share of the screen as on the laptop, so a section fills a 2560px monitor instead
         of sitting at half width in the middle; held at 1.8x so an ultrawide keeps margins.
   The hero is always exactly one screen tall (below). */
:root {
  --px: clamp(1px, (100vw + 6000px) / 7440, 1.3px);
  --w: clamp(1px, 100vw / 1440, 1.8px);
}
:root {
  --landing-head: "Manrope", "DM Sans", system-ui, sans-serif;
  --landing-body: "Figtree", "DM Sans", system-ui, sans-serif;
  --landing-glass: rgba(0, 0, 0, .2);
  --landing-blur: blur(34px);
  --landing-pill: 1000px;
}

/* ---------- Hero frame: one screen tall ---------- */
/* The hero fills the window it is opened in (never shorter than 620px), whatever the screen; the
   photo's crop and the copy column follow from that height (--hero-h). At the top of the page the
   photo fills the screen edge to edge, square-cornered. Once the page is scrolled 100px (main.js
   adds .is-zoomed), it eases into a barely inset frame (8px, 10px at the sides) with rounded
   corners, the same way the Contact card opens out but far smaller, with the Contact card's 1s sine
   ease. */
.hero { --hero-h: max(100svh, 620px); height: var(--hero-h); min-height: 0; }
.hero .hero__clip { clip-path: inset(0 round 0); transition: clip-path 1s cubic-bezier(.37, 0, .63, 1); }
.hero.is-zoomed .hero__clip { clip-path: inset(calc(8 * var(--px)) calc(10 * var(--px)) round calc(24 * var(--px))); }
/* Hero photo: WebP first with a JPEG fallback; the 2560 version serves screens ≤1440px, and phones
   (≤640px) get a 1200px square cut of exactly the part their layout shows (below), a third the weight.
   She sits in the right third (head + headset span 48.6–91.1% of the image width, 16–70% of its
   height); 70% horizontal keeps her in frame as cover crops the sides. Under the photo sits a tiny
   copy of it inlined here (a few hundred bytes), so the hero paints at once, soft, and sharpens when
   the photo arrives; the base color is the sky's average tone. */
.hero .hero__clip {
  --hero-lqip: url("data:image/webp;base64,UklGRgABAABXRUJQVlA4IPQAAACwBgCdASorABgAPu1gqU2ppaQiMBVdUTAdiWxXn0YWnT1b3YDAUhB6ruVgM3ROgoKhyCz36h0sA5mF24crAAD+7rfo/8lA6f/9gdfyL5Og1wRN+/+CB1CgwS/+LQKy7VfAvZiHH/UqF8VshVfHON4L7vZN8B7ivY41Zo0/PuFd0xAOQbeO2oZOtbD91KqZvaEAgSzOBHewsu3ZtRg8/2H+wDtH6cC84pSJjrCOK9Ec0z5bLxSfaP0RbVegrnkGCBN9n0Ng1eTHMPSqm9VXYsJnOQFM1Ks2iUTsnXNjtV5Jcowkj/NEUcspgmQM3IcIO54/w9AA");
  background-color: #1f6391;
  background-image: url("assets/grandma-headset-3840.jpg");
  background-image: image-set(url("assets/grandma-headset-3840.webp") type("image/webp"), url("assets/grandma-headset-3840.jpg") type("image/jpeg")), var(--hero-lqip);
  background-size: cover; background-position: 70% center; background-repeat: no-repeat;
}
@media (max-width: 1440px) {
  .hero .hero__clip {
    background-image: image-set(url("assets/grandma-headset-2560.webp") type("image/webp"), url("assets/grandma-headset-3840.jpg") type("image/jpeg")), var(--hero-lqip);
  }
}
/* On a phone the photo stands as a square band the width of the screen (the 1023px block below sizes
   it to 100vw tall at 85% across), always the same square of the photo; this is that square. */
@media (max-width: 640px) {
  .hero .hero__clip {
    --hero-lqip: url("data:image/webp;base64,UklGRtIAAABXRUJQVlA4IMYAAADQBACdASoYABgAPu1urFEppqQiqAqpMB2JbACdMuN5aBKYkyH6AwizeYeN9TaAAAD+ufEAFI7fPx+x4g7yhWLeoZXKPpISkZbNot8vLr9A+O5yUjeZKDEB9d4paSCZ252MYl87gMZrZbSj7D1WsXaHVA/BSNWqEHso9R8zp3DJ6r697ZHu6cNdydodyneh1sw5cc0MzEzH8RXywgM6l86+Z0h0Q7Yqsc5LS8Cw2ZiIVC1Li4BDpoPFcyDOai6XHi310jYQAAA=");
    background-image: url("assets/grandma-headset-phone-1200.webp"), var(--hero-lqip);
  }
}
/* No full-image darkening. Two faint gradients sit behind the copy only: one from the top, one from
   the left that is gone by the hero's midline, short of her face. Together they hold the 80%-white
   subtext at ≥4.54:1 on this sky at every width (it measured 4.0–4.5 without them). */
.hero .hero__shade {
  /* The bottom scrim sits behind the footer row (YC line + logos) over the cloud bank. */
  background:
    linear-gradient(0deg, rgba(8, 28, 48, .55) 0, rgba(8, 28, 48, 0) calc(220 * var(--px))),
    linear-gradient(90deg, rgba(8, 28, 48, .45) 0%, rgba(8, 28, 48, 0) 50%),
    linear-gradient(180deg, rgba(8, 28, 48, .22) 0%, rgba(8, 28, 48, .12) 30%, rgba(8, 28, 48, 0) 55%);
}

/* ---------- Copy column ---------- */
/* Headline, subtext and actions, centred on her eye line behind the visor (37% down the hero).
   Left-aligned over the open sky. The width is capped so the column always ends 40px before the
   headset cable (her leftmost point, 48.6% across the image). The photo is 1.791 times as wide as it
   is tall, so while the window is narrower than that it is cropped at the sides and the cable sits
   at 0.7·vw − 0.383·hero height; wider, the photo fills the width and the cable sits at 48.6vw.
   Column left (54px) + gap (40px) = 94px. */
.hero .hero__content {
  position: absolute; top: 37%; left: calc(54 * var(--px)); transform: translateY(-50%);
  width: min(577 * var(--px), calc(70vw - var(--hero-h) * .383 - 94 * var(--px)), calc(48.6vw - 94 * var(--px))); max-width: none; margin: 0; padding: 0; gap: 0;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.hero .hero__content h1 {
  width: 100%; max-width: 100%; margin: 0;
  font: 500 calc(46 * var(--px))/calc(51.06 * var(--px)) var(--landing-head); letter-spacing: normal; color: #fff;
  white-space: normal; text-wrap: balance;
}
.hero .hero__sub {
  /* 17px, large enough to read easily over the photo, and the two sentences still set in two
     lines: the column is 545px at 1440px (it can't widen without reaching the headset cable). */
  width: 100%; max-width: none; margin: calc(18 * var(--px)) 0 0;
  font: 400 calc(17 * var(--px))/calc(25 * var(--px)) var(--landing-body); letter-spacing: -0.2px; color: rgba(255, 255, 255, .8);
  text-wrap: pretty;
}

/* ---------- Actions ---------- */
/* The primary is a dark glass pill, Figtree 14px white, 45px tall.
   A plain text link sits beside it as the quieter secondary action. */
.hero__actions { display: flex; align-items: center; gap: calc(26 * var(--px)); margin-top: calc(28 * var(--px)); }
.hero__cta {
  display: inline-flex; align-items: center; justify-content: center; height: calc(45 * var(--px)); padding: 0 calc(26 * var(--px));
  border-radius: var(--landing-pill); background: var(--landing-glass); color: #fff;
  -webkit-backdrop-filter: var(--landing-blur); backdrop-filter: var(--landing-blur);
  font: 400 calc(14 * var(--px))/calc(16.8 * var(--px)) var(--landing-body); white-space: nowrap;
  transition: background-color .2s ease;
}
.hero__cta:hover { background: rgba(0, 0, 0, .3); }
/* The quiet second action, set like the Research card's "See if you qualify" (plans.css): medium
   15px with tightened tracking and the chevron that grows a stem and steps right on hover, in white. */
.hero__link {
  display: inline-flex; align-items: center; gap: calc(8 * var(--px)); height: calc(45 * var(--px));
  font: 500 calc(15 * var(--px))/1 var(--landing-body); letter-spacing: -.015em; color: #fff; white-space: nowrap;
}
.hero__link:hover { text-decoration: underline; text-underline-offset: calc(4 * var(--px)); }
.hero__link:hover .plan__arrow-stem { opacity: 1; }
.hero__link:hover .plan__arrow-head { transform: translateX(calc(3 * var(--px))); }
/* "Book your test" ends the nav: the same off-white pill as Acuity's "Book your test" (plans.css), with its
   chevron that grows a stem on hover. It reads on the photo and, by its shadow, on the light bar, so
   it stays the same in both states. On desktop it is as tall as the links, so it sits inside the bar
   with the bar's 4px inset all round; in the tablet/phone menu it spans the panel. Never a black block. */
.site-nav__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--px)); height: calc(36.8 * var(--px)); padding: 0 calc(18 * var(--px)) 0 calc(20 * var(--px));
  border-radius: var(--landing-pill); background: #f2f2f0; color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, .3);
  font: 500 calc(14 * var(--px))/calc(16.8 * var(--px)) var(--landing-body); letter-spacing: -.015em; white-space: nowrap;
  transition: background-color .2s ease;
}
.site-nav__cta:hover { background: #fff; }
/* On the light bar an off-white pill would be white on white, so there it becomes a faint wash of the
   site's black: just enough to read as the one button, quieter than the white pill. */
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-nav__cta { background: rgba(18, 12, 8, .07); box-shadow: none; }
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-nav__cta:hover { background: rgba(18, 12, 8, .11); }
.site-nav__arrow { flex: none; width: calc(10 * var(--px)); height: calc(10 * var(--px)); overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }
.site-nav__arrow-stem { opacity: 0; transition: opacity .15s ease; }
.site-nav__arrow-head { transition: transform .15s ease; }
.site-nav__cta:hover .site-nav__arrow-stem { opacity: 1; }
.site-nav__cta:hover .site-nav__arrow-head { transform: translateX(calc(3 * var(--px))); }
/* Desktop: not there over the hero. Once the hero has passed it grows in at the end of the links,
   as the bar's sweep reaches it; it closes up again on the way back. (The tablet/phone menu always
   has it.) */
@media (min-width: 1440px) {
  .site-nav__cta {
    max-width: 0; margin-left: calc(-6 * var(--px)); padding: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-width .45s var(--quint), margin .45s var(--quint), padding .45s var(--quint), opacity .2s linear,
      visibility 0s linear .45s, background-color .2s ease;
  }
  body:is(.nav-on-light, .theme-dark) .site-nav__cta {
    max-width: calc(170 * var(--px)); margin-left: 0; padding: 0 calc(18 * var(--px)) 0 calc(20 * var(--px)); opacity: 1; visibility: visible;
    transition: max-width .5s var(--quint) .3s, margin .5s var(--quint) .3s, padding .5s var(--quint) .3s, opacity .3s linear .45s,
      visibility 0s linear .3s, background-color .2s ease;
  }
}

/* ---------- Logo ---------- */
/* Over the hero (and the other photo sections) it is the bare white logo, with nothing behind it.
   Once the hero has scrolled out from under it (main.js sets body.nav-on-light) it turns green, in
   one movement: the white mark shrinks onto the mark inside the app icon (65.6% of the circle's
   width) while the green circle grows in underneath it, and the green sweeps across the wordmark from
   left to right, in step with the glass bar (.site-bar) sweeping in behind the whole header.
   Scrolling back up runs it in reverse.
   The white mark is drawn as wide as the circle and centred on it, so the logo keeps the same size
   and place in both states.
   --logo-icon sets the circle's size; the wordmark's lowercase letters are 46% of it. The wordmark
   image carries the full lockup height, with its x-height band at 32.7–85.9% of that height, so it is
   0.46 / 0.532 = 0.86 × the icon tall and nudged up 9.3% of its height to put the letters' optical
   center on the circle's center.
   Padding: the mark is inset --logo-pad; the text end gets twice that, since flat letters against the
   bar's round end need more room than a circle does to look the same. */
.site-logo.site-logo--panel {
  --logo-icon: calc(32 * var(--px));
  --logo-pad: calc(6.4 * var(--px));
  --logo-word-h: calc(var(--logo-icon) * .86);
  top: calc(25 * var(--px)); left: calc(54 * var(--px)); width: auto; height: calc(44.8 * var(--px));
  padding: 0 calc(var(--logo-pad) * 2) 0 var(--logo-pad); gap: calc(var(--logo-icon) * .1875);
  border-radius: var(--landing-pill); box-shadow: none; background: transparent;
}
:root { --sweep: cubic-bezier(.65, 0, .35, 1); }
.site-logo.site-logo--panel img { display: block; max-width: none; object-fit: contain; }
.site-logo.site-logo--panel .site-logo__mark {
  position: relative; flex: none; width: var(--logo-icon); height: var(--logo-icon);
}
/* Above the circle, so it lands on the circle's own white mark before it fades. */
.site-logo.site-logo--panel .site-logo__mark-white {
  position: absolute; z-index: 1; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 681 / 400;
  transform: translateY(-50%); transition: transform .6s var(--quint), opacity .15s linear;
}
/* Cropped to a circle: the inscribed circle sits entirely inside the app icon's squircle, so it keeps
   the icon's exact gradient and mark. */
.site-logo.site-logo--panel .site-logo__icon {
  position: absolute; left: 0; top: 0; width: var(--logo-icon); height: var(--logo-icon); border-radius: 50%;
  opacity: 0; transform: scale(.4); transition: transform .5s var(--quint), opacity .2s linear .3s;
}
.site-logo.site-logo--panel .site-logo__word {
  position: relative; display: block; flex: none; height: var(--logo-word-h); aspect-ratio: 330 / 96;
  transform: translateY(calc(var(--logo-word-h) * -.093));
}
/* The white and green wordmarks are cut at the same moving edge, so one colour gives way to the
   other along a single line. Pure white (#fff), the same white as the headline. */
.site-logo.site-logo--panel .site-logo__word-white {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(0 0 0 0); transition: clip-path .5s var(--sweep);
}
/* The green version: the wordmark as a mask over the brand logo's own gradient (lighter green top left,
   deep green through the middle, teal bottom right). logo-wordmark-green.png is that gradient, sampled
   from the brand logo and mapped letter-box to letter-box onto this mask, so the box (and the
   wordmark's size) is exactly the white one's. */
.site-logo.site-logo--panel .site-logo__word-green {
  position: absolute; inset: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--sweep);
  background: url("assets/logo-wordmark-green.png") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/logo-wordmark-white.png") center / 100% 100% no-repeat;
  mask: url("assets/logo-wordmark-white.png") center / 100% 100% no-repeat;
}
/* Below the hero, over light sections. */
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-logo--panel .site-logo__mark-white {
  opacity: 0; transform: translateY(-50%) scale(.656);
  transition: transform .6s var(--quint), opacity .2s linear .4s;
}
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-logo--panel .site-logo__icon {
  opacity: 1; transform: scale(1); transition: transform .6s var(--quint), opacity .15s linear;
}
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-logo--panel .site-logo__word-white { clip-path: inset(0 0 0 100%); transition-delay: .12s; }
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-logo--panel .site-logo__word-green { clip-path: inset(0 0 0 0); transition-delay: .12s; }

/* ---------- Header bar ---------- */
/* One light glass bar behind the logo and the links, edge to edge of the header. It is hidden over
   the hero and sweeps in from the left once the hero has passed, as the logo turns green. */
.site-bar {
  position: fixed; z-index: 49; top: calc(25 * var(--px)); left: calc(54 * var(--px)); right: calc(54 * var(--px)); height: calc(44.8 * var(--px));
  border-radius: var(--landing-pill); pointer-events: none;
  background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: var(--landing-blur); backdrop-filter: var(--landing-blur);
  clip-path: inset(0 100% 0 0 round calc(22.4 * var(--px))); transition: clip-path .7s var(--sweep);
}
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-bar { clip-path: inset(0 0 0 0 round calc(22.4 * var(--px))); }

/* ---------- Nav links (desktop) ---------- */
/* Bare white links over the hero, dark on the bar below it. */
.site-nav {
  position: fixed; top: calc(25 * var(--px)); right: calc(54 * var(--px)); z-index: 50;
  display: flex; align-items: center; gap: calc(6 * var(--px)); padding: calc(4 * var(--px)); border-radius: var(--landing-pill);
}
.site-nav a:not(.site-nav__cta) {
  padding: calc(10 * var(--px)) calc(18 * var(--px)); border-radius: var(--landing-pill);
  font: 400 calc(14 * var(--px))/calc(16.8 * var(--px)) var(--landing-body); color: #fff; white-space: nowrap;
  transition: background-color .2s ease, color .5s var(--quint);
}
.site-nav a:not(.site-nav__cta):hover { background: rgba(255, 255, 255, .12); }
.site-menu { display: none; }

/* Over photo sections further down, everything goes back to bare white. */
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-menu { color: var(--ink); }
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-nav a:not(.site-nav__cta) { color: var(--ink); }
body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-nav a:not(.site-nav__cta):hover { background: rgba(18, 12, 8, .04); }

.site-logo--panel:focus-visible,
.site-nav a:focus-visible,
.site-menu:focus-visible,
.hero__cta:focus-visible,
.hero__link:focus-visible,
.hero__logos:focus-visible { outline: 2px solid #fff; outline-offset: calc(3 * var(--px)); }
body.nav-on-light .site-logo--panel:focus-visible,
body.nav-on-light .site-nav a:focus-visible,
body.nav-on-light .site-menu:focus-visible { outline-color: var(--ink); }

/* ---------- Footer row: "Backed by Y Combinator", a hairline, rolling logos ----------
   One quiet row along the hero's bottom edge, left-aligned with the copy, over the bottom scrim.
   It ends 30px before her shoulder, which at this height sits 57.5% across the image:
   0.575·1725 − 0.7·(1725 − vw) − 30 = 0.7·vw − 246px while the 963px-tall hero crops the image,
   and 57.5vw − 30px once the image fills the width. */
.hero .hero__proof {
  position: absolute; left: calc(54 * var(--px)); bottom: calc(44 * var(--px)); z-index: 1;
  display: flex; align-items: center; gap: calc(26 * var(--px));
  width: calc(min(70vw - var(--hero-h) * .224, 57.5vw) - 84 * var(--px));
}
.hero .hero__yc {
  position: static; transform: none; flex: none; display: inline-flex; align-items: center; gap: calc(6 * var(--px));
  height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  /* 90% white: ≥4.9:1 over the scrim and clouds at every width (80% dipped to 4.3 at 1440px). */
  font: 400 calc(13 * var(--px))/1 var(--landing-body); color: rgba(255, 255, 255, .9); white-space: nowrap;
}
.hero .hero__yc img { width: calc(14 * var(--px)); height: calc(14 * var(--px)); border-radius: calc(3 * var(--px)); }
.hero__proof-rule { flex: none; width: 1px; height: calc(24 * var(--px)); background: rgba(255, 255, 255, .3); }

/* ---------- Logo strip ----------
   White logos roll left to right in the rest of the footer row, fading in over a short 28px and out
   over a longer 140px toward her. Sizes are optical: equal outline area weighted by ink coverage, so
   heavy and airy marks read as the same size. */
.hero .hero__logos {
  position: relative; flex: 1 1 auto; min-width: 0; height: calc(40 * var(--px)); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(28 * var(--px)), #000 calc(100% - 140 * var(--px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 calc(28 * var(--px)), #000 calc(100% - 140 * var(--px)), transparent 100%);
}
.hero__logos-track { display: flex; width: max-content; height: 100%; animation: hero-logos-roll 25s linear infinite; }
.hero__logos:hover .hero__logos-track { animation-play-state: paused; }
.hero__logos-group { display: flex; align-items: center; gap: calc(40 * var(--px)); margin: 0; padding: 0 calc(40 * var(--px)) 0 0; list-style: none; }
.hero__logos-group img { display: block; max-width: none; height: auto; }
/* Three identical groups; moving one group's width (a third of the track) loops seamlessly. */
@keyframes hero-logos-roll { from { transform: translateX(-33.3333%); } to { transform: translateX(0); } }

/* ---------- Tablet: 810–1439px ---------- */
@media (max-width: 1439.98px) {
  /* Column left (32px) + gap (32px) = 64px before the cable. */
  .hero .hero__content { left: 32px; width: min(487px, calc(70vw - var(--hero-h) * .383 - 64px)); }
  .hero .hero__content h1 { width: 100%; font-size: 36px; line-height: 39.96px; letter-spacing: -0.5px; }
  .hero .hero__sub { margin-top: 25px; font-size: 17px; line-height: 25px; }
  .hero__actions { margin-top: 20px; }
  .hero .hero__proof { left: 32px; width: calc(70vw - var(--hero-h) * .224 - 62px); }

  .site-logo.site-logo--panel { top: 16px; left: 16px; height: 42px; --logo-pad: 7px; }
  .site-logo.site-logo--panel { --logo-icon: 28px; }
  .site-bar { top: 16px; left: 16px; right: 16px; height: 42px; clip-path: inset(0 100% 0 0 round 21px); }
  body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-bar { clip-path: inset(0 0 0 0 round 21px); }

  .site-menu {
    position: fixed; top: 16px; right: 16px; z-index: 51;
    display: grid; place-items: center; width: 54px; height: 42px; border-radius: var(--landing-pill);
    background: transparent; color: #fff; transition: color .5s var(--quint);
  }
  /* The nav becomes the dropdown panel under the menu button, always in glass so its links read. */
  .site-nav {
    background: var(--landing-glass); -webkit-backdrop-filter: var(--landing-blur); backdrop-filter: var(--landing-blur);
    top: 66px; right: 16px; left: auto; transform: none;
    width: 222px; flex-direction: column; align-items: stretch; gap: 0; border-radius: 24px;
    visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s, background-color .5s var(--quint);
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s ease, background-color .5s var(--quint); }
  body.nav-on-light:not(.logo-over-signup):not(.logo-over-meet) .site-nav { background: rgba(255, 255, 255, .66); }
  .site-nav a:not(.site-nav__cta) { padding: 14px 18px; }
  .site-nav__cta { display: flex; height: 48px; margin-top: 4px; }
}

/* ---------- Phone: <810px ---------- */
@media (max-width: 809.98px) {
  .hero { height: 1009px; }
  .hero .hero__content { top: 116px; width: calc(100% - 24px); }
  .hero .hero__content h1 { width: 100%; font-size: 32px; line-height: 35.52px; }
}

/* ---------- Stacked: <1024px ----------
   Below 1024px she would fill most of the width, so the photo becomes a block at the top
   (min(100vw, 640px) tall, anchored 85% across so her head, headset and hair stay fully in frame).
   It fades into a deep sky band (a darker tone of the photo's own sky) so the copy keeps the desktop
   look: white type, left-aligned, glass button, and the YC line + logos in one footer row. */
@media (max-width: 1023.98px) {
  .hero {
    --stack-h: min(100vw, 640px);
    --stack-band: #163a59;
    height: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: calc(var(--stack-h) + 8px) 0 40px;
  }
  .hero .hero__clip {
    background-color: var(--stack-band); background-size: auto var(--stack-h); background-position: 85% 0;
  }
  .hero.is-zoomed .hero__clip { clip-path: inset(5px round 20px); }
  .hero .hero__shade {
    background: linear-gradient(180deg, rgba(22, 58, 89, 0) calc(var(--stack-h) * .55), var(--stack-band) calc(var(--stack-h) - 1px));
  }
  .hero .hero__content {
    position: relative; top: auto; left: 24px; transform: none;
    width: min(560px, calc(100% - 48px)); align-items: flex-start; text-align: left;
  }
  /* Glass reads against the dark band as a light frost rather than the desktop's dark tint. */
  .hero__cta { background: rgba(255, 255, 255, .14); }
  .hero__cta:hover { background: rgba(255, 255, 255, .22); }
  .hero .hero__proof {
    position: relative; left: 24px; bottom: auto; width: calc(100% - 48px); margin-top: 40px; gap: 18px;
  }
  .hero .hero__logos {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 48px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 48px), transparent 100%);
  }
}

/* ---------- Phone polish: <768px ----------
   Sections breathe 64px each side on a phone, 128px between them (the tablet's 160 read as empty
   screens). In the plan cards a two-line item keeps its icon by the first line and leaves no word
   alone on the last. */
@media (max-width: 767.98px) {
  .method, .tests, .plans, .questions { padding-top: 64px; padding-bottom: 64px; }
  .plan__list li { align-items: flex-start; text-wrap: pretty; }
  .plan__list svg { margin-top: 2.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logos-track { animation: none; }
  .site-logo.site-logo--panel, .site-nav, .site-nav a, .site-menu, .hero__cta, .site-nav__cta, .hero .hero__clip, .site-bar,
  .site-nav__arrow-stem, .site-nav__arrow-head { transition: none; }
  .site-nav__cta { transition: none !important; }
  /* !important: the on-light state sets its own transitions at a higher specificity. */
  .site-logo--panel .site-logo__mark-white, .site-logo--panel .site-logo__icon,
  .site-logo--panel .site-logo__word-white, .site-logo--panel .site-logo__word-green { transition: none !important; }
}
