/* Layout: one reading column (max 44rem) inside full-width sections split by hairlines, no nav
   links, one black pill action per screen. Light and quiet in the spirit of Grok: black, white
   and greys, tight grotesk headlines, monospace labels. The square bots bring the colour. */
:root {
  --paper: #ffffff;      /* page */
  --card: #ffffff;       /* raised surfaces */
  --raise: #f4f4f5;      /* surfaces on cards */
  --ink: #0a0a0b;        /* primary text */
  --ink-2: #52545b;      /* secondary text */
  --ink-3: #7c7e85;      /* captions, sources */
  --line: #ececee;       /* hairlines */
  --line-2: #dcdde1;     /* stronger hairlines */
  --accent: #0a0a0b;     /* the one action colour: black */
  --accent-ink: #ffffff;
  --accent-soft: #f4f4f5;
  --ok: #0a0a0b;         /* done / booked */
  --ok-soft: #f4f4f5;
  --miss: #c4382c;       /* missing / not a fit */
  --miss-soft: #fdecea;
  --band: #fafafa;       /* alternate section */
  --band-ink: #0a0a0b;
  --band-ink-2: #52545b;
  --band-line: #ececee;
  --focus: #0a0a0b;

  --f-display: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, 1.3rem + 5vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-mono: .78rem;

  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 18px 48px -28px rgba(10, 10, 11, .22);
  --col: 44rem;
  --wide: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
a:hover { text-decoration-color: var(--ink); }
::selection { background: #0a0a0b; color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-hero); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
h2 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; }
.small { font-size: var(--fs-small); color: var(--ink-2); }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .02em; }
.eyebrow {
  font: 500 .7rem/1.3 var(--f-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.hl { box-shadow: inset 0 -.32em 0 var(--accent-soft); }
.strike { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }
b, strong { font-weight: 600; }

/* ---------- frame ---------- */
.wrap {
  width: 100%; max-width: var(--wide); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap.col { max-width: calc(var(--col) + 32px); }
.band { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); border-top: 1px solid var(--line); }
.band.tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.band.raised { background: var(--band); }
.band.dark { background: var(--band); color: var(--band-ink); }
.band.dark .lead, .band.dark .small { color: var(--band-ink-2); }
.stack { display: grid; gap: 1.25rem; }
.stack.lg { gap: 2rem; }
.stack.sm { gap: .6rem; }
.center { text-align: center; justify-items: center; }
.section-head { display: grid; gap: 1rem; max-width: var(--col); margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head.center { margin-inline: auto; }

/* ---------- top bar ---------- */
/* No bar: the logo sits centred on the page itself, over the first section. */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.topbar .wrap { display: flex; justify-content: center; padding-block: 1.25rem 0; }
main > section:first-child { padding-top: calc(clamp(2.5rem, 1rem + 5vw, 5.5rem) + 3.75rem); }
.logo { display: inline-flex; align-items: center; gap: .55rem; font: 600 1.2rem/1 var(--f-body); letter-spacing: -.035em; text-decoration: none; }
/* The BotDock mark: three team squares and the AI seat, whose eyes glance around and blink.
   The reduced-motion rule at the top stops both. */
.logo-mark { display: block; flex: none; width: 30px; height: 30px; }
.lm-look { animation: lm-look 7s ease-in-out infinite; }
.lm-blink { transform-box: fill-box; transform-origin: center; animation: lm-blink 4.2s ease-in-out infinite; }
@keyframes lm-look { 0%, 34% { transform: translateX(0); } 40%, 56% { transform: translateX(-1.4px); } 62%, 78% { transform: translateX(1.4px); } 84%, 100% { transform: translateX(0); } }
@keyframes lm-blink { 0%, 43%, 49%, 100% { transform: scaleY(1); } 46% { transform: scaleY(.12); } }
.logo img { height: 30px; width: auto; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.2rem; padding: .85rem 1.6rem;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 500 1rem/1.1 var(--f-body); letter-spacing: -.005em;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { background: #27272a; box-shadow: 0 0 0 6px rgba(10, 10, 11, .07); }
.btn:active { transform: scale(.98); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.block { width: 100%; }
.btn.xl { min-height: 3.6rem; font-size: 1.06rem; padding-inline: 2rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-sub { display: block; font-size: .85rem; line-height: 1.4; color: var(--ink-2); margin-top: .7rem; text-align: center; }
.band.dark .btn-sub { color: var(--band-ink-2); }
.link-btn { appearance: none; background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; font-size: var(--fs-small); text-decoration: underline; text-decoration-color: var(--ink-3); cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- forms ---------- */
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .92rem; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.input {
  width: 100%; min-height: 3.2rem; padding: .75rem 1rem;
  font: 400 1rem/1.3 var(--f-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: #c4c5ca; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 11, .06); }
.input[aria-invalid="true"] { border-color: var(--miss); }
.err { color: var(--miss); font-size: .84rem; font-weight: 500; }
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.privacy { display: flex; gap: .5rem; align-items: flex-start; font-size: .8rem; color: var(--ink-3); }
.privacy svg { flex: none; width: 15px; height: 15px; margin-top: .12rem; }

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(50% 60% at 50% -10%, rgba(10, 10, 11, .045), transparent 70%),
    linear-gradient(rgba(10, 10, 11, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(10, 10, 11, .035) 1px, transparent 1px) 0 0 / 32px 32px;
  background-color: var(--paper);
  -webkit-mask-image: none;
}
/* The pixel grid fades out below the hero's top, like the Agentcy landing page. */
.hero { position: relative; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent 0%, var(--paper) 70%); }
/* The squeeze page: one centred column, headline to form, then the team at work. */
.hero-top { display: grid; gap: 1.35rem; justify-items: center; text-align: center; max-width: 54rem; margin-inline: auto; }
.hero-top .lead { max-width: 38rem; }
.hero-top .privacy { justify-content: center; }
.hero-top h1 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.2rem); }
.h1-then { display: block; color: var(--ink-3); }
.optin-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: .6rem; width: 100%; max-width: 42rem; margin-top: .5rem; align-items: start; text-align: left; }
.optin-row .btn { grid-column: 1 / -1; min-height: 3.4rem; white-space: nowrap; }
.consent { max-width: 36rem; font-size: .72rem; line-height: 1.5; color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.callout {
  display: inline-flex; align-items: center; gap: .6rem; justify-self: start;
  padding: .45rem .85rem .45rem .6rem; border-radius: 999px;
  border: 1px solid var(--line-2);
  font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.callout .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 10, 11, .35); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checks li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .65rem; align-items: start; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before {
  content: ""; width: 1.25rem; height: 1.25rem; margin-top: .18rem; border-radius: 50%;
  background: var(--raise) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%230a0a0b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3L14.5 7'/%3E%3C/svg%3E") center/68% no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.xs li::before { background: var(--miss-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23c4382c' stroke-width='2.2' stroke-linecap='round' d='M6.5 6.5l7 7M13.5 6.5l-7 7'/%3E%3C/svg%3E") center/62% no-repeat !important; box-shadow: none; }

/* ---------- the AI team feed ----------
   Newest first, four jobs showing (three on phones); funnel.js brings the next one in every
   few seconds, like the "Right now" feed on the Agentcy landing page. */
.feed-wrap { position: relative; max-width: 40rem; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; }
.feed { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.feed-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); }
.feed-title { font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.feed-title .mono { margin-left: .5rem; font-size: .62rem; letter-spacing: .1em; color: var(--ink-3); }
.live { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--ink-2); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: live-dot 1.8s ease-in-out infinite; }
@keyframes live-dot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.feed-list { list-style: none; margin: 0; padding: .65rem; display: grid; gap: .5rem; }
.feed-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: .85rem; align-items: start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.feed-list li:nth-child(n+5) { display: none; }
.feed-list li.in { animation: feedin .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes feedin { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.feed-list .bot { --s: 34px; margin-top: .15rem; }
.feed-who { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .8rem; color: var(--ink-3); }
.feed-who b { font-weight: 500; color: var(--ink-2); }
.ago { font: 500 .66rem/1 var(--f-mono); color: var(--ink-3); }
.feed-what { font-size: .93rem; line-height: 1.4; color: var(--ink); margin-top: .15rem; }
.feed-list .chip { margin-top: .5rem; }
.feed-foot { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.15rem; font-size: .82rem; color: var(--ink-3); flex-wrap: wrap; border-top: 1px solid var(--line); }
.feed-foot strong { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .14rem .5rem; border-radius: 999px; font: 500 .62rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.chip.ok, .chip.work { background: var(--ok-soft); color: var(--ok); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip.work { color: var(--ink-2); }
.chip.work::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.4s infinite; }
.chip.warn { background: var(--ink); color: var(--paper); }

/* ---------- the square bots ----------
   One rounded tile per AI agent, in its department's colour, with the logo's hairline edge,
   soft shadow and eyes that glance around and blink. --c sets the colour, --s the size and
   --d staggers the timing so the team doesn't blink in step.
   Palette: white #fff, brown #9b5f37, red #ff233a, orange-red #ff5a22, orange #fc882a,
   green #00bb6b, teal #00b099, blue #007af5, purple #8b51f4, pink #ff2c8c, gray #6c6c6c.
   In use: sales blue, support green, operations orange, finance purple, marketing pink,
   research teal. */
.bot { position: relative; display: inline-block; flex: none; width: var(--s, 40px); height: var(--s, 40px); border-radius: 29%; background: var(--c, #fff); box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .1), 0 1px 2px rgba(10, 10, 11, .12), 0 3px 8px -3px rgba(10, 10, 11, .14); vertical-align: middle; }
.bot i { position: absolute; inset: 0; animation: bot-look 7s ease-in-out var(--d, 0s) infinite; }
.bot i::before, .bot i::after { content: ""; position: absolute; top: 35.5%; width: 15.8%; height: 29%; border-radius: 99px; background: var(--ink); animation: lm-blink 4.2s ease-in-out var(--d, 0s) infinite; }
.bot i::before { left: 27.6%; }
.bot i::after { right: 27.6%; }
@keyframes bot-look { 0%, 34% { transform: translateX(0); } 40%, 56% { transform: translateX(-7%); } 62%, 78% { transform: translateX(7%); } 84%, 100% { transform: translateX(0); } }
.peek-wrap { position: relative; margin-top: clamp(2.75rem, 2rem + 2vw, 3.75rem); }
.peek { position: absolute; left: 0; right: 0; bottom: calc(100% - 12px); z-index: 2; display: flex; justify-content: center; gap: clamp(1rem, 4vw, 3.25rem); pointer-events: none; }
.peek .bot { --s: clamp(42px, 2.4rem + 1vw, 54px); }
.peek.solo { justify-content: flex-end; padding-right: clamp(1rem, 4%, 2rem); }

/* ---------- host: one compact line under the squeeze form ----------
   The proof line only shows once brand.presenterBio is filled in. */
.host { display: flex; align-items: center; gap: .7rem; justify-self: center; max-width: 30rem; margin-top: .25rem; text-align: left; font-size: .88rem; line-height: 1.4; color: var(--ink-2); }
.host b { color: var(--ink); font-weight: 600; }
.host-proof { margin-top: .1rem; }
.avatar {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; overflow: hidden; background: var(--raise);
  display: grid; place-items: center; font: 500 .7rem/1 var(--f-mono); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- video ---------- */
.video {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden; background: #050506;
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -45px rgba(10, 10, 11, .45);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  color: #f4f4f5; cursor: pointer;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 255, 255, .1), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 40px),
    #050506;
}
.play {
  width: clamp(4rem, 3rem + 5vw, 5.5rem); aspect-ratio: 1; border-radius: 50%;
  background: #f4f4f5; color: #0a0a0b; display: grid; place-items: center; border: 0;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 22px rgba(255, 255, 255, .03);
  margin-inline: auto; transition: transform .2s ease;
}
.video-poster:hover .play { transform: scale(1.05); }
.play svg { width: 38%; margin-left: 8%; }
.video-poster .vp-title { font: 500 clamp(1.15rem, 1rem + 1vw, 1.6rem)/1.1 var(--f-display); letter-spacing: -.02em; margin-top: 1.4rem; }
.video-poster .vp-note { font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #8d8f96; margin-top: .5rem; }

/* ---------- cards and grids ---------- */
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: .7rem; align-content: start; min-width: 0; transition: border-color .2s ease; }
.card:hover { border-color: var(--line-2); }
.card .icon { width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--raise); color: var(--ink); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.card .icon svg { width: 1.2rem; height: 1.2rem; }
.card p { color: var(--ink-2); font-size: .96rem; }

/* long copy */
.prose { display: grid; gap: 1.2rem; max-width: var(--col); }
.prose p { font-size: 1.1rem; line-height: 1.75; color: #33353b; }
.prose h3 { margin-top: .75rem; font-size: 1.55rem; }
.pull { font: 500 clamp(1.5rem, 1.1rem + 1.5vw, 2.15rem)/1.2 var(--f-display) !important; letter-spacing: -.03em; color: var(--ink) !important; border-left: 2px solid var(--ink); padding: .1rem 0 .1rem 1.2rem; border-radius: 0; }

/* stats with sources */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--paper); padding: 1.5rem; display: grid; gap: .5rem; align-content: start; }
.stat .big { font: 500 clamp(2.8rem, 2rem + 2.6vw, 4rem)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat p { color: var(--ink-2); font-size: .95rem; }
.stat .src { font-size: .76rem; color: var(--ink-3); }
.stat .src a { color: inherit; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.calc-in { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1.5rem; }
.calc-row { display: grid; gap: .5rem; }
.calc-row .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 500; font-size: .93rem; }
.calc-row output { font: 500 .85rem/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); background: var(--raise); padding: .35rem .55rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.calc-row .hint { font-size: .78rem; color: var(--ink-3); }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 1.6rem; }
.calc-out { background: var(--band); border-left: 1px solid var(--line); color: var(--ink); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1.25rem; align-content: center; }
.leak { font: 500 clamp(3.2rem, 2rem + 4.5vw, 5.2rem)/.95 var(--f-display); letter-spacing: -.055em; color: var(--ink); font-variant-numeric: tabular-nums; }
.leak-unit { font: 500 1.1rem/1 var(--f-body); letter-spacing: -.01em; color: var(--ink-2); }
.leak-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.leak-sub div { display: grid; gap: .2rem; }
.leak-sub b { font: 500 1.6rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.leak-sub span { font-size: .8rem; color: var(--ink-2); }
.calc-out .small { color: var(--ink-2); }
.calc-out .mono { color: var(--ink-3) !important; font-size: .72rem; }

/* ---------- process timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.timeline li { position: relative; display: grid; gap: .55rem; padding-top: 3rem; align-content: start; min-width: 0; }
.timeline li::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  font: 500 .72rem/1 var(--f-mono); box-shadow: inset 0 0 0 1px var(--line-2);
}
.timeline li::after { content: ""; position: absolute; top: 1.1rem; left: 2.8rem; right: -.75rem; height: 1px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--ink); color: var(--paper); box-shadow: none; }
.timeline .when { font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.timeline p { color: var(--ink-2); font-size: .95rem; }

/* ---------- offer stack ---------- */
.offer { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.offer-head { background: var(--raise); color: var(--ink); padding: 1.15rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
.offer-head h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.03em; }
.offer-head .small { font: 500 .68rem/1.3 var(--f-mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2) !important; opacity: 1 !important; }
.offer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1.25rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); align-items: start; }
.offer-row h4 { margin: 0; font-size: 1.02rem; font-weight: 500; }
.offer-row p { grid-column: 1; color: var(--ink-2); font-size: .93rem; }
.offer-row .val { grid-row: 1 / span 2; grid-column: 2; font: 500 .68rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; text-align: right; }
.offer-row .tag { display: inline-block; margin-right: .5rem; padding: .05rem .45rem; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 .6rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; vertical-align: .18em; }
.offer-total { padding: 1.3rem 1.4rem; display: grid; gap: .7rem; background: var(--paper); }
.offer-total .line { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.offer-total .line .small { font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 30rem; }
.compare th { text-align: left; font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .7rem .6rem .7rem 0; border-bottom: 1px solid var(--line-2); }
.compare td { padding: .85rem .6rem .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.compare tr:last-child td { color: var(--ink); border-bottom: 0; }
.compare a { color: var(--ink-3); font-size: .8rem; }

/* ---------- guarantee ---------- */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); background: var(--card); }
.seal { width: clamp(6rem, 5rem + 3vw, 7.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; text-align: center; font: 500 .62rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 6px var(--card), 0 0 0 7px var(--line-2); }
.seal b { display: block; font: 500 2.6rem/1 var(--f-display); letter-spacing: -.05em; margin-bottom: .2rem; }
.guarantee .stack { gap: .8rem; }
.guarantee p { color: var(--ink-2); }
.guarantee .small { color: var(--ink-3); }

/* fit / not fit */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fit .checks li { font-size: .97rem; }

/* proof placeholders: shown until real results are added */
.placeholder { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: .6rem; }
.placeholder .eyebrow { color: var(--ink); }
.placeholder p { color: var(--ink-3); font-size: .93rem; }

/* demo line */
.demo-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.phone-num { font: 500 clamp(2rem, 1.4rem + 2.4vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; user-select: all; }
.copy-btn { appearance: none; border: 1px solid var(--line-2); background: transparent; color: var(--ink); border-radius: 999px; padding: .65rem 1.1rem; font: 500 .85rem/1 var(--f-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: var(--col); margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; font-weight: 500; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.4rem/1 var(--f-mono); color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 1.3rem; color: var(--ink-2); display: grid; gap: .7rem; max-width: 40rem; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 3.1rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- application ----------
   A blank white page: the logo centred on top, then one question at a time. */
.bare .hero { background: var(--paper); padding-top: calc(clamp(1.75rem, 1rem + 3vw, 3.5rem) + 3.75rem); }
.bare .hero::after { display: none; }
.apply { max-width: 36rem; margin-inline: auto; }
.apply .q legend { text-align: center; }
.progress { height: 2px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 99px; transition: width .3s ease; }
.q { display: grid; gap: 1.1rem; }
.q[hidden] { display: none !important; }
.q legend { padding: 0; margin-bottom: 1.1rem; width: 100%; }
.q h1, .q h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem); letter-spacing: -.04em; line-height: 1.08; }
.opts { display: grid; gap: .55rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; align-items: center; gap: .9rem; min-height: 3.4rem; padding: .8rem 1rem;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
  font-weight: 500; cursor: pointer; transition: border-color .12s ease, background .12s ease;
}
.opt label::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--ink-3); transition: all .12s ease; }
.opt label:hover { border-color: var(--ink-3); background: var(--raise); }
.opt input:checked + label { border-color: var(--ink); background: var(--raise); }
.opt input:checked + label::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px var(--raise); }
.opt input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: ag; }
.agenda li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; align-items: start; font-size: .96rem; }
.agenda li::before { counter-increment: ag; content: "0" counter(ag); width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .66rem/1 var(--f-mono); color: var(--ink-2); }
.agenda b { display: block; font-weight: 500; }
.agenda span { color: var(--ink-2); font-size: .9rem; }

/* calendar */
.cal { display: grid; gap: 1.3rem; }
.cal-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(4.6rem, 1fr); gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
.day { appearance: none; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); border-radius: var(--r); padding: .7rem .3rem; cursor: pointer; display: grid; gap: .2rem; justify-items: center; scroll-snap-align: start; font: inherit; }
.day:hover { border-color: var(--ink-3); }
.day .dw, .day .dm { font: 500 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.day .dn { font: 500 1.6rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.day[aria-pressed="true"] .dw, .day[aria-pressed="true"] .dm { color: var(--paper); opacity: .6; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .5rem; }
.slot { appearance: none; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); border-radius: 999px; min-height: 2.9rem; font: 500 .9rem/1 var(--f-mono); font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover { border-color: var(--ink-3); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.slot:disabled { text-decoration: line-through; color: var(--ink-3); border-color: var(--line); cursor: not-allowed; }
.tz { font-size: .8rem; color: var(--ink-3); }
.notice { border-radius: var(--r); padding: .8rem 1rem; font-size: .86rem; background: var(--raise); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.notice code { font-family: var(--f-mono); font-size: .76rem; background: rgba(10, 10, 11, .06); padding: .05rem .35rem; border-radius: 4px; color: var(--ink); }
.embed-frame { width: 100%; min-height: 700px; border: 0; border-radius: var(--r-lg); background: var(--card); }

/* ---------- confirmation ---------- */
.booked-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.cal-tile { width: 5rem; border-radius: 12px; overflow: hidden; text-align: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-tile .m { background: var(--ink); color: var(--paper); font: 500 .62rem/2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.cal-tile .d { font: 500 2.3rem/1.2 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.booked-when { font: 500 1.45rem/1.15 var(--f-display); letter-spacing: -.03em; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: td; }
.todo > li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem 1.4rem; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .45rem 1rem; }
.todo > li > * { grid-column: 2; }
.todo > li::before { counter-increment: td; content: "0" counter(td); grid-column: 1; grid-row: 1 / span 4; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 500 .72rem/1 var(--f-mono); }
.todo h3 { font-size: 1.25rem; }
.todo p { color: var(--ink-2); }
.todo .acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); min-height: 2.8rem; font-size: .95rem; padding: .6rem 1.15rem; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); background: var(--raise); }
.prep { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.prep li { display: flex; gap: .6rem; align-items: center; background: var(--paper); border-radius: var(--r); padding: .65rem .85rem; font-size: .92rem; box-shadow: inset 0 0 0 1px var(--line); }
.prep input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); flex: none; }
.countdown { display: flex; gap: .5rem; }
.countdown div { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r); padding: .5rem .7rem; text-align: center; min-width: 4rem; }
.countdown b { display: block; font: 500 1.6rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.countdown span { font: 500 .6rem/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 1.5rem; font-size: .78rem; color: var(--ink-3); }
.foot .wrap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem 1.4rem; }
body[data-page="training"] .foot { padding-bottom: 6rem; } /* room for the sticky book button on phones */


/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .timeline li:nth-child(2)::after { display: none; }
}
@media (max-width: 720px) {
  .grid.two, .grid.three, .fit, .stats, .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .guarantee, .demo-line { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  /* Balanced and "pretty" wrapping shorten every line, which leaves a gap down the right of
     left-aligned text on a phone. Keep it only where the text is centred. */
  h2, h3, p { text-wrap: wrap; }
  .center h1, .center h2, .center h3, .center p, .hero-top h1, .hero-top p { text-wrap: balance; }
  .form-grid, .prep, .optin-row { grid-template-columns: minmax(0, 1fr); }
  .optin-row .btn { min-height: 3.4rem; }
  .feed-list li:nth-child(n+4) { display: none; }
}
@media (max-width: 480px) {
  .grid.four, .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li::after { display: none; }
  .offer-row { grid-template-columns: minmax(0, 1fr); }
  .offer-row .val { grid-row: auto; grid-column: 1; text-align: left; }
  .booked-card { grid-template-columns: minmax(0, 1fr); }
}
