/* ════════════════════════════════════════════════════════
   QUARTERS — marketing stylesheet (Founder-Led design)
   Consolidated from the Claude Design handoff, in cascade order:
   sales · sales-v2 · jp · letter-c · letter-video · founderled.
   Locked colorway: Slate. Do not reorder — later blocks override.
   ════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   QUARTERS — Founder-led sales landing page
   Warm-paper editorial · grotesque + serif-italic accents ·
   product recordings as the centerpiece.
   Accents (Tweakable): evergreen · cobalt · ember
   ════════════════════════════════════════════════════════ */

:root {
  --display: "Schibsted Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --maxw: 1200px;
  --gutter: 40px;

  --paper: #f5f2ea;
  --paper-2: #efebdf;
  --card: #fffefa;
  --ink: #16140d;
  --ink-2: #54503f;
  --ink-3: #8d8775;
  --line: rgba(22,20,13,0.13);
  --line-soft: rgba(22,20,13,0.07);

  --accent: #4F6E2F;        /* sage (default brand accent) */
  --accent-2: #6D7D35;
  --accent-soft: rgba(79,110,47,.12);
  --on-accent: #f5f2ea;
}
html[data-accent="cobalt"] { --accent: #2046d6; --accent-2: #4e74ff; --accent-soft: rgba(32,70,214,0.10); }
html[data-accent="ember"]  { --accent: #c4451f; --accent-2: #e8693a; --accent-soft: rgba(196,69,31,0.10); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; color: var(--accent); }
strong { font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* label */
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.label::before { content: ""; width: 9px; height: 9px; background: var(--accent); border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 11px; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); white-space: nowrap;
  transition: transform 0.14s ease, background 0.16s ease, box-shadow 0.16s ease; box-shadow: 0 1px 0 rgba(22,20,13,0.04); }
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn .ar { font-size: 14px; }
.btn.lg { padding: 16px 28px; font-size: 16.5px; border-radius: 13px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand .mk { width: 24px; height: 24px; border-radius: 6px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; color: var(--on-accent); font-size: 15px; font-weight: 700; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .signin { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-cta .signin:hover { color: var(--ink); }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

/* ── Hero ── */
.hero { padding: 40px 0 40px; }
.hero-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hero-top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -0.045em; }
.hero h1 .serif { display: inline; }
.hero-right { padding-bottom: 8px; }
.hero-sub { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }
.hero-demo { margin-top: 30px; }

/* ── Demo frame ── */
.demo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0e0e0c;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 30px 70px -30px rgba(22,20,13,0.45), 0 8px 24px -12px rgba(22,20,13,0.2); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--card); border-bottom: 1px solid var(--line); }
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.demo-bar .title { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.demo-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.demo-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo video { display: block; width: 100%; aspect-ratio: 1600 / 1000; object-fit: cover; background: #0e0e0c; }

/* ── The Problem ── */
.problem { padding: 130px 0 120px; }
.problem-in { max-width: 960px; margin: 0 auto; padding: 0 var(--gutter); }
.problem .label { margin-bottom: 22px; }
.problem h2 { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -0.04em; max-width: 16ch; }
.problem h2 .serif { display: inline; }
.problem p { font-size: 21px; line-height: 1.55; color: var(--ink-2); margin: 28px 0 0; max-width: 60ch; }
.problem p strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.chip .x { color: var(--ink-3); margin-right: 8px; }

/* ── Feature rows ── */
.feat { padding: 66px 0; border-top: 1px solid var(--line-soft); }
.feat-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center; }
.feat.rev .feat-in { grid-template-columns: 1.18fr 0.82fr; }
.feat.rev .feat-text { order: 2; }
.feat-text .label { margin-bottom: 20px; }
.feat-text h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.035em; }
.feat-text h2 .serif { display: inline; }
.feat-text p { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 20px 0 0; max-width: 46ch; }
.feat-text p strong { color: var(--ink); }
.feat-demo .demo { width: 100%; }

/* ── Close ── */
.close { padding: 130px 0 130px; margin-top: 30px; }
.close-in { max-width: 880px; margin: 0 auto; padding: 64px var(--gutter); text-align: center;
  background: var(--ink); color: var(--paper); border-radius: 28px; }
.close .label { color: var(--accent-2); justify-content: center; margin: 0 auto 22px; }
.close .label::before { background: var(--accent-2); }
.close h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.04em; color: var(--paper); }
.close h2 .serif { color: var(--accent-2); display: inline; }
.close .sub { font-family: var(--serif); font-style: italic; font-size: 22px; color: rgba(245,242,234,0.74); margin: 20px 0 0; }
.close .btn { margin-top: 34px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.close .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ── Footer ── */
.footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.footer .brand { font-size: 17px; }
.footer .ll { display: flex; gap: 22px; }
.footer .ll a:hover { color: var(--ink); }

/* ── Diagrams ── */
.dia { padding: 74px 0; border-top: 1px solid var(--line-soft); }
.dia-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.dia-head { text-align: center; margin-bottom: 44px; }
.dia-head .label { justify-content: center; margin: 0 auto 18px; }
.dia-head h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.035em; }
.dia-head h2 .serif { display: inline; }
.dia-head p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 16px auto 0; }
.dia-head p strong { color: var(--ink); }

/* swimlanes */
.swim { display: flex; flex-direction: column; gap: 16px; }
.swim.alt { display: none; }
html[data-connect="product"] .swim.flow { display: none; }
html[data-connect="product"] .swim.alt { display: flex; }

/* product-component variant nodes */
.ux-profile { width: 210px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.up-head { display: flex; gap: 11px; align-items: center; }
.up-av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.up-av.sm { width: 28px; height: 28px; font-size: 11px; }
.up-nm { font-weight: 600; font-size: 15px; line-height: 1.2; }
.up-rl { font-size: 12.5px; color: var(--ink-3); line-height: 1.2; }
.up-ai { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-soft); }
.up-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.up-ai p { margin: 5px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

.ux-thread { width: 232px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.ux-h { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 11px; }
.ux-badge { border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.ux-msg { margin-top: 10px; }
.ux-msg:first-of-type { margin-top: 0; }
.ux-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.ux-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.ux-tag.imsg::before { background: #2d8a4e; }
.ux-tag.mail::before { background: #c98a2e; }
.ux-bub { background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px; border-top-left-radius: 4px; padding: 8px 11px; font-size: 13px; line-height: 1.4; color: var(--ink); }

.ux-cad { width: 214px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--accent-soft); }
.ux-cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.ux-cad-row { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 10px 11px; }
.ux-cad-main { flex: 1; min-width: 0; }
.ux-cad-main .nm { font-weight: 600; font-size: 14px; }
.ux-cad-main .sub { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.ux-pill { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: 999px; padding: 4px 9px; flex: none; }

.ux-kan { width: 202px; }
.ux-kan-col { background: rgba(22,20,13,0.045); border: 1px solid var(--line); border-radius: 14px; padding: 11px; }
.ux-kan-h { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.ux-kan-n { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 1px 7px; font-size: 9.5px; }
.ux-kan-card { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 12px; box-shadow: 0 6px 16px -10px rgba(22,20,13,0.4); }
.ux-kan-co { font-weight: 600; font-size: 15px; }
.ux-kan-amt { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-top: 2px; }
.ux-kan-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.ux-kan-stage { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.lane { display: grid; grid-template-columns: 150px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 40px -28px rgba(22,20,13,0.5); }
.lane-tab { padding: 22px 20px; display: flex; flex-direction: column; gap: 7px; justify-content: center; border-right: 1px solid var(--line); }
.lane-tab.cadence { background: var(--accent-soft); }
.lane-tab.pipeline { background: rgba(22,20,13,0.045); }
.lane-tab .kit { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lane-tab .dest { font-size: 23px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.lane-tab.cadence .dest { color: var(--accent); }
.lane-flow { display: flex; align-items: center; gap: 12px; padding: 20px; overflow-x: auto; }

.fnode { flex: none; }
.contact { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); min-width: 196px; }
.contact .av { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.contact .nm { font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.contact .rl { font-size: 12px; color: var(--ink-3); line-height: 1.2; }

.arrow { flex: none; color: var(--ink-3); font-size: 20px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.arrow .cap { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }

.unified { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 13px 14px; min-width: 234px; }
.unified .uh { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.chan { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13px; border-top: 1px solid var(--line-soft); }
.chan:first-of-type { border-top: 0; }
.chan .d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chan .d.mail { background: #c98a2e; }
.chan .d.imsg { background: #2d8a4e; }
.chan .ch { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-3); width: 58px; flex: none; }
.chan .who { color: var(--ink-2); }
.rel { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 8px; }
.rel .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.rel .t { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 16px; line-height: 1; white-space: nowrap; }

.dest-node { padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.25; border: 1px solid; max-width: 168px; }
.dest-node .sm { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; opacity: 0.78; }
.dest-node.cadence { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.dest-node.pipeline { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* lookalikes */
.look { display: grid; grid-template-columns: 268px auto 1fr; gap: 26px; align-items: center; }
.won { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 20px; box-shadow: 0 14px 40px -28px rgba(22,20,13,0.5); }
.won .tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.won .tag::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.won .co { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.won .amt { font-family: var(--mono); font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.won .attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.won .attrs span { font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 10px; }
.look-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-3); }
.look-mid .ar { font-size: 26px; }
.look-mid .cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; max-width: 84px; line-height: 1.4; }
.look-out { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 16px 18px; box-shadow: 0 14px 40px -28px rgba(22,20,13,0.5); }
.look-out .oh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.look-out .oh .t { font-weight: 600; font-size: 15px; }
.look-out .oh .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--accent); }
.look-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lk { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--paper); }
.lk .nm { font-size: 13px; font-weight: 500; }
.lk .pct { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }

@media (max-width: 860px) {
  .lane { grid-template-columns: 1fr; }
  .lane-tab { flex-direction: row; align-items: baseline; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .look { grid-template-columns: 1fr; gap: 16px; }
  .look-mid { flex-direction: row; }
  .look-mid .ar { transform: rotate(90deg); }
  .look-grid { grid-template-columns: 1fr 1fr; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  :root { --gutter: 24px; }
  .hero-top { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .nav-links { display: none; }
  .feat-in, .feat.rev .feat-in { grid-template-columns: 1fr; gap: 28px; }
  .feat.rev .feat-text { order: 0; }
  .feat-demo { order: 2; }
}
/* ════════════════════════════════════════════════════════
   QUARTERS v2 — additions on top of quarters-sales.css
   · Masthead "system map" flowchart
   · Quarters vs HubSpot / Attio / Salesforce comparison table
   Reuses all shared tokens & components from quarters-sales.css
   ════════════════════════════════════════════════════════ */

/* ── Masthead system map ── */
.mast { padding: 60px 0 56px; }
.mast-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mast-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.mast-head .label { justify-content: center; margin: 0 auto 18px; }
.mast-head h1 { font-size: clamp(38px, 4.8vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.mast-head h1 .serif { display: inline; }
.mast-head p { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; margin: 14px auto 0; }
.mast-head p strong { color: var(--ink); }
.mast-cta { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

.map { display: grid; grid-template-columns: minmax(176px, 0.82fr) 70px minmax(212px, 0.9fr) 70px minmax(300px, 1.2fr); align-items: center; }
.map-zone { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }

.map-inputs { display: flex; flex-direction: column; gap: 9px; }
.ipill { display: flex; align-items: center; gap: 11px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: 0 10px 30px -26px rgba(22,20,13,0.5); }
.ipill .d { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ipill .d.imsg { background: #2d8a4e; } .ipill .d.mail { background: #c98a2e; }
.ipill .d.text { background: #2d6fd6; } .ipill .d.cal { background: #9a5cc4; }
.ipill .t { font-weight: 500; font-size: 14.5px; }

.map-arrow { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--ink-3); }
.map-arrow .a { font-size: 24px; line-height: 1; }
.map-arrow .cap { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }

.map-core { text-align: center; }
.core-node { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 20px 20px 18px; box-shadow: 0 26px 60px -28px rgba(0,0,0,0.65); }
.core-node .qmk { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.core-node .ct { font-size: 23px; font-weight: 600; letter-spacing: -0.03em; }
.core-node .cs { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--accent-2); margin-top: 4px; line-height: 1.3; }
.core-foot { font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; color: var(--ink-3); margin-top: 13px; line-height: 1.5; }

.map-outputs { display: flex; flex-direction: column; gap: 9px; }
.ogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ocard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; box-shadow: 0 10px 30px -26px rgba(22,20,13,0.5); }
.ocard .ot { font-weight: 600; font-size: 15.5px; letter-spacing: -0.02em; }
.ocard .os { font-size: 12.5px; line-height: 1.42; color: var(--ink-3); margin-top: 4px; }
.ocard.pipe { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
.ocard .ofoot { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; color: var(--accent); }

/* ── Comparison table ── */
.cmp { padding: 96px 0; border-top: 1px solid var(--line-soft); }
.cmp-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.cmp-head { text-align: center; max-width: 720px; margin: 0 auto 16px; }
.cmp-head .label { justify-content: center; margin: 0 auto 18px; }
.cmp-head h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1.05; }
.cmp-head h2 .serif { display: inline; }
.cmp-head p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 16px auto 0; }
.cmp-head p strong { color: var(--ink); }

.cmp-scroll { overflow-x: auto; margin-top: 40px; }
.cmp-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.cmp-table thead th { text-align: left; padding: 16px 20px; vertical-align: bottom; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--ink-2); }
.cmp-table thead th.rowhead { width: 30%; }
.cmp-table thead th.q { color: var(--accent); border-radius: 14px 14px 0 0; }
.cmp-table thead th.q::before { content: "Q"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; margin-right: 9px; vertical-align: -4px; }
.cmp-table td { padding: 15px 20px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-2); vertical-align: middle; }
.cmp-table td.feat { color: var(--ink); font-weight: 500; }
.cmp-table td.q { color: var(--ink); }
.cmp-table .colq { background: var(--accent-soft); }
.cmp-table tbody tr:last-child td.q { border-radius: 0 0 14px 14px; }
.yes { color: var(--accent); font-weight: 700; font-size: 16px; }
.no { color: var(--ink-3); font-size: 15px; }
.cell-note { font-size: 13px; }
.cell-note.strong { color: var(--ink); font-weight: 600; }
.cmp-foot { text-align: center; font-size: 16px; color: var(--ink-2); max-width: 56ch; margin: 30px auto 0; }
.cmp-foot strong { color: var(--ink); font-weight: 600; }

/* ── Feature grid (shared by letter pages) ── */
.fwrap { padding: 56px 0 26px; }
.fwrap .dia-head { margin-bottom: 34px; }
.fgrid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; box-shadow: 0 14px 40px -32px rgba(22,20,13,0.5); }
.fcard .label { margin-bottom: 13px; }
.fcard h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.08; }
.fcard h3 .serif { display: inline; }
.fcard p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 11px 0 0; }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr; } }

@media (max-width: 940px) {
  .map { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .map-arrow { padding: 14px 0; flex-direction: row; gap: 9px; }
  .map-arrow .a { transform: rotate(90deg); }
  .map-inputs { gap: 10px; }
}
@media (max-width: 520px) {
  .ogrid { grid-template-columns: 1fr; }
}
/* ════════════════════════════════════════════════════════
   QUARTERS v3 — 和 / Japanese theme layer
   Subtle STATIC traditional pattern backdrop (seigaiha waves,
   asanoha lattice, or kasuri dots) + ai-indigo / shu palette.
   Layers on quarters-sales.css + -v2.css.
   ════════════════════════════════════════════════════════ */

/* ── Palette shift ── */
html[data-accent="indigo"]    { --accent: #2a4b8d; --accent-2: #5274c4; --accent-soft: rgba(42,75,141,0.10); }
html[data-accent="vermilion"] { --accent: #cf4233; --accent-2: #e36a52; --accent-soft: rgba(207,66,51,0.10); }

/* warmer washi paper */
html[data-jp] body { background: #f1ece0; }

/* ── Backdrop retired — no background patterns ── */
.jp-bg { display: none; }
.jp-sun, .jp-waves, .jp-petals { display: none; }
body > header, body > section, body > footer { position: relative; z-index: 1; }

/* ── Dismissable promo banner ── */
.promo { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--accent); color: var(--on-accent); padding: 11px 50px; text-align: center; }
.promo-link { color: inherit; display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.promo-link strong { font-weight: 700; }
.promo-cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--on-accent); font-size: 22px; line-height: 1; opacity: 0.78; padding: 4px 8px; }
.promo-x:hover { opacity: 1; }
.promo.hide { display: none; }
/* ════════════════════════════════════════════════════════
   QUARTERS v4-C — "Broadsheet"  (newspaper op-ed)
   Masthead, dateline, multi-column serif letter w/ drop cap,
   hairline rules, ink on newsprint.
   Loads Newsreader (serif) on top of the shared stylesheets.
   ════════════════════════════════════════════════════════ */

html[data-accent="evergreen"] body { background: #efe9da; }
:root { --news: "Newsreader", Georgia, "Times New Roman", serif; }

/* nav reads as a paper nameplate */
.np-mast { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter) 0; }
.np-rule { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 7px 0; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.np-title { text-align: center; padding: 26px 0 14px; }
.np-title .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent); }
.np-title h1 { font-family: var(--news); font-weight: 500; font-size: clamp(42px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em; margin-top: 12px; }
.np-title h1 .it { font-style: italic; }
.np-sub { font-family: var(--news); font-style: italic; font-size: 20px; color: var(--ink-2); margin-top: 14px; }
.np-dateline { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); margin-top: 20px; padding: 8px 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }

/* letter body in newspaper columns */
.np-letter { max-width: var(--maxw); margin: 0 auto; padding: 34px var(--gutter) 20px; }
.np-letter .cols { column-count: 2; column-gap: 44px; column-rule: 1px solid var(--line); }
.np-letter p { font-family: var(--news); font-size: 17.5px; line-height: 1.62; color: var(--ink); margin: 0 0 16px; break-inside: avoid-column; }
.np-letter p.lead { font-size: 21px; line-height: 1.5; }
.np-letter p.lead::first-letter { float: left; font-family: var(--news); font-weight: 600; font-size: 78px; line-height: 0.74; padding: 6px 10px 0 0; color: var(--accent); }
.np-letter p strong { font-weight: 700; }
.np-letter em { font-style: italic; }
.np-letter .turn { font-family: var(--news); font-style: italic; font-size: 22px; color: var(--accent); text-align: center; column-span: all; margin: 12px 0 18px; }
.np-sig { column-span: all; border-top: 1px solid var(--ink); margin-top: 14px; padding-top: 18px; display: flex; align-items: center; gap: 15px; }
.np-sig .ph { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--ink); filter: grayscale(1) contrast(1.05); }
.np-sig image-slot { width: 100%; height: 100%; display: block; }
.np-sig .nm { font-family: var(--news); font-weight: 600; font-size: 18px; }
.np-sig .rl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* section headings reset to serif for the paper */
.dia-head h2, .cmp-head h2, .sprint h2, .feat-text h2, .sec-head h2 { font-family: var(--news); font-weight: 500; letter-spacing: -0.01em; }
.dia-head h2 .serif, .cmp-head h2 .serif, .sprint h2 .serif, .feat-text h2 .serif { font-style: italic; color: var(--accent); }
.label { color: var(--accent); }

/* six-week */
.sprint { border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.sprint-in { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter); text-align: center; }
.sprint .bars { display: flex; gap: 0; justify-content: center; margin: 28px auto 0; max-width: 720px; border: 1px solid var(--ink); }
.sprint .bar { flex: 1; padding: 18px 14px; border-right: 1px solid var(--ink); }
.sprint .bar:last-child { border-right: 0; }
.sprint .bar .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); }
.sprint .bar .t { font-family: var(--news); font-size: 17px; margin-top: 5px; }
.sprint .cap { font-family: var(--news); font-style: italic; font-size: 19px; color: var(--ink-2); margin: 24px auto 0; max-width: 54ch; }

/* floating CTA */
.floatcta { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 4px; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.5); transition: transform 0.18s, background 0.2s; }
.floatcta:hover { transform: translateY(-2px); background: var(--accent); }

@media (max-width: 820px) { .np-letter .cols { column-count: 1; } }
/* ════════════════════════════════════════════════════════
   QUARTERS — Broadsheet product spread
   Portrait screen-recordings presented as newspaper "plates":
   alternating phone + editorial column, hairline ink frames,
   monospace figure captions. Loads on top of letter-c.
   ════════════════════════════════════════════════════════ */

.vfeat { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.vrow {
  display: grid;
  grid-template-columns: 312px 1fr;
  gap: 70px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}
.vrow:first-child { border-top: 3px double var(--ink); }
.vrow.rev { grid-template-columns: 1fr 312px; }
.vrow.rev .vplate { order: 2; }
.vrow.rev .vtext  { order: 1; }

/* the plate: a phone screen framed like a newspaper figure */
.vplate { margin: 0; justify-self: center; width: 312px; max-width: 100%; }
.vphone {
  position: relative;
  width: 100%;
  aspect-ratio: 780 / 1688;
  border-radius: 38px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset,
              0 38px 70px -36px rgba(22,20,13,0.55),
              0 10px 26px -16px rgba(22,20,13,0.28);
}
.vphone::after {           /* faint newsprint halftone over the screen */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(22,20,13,0.05) 0.5px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.vphone video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--card); }

.vcap {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}
.vcap .fno { color: var(--accent); font-weight: 700; }

/* editorial column */
.vtext .label { margin-bottom: 16px; }
.vtext h3 {
  font-family: var(--news);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.03;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.vtext h3 .serif { font-style: italic; color: var(--accent); display: inline; }
.vtext p {
  font-family: var(--news);
  font-size: 19px;
  line-height: 1.56;
  color: var(--ink-2);
  margin: 18px 0 0;
  max-width: 44ch;
}
.vtext p strong { color: var(--ink); font-weight: 600; }
.vtext em { font-style: italic; }
.vtext .vtag {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.vtext .vtag::before { content: "— "; color: var(--accent); }

@media (max-width: 860px) {
  .vrow, .vrow.rev { grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: left; padding: 40px 0; }
  .vrow.rev .vplate, .vrow.rev .vtext { order: initial; }
  .vtext { width: 100%; }
  .vtext p { max-width: 56ch; }
}

/* paired feature row — two screens side by side for comparison (Pipeline / Cadence) */
.vpair { border-top: 1px solid var(--line); padding: 52px 0 12px; }
.vpair-head { text-align: center; max-width: 56ch; margin: 0 auto 38px; }
.vpair-head .label { margin-bottom: 12px; }
.vpair-head h3 {
  font-family: var(--news); font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05;
  letter-spacing: -0.012em; color: var(--ink);
}
.vpair-head h3 .serif { font-style: italic; color: var(--accent); display: inline; }
.vpair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.vpair-col { display: flex; flex-direction: column; align-items: center; }
.vpair-col .vplate { width: 264px; }
.vpair-col .vtext { margin-top: 24px; text-align: center; max-width: 38ch; }
.vpair-col .vtext .label::before { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin: 0 auto 12px; }
.vpair-col .vtext p { margin-left: auto; margin-right: auto; }
.vpair-col .vtext .vtag { justify-content: center; }

@media (max-width: 720px) {
  .vpair-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* founder portrait in the signature (replaces the drop-slot) */
.np-sig .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ════════════════════════════════════════════════════════
   TIME & ATTENTION — thesis spread at the top of the product story
   ════════════════════════════════════════════════════════ */
.ta { border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.ta-in { max-width: var(--maxw); margin: 0 auto; padding: 58px var(--gutter) 64px; }
.ta-head { text-align: center; max-width: 62ch; margin: 0 auto; }
.ta-head .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); }
.ta-head h2 {
  font-family: var(--news); font-weight: 500;
  font-size: clamp(38px, 5.6vw, 76px); line-height: 0.98;
  letter-spacing: -0.02em; margin-top: 14px;
}
.ta-head h2 .amp { font-style: italic; color: var(--ink-3); font-weight: 400; }
.ta-head .dek { font-family: var(--news); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--ink-2); margin: 16px auto 0; max-width: 50ch; }

/* numbered part header — newspaper section divider */
.ta-part { padding-top: 46px; margin-top: 48px; border-top: 1px solid var(--line); }
.ta-part-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; }
.ta-part-head .pno { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); white-space: nowrap; }
.ta-part-head .pttl { font-family: var(--news); font-weight: 500; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.012em; white-space: nowrap; }
.ta-part-head .pttl em { font-style: italic; color: var(--accent); }
.ta-part-head .prule { flex: 1; height: 0; border-top: 1px solid var(--line); transform: translateY(-7px); }
.ta-part-head .pmeta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* ── TIME: coaching-plan layout (phone → distilled ledger) ── */
.ta-time { display: block; }
.ta-time .vplate { width: 280px; }
.ta-lead { font-family: var(--news); font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 64ch; }
.ta-lead strong { font-weight: 700; }
.ta-lead em { font-style: italic; }

/* the explicit "app screen → distilled readout" derivation row */
.ta-derive { display: grid; grid-template-columns: 280px 116px 1fr; align-items: center; gap: 0; margin-top: 34px; }
.ta-derive .vphone { box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 30px 56px -32px rgba(22,20,13,0.5); }
.ta-arrow { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 14px; text-align: center; }
.ta-arrow .lab { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); line-height: 1.55; }
.ta-arrow .ar { font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--accent); line-height: 1; }
.ledger-wrap { min-width: 0; }
.ledger-cap { margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

/* the coaching "time ledger" — distilled readout, dark to separate it from the app UI */
.ledger { margin: 0; border: 1px solid var(--ink); background: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 54px -30px rgba(22,20,13,0.55); }
.ledger-h { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 18px; border-bottom: 1px solid rgba(245,242,234,0.18); }
.ledger-h .lt { font-family: var(--news); font-weight: 600; font-size: 16px; color: var(--paper); }
.ledger-h .lm { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.lrow { display: grid; grid-template-columns: 122px 1fr 78px; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid rgba(245,242,234,0.1); }
.lrow:first-of-type { border-top: 0; }
.lrow .lkey { font-family: var(--news); font-size: 15px; color: rgba(245,242,234,0.92); }
.lrow .lbar { height: 9px; background: rgba(245,242,234,0.12); border: 0; border-radius: 999px; position: relative; overflow: hidden; }
.lrow .lbar i { position: absolute; inset: 0 auto 0 0; background: var(--accent-2); border-radius: 999px; }
.lrow .lbar i.under { background: color-mix(in srgb, var(--accent-3) 60%, transparent); }
.lrow .lv { font-family: var(--mono); font-size: 12px; color: rgba(245,242,234,0.6); text-align: right; }
.lrow .lv b { color: var(--paper); font-weight: 700; }
.ledger-f { padding: 13px 18px; border-top: 1px solid rgba(245,242,234,0.18); font-family: var(--news); font-style: italic; font-size: 15px; color: rgba(245,242,234,0.82); background: rgba(0,0,0,0.2); }
.ledger-f b { color: var(--accent-2); font-style: normal; font-weight: 600; }

/* ── ATTENTION: conceptual diagram ── */
.ta-att .ta-lead { margin: 0 auto; text-align: center; max-width: 56ch; }
.tad { margin: 38px auto 0; max-width: 720px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tad-step { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.tad-step b { color: var(--accent); }
.tad-chs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tad-chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid var(--ink); background: var(--card);
  padding: 9px 16px; border-radius: 999px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 9px;
}
.tad-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.tad-chip.imsg i { background: #1aa64b; }
.tad-chip.mail i { background: var(--accent); border-radius: 2px; }
.tad-chip.text i { background: var(--accent-3); border-radius: 2px; }

.tad-merge { width: 100%; max-width: 340px; height: 40px; position: relative; }
.tad-merge svg { width: 100%; height: 100%; display: block; overflow: visible; }
.tad-merge path { fill: none; stroke: var(--ink); stroke-width: 1; }

/* merged contact card */
.tad-contact {
  width: 100%; max-width: 430px; background: var(--card);
  border: 1px solid var(--ink); border-radius: 14px; padding: 16px 18px;
  text-align: left; box-shadow: 0 20px 44px -30px rgba(22,20,13,0.45);
}
.tad-contact .cc-h { display: flex; align-items: center; gap: 13px; }
.tad-contact .cc-h > div:not(.cc-src) { flex: 1; min-width: 0; }
.tad-contact .cc-av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 16px; flex: none; }
.tad-contact .cc-nm { font-family: var(--news); font-weight: 600; font-size: 18px; line-height: 1.15; white-space: nowrap; }
.tad-contact .cc-rl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.tad-contact .cc-src { margin-left: auto; display: flex; gap: 6px; }
.tad-contact .cc-src span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.tad-contact .cc-ai { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 11px; }
.tad-contact .cc-ai .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.tad-contact .cc-ai p { margin: 5px 0 0; font-family: var(--news); font-style: italic; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* the fork: pipeline OR cadence */
.tad-fork { width: 100%; max-width: 430px; height: 44px; position: relative; }
.tad-fork svg { width: 100%; height: 100%; display: block; overflow: visible; }
.tad-fork path { fill: none; stroke: var(--ink); stroke-width: 1; }
.tad-dests { display: flex; gap: 22px; justify-content: center; width: 100%; flex-wrap: wrap; }
.tad-dest { flex: 1; min-width: 220px; max-width: 300px; border: 1px solid var(--ink); background: var(--card); border-radius: 12px; padding: 16px 18px; text-align: left; }
.tad-dest .dh { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tad-dest .dk { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.tad-dest .dt { font-family: var(--news); font-weight: 600; font-size: 19px; }
.tad-dest .dd { font-family: var(--news); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin: 8px 0 0; }
.tad-dest .drow { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.tad-dest .drow .pill { border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--ink-2); }

@media (max-width: 860px) {
  .ta-derive { grid-template-columns: 1fr; justify-items: center; }
  .ta-time .vplate { width: 260px; }
  .ta-arrow { flex-direction: row; gap: 12px; padding: 20px 0; }
  .ta-arrow .ar { transform: rotate(90deg); }
  .ta-lead { max-width: 56ch; }
  .ta-part-head { flex-wrap: wrap; gap: 10px; }
  .ta-part-head .prule { order: 5; flex-basis: 100%; }
}
/* ════════════════════════════════════════════════════════
   QUARTERS — "Founder-Led" variation
   Product-forward. Time & Attention is the spine; the founder
   letter is demoted to a quiet two-column aside below the fold.
   Built on quarters-sales tokens + the letter/video styles.
   ════════════════════════════════════════════════════════ */

html[data-accent="evergreen"] body { background: var(--canvas, #efe9da); }
:root { --news: "Newsreader", Georgia, "Times New Roman", serif; --canvas: #efe9da; }
/* Locked-in colorway (Slate) — was the Tweaks selection */
html[data-accent="evergreen"] {
  --accent: #4F6E2F;
  --accent-2: #6D7D35;
  --accent-3: #3E5A2A;
  --accent-soft: rgba(79,110,47,.12);
}

/* ── slim top bar ── */
.fl-top { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; }
.fl-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.fl-brand .mk { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.fl-top .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* ── hero ── */
.fl-hero { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 56px; display: block; }
.fl-hero-intro { max-width: 880px; }
.fl-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.fl-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
/* Value strip — full-width 3-up below the hero shot (was a vertical
   list in the old left rail). */
.fl-points { list-style: none; margin: 44px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: none; }
.fl-points li { display: block; }
.fl-points .fp-k { display: block; margin-bottom: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.fl-points .fp-t { display: block; font-family: var(--news); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.fl-points .fp-t strong { color: var(--ink); font-weight: 600; }
.fl-hero h1 {
  font-family: var(--news); font-weight: 500;
  font-size: clamp(46px, 6vw, 88px); line-height: 1.04;
  letter-spacing: -0.025em; color: var(--ink); margin: 20px 0 0; padding-bottom: 0.06em;
}
.fl-hero h1 .it { font-style: italic; color: var(--accent); }
.fl-hero .sub { font-family: var(--news); font-size: 21px; line-height: 1.5; color: var(--ink-2); margin: 28px 0 0; max-width: 42ch; }
.fl-hero .sub strong { color: var(--ink); font-weight: 600; }
.fl-cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.fl-note { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }

/* the two scarce-resource keywords as a paired strip */
.fl-pair { display: flex; gap: 0; margin-top: 34px; border: 1px solid var(--ink); max-width: 440px; }
.fl-pair .it2 { flex: 1; padding: 14px 18px; border-right: 1px solid var(--ink); }
.fl-pair .it2:last-child { border-right: 0; }
.fl-pair .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.fl-pair .v { font-family: var(--news); font-size: 18px; color: var(--ink); margin-top: 4px; }
.fl-pair .v em { font-style: italic; color: var(--ink-2); }

/* hero product shot — full-width by default (stacked desktop view) */
.fl-hero .vplate { width: 100%; max-width: none; margin: 40px 0 0; }

/* ── "team of one" positioning band ── */
.fl-one { border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); background: var(--ink); color: var(--paper); }
.fl-one-in { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.fl-one .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.fl-one h2 { font-family: var(--news); font-weight: 500; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 0; color: var(--paper); }
.fl-one h2 .it { font-style: italic; color: var(--accent-2); }
.fl-one p { font-family: var(--news); font-size: 18.5px; line-height: 1.6; color: rgba(245,242,234,0.78); margin: 0; }
.fl-one p + p { margin-top: 16px; }
.fl-one p strong { color: var(--paper); font-weight: 600; }
.fl-one .vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.fl-one .vscol .h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,242,234,0.5); padding-bottom: 9px; border-bottom: 1px solid rgba(245,242,234,0.16); }
.fl-one .vscol.q .h { color: var(--accent-2); }
.fl-one .vscol ul { list-style: none; margin: 12px 0 0; padding: 0; }
.fl-one .vscol li { font-family: var(--news); font-size: 16px; line-height: 1.35; color: rgba(245,242,234,0.7); padding: 7px 0; display: flex; gap: 9px; }
.fl-one .vscol.q li { color: var(--paper); }
.fl-one .vscol li::before { content: "—"; color: rgba(245,242,234,0.35); }
.fl-one .vscol.q li::before { content: "✓"; color: var(--accent-2); }

/* ── the letter: full-width header + balanced two-column body ── */
.fl-letter { border-bottom: 1px solid var(--line); }
.fl-letter-in { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter); }
.fl-letter-top { max-width: none; margin: 0 0 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.fl-letter-top .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.fl-letter-top h2 { font-family: var(--news); font-weight: 500; font-style: italic; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.0; letter-spacing: -0.02em; margin: 14px 0 0; color: var(--ink); max-width: 22ch; }

.fl-letter-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
.fl-letter-body .lcol { min-width: 0; }
.fl-letter-body .lcol:nth-of-type(odd) { padding-right: 48px; }
.fl-letter-body .lcol:nth-of-type(even) { padding-left: 48px; border-left: 1px solid var(--line); }
.fl-letter-body p { font-family: var(--news); font-size: 16px; line-height: 1.62; color: var(--ink-2); margin: 0 0 14px; }
.fl-letter-body .lcol p:last-child { margin-bottom: 0; }
.fl-letter-body p.lead { font-size: 18px; color: var(--ink); }
.fl-letter-body p.lead::first-letter { font-size: 3.1em; line-height: 0.82; float: left; font-weight: 500; color: var(--accent); padding: 4px 10px 0 0; font-family: var(--news); }
.fl-letter-body p strong { color: var(--ink); font-weight: 600; }
.fl-letter-body em { font-style: italic; }
.fl-letter-body .turn { font-family: var(--news); font-style: italic; font-size: clamp(20px, 2.2vw, 24px); color: var(--accent); text-align: left; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }

.fl-sign { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.fl-sign .ph { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--ink); filter: grayscale(1) contrast(1.05); }
.fl-sign .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fl-sign .nm { font-family: var(--news); font-weight: 600; font-size: 18px; }
.fl-sign .rl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

@media (max-width: 920px) {
  .fl-hero { grid-template-columns: 1fr; gap: 36px; }
  .fl-hero .vplate { order: -1; }
  .fl-one-in { grid-template-columns: 1fr; gap: 30px; }
  .fl-letter-in { padding: 44px var(--gutter); }
}
@media (max-width: 640px) {
  .fl-letter-body { grid-template-columns: 1fr; }
  .fl-letter-body .lcol:nth-of-type(odd), .fl-letter-body .lcol:nth-of-type(even) { padding: 0; border-left: 0; }
  .fl-letter-body .lcol { margin-bottom: 14px; }
  .fl-letter-body .turn { padding: 18px 0 0; margin: 12px 0 18px; }
  .fl-one .vs { grid-template-columns: 1fr; }
}

/* ── pricing ── */
.fl-price { border-top: 1px solid var(--line); }
.fl-price-in { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter); }
.fl-price-head { text-align: center; max-width: 50ch; margin: 0 auto 44px; }
.fl-price-head .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.fl-price-head h2 { font-family: var(--news); font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.0; letter-spacing: -0.02em; margin: 14px 0 0; color: var(--ink); }
.fl-price-head h2 .it { font-style: italic; color: var(--accent); }

.fl-price-card { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; border: 1px solid var(--ink); background: var(--card); box-shadow: 0 30px 70px -44px rgba(22,20,13,0.5); }
.fl-price-left { padding: 38px 36px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.fl-price-plan { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.fl-price-amt { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.fl-price-amt .cur { font-family: var(--news); font-size: 28px; color: var(--ink); align-self: flex-start; margin-top: 8px; }
.fl-price-amt .num { font-family: var(--news); font-weight: 500; font-size: 76px; line-height: 0.9; letter-spacing: -0.03em; color: var(--ink); }
.fl-price-amt .per { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }
.fl-price-trial { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--news); font-style: italic; font-size: 16px; color: var(--accent); }
.fl-price-trial::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }

.fl-price-right { padding: 32px 36px; }
.fl-price-right .inc { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.fl-price-right ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 11px; }
.fl-price-right li { display: flex; gap: 11px; font-family: var(--news); font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.fl-price-right li::before { content: "✓"; color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 13px; flex: none; margin-top: 2px; }
.fl-price-right li strong { color: var(--ink); font-weight: 600; }
.fl-price-right .btn { margin-top: 24px; width: 100%; justify-content: center; }
.fl-price-foot { text-align: center; margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }

@media (max-width: 680px) {
  .fl-price-card { grid-template-columns: 1fr; }
  .fl-price-left { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ── 100 Founders Who Sell — offer/pledge page components ── */
/* ════════════════════════════════════════════════════════
   QUARTERS — "100 Founders Who Sell" offer page
   Page-specific styles. Pairs with quarters-sales.css,
   quarters-sales-v2.css, quarters-jp.css.
   ════════════════════════════════════════════════════════ */

/* hero uses .mast / .mast-head from v2 css — just a little room */
.offer-hero { padding: 70px 0 40px; }
.offer-hero .pill { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 999px; padding: 6px 14px; }

/* counter / progress */
.counter { max-width: 540px; margin: 26px auto 0; }
.counter .bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.counter .fill { height: 100%; border-radius: 999px; background: var(--accent); width: 37%; }
.counter .cnt { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-top: 9px; }
.counter .cnt b { color: var(--ink); }

/* steps */
.steps-sec { padding: 30px 0 40px; }
.steps { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 40px -30px rgba(22,20,13,0.5); }
.step-card .num { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); }
.step-card h3 { font-size: 21px; letter-spacing: -0.025em; }
.step-card h3 .serif { display: inline; }
.step-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* the ask / the get */
.deal { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deal-col { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--card); }
.deal-col.get { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.deal-col .dh { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.deal-col.get .dh { color: rgba(245,242,234,0.6); }
.deal-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.deal-col li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.deal-col li .mk { flex: none; font-weight: 700; color: var(--accent); }
.deal-col.get li .mk { color: var(--accent-2); }
.deal-col.get li { color: rgba(245,242,234,0.92); }

/* pledge form */
.pledge { padding: 60px 0 30px; }
.pledge-card { max-width: 620px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 24px 60px -34px rgba(22,20,13,0.55); }
.pledge-card h2 { font-size: 28px; letter-spacing: -0.03em; text-align: center; }
.pledge-card h2 .serif { display: inline; }
.pledge-card .sub { text-align: center; color: var(--ink-2); font-size: 15px; margin: 10px auto 22px; max-width: 44ch; }
.pledge-form { display: flex; flex-direction: column; gap: 12px; }
.pledge-form .row { display: flex; gap: 12px; }
.pledge-form .row > * { flex: 1; }
.pledge-form input, .pledge-form select { font-family: var(--display); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; width: 100%; }
.pledge-form input::placeholder { color: var(--ink-3); }
.pledge-form input:focus, .pledge-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pledge-form .btn { justify-content: center; margin-top: 4px; }
.pledge-note { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); margin-top: 14px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; }
  .pledge-form .row { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════
   Narrow-phone overflow guards (added in the codebase, not the
   prototype). The handoff's breakpoints bottomed out ~640–680px;
   these keep every block within the smallest iPhone widths the e2e
   suite enforces (320–430px). Desktop/tablet layout is untouched —
   each rule only takes effect once space is actually constrained.
   ════════════════════════════════════════════════════════ */

/* Grid items with a fixed-width phone plate (or pricing column) keep
   min-width:auto, so the implicit 1fr track can't shrink below the
   element's content and blows past the viewport. Let them shrink. */
.vplate, .fl-price-left, .fl-price-right, .ledger-wrap, .vtext { min-width: 0; }
.vplate, .vphone { max-width: 100%; }

/* Footer link row wraps instead of forcing a 360px+ single line. */
@media (max-width: 520px) {
  .footer-in { justify-content: center; text-align: center; }
  .footer-in .ll { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
}

/* Stacked layout (≤860): phone plates fill their (centered) track and
   cap at a max, instead of holding a fixed px width that overflows the
   narrowest viewports. */
@media (max-width: 860px) {
  .vplate, .vrow .vplate, .vrow.rev .vplate,
  .fl-hero .vplate, .ta-time .vplate, .ta-derive .vphone, .vpair-col .vplate {
    width: 100%; max-width: 320px; margin-left: auto; margin-right: auto;
  }
}

/* Pricing card: force the single-column stack + shrinkable children at
   narrow widths so the $129 column and feature list can't push the card
   past the viewport. */
@media (max-width: 520px) {
  .fl-price-card { grid-template-columns: 1fr; }
  .fl-price-left, .fl-price-right { min-width: 0; }
  .fl-price-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .fl-price-amt .num { font-size: 60px; }
}

/* Horizontal-scroll guard for the whole marketing site. `clip` (not the
   prototype's body-only `hidden`) reliably keeps documentElement
   scrollWidth within the viewport at the narrowest phone widths, the
   same guard the previous marketing home used. No sticky scroll-scrub
   here, so clip is safe. */
html, body { overflow-x: clip; max-width: 100%; }

/* Tighter gutter on the very smallest phones (≤360px) so fixed-ish
   cards (pricing, ledger) get more usable width. */
@media (max-width: 360px) { :root { --gutter: 16px; } }

/* ════════════════════════════════════════════════════════
   Subtle gradient on the blue (accent) fills + top-bar auth links
   ════════════════════════════════════════════════════════ */

/* A very subtle vertical sheen on solid-accent buttons — soft top
   highlight into a hair-deeper base — instead of a flat blue. Scoped to
   non-ghost buttons; cleared on hover (which flips to flat ink). */
.btn:not(.ghost) {
  background-image: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 92%, #ffffff) 0%,
    var(--accent) 55%,
    color-mix(in srgb, var(--accent) 92%, #000000) 100%);
}
.btn:not(.ghost):hover { background-image: none; }
/* The progress fill picks up the same blue, deepened across its length. */
.counter .fill { background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%); }

/* Top-bar auth links — Sign in (text) + Sign up (button). The page tag
   is context, the links are actions: a hairline divider + roomy spacing
   keep them from reading as one crowded cluster. */
.fl-nav { display: inline-flex; align-items: center; gap: 20px; }
.fl-nav .tag { padding-right: 22px; border-right: 1px solid var(--line); }
.fl-signin { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; transition: color 0.15s; }
.fl-signin:hover { color: var(--ink); }
.btn.sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
@media (max-width: 560px) {
  .fl-nav .tag { display: none; }                 /* keep brand + auth on one line */
  .fl-nav { gap: 14px; }
}

/* ════════════════════════════════════════════════════════
   MOBILE / DESKTOP PREVIEW TOGGLE + desktop-view (landscape)
   product frame. From the Founder-Led design (iteration 3). The
   toggle swaps each clip between its portrait (-m) and landscape
   (-d) source and reshapes the .vphone plate accordingly.
   ════════════════════════════════════════════════════════ */
.devtoggle {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 7px 8px;
  background: color-mix(in srgb, var(--canvas) 86%, #fff);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset,
              0 22px 44px -22px rgba(22,20,13,0.55),
              0 8px 18px -12px rgba(22,20,13,0.32);
  backdrop-filter: saturate(1.1) blur(4px);
}
.dt-seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--card);
  overflow: hidden;
}
/* sliding active pill */
.dt-seg::before {
  content: ""; position: absolute; top: 2px; left: 2px; bottom: 2px;
  width: calc(50% - 2px); border-radius: 999px; background: var(--ink);
  transition: transform .28s cubic-bezier(.4,.0,.15,1);
  z-index: 0;
}
.dt-seg[data-device="desktop"]::before { transform: translateX(100%); }
.dt-btn {
  position: relative; z-index: 1; appearance: none; border: 0; background: none;
  cursor: pointer; padding: 8px 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2);
  transition: color .2s ease;
}
.dt-btn.is-active { color: var(--paper); }
.dt-btn:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 2px; border-radius: 999px; }
/* tiny device glyphs drawn from borders */
.dt-ic { display: inline-block; flex: none; border: 1.5px solid currentColor; }
.dt-ic-m { width: 9px; height: 14px; border-radius: 2.5px; }
.dt-ic-d { width: 16px; height: 11px; border-radius: 2px; position: relative; }
.dt-ic-d::after { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 8px; height: 2.5px; background: currentColor; border-radius: 0 0 2px 2px; }

@media (max-width: 520px) {
  .devtoggle { gap: 9px; padding: 6px 7px; }
  .dt-btn { padding: 8px 14px; }
}

/* ── DESKTOP-VIEW FRAME — the phone plate becomes a windowed
   landscape screen (1600×1000) with a quiet title bar. ── */
body[data-device="desktop"] .vphone {
  aspect-ratio: 1600 / 1000;
  border-radius: 12px;
  padding-top: 30px;
  box-sizing: border-box;
  background: linear-gradient(#f4efe2, #ece5d4);
}
/* title bar with three traffic-light dots */
body[data-device="desktop"] .vphone::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px;
  z-index: 2; border-bottom: 1px solid var(--ink);
  background:
    radial-gradient(circle 3.5px at 15px 15px,  #d56b53 97%, transparent 100%),
    radial-gradient(circle 3.5px at 31px 15px,  #d8a93f 97%, transparent 100%),
    radial-gradient(circle 3.5px at 47px 15px,  #5e9a63 97%, transparent 100%),
    linear-gradient(#f5f0e3, #e9e2d1);
}
body[data-device="desktop"] .vphone::after { top: 30px; }   /* keep halftone over screen only */
body[data-device="desktop"] .vphone video { object-fit: cover; }

/* feature rows: stack so the landscape screen spans full width and reads large */
body[data-device="desktop"] .vrow,
body[data-device="desktop"] .vrow.rev {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 0; padding: 60px 0;
}
body[data-device="desktop"] .vrow .vtext,
body[data-device="desktop"] .vrow.rev .vtext {
  order: 0; width: 100%; max-width: 60ch; margin: 0 0 30px; text-align: left;
}
body[data-device="desktop"] .vrow .vtext h3,
body[data-device="desktop"] .vrow.rev .vtext h3 { font-size: clamp(28px, 3vw, 40px); }
body[data-device="desktop"] .vrow .vtext p,
body[data-device="desktop"] .vrow.rev .vtext p { max-width: 60ch; }
body[data-device="desktop"] .vrow .vplate,
body[data-device="desktop"] .vrow.rev .vplate { order: 1; width: 100%; max-width: none; justify-self: stretch; }

/* paired screens go full-width, side by side and large */
body[data-device="desktop"] .vpair-grid { gap: 26px; }
body[data-device="desktop"] .vpair-col .vplate { width: 100%; }
body[data-device="desktop"] .vpair-col .vtext { max-width: 46ch; }

/* hero: stacked — wide hook on top, then a full-bleed-of-content
   landscape window (no longer squeezed into a half column), then the
   3-up value strip. Kills the side-by-side height-mismatch voids. */
body[data-device="desktop"] .fl-hero { display: block; }
body[data-device="desktop"] .fl-hero h1 { font-size: clamp(52px, 7vw, 104px); }
body[data-device="desktop"] .fl-hero .vplate { width: 100%; max-width: none; margin: 44px 0 0; }

/* coach derivation: bigger screen, tighter arrow */
body[data-device="desktop"] .ta-time .vplate { width: 560px; }
body[data-device="desktop"] .ta-derive { grid-template-columns: 560px 76px 1fr; }

@media (max-width: 860px) {
  body[data-device="desktop"] .vrow .vplate,
  body[data-device="desktop"] .vrow.rev .vplate { max-width: 600px; }
  body[data-device="desktop"] .ta-derive { grid-template-columns: 1fr; }
  body[data-device="desktop"] .ta-time .vplate { width: 100%; max-width: 520px; }
}

/* Mobile: the floating "Personal onboarding" CTA collides with the
   device toggle (both pinned to the bottom) on narrow screens, and the
   top-bar Sign up + hero CTA already cover conversion — so drop it and
   let the toggle own the bottom edge. */
@media (max-width: 700px) { .floatcta { display: none; } }

/* Mobile-preview hero (desktop browser, toggle = "Mobile"): a portrait
   phone can't go full-width, so here the hook sits beside the phone in a
   2-column grid (hook left, phone right spanning), with the value strip
   full-width on the second row. Scoped ≥921px; ≤920 stacks. */
@media (min-width: 921px) {
  body[data-device="mobile"] .fl-hero { display: grid; grid-template-columns: 1fr 340px; column-gap: 56px; align-items: center; }
  body[data-device="mobile"] .fl-hero-intro { grid-column: 1; grid-row: 1; max-width: none; }
  body[data-device="mobile"] .fl-hero .vplate { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 340px; justify-self: end; align-self: center; margin: 0; }
  body[data-device="mobile"] .fl-hero .fl-points { grid-column: 1; grid-row: 2; margin-top: 40px; }
}

/* Narrow phones: value strip stacks back to a labelled list. */
@media (max-width: 760px) {
  .fl-points { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; padding-top: 24px; }
  .fl-points li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
  .fl-points .fp-k { margin-bottom: 0; padding-top: 2px; }
}
