/* ═══════════════════════════════════════════════════════════════════════════
   THE AGENCY LANDING PAGE (index.html), 2026-09-29.

   Eden: make the layout like OpenAI's Codex page, with screenshots of our own
   app set against painted backgrounds like the ones on that page, and a dark
   mode chosen by the time of day.

   The Codex shape, in Synapse's own materials: one centred headline, one
   large framed product shot, a quiet row of marks, then alternating rows of
   words beside framed screens. Every frame is a painted colour field
   (images/home/bg-*, painted for this page) with a real capture of the app on
   it (images/home/shot-*, from the portal and Tayo with sample data).

   Colours are the app's own (app/theme.css): the warm off-white ground and
   white surfaces by day, X's "Lights out" black by night. Orange marks and
   fills and never carries words (2.2:1 on white). Josefin Sans throughout,
   as in the app.

   landing.css is untouched: buyers.html, privacy.html and terms.html still
   use it.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #FAF6F0;
  --bg-2:      #F4ECE2;
  --surface:   #FFFFFF;
  --ink:       #15120F;
  --ink-2:     #3B352F;
  --muted:     #6B6259;   /* 5.6:1 on --bg */
  --soft:      #8C8278;   /* headline second halves only: large text, 3.5:1 */
  --line:      #E8DDD0;
  --line-2:    #D9CAB8;
  --edge:      #D9CAB8;   /* text boxes: the one edge that stays at night */
  --tint:      #FFF1E4;
  --orange:    #FF8A2D;
  --btn:       #15120F;
  --btn-ink:   #FFFFFF;
  --frame-edge: rgba(255, 255, 255, 0.55);
  --shot-shadow: 0 30px 60px -20px rgba(92, 46, 12, 0.35), 0 12px 24px -12px rgba(92, 46, 12, 0.18);

  --f: 'Josefin Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-frame: clamp(16px, 2.2vw, 28px);
  color-scheme: light;
}

/* Dark, three ways: the page's own clock stamps data-theme before first
   paint; without script the device's setting decides. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-2: #0B0C0E; --surface: #16181C;
    --ink: #E7E9EA; --ink-2: #C9CDD1; --muted: #8B9096; --soft: #71767B;
    --line: transparent; --line-2: transparent; --edge: #2F3336; --tint: #1C140D;
    --btn: #FFFFFF; --btn-ink: #000000;
    --frame-edge: rgba(255, 255, 255, 0.08);
    --shot-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-2: #0B0C0E; --surface: #16181C;
  --ink: #E7E9EA; --ink-2: #C9CDD1; --muted: #8B9096; --soft: #71767B;
  --line: transparent; --line-2: transparent; --edge: #2F3336; --tint: #1C140D;
  --btn: #FFFFFF; --btn-ink: #000000;
  --frame-edge: rgba(255, 255, 255, 0.08);
  --shot-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.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; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* One set of images per theme; the other is never fetched (a lazy image
   that is display:none does not load). */
:root[data-theme="dark"] .lt, :root:not([data-theme="dark"]) .dk { display: none !important; }

/* ── type ─────────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.h1, .h2, .h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; }
.h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
.h1 em, .h2 em, .statement em { font-style: normal; color: var(--soft); }
.lede { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.lede + .lede { margin-top: 14px; }
.lede b { color: var(--ink); font-weight: 600; }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-solid:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { flex: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; }

/* ── nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 12px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { width: 26px; height: 37px; object-fit: contain; }
/* The mark is a black-on-white photograph: multiply drops its white by day,
   and inverted with screen it becomes white-on-nothing by night. */
:root:not([data-theme="dark"]) .logo img { mix-blend-mode: multiply; }
:root[data-theme="dark"] .logo img { filter: invert(1); mix-blend-mode: screen; }
.logo-word { font-size: 15px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-signin { padding: 8px 12px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-signin:hover { color: var(--ink); }
.aud { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.aud-seg { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.aud-seg:hover { color: var(--ink); }
.aud-seg.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(74, 52, 30, 0.1); }
:root[data-theme="dark"] .aud { background: #16181C; }
:root[data-theme="dark"] .aud-seg.on { background: #FFFFFF; color: #000000; box-shadow: none; }
.float-cta { display: none; }
.mode {
  width: 38px; height: 38px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); cursor: pointer;
}
.mode:hover { color: var(--ink); border-color: var(--ink); }
.mode .sun { display: none; }
:root[data-theme="dark"] .mode .sun { display: block; }
:root[data-theme="dark"] .mode .moon { display: none; }

/* ── the frame: a painted field with the app on it ────────────────────────── */
.frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-frame);
  background-color: var(--bg-2);
  background-image: var(--paint-l);
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px var(--frame-edge);
  container-type: inline-size;
  isolation: isolate;
}
:root[data-theme="dark"] .frame { background-image: var(--paint-d); }
.frame :is(.shot, .phone) { height: auto; max-width: none; }
.frame .shot {
  position: absolute; z-index: 1;
  border-radius: clamp(8px, 1.1cqw, 16px);
  box-shadow: var(--shot-shadow), 0 0 0 1px var(--frame-edge);
  background: var(--surface);
}
/* Screens that run off the frame's right and bottom edges, the way the
   reference crops a window rather than shrinking it until it is unreadable. */
.frame .shot.bleed { left: 7%; top: 9%; width: 108%; }

.p-hero   { --paint-l: url(images/home/bg-hero-light.webp);   --paint-d: url(images/home/bg-hero-dark.webp); }
.p-reach  { --paint-l: url(images/home/bg-reach-light.webp);  --paint-d: url(images/home/bg-reach-dark.webp); }
.p-crm    { --paint-l: url(images/home/bg-crm-light.webp);    --paint-d: url(images/home/bg-crm-dark.webp); }
.p-nearby { --paint-l: url(images/home/bg-nearby-light.webp); --paint-d: url(images/home/bg-nearby-dark.webp); }
.p-team   { --paint-l: url(images/home/bg-team-light.webp);   --paint-d: url(images/home/bg-team-dark.webp); }
.p-tayo   { --paint-l: url(images/home/bg-tayo-light.webp);   --paint-d: url(images/home/bg-tayo-dark.webp); }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; text-align: center; }
.hero .h1 { margin: 22px auto 0; max-width: 16ch; }
.hero .h1 em { display: block; }
/* A headline that is one sentence runs on; its muted end stays inline. */
.hero .h1.flow { max-width: 20ch; }
.hero .h1.flow em { display: inline; }
.hero .lede { margin: 24px auto 0; max-width: 40ch; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-frame {
  margin: clamp(44px, 6vw, 72px) auto 0;
  max-width: 1320px;
  aspect-ratio: 16 / 9.4;
}
.hero-frame .shot { left: 50%; top: 7.5%; width: 84%; transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-frame .shot { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes rise { from { transform: translate(-50%, 28px); } to { transform: translate(-50%, 0); } }
}

/* ── the customer page's front door: ask Tayo from the hero ─────────────────
   A real form: whatever is typed is handed to Tayo already sent. */
.ask {
  display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 560px; margin: 34px auto 0; padding: 6px 6px 6px 22px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--edge);
  box-shadow: 0 10px 30px -12px rgba(92, 46, 12, 0.25);
}
:root[data-theme="dark"] .ask { background: #000000; box-shadow: none; }
.ask:focus-within { border-color: var(--orange); }
.ask input {
  flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent;
  font-size: 17px; color: var(--ink);
}
.ask input::placeholder { color: var(--muted); }
.ask button {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--btn); color: var(--btn-ink); font-size: 20px; line-height: 1;
}
.ask-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.ask-foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.ask-foot a:hover { color: var(--ink); }
.pip { display: inline-flex; align-items: center; gap: 8px; }
.pip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2BB673; }

/* ── the three promises: a figure, what it buys you, why ─────────────────── */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 32px; }
.promise-fig { font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; font-weight: 300; font-variant-numeric: lining-nums; }
.promise .h3 { margin-top: 18px; }
.promise p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }

/* A frame with only a phone in it, standing up out of the bottom edge. */
.frame .phone.solo { right: auto; left: 50%; top: 9%; width: 42%; transform: translateX(-50%); }

/* ── the channels ─────────────────────────────────────────────────────────── */
.rail { padding: clamp(44px, 6vw, 72px) 0 0; text-align: center; }
.rail p { margin: 0 0 22px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rail-vp { overflow: hidden; }
.rail-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px clamp(24px, 4vw, 52px); }
.rail-copy { display: none; }
.rail li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.rail svg { color: var(--ink); }

/* ── sections ─────────────────────────────────────────────────────────────── */
.sec { padding: clamp(80px, 11vw, 150px) 0 0; }
.sec-head { max-width: 820px; }
.sec-head .h2 { margin-top: 18px; }
.sec-head .lede { margin-top: 22px; }

/* ── The reality: the problems slide past (Miro's row, Eden's reference) ──
   By default a swipeable row with arrows: what phones, tablets and reduced
   motion get. home.js adds .rl-pinned on wide screens: the section holds
   still under the bar and the page's own scroll carries the row sideways,
   heading first, then the four problems, then on to Introducing. */
.rl-rail { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.rl-head { max-width: 820px; }
.rl-head .h2 { margin-top: 18px; }
.rl-head .lede { margin-top: 22px; }
.rl-hint { display: none; }
.rl-track {
  display: flex; gap: 16px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rl-track::-webkit-scrollbar { display: none; }
.rl-card { flex: 0 0 min(440px, 84%); scroll-snap-align: start; display: flex; flex-direction: column; }
.rl-art {
  aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center;
  background-color: var(--bg-2); background-image: var(--paint-l); background-size: cover; background-position: center;
  container-type: inline-size;
}
:root[data-theme="dark"] .rl-art { background-image: var(--paint-d); }
.rl-body { padding: 22px 4px 0; }
.rl-n { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rl-body .h3 { margin-top: 10px; }
.rl-body p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.rl-stage { position: relative; }
.rl-ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.rl-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none; cursor: pointer;
  display: grid; place-items: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px -8px rgba(74, 52, 30, 0.35);
}
:root[data-theme="dark"] .rl-arrow { background: #FFFFFF; color: #000000; border-color: transparent; box-shadow: none; }
.rl-arrow:disabled { opacity: 0.35; cursor: default; }
.rl-count { min-width: 48px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.reality .either { margin-top: 30px; }

.reality.rl-pinned .rl-stage {
  position: sticky; top: 68px; height: calc(100vh - 68px); height: calc(100svh - 68px);
  display: flex; align-items: center; overflow: hidden;
}
.reality.rl-pinned .rl-rail {
  display: flex; align-items: center; gap: clamp(48px, 5vw, 80px);
  width: max-content; max-width: none; margin: 0;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  will-change: transform;
}
.reality.rl-pinned .rl-head { flex: 0 0 400px; }
.reality.rl-pinned .rl-hint { display: block; margin: 30px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.reality.rl-pinned .rl-track { overflow: visible; margin-top: 0; gap: 24px; scroll-snap-type: none; }
/* As wide as the screen's height allows, so a card always fits whole. */
.reality.rl-pinned .rl-card { flex: 0 0 min(440px, calc((100svh - 68px - 300px) * 4 / 3)); }
.reality.rl-pinned .rl-ctrl { display: none; }

/* The pictures, drawn in container units so they scale with the tile. */
.rl-art > div {
  width: 74%; padding: 5.5cqw; border-radius: 4cqw;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 48px -20px rgba(92, 46, 12, 0.35);
  font-size: 3.4cqw; line-height: 1.3;
}
:root[data-theme="dark"] .rl-art > div { background: #16181C; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8); }
/* 01: three in a hundred */
.rl-art > .art-dots { width: 54%; padding: 4.5cqw; }
.art-dots .dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 1.5cqw; }
.art-dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(21, 18, 15, 0.14); }
:root[data-theme="dark"] .art-dots i { background: rgba(255, 255, 255, 0.16); }
.art-dots i.live { background: var(--orange); box-shadow: 0 0 0 1.2cqw rgba(255, 138, 45, 0.22); }
.art-cap { margin-top: 3.5cqw; font-size: 3.2cqw; color: var(--muted); }
.art-cap b { color: var(--ink); font-size: 5cqw; font-weight: 600; }
/* 02: captions at midnight */
.art-stack { display: grid; gap: 2.4cqw; }
.art-clock { justify-self: start; padding: 1.2cqw 3cqw; border-radius: 999px; background: var(--bg-2); font-weight: 600; font-size: 3cqw; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .art-clock { background: #000000; }
.art-row { display: flex; align-items: center; gap: 3cqw; }
.art-row .ic { flex: none; width: 8cqw; height: 8cqw; border-radius: 2cqw; display: grid; place-items: center; background: var(--btn); color: var(--btn-ink); font-size: 2.6cqw; font-weight: 700; }
.art-row .ln { flex: 1; display: grid; gap: 1.4cqw; }
.art-row .ln i { display: block; height: 1.6cqw; border-radius: 1cqw; background: rgba(21, 18, 15, 0.12); }
.art-row .ln i + i { width: 62%; }
:root[data-theme="dark"] .art-row .ln i { background: rgba(255, 255, 255, 0.14); }
.art-row .tag { flex: none; padding: 0.8cqw 2.4cqw; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 2.6cqw; font-weight: 600; }
/* 03: one fee, four agencies */
.art-fee-t { font-weight: 600; font-size: 4cqw; }
.art-bar { display: flex; gap: 1.2cqw; margin-top: 4cqw; height: 15cqw; }
.art-bar span { flex: 1; border-radius: 2cqw; display: grid; place-items: center; background: rgba(21, 18, 15, 0.1); color: var(--muted); font-size: 2.6cqw; font-weight: 600; }
:root[data-theme="dark"] .art-bar span { background: rgba(255, 255, 255, 0.12); }
.art-bar span.you, :root[data-theme="dark"] .art-bar span.you { background: var(--orange); color: #15120F; }
.art-fee-s { margin-top: 4cqw; color: var(--muted); font-size: 3.2cqw; }
/* 04: one closer, a queue */
.art-queue { display: grid; gap: 2.4cqw; }
.art-who { display: flex; align-items: center; gap: 3cqw; margin-bottom: 1.4cqw; }
.art-who .av { flex: none; width: 10cqw; height: 10cqw; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--btn-ink); font-weight: 700; font-size: 3.2cqw; }
.art-who b { display: block; font-weight: 600; font-size: 3.8cqw; }
.art-who em { display: block; font-style: normal; color: var(--muted); font-size: 3cqw; }
.art-q { display: flex; justify-content: space-between; align-items: center; gap: 3cqw; padding: 2.4cqw 3cqw; border-radius: 2.4cqw; background: var(--bg-2); font-size: 3.2cqw; }
:root[data-theme="dark"] .art-q { background: #000000; }
.art-q .w { padding: 0.8cqw 2.4cqw; border-radius: 999px; background: rgba(224, 178, 92, 0.22); color: var(--ink-2); font-size: 2.6cqw; font-weight: 600; }
.either { margin: 32px 0 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.either b { color: var(--ink); font-weight: 600; }

/* Introducing: the page's one big statement. */
.intro { text-align: center; }
.intro .eyebrow { justify-content: center; }
/* The word in the logo's face: wide, heavy capitals with the wordmark's
   tracking. Archivo at its widest is the nearest Google Font to the logo.
   The left padding balances the tracking after the last letter. */
.intro-word {
  margin: 22px 0 0; padding-left: 0.3em;
  font-family: 'Archivo', var(--f); font-stretch: 125%; font-weight: 800;
  font-size: clamp(34px, 7.6vw, 108px); line-height: 1; letter-spacing: 0.3em; text-transform: uppercase;
}
.statement { margin: 28px auto 0; max-width: 24ch; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }

/* Feature rows: words beside a framed screen, sides alternating. */
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .row-text { order: 2; }
.row-text .h2 { margin-top: 18px; font-size: clamp(32px, 3.6vw, 48px); }
.row-text .lede { margin-top: 20px; font-size: 18px; }
.row + .row { margin-top: clamp(80px, 10vw, 140px); }
.row .frame { aspect-ratio: 4 / 3; }

/* CRM: the pipeline with Tayo's side of the conversation standing on it. */
.frame .phone {
  position: absolute; z-index: 2; right: 6%; top: 10%; width: 31%;
  border-radius: clamp(14px, 3.2cqw, 30px);
  border: clamp(3px, .7cqw, 7px) solid #0E0E10;
  box-shadow: var(--shot-shadow);
  background: #0E0E10;
}
.frame .shot.under { left: 6%; top: 9%; width: 100%; }

/* Proximity: the listing, and the moment it reaches a phone nearby. */
.ping {
  position: absolute; z-index: 2; right: 5%; top: 6%; width: 50%;
  display: grid; grid-template-columns: auto 1fr; gap: 0 3cqw; align-items: start;
  padding: 3cqw 3.4cqw; border-radius: 3.4cqw;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shot-shadow), 0 0 0 1px var(--frame-edge);
  font-size: 2.6cqw; line-height: 1.35;
}
.ping-icon { grid-row: span 3; width: 8cqw; height: 8cqw; border-radius: 2cqw; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.ping-icon img { width: 3.6cqw; height: auto; mix-blend-mode: multiply; }
.ping-top { display: flex; justify-content: space-between; gap: 2cqw; color: var(--muted); font-size: 2.2cqw; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ping-t { margin-top: .6cqw; font-weight: 600; }
.ping-s { color: var(--muted); }

/* Small teams: one wide frame, then the three things it keeps in view. */
.wide { aspect-ratio: 16 / 8.2; margin-top: 48px; }
.wide .shot { left: 50%; top: 10%; width: 86%; transform: translateX(-50%); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 28px; }
.step-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.step-k::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.step .h3 { margin-top: 12px; }
.step p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

/* Screens drift a little against their paint as the page moves, where the
   browser can tie an animation to scrolling. Nothing waits on it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .row .frame .shot, .row .frame .phone, .wide .shot { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .wide .shot { animation-name: drift-c; }
    @keyframes drift { from { translate: 0 28px; } to { translate: 0 -20px; } }
    @keyframes drift-c { from { translate: 0 28px; } to { translate: 0 -20px; } }
  }
}

/* ── pricing ──────────────────────────────────────────────────────────────── */
.pr-toggle { display: inline-flex; gap: 4px; margin-top: 32px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.pr-per { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; }
.pr-per.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(74, 52, 30, 0.08); }
:root[data-theme="dark"] .pr-per.on { background: #FFFFFF; color: #000000; box-shadow: none; }
.pr-save { margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--orange); color: #15120F; font-size: 12px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 32px; }
.pr-card.feature { background: var(--tint); border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.pr-badge { position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--orange); color: #15120F; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pr-name { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.pr-price { margin-top: 14px; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.pr-price span { display: block; margin-top: 8px; font-size: 15px; letter-spacing: 0; color: var(--muted); }
.pr-best { margin: 16px 0 0; color: var(--ink-2); font-size: 17px; }
.pr-list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pr-list li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink-2); }
.pr-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.pr-not { margin: auto 0 0; padding-top: 18px; font-size: 15px; color: var(--muted); }
.pr-compare { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.pr-compare summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; list-style: none; display: flex; align-items: center; gap: 10px; }
.pr-compare summary::-webkit-details-marker { display: none; }
.pr-compare summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 16px; line-height: 1; }
.pr-compare[open] summary::before { content: '−'; }
.pr-tablewrap { overflow-x: auto; padding: 0 22px 20px; }
.pr-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.pr-table th, .pr-table td { padding: 12px 10px; border-top: 1px solid var(--line); text-align: center; font-variant-numeric: tabular-nums; }
.pr-table thead th { border-top: 0; font-weight: 600; }
.pr-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); }
.pr-table .hi { background: var(--tint); }
.pr-table .no { color: var(--muted); }
.pr-table .pr-neutral { text-align: center; color: var(--ink-2); }
.pr-note { margin: 18px 0 0; font-size: 15px; color: var(--muted); }

/* ── the last ask ─────────────────────────────────────────────────────────── */
.end { padding: clamp(80px, 11vw, 150px) 0 0; }
.end .frame { padding: clamp(56px, 8vw, 110px) var(--gutter); text-align: center; }
.end .h2 { position: relative; z-index: 1; color: #15120F; }
.end .h2 em { color: rgba(21, 18, 15, 0.55); }
.end .lede { position: relative; z-index: 1; margin: 20px auto 0; color: #3B352F; max-width: 46ch; }
.end .hero-cta { position: relative; z-index: 1; }
.end .btn-solid { background: #15120F; color: #FFFFFF; }
.end .btn-ghost { color: #15120F; border-color: rgba(21, 18, 15, 0.3); }
:root[data-theme="dark"] .end .h2 { color: #FFFFFF; }
:root[data-theme="dark"] .end .h2 em { color: rgba(255, 255, 255, 0.6); }
:root[data-theme="dark"] .end .lede { color: rgba(255, 255, 255, 0.78); }
:root[data-theme="dark"] .end .btn-solid { background: #FFFFFF; color: #000000; }
:root[data-theme="dark"] .end .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); }

/* ── footer ───────────────────────────────────────────────────────────────── */
.foot { margin-top: clamp(64px, 8vw, 110px); padding: 36px 0 44px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 40px; flex-wrap: wrap; }
.foot-tag { margin: 14px 0 0; font-size: 15px; color: var(--muted); max-width: 36ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Night: no hairlines ────────────────────────────────────────────────────
   Eden: white lines partitioning sections at night have to go; "the only
   white on the screen should be the actual elements". Cards are a lighter
   black than the page, so they need no outline; the comparison table's rows
   alternate a shade instead of being ruled; controls that were outlined
   become a filled lighter black. The ask box keeps its edge: it is a text
   box, and the edge is the box. */
:root[data-theme="dark"] .ask { border-color: var(--edge); }
:root[data-theme="dark"] :is(.mode, .btn-ghost) { background: #16181C; border-color: transparent; color: #FFFFFF; }
:root[data-theme="dark"] .mode:hover, :root[data-theme="dark"] .btn-ghost:hover { background: #202327; }
:root[data-theme="dark"] .pr-table :is(th, td) { border-top-color: transparent; }
:root[data-theme="dark"] .pr-table tbody tr:nth-child(odd) :is(th, td) { background: #0B0C0E; }
:root[data-theme="dark"] .pr-table tbody tr:nth-child(odd) td.hi { background: #22170E; }
:root[data-theme="dark"] .pr-list { border-top: 0; padding-top: 8px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ask { border-color: var(--edge); }
}

/* ── narrower screens ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .row.flip .row-text { order: 0; }
  .pr-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pr-card.feature { order: -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .promises { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 960px) {
  /* The arrows stand either side of the pictures; home.js measures where
     the middle of a picture is (--art-mid). */
  .rl-ctrl .rl-arrow { position: absolute; z-index: 2; top: var(--art-mid, 40%); transform: translateY(-50%); }
  .rl-ctrl .prev { left: max(6px, calc(var(--gutter) - 14px)); }
  .rl-ctrl .next { right: max(6px, calc(var(--gutter) - 14px)); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .sec { padding-top: 72px; }
  .hero { padding-top: 28px; }
  .lede { font-size: 17px; }
  .nav-cta { display: none; }
  .aud-seg { padding: 6px 11px; font-size: 13px; }
  .nav-in { gap: 8px; }
  /* The channels run past like a news ticker: two copies of the list moving
     together, so the loop has no seam. */
  .rail .wrap { padding: 0; }
  .rail p { padding: 0 var(--gutter); }
  .rail-vp { display: flex; }
  .rail-list { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 0; animation: ticker 24s linear infinite; }
  .rail-list li { padding: 0 20px; }
  .rail-copy { display: flex; }
  @keyframes ticker { to { transform: translateX(-100%); } }
  /* The standing ask: one pill, always within reach. */
  .float-cta {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    height: 52px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
    background: var(--btn); color: var(--btn-ink); text-decoration: none; font-size: 16px; font-weight: 600;
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.5);
  }
  .foot { padding-bottom: 108px; }
  /* Screens shown closer up, so the words in them can be read. */
  .row .frame { aspect-ratio: 4 / 3.4; }
  .frame .shot.bleed, .frame .shot.under { width: 165%; left: 6%; top: 8%; }
  .frame .phone { width: 40%; right: 5%; }
  .frame .phone.solo { width: 54%; }
  .row-text .h2 { font-size: 32px; }
  .statement { font-size: 25px; }
  .end .frame { padding: 52px 20px; }
  .pr-card { padding: 26px 22px 28px; }
  .rl-card { flex-basis: 86%; }
  .hero-frame { aspect-ratio: 4 / 3.4; }
  .hero-frame .shot { width: 150%; left: 4%; transform: none; top: 8%; }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
  }
  .wide { aspect-ratio: 4 / 3.2; }
  .wide .shot { width: 150%; left: 5%; transform: none; }
  .nav-signin { padding: 8px 6px; }
}
@media (max-width: 400px) {
  .logo-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rail-list { animation: none !important; }
  .rail-copy { display: none !important; }
  .rail-vp { overflow-x: auto; }
  .rl-track { scroll-behavior: auto; }
}
