/* ============================================================
   FROSTED MESH BACKGROUND SYSTEM
   Pure CSS. No images, no JS, nothing animated.

   Usage:
     <body>
       <div class="page">
         <div class="mesh" aria-hidden="true"></div>
         <div class="grid-top" aria-hidden="true"></div>
         <section class="section">…</section>              <!-- full colour -->
         <section class="section" style="--veil:.4">…</section>
         <section class="section veil-full">…</section>     <!-- flat #F7F7F7 -->
       </div>
   </body>

   The mesh is ONE element sized to the whole document and it scrolls
   with the page, so different sections genuinely sit on different
   colour. Per-section muting is the --veil custom property (0 → 1).
   ============================================================ */

:root {
  --base: #F7F7F7;
  --ink: #1A130D;
  --accent: #0ABAB5;        /* tiffany blue */
  --accent-ink: #04302E;    /* readable text on the accent */
  --accent-deep: #0A7A77;   /* the accent as readable text */

  /* one shared left rail for everything below the hero */
  --rail: 1080px;

  /* three spacing steps. every gap on the page is one of these */
  --sp-s: clamp(16px, 2vw, 24px);
  --sp-m: clamp(28px, 4vw, 48px);
  --sp-l: clamp(56px, 8vw, 104px);

  /* the type scale: hero, figure, heading, body, label */
  --t-figure: clamp(44px, 6.6vw, 78px);
  --t-h2: clamp(24px, 2.9vw, 34px);
  --t-h3: clamp(18px, 1.7vw, 21px);
  --t-body: clamp(15px, 1.15vw, 17px);
  --t-label: 12.5px;

  --logo-size: 40px;   /* the grid square */

  /* the dashboard window's own height (16:9 at its clamped width) and how much
     of it shows above the fold: a quarter, capped so short viewports still fit
     the hero copy above it */
  --mac-h: calc(min(1080px, 92vw) * 0.5625);
  --peek: min(calc(0.25 * var(--mac-h)), 20svh);
  --hero-top: 124px;

  /* Bloom radii — midway between the wide four-bloom version and the
     small eight-bloom one. Six medium blooms. Grown relative to the
     viewport on narrow screens so they don't merge into a flat wash. */
  --bloom-w: 50vw;
  --bloom-h: 35vw;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* the nav is fixed, so anchored sections stop clear of it */
.section[id] { scroll-margin-top: 76px; }
body {
  background: var(--base);
  color: var(--ink);
  font: 400 16px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-deep); }
a:hover { color: var(--ink); }

/* ---- layer 0: positioning context spanning the full document ----
   overflow-x: clip contains the paper plane's flight path without creating
   a scroll container (so the pulled-up dashboard peek still works) */
.page { position: relative; overflow-x: clip; }

/* ---- layer 1: the mesh ------------------------------------------
   Absolute, full document height, scrolls with the page. Four very
   soft blooms in one declaration, placed as percentages of the whole
   document so they spread top to bottom. Each stop fades to fully
   transparent well before the edge, so there is no visible boundary. */
.mesh {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    /* 1 · mint */
    radial-gradient(ellipse var(--bloom-w) var(--bloom-h) at 14% 5%,
      hsl(155 54% 92.5%) 0%, hsl(155 54% 92.5% / .86) 30%, hsl(155 54% 92.5% / 0) 70%),
    /* 2 · sky */
    radial-gradient(ellipse var(--bloom-w) var(--bloom-h) at 86% 21%,
      hsl(205 64% 92.5%) 0%, hsl(205 64% 92.5% / .86) 30%, hsl(205 64% 92.5% / 0) 70%),
    /* 3 · teal */
    radial-gradient(ellipse var(--bloom-w) var(--bloom-h) at 10% 38%,
      hsl(182 52% 92.5%) 0%, hsl(182 52% 92.5% / .86) 30%, hsl(182 52% 92.5% / 0) 70%),
    /* 4 · warm sand */
    radial-gradient(ellipse var(--bloom-w) var(--bloom-h) at 84% 55%,
      hsl(28 66% 92.5%) 0%, hsl(28 66% 92.5% / .86) 30%, hsl(28 66% 92.5% / 0) 70%),
    /* 5 · rose */
    radial-gradient(ellipse var(--bloom-w) var(--bloom-h) at 86% 72%,
      hsl(348 54% 93%) 0%, hsl(348 54% 93% / .86) 30%, hsl(348 54% 93% / 0) 70%),
    /* 6 · lilac */
    radial-gradient(ellipse var(--bloom-w) var(--bloom-h) at 88% 89%,
      hsl(255 46% 93%) 0%, hsl(255 46% 93% / .86) 30%, hsl(255 46% 93% / 0) 70%);
  background-repeat: no-repeat;
}

/* Dither: breaks up banding across very wide gradients. 3px checker at
   ~2% opacity — invisible as texture, enough to kill the steps. */
.mesh::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-conic-gradient(#000 0% 25%, #fff 0% 50%);
  background-size: 3px 3px;
  opacity: .022;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---- layer 1b: grid ---------------------------------------------
   A faint ruled grid over the hero that starts at 40% strength and
   fades to nothing about three quarters of the way down the first screen.
   Scrolls with the page like the mesh.
   Tune --grid-size, --grid-ink and --grid-fade.                    */
.grid-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--grid-fade);
  z-index: 0;
  pointer-events: none;
  --grid-size: 40px;
  --grid-fade: 100vh;   /* grid ends at the bottom of the hero */
  --grid-ink: rgba(26, 19, 13, .13);
  background-image:
    linear-gradient(to right, var(--grid-ink) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-ink) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
}
@media (max-width: 700px) {
  .grid-top { --grid-size: 28px; --grid-ink: rgba(26, 19, 13, .11); }
}

/* ---- layer 1c: bouncing social logos ----------------------------
   One of each logo, confined to the first section. They travel in
   straight lines like a DVD screensaver, bouncing off the section
   edges, off the text blocks, off each other, and off the cursor.
   Populated by the script at the end of the body.                   */
.logos {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100svh;           /* overwritten by the script: hero height */
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.logos img {
  position: absolute;
  top: 0; left: 0;
  width: var(--logo-size, 40px);
  height: auto;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.logos.is-in img {
  opacity: .32;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 700px) { .logos { --logo-size: 30px; } }

/* Every platform logo, everywhere on the page: flat ink, never brand colour.
   They are there to say "these platforms", not to be looked at. */
img[src*="assets/logo-"] { filter: grayscale(1) contrast(.92); opacity: .6; }

/* ---- layer 1d: the paper plane ----------------------------------
   Crosses the viewport left to right, over everything but the nav, at a
   new height and angle each pass. */
.plane {
  position: absolute;   /* anchored to the page, not the viewport */
  top: 0; left: 0;
  width: 30px; height: auto;
  z-index: 0;          /* behind the sections, so it passes under the cards */
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-160px, 40vh, 0) rotate(45deg);
  transition: opacity 1.4s ease;
}
.plane.is-in { opacity: .34; }
@media (max-width: 700px) { .plane { width: 24px; } }
@media (prefers-reduced-motion: reduce) { .plane { display: none; } }

/* ---- liquid-glass nav ------------------------------------------------
   Floats over the hero rather than sitting at the top of the document,
   and fades away as soon as you start scrolling.                     */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
  z-index: 20;
  border-radius: 999px;
  /* the glass: a faint tint, a specular sheen across the top, and a
     highlight rim, over a strong blur of whatever is behind */
  background:
    linear-gradient(to bottom, rgba(255,255,255,.42) 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,.16) 100%),
    rgba(247, 247, 247, .22);
  -webkit-backdrop-filter: blur(24px) saturate(185%) brightness(1.06);
  backdrop-filter: blur(24px) saturate(185%) brightness(1.06);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.75),
    inset 0 -1px 2px rgba(255,255,255,.28),
    0 1px 2px rgba(26,19,13,.05),
    0 18px 40px -18px rgba(26,19,13,.28);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.nav.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-16px);
  pointer-events: none;
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 7px 10px 7px 24px;      /* 20% thinner than before */
}
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.nav-brand > img { width: 23px; height: auto; display: block; flex: 0 0 auto; }
.nav-mark {
  white-space: nowrap;
  font-size: 16.5px; font-weight: 700; letter-spacing: -.02em;
  text-decoration: none; color: var(--ink);
  /* fixed slot (width set in px by the script to the widest face) with the
     word centred inside, so the nav items never jitter while it cycles */
  display: inline-block;
  position: relative;
  height: 1.1em;
  line-height: 1.1;
}
.nav-mark span {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1.1;
  font-synthesis: none;
}
/* the resting wordmark face */
.nav-mark span.settled { font-family: "Space Grotesk", "Helvetica Neue", sans-serif; font-weight: 600; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-links a {
  font-size: 14.5px; text-decoration: none; color: #4a3f34; white-space: nowrap;
  padding: 8px 15px; border-radius: 999px;
  transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.45); }
.nav-cta {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  color: var(--accent-ink); background: var(--accent);
  padding: 7px 20px; border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(10,186,181,.75);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), opacity .18s;
}
.nav-cta:hover { transform: translateY(-1px); opacity: .9; }
@media (max-width: 700px) {
  .nav { top: 12px; }
  .nav-links { display: none; }
  .nav-in { gap: 18px; padding: 8px 10px 8px 20px; }
}

/* ---- layer 2: content, each with its own veil -------------------
   --veil: 0   → gradient fully visible
   --veil: .5  → half muted
   --veil: 1   → flat #F7F7F7, no colour at all                    */
.section {
  --veil: 0;
  --feather: 24%;          /* how far the veil ramps in from each edge */
  position: relative;
  z-index: 1;
  background: transparent;
}

/* The veil is feathered rather than flat: it fades up from nothing at the
   section's top edge and back to nothing at its bottom edge, so a muted
   section never meets a colourful one on a hard line. */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(247, 247, 247, 0) 0%,
    rgba(247, 247, 247, var(--veil)) var(--feather),
    rgba(247, 247, 247, var(--veil)) calc(100% - var(--feather)),
    rgba(247, 247, 247, 0) 100%);
}
/* Convenience steps, if you'd rather not write an inline style */
.veil-0    { --veil: 0; }
.veil-15   { --veil: .15; }
.veil-25   { --veil: .25; }
.veil-40   { --veil: .4; }
.veil-50   { --veil: .5; }
.veil-65   { --veil: .65; }
.veil-85   { --veil: .85; }
.veil-full { --veil: 1; }

/* ---- narrow screens: smaller blooms so they stay distinct ------- */
@media (max-width: 700px) {
  :root { --bloom-w: 72vw; --bloom-h: 48vw; }
}
@media (max-width: 420px) {
  :root { --bloom-w: 85vw; --bloom-h: 60vw; }
}

/* ============================================================
   DEMO PAGE ONLY — not part of the system
   ============================================================ */
.section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--sp-l) clamp(22px, 6vw, 72px);
}
.section:first-of-type { padding-top: max(var(--sp-l), var(--hero-top)); }
/* ---- hero copy ---- */
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 720px; margin: 0 auto; text-align: center; }
.hero-in h1 .line1 { display: block; white-space: nowrap; }
.hero-in h1 {
  /* vw-based so "Just keep posting" always fits on one line, however slim */
  font-size: min(clamp(44px, 8.4vw, 92px), 10.6vw);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.hero-in h1 .line2 {
  display: block;
  margin-top: .12em;
  font-size: .58em;
  /* same face as the settled wordmark, so once "Tanuki" lands the line reads as one */
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #55483c;
  /* fixed line box: whatever face "Tanuki" takes, the line's height and
     baseline are set by THIS element's font, never by the swapped one */
  line-height: 1.06;
}
/* "Tanuki" settles onto the wordmark face on load. It reserves a fixed slot
   so the words after it never move, whatever face is showing. */
.hero-in h1 .line2 em.tk-slot {
  /* A rigid slot. Its width (set in px by the script to the widest face) and
     1em height are the only things the line ever sees, so swapping the face
     inside cannot move anything: the word is absolutely positioned. */
  position: relative;
  display: inline-block;
  height: 1em;
  vertical-align: baseline;
  margin-right: .26em;
  font-style: normal;
}
.hero-in h1 .line2 #tanuki {
  position: absolute;
  right: 0;
  bottom: -.16em;          /* sit on the line's baseline, not above it */
  line-height: 1;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
  font-synthesis: none;
}
.settled { font-family: "Space Grotesk", "Helvetica Neue", sans-serif; font-weight: 600; letter-spacing: -.03em; }
.f0 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.f1 { font-family: "Space Grotesk", "Helvetica Neue", sans-serif; font-weight: 600; letter-spacing: -.03em; }
.f2 { font-family: "Archivo Black", Impact, sans-serif; font-weight: 400; letter-spacing: -.045em; }
.f3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-style: italic; letter-spacing: -.015em; }
.f4 { font-family: "DM Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: -.06em; }
.f5 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; letter-spacing: .01em; }
.f6 { font-family: "Caveat", cursive; font-weight: 700; letter-spacing: -.01em; }
.f7 { font-family: "Bricolage Grotesque", "Helvetica Neue", sans-serif; font-weight: 700; letter-spacing: -.035em; }
.f8 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-style: italic; letter-spacing: -.03em; }
.f9 { font-family: "Chivo Mono", ui-monospace, monospace; font-weight: 600; letter-spacing: -.055em; }
.f10 { font-family: "Alfa Slab One", Georgia, serif; font-weight: 400; letter-spacing: -.04em; }
.hero-sub strong { font-weight: 500; color: #2b241c; }
.hero-sub .sub-em { font-style: italic; }
/* the slot's width is animated, so the words before it glide rather than jump */
.sub-cycle {
  display: inline-block; vertical-align: baseline;
  white-space: nowrap;
  transition: width .62s cubic-bezier(.32,.72,0,1);
}
.sub-cycle-in {
  display: inline-block; font-weight: 500; color: #2b241c;
  transition: opacity .34s ease, transform .44s cubic-bezier(.32,.72,0,1);
}
.sub-cycle-in.out { opacity: 0; transform: translateY(-5px); }
.sub-measure {
  position: absolute; left: -9999px; top: 0; visibility: hidden; pointer-events: none;
  white-space: nowrap; font-weight: 500; font-size: inherit; line-height: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .sub-cycle, .sub-cycle-in { transition: none; }
  .sub-cycle-in.out { opacity: 1; transform: none; }
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: #3d342b;
  max-width: 46ch;
  margin-inline: auto;
  text-wrap: pretty;
}
.signup { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; margin-inline: auto; justify-content: center; }
.signup input {
  flex: 1 1 240px; min-width: 0;
  font: 400 15.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  border-radius: 999px;
  padding: 15px 20px;
  /* same liquid glass as the nav */
  background:
    linear-gradient(to bottom, rgba(255,255,255,.42) 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,.16) 100%),
    rgba(247, 247, 247, .22);
  -webkit-backdrop-filter: blur(24px) saturate(185%) brightness(1.06);
  backdrop-filter: blur(24px) saturate(185%) brightness(1.06);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.75),
    inset 0 -1px 2px rgba(255,255,255,.28),
    0 1px 2px rgba(26,19,13,.05),
    0 18px 40px -18px rgba(26,19,13,.28);
  transition: border-color .18s, box-shadow .18s;
}
.signup input::placeholder { color: #8d8479; }
.signup input:focus {
  outline: none;
  border-color: rgba(10,186,181,.6);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.75),
    0 0 0 3px rgba(10,186,181,.2),
    0 18px 40px -18px rgba(26,19,13,.28);
}
.signup button {
  flex: 0 0 auto;
  font: 600 15.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--accent-ink); background: var(--accent);
  border: none; border-radius: 999px;
  padding: 16px 26px; cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(10,186,181,.8);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), opacity .18s;
}
.signup button:hover { transform: translateY(-1px); opacity: .9; }
.fine {
  margin-top: 14px; font-size: 13.5px; color: #7b7267;
  /* aligned to the left edge of the email field above it */
  max-width: 520px; margin-inline: auto;
  text-align: left; padding-left: 22px;
}
@media (max-width: 560px) { .fine { padding-left: 0; text-align: center; } }
@media (max-width: 560px) {
  /* stacked and narrower than the text column, so it doesn't read as a slab
     (flex-basis would otherwise become a 240px HEIGHT on the input) */
  .signup { flex-direction: column; align-items: center; max-width: 300px; }
  .signup input { flex: 0 0 auto; width: 100%; }
  .signup button { flex: 0 0 auto; width: 100%; }
  .fine { max-width: 300px; padding-left: 0; text-align: center; }
}

.demo-in { position: relative; z-index: 1; width: 100%; max-width: 660px; margin: 0 auto; }
.demo-tag {
  display: inline-block;
  font: 500 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .16em; text-transform: uppercase;
  color: #6b5c4d;
  border: 1px solid rgba(26,19,13,.18);
  border-radius: 999px;
  padding: 7px 13px;
  margin-bottom: 26px;
}
.demo-in h2 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.demo-in p {
  margin-top: 18px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--ink);
  max-width: 58ch;
  text-wrap: pretty;
}
.demo-in p + p { margin-top: 14px; }
.demo-in .small {
  margin-top: 24px;
  font: 400 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace;
  color: #6b5c4d;
}

/* ---- mac window placeholder (section 02) ----
   Pulled up over the bottom of the hero so roughly the top quarter of the
   window is already on screen — enough to make you scroll for the rest. */
.section:nth-of-type(2) {
  margin-top: calc(-1 * var(--peek));
  min-height: 0;
  padding-bottom: clamp(60px, 9vh, 110px);
}

.mac-wrap { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.mac-head { margin-bottom: var(--sp-m); }
.mac-head h2 { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.mac-head p { margin-top: var(--sp-s); font-size: var(--t-body); color: #4a3f34; }

.mac {
  aspect-ratio: 16 / 9;          /* the app window is a 16:9 frame */
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(26,19,13,.1);
  box-shadow: 0 2px 4px rgba(26,19,13,.05), 0 40px 80px -34px rgba(26,19,13,.45);
}
.mac-bar {
  position: relative;
  flex: 0 0 auto;
  height: 40px; display: flex; align-items: center; gap: 12px;
  padding: 0 14px;
  background: rgba(247,247,247,.72);
  border-bottom: 1px solid rgba(26,19,13,.08);
}
.mac-lights { display: flex; gap: 7px; }
.mac-lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mac-lights i:nth-child(1) { background: #ff5f57; }
.mac-lights i:nth-child(2) { background: #febc2e; }
.mac-lights i:nth-child(3) { background: #28c840; }
.mac-title {
  /* centred on the window, not on the space left of the traffic lights */
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 12.5px; color: #8d8479; letter-spacing: -.01em; white-space: nowrap;
}
.mac-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 232px 1fr; }
.mac-side {
  padding: 16px 12px;
  border-right: 1px solid rgba(26,19,13,.07);
  background: rgba(247,247,247,.45);
  display: flex; flex-direction: column; gap: 8px;
}
.mac-main { padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.mac-row { display: grid; gap: 16px; }
.mac-row.grow { flex: 1 1 auto; min-height: 0; }
.mac-row.c3 { grid-template-columns: repeat(3, 1fr); }
.mac-row.c2 { grid-template-columns: 1.6fr 1fr; }
.mac-card {
  border: 1px solid rgba(26,19,13,.08);
  border-radius: 11px;
  background: rgba(255,255,255,.5);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}

/* ghost elements */
.gh {
  position: relative; overflow: hidden;
  border-radius: 7px;
  background: rgba(26,19,13,.075);
}
.gh::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: gh-sweep 2.1s ease-in-out infinite;
}
.gh.d1::after { animation-delay: .18s; }
.gh.d2::after { animation-delay: .36s; }
.gh.d3::after { animation-delay: .54s; }
@keyframes gh-sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .gh::after { animation: none; } }
.gh.h8 { height: 8px; } .gh.h12 { height: 12px; } .gh.h16 { height: 16px; }
.gh.h22 { height: 22px; } .gh.h34 { height: 34px; }
.gh.fill { flex: 1 1 auto; min-height: 60px; }
.gh.w40 { width: 40%; } .gh.w55 { width: 55%; } .gh.w70 { width: 70%; } .gh.w85 { width: 85%; }
.gh.pill { border-radius: 999px; }
.gh.circle { border-radius: 50%; width: 30px; height: 30px; flex: 0 0 auto; }
.gh.accent { background: rgba(10,186,181,.22); }
.mac-nav-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.mac-nav-item.on { background: rgba(10,186,181,.12); }
.mac-nav-item .gh.sq { width: 16px; height: 16px; border-radius: 5px; flex: 0 0 auto; }
.mac-nav-item .gh.txt { height: 9px; flex: 1 1 auto; }
.mac-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9c948a; }
.mac-note {
  margin-top: var(--sp-s); text-align: left;
  font: 400 12.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  color: #8d8479;
}
/* Below 860px the window keeps its 16:9 shape and its full desktop layout:
   it is scaled down as one piece, like a screenshot zoomed out. --mac-scale
   is set from the holder's real width in JS. */
@media (max-width: 860px) {
  .mac-holder { height: calc(var(--mac-scale, 1) * 663.75px); overflow: hidden; }
  .mac {
    width: 1180px; height: 663.75px; aspect-ratio: auto;
    transform: scale(var(--mac-scale, 1)); transform-origin: top left;
    box-shadow: 0 2px 4px rgba(26,19,13,.05), 0 40px 80px -34px rgba(26,19,13,.45);
  }
}

/* ---- features, karat layout (section 03) ---- */
.k-wrap { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.k-head { margin: 0 0 var(--sp-m); }
.k-head h2 {
  font-size: var(--t-h2); font-weight: 700;
  line-height: 1.05; letter-spacing: -.032em; text-wrap: balance;
}
.k-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--sp-s); row-gap: var(--sp-m);
}
.k-cell { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* hovering a feature makes its copy glow: full ink plus a soft white
   bloom off the type itself. the card follows with a small lift. */
.k-cell p { transition: color .2s ease, text-shadow .2s ease; }
.k-cell .k-panel { transition: box-shadow .22s ease, border-color .22s ease, transform .22s cubic-bezier(.2,.7,.2,1); }
.k-cell:hover p {
  color: #1A130D;
  text-shadow: 0 0 1px rgba(255,255,255,.9), 0 0 12px rgba(255,255,255,.95), 0 0 26px rgba(255,255,255,.8);
}
.k-cell:hover p strong { color: #000; }
.k-cell:hover .k-panel {
  transform: translateY(-1px);
  border-color: rgba(26,19,13,.14);
  box-shadow: 0 1px 2px rgba(26,19,13,.05), 0 12px 26px -20px rgba(26,19,13,.34);
}
@media (prefers-reduced-motion: reduce) {
  .k-cell p, .k-cell .k-panel { transition: none; }
  .k-cell:hover .k-panel { transform: none; }
}
.k-row { display: contents; }
.k-cell h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.k-cell p { margin-top: -6px; font-size: var(--t-body); line-height: 1.55; color: #55483c; text-wrap: pretty; max-width: 36ch; }
.k-cell p strong, .k-big p strong { font-weight: 600; color: #2b241c; }
.k-cell p em, .k-big p em { font-style: italic; }
.k-note {
  margin-top: var(--sp-m); text-align: left;
  font-size: var(--t-label); color: #8d8479;
}

/* --- the six feature graphics -------------------------------------
   One frame, one type scale, one ink ramp. Each panel is a single white
   card with a labelled header rule and real content: no grey placeholder
   bars, no per-graphic surface treatments. */
.k-panel {
  aspect-ratio: 4 / 3;
  background: linear-gradient(176deg, rgba(10,186,181,.045), rgba(10,186,181,0) 46%), #fff;
  border: 1px solid rgba(26,19,13,.09);
  border-radius: 12px;
  padding: 13px;
  box-shadow: 0 1px 2px rgba(26,19,13,.05);
  display: flex; align-items: stretch;
  overflow: hidden;
}
.k-vis { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 9px; }
/* every graphic opens with the same labelled rule */
.k-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(26,19,13,.08); flex: 0 0 auto;
}
.k-lab { font: 600 8.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .11em; text-transform: uppercase; color: #8d8479; }
.k-meta { font: 500 8.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #a8a096; font-variant-numeric: tabular-nums; }
.k-fig { font: 600 1em/1 "Space Grotesk", "Helvetica Neue", sans-serif; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.k-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.k-logo { width: 13px; height: 13px; object-fit: contain; flex: 0 0 auto; }
.k-name { font: 600 10px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.01em; color: #3d342b; }
.k-num { font: 500 9.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #6b6259; font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-tick {
  flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); color: #04302E;
  display: flex; align-items: center; justify-content: center;
  font-size: 7.5px; font-weight: 700; line-height: 1;
}

/* 1 cross-posting: one source, four destinations */
.k-post .src {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; border-radius: 9px; background: rgba(26,19,13,.045);
  flex: 0 0 auto;
}
.k-post .src .th { width: 26px; height: 34px; border-radius: 5px; background: rgba(26,19,13,.16); flex: 0 0 auto; }
.k-post .src .col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.k-post .dests { flex: 1 1 auto; display: grid; grid-template-rows: repeat(4, 1fr); }
.k-post .dr {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 8px;
  border-top: 1px solid rgba(26,19,13,.06);
}
.k-post .dr:first-child { border-top: 0; }

/* 2 analytics: three figures over one rule */
.k-stats .k-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; align-content: center; }
.k-stats .st { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.k-stats .k-fig { font-size: 15px; }
.k-stats .spark { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.k-stats .spark i { flex: 1 1 0; border-radius: 1.5px; background: rgba(26,19,13,.14); }
.k-stats .st .spark i:last-child { background: rgba(10,186,181,.55); }
.k-stats .st:first-child .spark i { background: rgba(10,186,181,.28); }
.k-stats .st:first-child .spark i:last-child { background: var(--accent); }

/* 3 comparison: same video, three platforms */
.k-bars .k-body { justify-content: center; gap: 5px; }
.k-bars .row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; }
.k-bars .cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.k-bars .track { display: block; height: 7px; border-radius: 999px; background: rgba(26,19,13,.07); overflow: hidden; }
.k-bars .fill { display: block; height: 100%; border-radius: 999px; background: rgba(26,19,13,.2); }
.k-bars .row.big .fill { background: var(--accent); }
.k-bars .row.big .k-num { color: var(--ink); font-weight: 600; }

/* 4 bulk upload: a schedule */
.k-queue .k-body { justify-content: space-between; }
.k-queue .qr {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 8px; flex: 1 1 0;
  border-top: 1px solid rgba(26,19,13,.06);
}
.k-queue .qr:first-child { border-top: 0; }
.k-queue .qr i { width: 17px; height: 17px; border-radius: 4px; background: rgba(26,19,13,.11); flex: 0 0 auto; }
.k-queue .qr:first-child i { background: rgba(10,186,181,.45); }
.k-queue .qr.f1 { opacity: .6; }
.k-queue .qr.f2 { opacity: .3; }

/* 5 media kit: a one-page profile */
.k-kit .who { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding-bottom: 9px; }
.k-kit .who i { width: 24px; height: 24px; border-radius: 50%; background: rgba(10,186,181,.3); flex: 0 0 auto; }
.k-kit .who .col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k-kit .who .h { font: 600 11px/1.1 "Space Grotesk", "Helvetica Neue", sans-serif; letter-spacing: -.02em; color: var(--ink); }
.k-kit .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 0 0 auto; }
.k-kit .grid div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.k-kit .grid .k-fig { font-size: 12.5px; }
.k-kit .chart { display: flex; align-items: flex-end; gap: 4px; flex: 1 1 auto; min-height: 26px; margin-top: 9px; }
.k-kit .chart i { flex: 1 1 0; border-radius: 2px 2px 0 0; background: rgba(26,19,13,.13); }
.k-kit .chart i:last-child { background: var(--accent); }

/* 6 domain and email */
.k-url .k-body { justify-content: center; gap: 9px; }
.k-url .win { border: 1px solid rgba(26,19,13,.1); border-radius: 8px; overflow: hidden; }
.k-url .chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; background: rgba(26,19,13,.04);
  border-bottom: 1px solid rgba(26,19,13,.08);
}
.k-url .dots { display: flex; gap: 3px; flex: 0 0 auto; }
.k-url .dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(26,19,13,.18); }
.k-url .addr {
  flex: 1 1 auto; min-width: 0; height: 16px; border-radius: 999px; background: #fff;
  display: flex; align-items: center; padding: 0 8px;
  font: 500 9px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--accent-deep);
  white-space: nowrap; overflow: hidden;
}
.k-url .page { padding: 9px; display: flex; flex-direction: column; gap: 5px; }
.k-url .page i { display: block; height: 5px; border-radius: 999px; background: rgba(26,19,13,.1); }
.k-url .mail {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(26,19,13,.1); border-radius: 8px; padding: 8px 9px;
  font: 500 9.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: #3d342b;
  white-space: nowrap; overflow: hidden;
}
.k-url .mail i { width: 13px; height: 9px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; }

/* placeholder slots */
.k-slot { width: 100%; height: 100%; position: relative; }
.k-slot image-slot { width: 100%; height: 100%; }

/* --- the big one --- */
.k-big { margin-top: var(--sp-l); background: none; padding: 0; }
.k-big-copy { max-width: 620px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.k-big h3 { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.032em; line-height: 1.06; text-wrap: balance; }
.k-big p { margin-top: 14px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: #55483c; text-wrap: pretty; }
.k-big .k-slot { aspect-ratio: 21 / 8; height: auto; }

/* --- bulk upload queue --- */
.q-wrap { margin-top: clamp(4px, 1vw, 10px); }
.q-figs {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-bottom: clamp(16px, 2vw, 24px);
}
.q-fig {
  font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.035em;
  line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.q-fig span { font-weight: 400; color: #7d746a; }
.q-list {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 68%, rgba(0,0,0,.35) 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 68%, rgba(0,0,0,.35) 86%, transparent 100%);
}
.q-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: clamp(12px, 1.6vw, 20px);
  padding: clamp(9px, 1.1vw, 13px) 0;
  border-top: 1px solid rgba(26,19,13,.07);
}
.q-row:first-child { border-top: 0; }
.q-thumb {
  width: clamp(30px, 3vw, 38px); height: clamp(30px, 3vw, 38px);
  border-radius: 8px; background: rgba(26,19,13,.09); flex: 0 0 auto;
}
.q-name { font-size: clamp(14px, 1.15vw, 15.5px); font-weight: 500; letter-spacing: -.012em; color: var(--ink); }
.q-plat { display: flex; align-items: center; gap: 7px; }
.q-plat img { width: 17px; height: 17px; border-radius: 5px; object-fit: contain; }
.q-when {
  font-size: clamp(12.5px, 1.05vw, 14px); color: #7d746a;
  font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap;
}
.q-note { margin-top: clamp(14px, 1.8vw, 22px); font-size: 14.5px; color: #7d746a; }
@media (max-width: 560px) {
  .q-plat { display: none; }
  .q-figs { flex-direction: row; }
}

/* --- scroll reveal --- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .66s cubic-bezier(.2,.7,.2,1), transform .66s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .k-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-big .k-slot { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .k-grid { grid-template-columns: 1fr; row-gap: 34px; }
  .k-panel { aspect-ratio: 3 / 2; }
  .k-big .k-slot { aspect-ratio: 4 / 3; }
}

/* ---- rates table ghost (section 04) ---- */
.rates { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.rates-head { max-width: 620px; margin: 0 0 var(--sp-m); display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.rates-filters { display: flex; justify-content: flex-start; gap: 10px; margin-bottom: var(--sp-s); flex-wrap: wrap; }

.table-shell {
  border: 1px solid rgba(26,19,13,.09);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.46);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 2px rgba(26,19,13,.04), 0 28px 60px -34px rgba(26,19,13,.4);
}
.trow {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(26,19,13,.06);
}
.trow:last-child { border-bottom: none; }
.trow.thead { background: rgba(247,247,247,.6); padding-block: 13px; }
.trow .cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trow .cell.num { justify-content: flex-end; }
.trow .gh.logo { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; }

.rates-fine {
  margin-top: var(--sp-s);
  border: 1px dashed rgba(26,19,13,.16);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.rates-fine .gh.h8 { max-width: 640px; }

.capture {
  margin-top: var(--sp-m);
  border: 1px solid rgba(26,19,13,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-s);
}
.capture-row { display: flex; gap: 10px; width: 100%; max-width: 460px; margin-top: 6px; }
.capture-row .gh { height: 46px; border-radius: 999px; }
.capture-row .gh.field { flex: 1 1 auto; }
.capture-row .gh.btn { width: 152px; flex: 0 0 auto; }
.rates-note {
  margin-top: var(--sp-s); text-align: left;
  font: 400 12.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  color: #8d8479;
}

/* ---- rates table: real content ---- */
.rates-head h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.06; letter-spacing: -.032em; text-align: left; }
.rates-head p { margin-top: var(--sp-s); font-size: var(--t-body); line-height: 1.55; color: #55483c; text-align: left; text-wrap: pretty; }

.vpill {
  font: 600 13.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #55483c; background: rgba(255,255,255,.5);
  border: 1px solid rgba(26,19,13,.14); border-radius: 999px;
  padding: 11px 19px; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .16s, color .16s, border-color .16s, box-shadow .16s;
}
.vpill:hover { background: rgba(255,255,255,.85); }
.vpill[aria-pressed="true"] {
  background: var(--accent); color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 6px 16px -8px rgba(10,186,181,.75);
}

.etable-cap { text-align: left; font: 500 var(--t-label)/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; color: #8d8479; margin-bottom: var(--sp-s); }
.etable {
  border: 1px solid rgba(26,19,13,.09);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 1px 2px rgba(26,19,13,.04), 0 28px 60px -34px rgba(26,19,13,.4);
}
.er { display: grid; grid-template-columns: 1fr repeat(6, minmax(0, 1fr)); align-items: stretch; border-bottom: 1px solid rgba(26,19,13,.06); }
.er:last-child { border-bottom: none; }
.ec { display: flex; align-items: center; gap: 9px; padding: 18px 8px; min-width: 0; font-variant-numeric: tabular-nums; transition: background .16s, color .16s; }
.ec.val, .ec.nh { flex-direction: column; align-items: flex-end; gap: 3px; }
.er.head { background: rgba(247,247,247,.55); }
.ec.nh {
  font: 600 clamp(9.5px, 1.05vw, 11.5px)/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .01em; text-transform: uppercase; color: #8d8479;
  background: none; border: none; padding: 14px 8px; cursor: pointer; text-align: right;
  overflow-wrap: anywhere;
}
.ec.nh.hot { color: var(--ink); background: rgba(26,19,13,.05); }
.ec.plat { padding-left: clamp(16px, 2vw, 24px); }
.ec:last-child { padding-right: clamp(16px, 2vw, 24px); }
.ec.nh[aria-pressed="true"] { color: var(--accent-deep); }
.ec.val.hot { background: rgba(26,19,13,.035); }
.etable .plogo { width: 20px; height: 20px; border-radius: 6px; object-fit: contain; flex: 0 0 auto; }
.pname { font: 600 clamp(12.5px, 1.3vw, 14px)/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.012em; color: var(--ink); }
.ec .big { font: 600 clamp(13px, 1.35vw, 15px)/1.15 "Helvetica Neue", Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.012em; color: var(--ink); }
.ec .rpm { font: 500 11.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; font-variant-numeric: tabular-nums; color: #a49b90; }
.ec.val.none .big { color: #b3aaa0; font-weight: 500; }
.ec.val.none .rpm { font-style: italic; letter-spacing: .01em; }

.tog-groups { display: flex; flex-direction: column; gap: var(--sp-s); align-items: flex-start; margin-bottom: var(--sp-s); }
.tog-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }
.tog-label { font: 600 10.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8d8479; }
.tog-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.tog-pills .vpill { padding: 9px 16px; font-size: 13px; }
.niche-row { display: none; }

.rates-fine p { font-size: 13.5px; line-height: 1.6; color: #6b6259; text-wrap: pretty; max-width: 660px; }
.capture h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.02em; text-align: left; }
.capture > p { margin-top: 0; font-size: var(--t-body); line-height: 1.55; color: #55483c; text-align: left; text-wrap: pretty; }
.cap-input {
  flex: 1 1 auto; min-width: 0; height: 46px; border-radius: 999px;
  border: 1px solid rgba(26,19,13,.16); background: rgba(255,255,255,.72);
  padding: 0 18px; font: 400 14.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink); outline: none;
}
.cap-input::placeholder { color: #9b938a; }
.cap-input:focus { border-color: rgba(10,186,181,.7); box-shadow: 0 0 0 3px rgba(10,186,181,.14); }
.cap-btn {
  flex: 0 0 auto; height: 46px; padding: 0 24px; border: none; border-radius: 999px;
  font: 600 14.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--accent-ink); background: var(--accent); cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(10,186,181,.85);
  transition: background .16s;
}
.cap-btn:hover { background: #09a8a3; }
.cap-fine { font-size: 12.5px; color: #8d8479; }
@media (max-width: 700px) {
  .cap-btn { width: 100%; }
}

@media (max-width: 700px) {
  .niche-row { display: flex; }
  .er { grid-template-columns: 1fr minmax(0, .9fr); }
  .ec { padding: 15px 14px; }
  .ec.val:not(.mob), .ec.nh:not(.mob) { display: none; }
  .ec.val.hot, .ec.nh.hot { background: none; }
  .ec.nh { padding: 13px 14px; font-size: 12px; letter-spacing: .03em; }
  .ec.nh.mob { color: var(--accent-deep); }
  .ec .big { font-size: 15px; }
  .capture-row { flex-direction: column; }
  .capture-row .gh.btn { width: 100%; }
}

/* ---- pricing ---- */
/* ---- case study ---- */
.case { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.case-q {
  margin: 0 0 var(--sp-m); text-align: left; text-wrap: balance;
  max-width: 18ch;
  font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -.04em;
}
.case-head { max-width: 640px; margin: 0 0 var(--sp-m); text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.case-eyebrow {
  font: 600 10.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: #9b938a;
}
.case-head h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.06; letter-spacing: -.032em; text-wrap: balance; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shots.tall { max-width: 90%; margin-inline: auto; }
.shots.wide { max-width: 90%; margin-inline: auto; }
.shot { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.shot-cap { display: flex; align-items: baseline; justify-content: flex-start; gap: 7px; flex-wrap: wrap; }
.shot img {
  width: 100%; display: block; border-radius: 11px; object-fit: cover;
  border: 1px solid rgba(26,19,13,.1);
}
.shots.tall .shot img { aspect-ratio: 5 / 7; object-position: center bottom; }
.shots.wide .shot img { aspect-ratio: 1206 / 670; }
.shot-label {
  font: 700 12px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .06em; text-transform: uppercase; color: #4a4239; text-align: left;
}
.shot-note { margin-top: -4px; font: 400 12px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #9b938a; text-align: left; }
.shot-stat { font-size: 13.5px; color: #6b6259; text-align: left; font-variant-numeric: tabular-nums; }
.shot-cap .shot-stat { font-weight: 600; color: #4a4239; }

.case-line {
  margin-top: clamp(22px, 3.5vh, 34px); text-align: center;
  font-size: clamp(22px, 3vw, 34px); font-weight: 500; line-height: 1.15;
  letter-spacing: -.032em; text-wrap: balance;
}
.case-line strong { font-weight: 700; color: var(--ink); }
.case-line .hi-good { color: var(--ink); }
.case-line .hi-loss { color: var(--ink); }
.case-line .hi-quiet { font-style: italic; font-weight: 400; color: #8d8479; }
.case-sub strong { font-weight: 600; color: #3b332b; }
.case-sub em { font-style: italic; }
.case-if { margin-top: var(--sp-m); text-align: left; }
.case-close { font-size: 12.5px; }
.case-kicker {
  font: 600 clamp(15px, 1.6vw, 19px)/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .06em; text-transform: uppercase; color: #000;
}
.case-sub { margin: 12px 0 0; max-width: 560px; text-align: left; font-size: var(--t-body); line-height: 1.6; color: #6b6259; text-wrap: pretty; }
.case-part2 { margin-top: var(--sp-m); }

/* one figure per block, sized to rank it */
.case-figure { margin-top: clamp(14px, 1.8vw, 20px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
.case-figure .fig-num {
  font-weight: 700; letter-spacing: -.04em; line-height: .95;
  font-variant-numeric: tabular-nums;
}
.case-figure .fig-cap { font-size: 14.5px; line-height: 1.4; color: #6b6259; text-wrap: pretty; }
/* the biggest type on the page after the hero */
.case-figure.lead .fig-num { font-size: clamp(34px, 4.4vw, 54px); color: var(--ink); }
.case-figure.lead .fig-cap { color: #12805A; font-weight: 600; }
.case-figure.sub .fig-num { font-size: clamp(24px, 2.8vw, 34px); color: var(--ink); }

/* the counterfactual is an aside, not a second headline */
.case-aside {
  margin: 0; max-width: none; text-align: left; text-wrap: pretty;
  font-size: var(--t-body); line-height: 1.7; color: #55483c;
}
.case-aside strong { font-weight: 700; color: var(--ink); }
/* the loss is the second figure on this screen, so it is set as one */
.case-aside strong.hi-loss {
  display: inline-block; color: var(--ink); white-space: nowrap;
  margin: 6px 0; letter-spacing: -.028em; line-height: 1.15;
  font-size: clamp(19px, 2.3vw, 30px);
  font-variant-numeric: tabular-nums;
}
.case-close { margin-top: var(--sp-m); text-align: left; font-size: var(--t-label); color: #9b938a; }
.case-cta { margin: var(--sp-m) 0 0; width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
.case-cta h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.026em; line-height: 1.15; }
.case-cta > p { font-size: var(--t-body); line-height: 1.55; color: #55483c; text-wrap: pretty; }
.case-cta .capture-row { margin-top: 4px; }

@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr; max-width: 320px; margin: 0; gap: var(--sp-s); }
  .shots.wide { max-width: 420px; }
}

/* ---- FAQ ---- */
.faq { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.faq-head { margin: 0 0 var(--sp-m); text-align: left; }
.faq-head h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.05; letter-spacing: -.032em; }
/* six dropdowns in one column: hairline rules, no cards competing with the
   rest of the page. only one open at a time. */
.faq-grid { display: flex; flex-direction: column; border-top: 1px solid rgba(26,19,13,.2); }
.faq-item { min-width: 0; border-bottom: 1px solid rgba(26,19,13,.2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-s);
  padding: 18px 2px; min-height: 52px;
  transition: color .16s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover h3 { color: #000; }
.faq-item summary h3 {
  font-size: var(--t-h3); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.35; color: var(--ink); text-wrap: pretty;
}
.faq-mark { position: relative; flex: 0 0 auto; width: 13px; height: 13px; margin-top: 5px; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: #55483c; border-radius: 1px;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), opacity .22s;
}
.faq-mark::before { width: 13px; height: 1.5px; }
.faq-mark::after { width: 1.5px; height: 13px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-item[open] summary h3 { color: #000; }
.faq-item p {
  padding: 0 clamp(26px, 4vw, 44px) 20px 2px;
  font-size: var(--t-body); line-height: 1.7; color: #33291f; text-wrap: pretty;
  max-width: 68ch;
  animation: faq-in .24s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .faq-item p { animation: none; }
  .faq-mark::before, .faq-mark::after { transition: none; }
}
@media (max-width: 560px) { .faq-item summary { padding: 16px 0; } .faq-item p { padding-left: 0; } }
/* on a phone the collapsed list is short, so a full-height centred section
   leaves a screen of dead space above and below it */
@media (max-width: 700px) {
  #faq.section {
    min-height: 0; align-items: flex-start;
    padding-top: clamp(30px, 5vh, 48px); padding-bottom: clamp(30px, 5vh, 48px);
  }
  .faq-head { margin-bottom: var(--sp-s); }
  .faq-item summary { padding: 15px 0; min-height: 48px; gap: 16px; }
  .faq-item p { padding: 0 8px 17px 0; }
}

.pricing { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.pricing-head { max-width: 620px; margin: 0 0 var(--sp-m); text-align: left; }
.pricing-head h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.05; letter-spacing: -.032em; }
.pricing-head p { margin-top: 12px; font-size: var(--t-body); line-height: 1.55; color: #55483c; text-wrap: pretty; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-s); align-items: start; }
.plan-grid { align-items: center; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 2.2vw, 30px);
  min-width: 0;
  border: 1px solid rgba(26,19,13,.08); border-radius: 16px;
  background: rgba(255,255,255,.52);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 2px rgba(26,19,13,.04);
}
/* Pro: the same card as Free. rank comes from the copy, not a second colour */

/* the recommended tier: taller, a touch wider, lifted. no tint. */
.plan.hi {
  border-color: rgba(26,19,13,.16);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  padding-top: clamp(30px, 3.4vw, 44px); padding-bottom: clamp(30px, 3.4vw, 44px);
  margin-inline: clamp(-14px, -1.4vw, -8px);
  box-shadow: 0 22px 44px -26px rgba(26,19,13,.28), 0 3px 10px -4px rgba(26,19,13,.08);
  z-index: 2;
}
.plan-tag {
  position: absolute; top: -11px; left: clamp(20px, 2.2vw, 30px);
  background: var(--ink); color: #fff;
  font: 600 10.5px/1 "Helvetica Neue", sans-serif; letter-spacing: .04em;
  padding: 6px 11px; border-radius: 999px;
}
.plan-name { font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; letter-spacing: -.02em; }
.plan-price { font: 600 clamp(30px, 3.6vw, 44px)/1 "Space Grotesk", "Helvetica Neue", sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; margin-top: 8px; font: 400 13px/1.4 "Helvetica Neue", sans-serif; letter-spacing: 0; color: #8d8479; }
.plan-for { font-size: 14.5px; line-height: 1.5; color: #55483c; text-wrap: pretty; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.plan-list li {
  position: relative; padding-left: 21px;
  font-size: 14px; line-height: 1.45; color: #4a3f34; text-wrap: pretty;
}
.plan-list li::before {
  content: ""; position: absolute; left: 2px; top: .34em;
  width: 9px; height: 5px;
  border-left: 1.2px solid rgba(26,19,13,.42); border-bottom: 1.2px solid rgba(26,19,13,.42);
  transform: rotate(-45deg);
}
.plan.hi .plan-list li::before { border-color: rgba(26,19,13,.55); }
.plan-list strong { font-weight: 600; color: var(--ink); }
.plan-list li.soon strong { color: #8d8479; }
.plan-for strong { font-weight: 600; color: #2b241c; }
.plan-list li.soon { color: #a09689; }
.plan-list li.soon::before { border-color: rgba(26,19,13,.2); }
.plan.hi .plan-list li.soon::before { border-color: rgba(26,19,13,.2); }
.plan-cta { margin-top: 8px; }
.plan-btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  font: 600 14.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  border: 1px solid rgba(26,19,13,.22); border-radius: 999px;
  background: rgba(255,255,255,.5);
  padding: 14px 18px; min-height: 46px;
  transition: background .16s, border-color .16s;
}
.plan-btn:hover { background: rgba(255,255,255,.85); border-color: rgba(26,19,13,.4); color: var(--ink); }
.plan.hi .plan-btn {
  color: var(--accent-ink); background: var(--accent); border-color: transparent;
  box-shadow: 0 8px 20px -10px rgba(10,186,181,.8);
}
.plan.hi .plan-btn:hover { background: #09a8a3; color: var(--accent-ink); }
.pricing-lock {
  margin-top: 14px; font-size: clamp(14px, 1.05vw, 15.5px); font-weight: 500;
  line-height: 1.5; color: #453b31;
}
.plan-launch {
  margin-top: 6px; display: inline-block; width: fit-content;
  font-size: 12.5px; line-height: 1; color: #6b6259;
  padding: 6px 10px; border-radius: 999px; background: rgba(26,19,13,.055);
}
.plan-launch strong { font-weight: 600; color: #453b31; }
.plan.hi .plan-launch { background: rgba(26,19,13,.055); color: #6b6259; }
.plan.hi .plan-launch strong { color: #453b31; }
/* what the low number IS, sitting right beside it */
.plan-price .ea {
  font-size: 12.5px; font-weight: 600; line-height: 1;
  letter-spacing: 0; color: #6b6259;
  margin-left: .5em; vertical-align: middle;
}
.plan.hi .plan-price .ea { color: #6b6259; }
.pricing-cta { margin-top: var(--sp-m); display: flex; justify-content: flex-start; }
.compare-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 15px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink); text-decoration: none;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid rgba(26,19,13,.16);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background .16s, border-color .16s, transform .16s;
}
.compare-btn::after {
  content: ""; width: 6px; height: 6px;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: .55;
}
.compare-btn:hover {
  background: #fff; border-color: rgba(26,19,13,.28); color: var(--ink);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) { .compare-btn { transition: none; } }
.pricing-note { margin-top: var(--sp-s); text-align: left; font-size: var(--t-label); color: #8d8479; }

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 10px; }
  .plan { padding-left: clamp(20px, 2.2vw, 30px); padding-right: clamp(20px, 2.2vw, 30px); }
  .plan.hi { margin: 14px 0; margin-inline: 0; }
}

/* ---- final CTA (dark) ---- */
.finale {
  position: relative; z-index: 1;
  border-radius: 22px;
  width: 100%; max-width: var(--rail); margin: 0 auto;
  background: #14100C;
  padding: clamp(44px, 8vh, 90px) clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-s);
  box-shadow: 0 40px 90px -40px rgba(20,16,12,.75);
  overflow: hidden;
}

.finale > * { position: relative; }
.finale { text-align: left; gap: 13px; padding: clamp(38px, 6vh, 66px) clamp(24px, 5vw, 60px); }
.cta-section { min-height: 0; padding-block: clamp(34px, 5vh, 62px); }
.finale .eyebrow {
  font: 600 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.finale h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.03; letter-spacing: -.034em; color: #fff; }
.finale > p { max-width: 460px; font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.55; color: rgba(255,255,255,.62); text-wrap: pretty; }
.finale-row { display: flex; gap: 10px; width: 100%; max-width: 440px; margin-top: 5px; }
.finale-input {
  flex: 1 1 auto; min-width: 0; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07);
  padding: 0 19px; color: #fff; outline: none;
  font: 400 14.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.finale-input::placeholder { color: rgba(255,255,255,.4); }
.finale-input:focus { border-color: rgba(10,186,181,.75); background: rgba(255,255,255,.1); }
.finale-btn {
  flex: 0 0 auto; height: 48px; padding: 0 26px; border: none; border-radius: 999px;
  font: 600 14.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--accent-ink); background: var(--accent); cursor: pointer;
  transition: background .16s;
}
.finale-btn:hover { background: #09a8a3; }
.finale .fine { font-size: var(--t-label); color: rgba(255,255,255,.42); max-width: none; margin-inline: 0; padding-left: 0; text-align: left; }
@media (max-width: 560px) {
  .finale-row { flex-direction: column; }
  .finale-btn { width: 100%; }
}

/* ---- footer (light) ---- */
.footer-section { min-height: 0; padding-top: clamp(22px, 3vh, 34px); padding-bottom: clamp(28px, 4vh, 44px); }
.foot { position: relative; z-index: 1; width: 100%; max-width: var(--rail); margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: clamp(28px, 4.5vw, 72px); }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.foot-mark { display: flex; align-items: center; gap: 10px; }
.foot-mark > img { width: 27px; height: auto; display: block; flex: 0 0 auto; }
.foot-mark {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif; font-weight: 600;
  font-size: 21px; letter-spacing: -.03em; color: var(--ink); text-decoration: none;
}
.foot-tag { font-size: 13.5px; line-height: 1.55; color: #6b6259; }
.foot-social { display: flex; gap: 9px; margin-top: 4px; }
.foot-social a {
  width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.7); border: 1px solid rgba(26,19,13,.1);
  transition: background .16s, transform .16s, border-color .16s;
}
.foot-social a:hover { background: #fff; border-color: rgba(26,19,13,.2); transform: translateY(-1px); }
.foot-social img { width: 17px; height: 17px; object-fit: contain; display: block; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col h3 {
  font: 600 10.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #9b938a; margin-bottom: 5px;
}
.foot-col a, .foot-bottom a {
  font-size: 13.5px; line-height: 1.35; color: #4a4038; text-decoration: none; transition: color .16s;
}
.foot-col a:hover, .foot-bottom a:hover, .foot-mark:hover { color: var(--ink); }
.foot-bottom {
  margin-top: var(--sp-m); padding-top: var(--sp-s);
  border-top: 1px solid rgba(26,19,13,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: #8d8479;
}
@media (max-width: 760px) {
  .foot-top { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
}

/* ============================================================
   RESPONSIVE PASS
   ============================================================ */

/* tablets and small laptops */
@media (max-width: 1024px) {
  .hero-in { max-width: 620px; }
  .demo-in { max-width: 600px; }
}

/* tablets / large phones */
@media (max-width: 760px) {
  .section { padding: clamp(40px, 7vh, 80px) clamp(20px, 6vw, 40px); }
  /* the hero sits under a 12px-offset pill nav, so it needs far less than
     the desktop clearance. the space it gives back goes to the mockup. */
  :root { --hero-top: 84px; --peek: min(calc(0.34 * var(--mac-h)), 26svh); }
  .section:first-of-type { padding-top: var(--hero-top); padding-bottom: clamp(28px, 4vh, 44px); }
  .hero-in h1 { letter-spacing: -.035em; }
  .hero-sub { margin-top: 18px; max-width: 40ch; }
  .signup { margin-top: 24px; }
  .demo-in h2 { letter-spacing: -.025em; }
}

/* phones */
@media (max-width: 560px) {
  .nav { top: 10px; }
  .nav-in { gap: 14px; padding: 6px 8px 6px 18px; }
  .nav-mark { font-size: 15.5px; }
  .nav-cta { font-size: 14px; padding: 8px 16px; }
  :root { --hero-top: 76px; --peek: min(calc(0.4 * var(--mac-h)), 30svh); }
  .hero-sub { font-size: 16px; line-height: 1.58; max-width: 34ch; margin-top: 16px; }
  .signup { margin-top: 22px; }
  .signup input { padding: 13px 18px; font-size: 16px; }   /* 16px avoids iOS zoom-on-focus */
  .signup button { padding: 13px 22px; min-height: 46px; font-size: 15px; }
  .fine { margin-top: 12px; font-size: 13px; }
  .demo-in p { font-size: 16px; }
  .demo-tag { margin-bottom: 20px; }
}

/* very narrow: 360px and below */
@media (max-width: 380px) {
  :root { --hero-top: 70px; }
  .section { padding-inline: 16px; }
  .nav-in { gap: 10px; padding: 6px 7px 6px 14px; }
  .nav-mark { font-size: 15px; }
  .nav-cta { font-size: 13.5px; padding: 8px 14px; }
  .hero-sub { max-width: none; }
}

/* short viewports (landscape phones): stop forcing a full screen per section */
@media (max-height: 560px) and (max-width: 900px) {
  .section { min-height: auto; padding-block: 64px; }
  .section:first-of-type { padding-top: 88px; }
  .logos { display: none; }   /* no room for them to travel */
}

/* the hero always keeps its copy clear of the peeking dashboard */
/* The hero reserves exactly the peek at its bottom edge — nothing more — so
   the dashboard's top quarter always lands above the fold whatever the
   viewport height, and the copy sits centred in the space above it. */
.section:first-of-type {
  padding-top: max(var(--sp-l), 108px);
  padding-bottom: var(--peek);
}
/* the pulled-up window starts right at the peek line: no padding of its own */
.section:nth-of-type(2) { padding-top: 0; }
/* the window keeps 16:9 at every width, so the peek formula holds throughout */

/* --- mobile: horizontal scrollers (features in 2 rows, case study shots) --- */
.hswipe { display: none; }
@media (max-width: 700px) {
  .k-grid {
    display: flex; flex-direction: column; gap: 30px;
    overflow: visible; margin-inline: 0; padding-inline: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .k-row, .shots {
    --edge: clamp(20px, 6vw, 40px);
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 76%;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: none;
    margin-inline: calc(-1 * var(--edge));
    padding-inline: var(--edge);
    scroll-padding-inline: var(--edge);
    gap: 14px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 86%, rgba(0,0,0,.12) 100%);
    mask-image: linear-gradient(to right, #000 0, #000 86%, rgba(0,0,0,.12) 100%);
  }
  .k-row.at-end, .shots.at-end { -webkit-mask-image: none; mask-image: none; }
  .k-row::-webkit-scrollbar, .shots::-webkit-scrollbar { display: none; }
  /* the two differentiators sit in the middle of their row */
  .k-row:first-of-type .k-cell:nth-child(2) { order: 3; }
  .k-row:first-of-type .k-cell:nth-child(3) { order: 2; }
  .k-row:nth-of-type(2) .k-cell:nth-child(1) { order: 2; }
  .k-row:nth-of-type(2) .k-cell:nth-child(2) { order: 1; }
  .k-row:nth-of-type(2) .k-cell:nth-child(3) { order: 3; }
  .k-grid > .hswipe { margin-top: 0; }
  .k-cell, .shot { scroll-snap-align: start; }
  .k-cell p { max-width: none; }
  .k-panel { aspect-ratio: 4 / 3; }
  .shots { grid-template-rows: auto; scroll-snap-type: x proximity; }
  .shots.tall { grid-auto-columns: 62%; }
  .shots.wide { grid-auto-columns: 84%; }
  .hswipe {
    display: flex; align-items: center; justify-content: flex-start; gap: 7px;
    margin-top: 16px;
    font: 500 12.5px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: .04em; text-transform: uppercase; color: #9b938a;
    transition: opacity .3s;
  }
  .hswipe.gone { opacity: 0; }
  .hswipe span { animation: hnudge 1.6s ease-in-out infinite; }
}
@keyframes hnudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .hswipe span { animation: none; } }

/* touch targets: nothing tappable smaller than a fingertip */
@media (max-width: 760px) {
  .nav-cta { padding: 13px 20px; }
  .nav-brand { padding-block: 12px; }
  .vpill, .tog-pills .vpill { min-height: 42px; padding-block: 12px; }
  .ec.nh.mob { min-height: 46px; }
  .cap-btn, .finale-btn, .plan-btn { min-height: 48px; }
  .foot-col { gap: 2px; }
  .foot-col a, .foot-bottom a { padding-block: 11px; }
  .foot-mark { align-self: flex-start; padding-block: 4px; }
  .foot-social { gap: 10px; margin-top: 8px; }
  .foot-social a { width: 42px; height: 42px; border-radius: 12px; }
  .foot-social img { width: 20px; height: 20px; }
  .ec .rpm { font-size: 12.5px; }
  .foot-bottom { gap: 4px; }
}

/* fine pointers only: the cursor bumper is meaningless on touch */
@media (hover: none) {
  a, button { -webkit-tap-highlight-color: rgba(26,19,13,.06); }
  .vpill:hover { background: rgba(255,255,255,.5); }
  .foot-social a:hover { transform: none; background: rgba(255,255,255,.7); }
  .nav-cta:hover, .signup button:hover { transform: none; }
}
