/* Welcomesmith marketing site (candidate v2).
   Tokens mirror app/styles/tokens.css and prototype/DESIGN.md: warm graphite
   neutrals, one jade accent, the deep evergreen brand mark, hairline borders,
   radius by role. Marketing-only additions are the cream band, the evergreen
   stage behind product recreations and a display serif for headlines. */

:root {
  color-scheme: light;
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --hand: "Dancing Script", "Snell Roundhand", cursive;

  --bg0: #ffffff;
  --bg1: #fafaf9;
  --bg2: #f4f4f3;
  --bg3: #ebebea;
  --hover: rgba(20, 18, 14, 0.05);
  --line1: rgba(20, 18, 14, 0.08);
  --line2: rgba(20, 18, 14, 0.13);
  --line3: rgba(20, 18, 14, 0.2);
  --t1: #1d1c1a;
  --t2: #3d3b37;
  --t3: #6f6c66;
  --t4: #939089;

  --accent: #0a8156;
  --accent-hover: #076b47;
  --accent-tint: #e7f4ee;
  --accent-fg: #ffffff;
  --accent-text: #07724d;
  --focus: rgba(10, 129, 86, 0.35);
  --brand-evergreen: #1f4a3a;
  --brand-evergreen-fg: #f5efe4;

  --ok: #2e9a5e;
  --ok-tint: #e6f5ec;
  --ok-text: #1f7445;
  --warn: #c99a06;
  --warn-tint: #fbf3d6;
  --warn-text: #8a6a00;
  --attn: #e0660f;
  --attn-tint: #fdeee2;
  --attn-text: #b04d06;
  --info-tint: #e6effa;
  --info-text: #2a62a8;

  --k-form: #3a80d6;
  --k-sign: #7c62d6;
  --k-upload: #1f9e94;
  --k-approve: #2e9a5e;
  --k-notify: #c99a06;
  --k-share: #b0603a;
  --k-conversation: #4f7a8f;
  --k-start: #0a8156;
  --k-action: #d4680c;
  --k-branch: #c9498f;
  --k-wait: #8a877f;
  --traffic: #7c62d6;
  --src-bizbuysell: #5b6ee0;
  --src-google: #c9498f;
  --src-direct: #939089;
  --src-email: #c9631f;
  --st-1: #8fbcf0;
  --st-2: #699fdc;
  --st-3: #4378bf;
  --st-4: #1d4f9c;

  --shadow-1: 0 1px 2px rgba(20, 18, 14, 0.06), 0 0 0 1px rgba(20, 18, 14, 0.04);
  --shadow-2: 0 4px 16px rgba(20, 18, 14, 0.1), 0 0 0 1px rgba(20, 18, 14, 0.06);
  --shadow-3: 0 12px 40px rgba(20, 18, 14, 0.16), 0 0 0 1px rgba(20, 18, 14, 0.06);

  /* Marketing-only surfaces. */
  --cream: #f6f1e6;
  --cream-line: rgba(35, 39, 31, 0.1);
  --stage: #1f4a3a;
  --stage-2: #2b6450;
  --stage-dot: rgba(245, 239, 228, 0.13);
  --stage-fg: #f5efe4;
  --stage-fg-2: rgba(245, 239, 228, 0.72);
  /* The sample customer's brand inside portal recreations. Recipients see
     the customer's color, never Welcomesmith's. */
  --cust: #2f5d8a;
  --cust-tint: #e8eff6;
  --paper: #ffffff;
  --paper-ink: #1d1c1a;
  /* The hero chart's entry card: ink on light, a raised graphite surface with
     a visible ring on dark, so it never melts into the page. */
  --entry-bg: #1d1c1a;
  --entry-fg: #ffffff;
  --entry-sub: #c8c8c4;
  --entry-label: #6fd3ab;
  --entry-ring: rgba(29, 28, 26, 0.1);
  --entry-edge: transparent;
  --entry-shadow: 0 12px 28px rgba(29, 28, 26, 0.22);
  --moment-shadow: 0 12px 28px rgba(10, 129, 86, 0.3);
  /* Subtle depth on the jade surfaces (moment cards, primary buttons). Each
     gradient starts at the accent and darkens slightly, away from the white
     text, so contrast only improves. --btn-grad-c is the hover end. */
  --accent-grad-a: var(--accent);
  --accent-grad-b: #09784f;
  --accent-grad-c: #076a46;
  --btn-grad-b: #087349;
  --btn-grad-c: #066643;
  --grad-highlight: rgba(255, 255, 255, 0.22);
  --btn-shadow: 0 1px 2px rgba(7, 106, 70, 0.35);
  --chip-bg: #ffffff;
  --chip-line: rgba(10, 129, 86, 0.35);

  --r1: 4px;
  --r2: 6px;
  --r3: 8px;
  --r4: 12px;
  --r5: 20px;
  --pill: 999px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg0: #0d0d0e;
    --bg1: #121214;
    --bg2: #18181b;
    --bg3: #1f1f23;
    --hover: rgba(255, 255, 255, 0.05);
    --line1: rgba(255, 255, 255, 0.08);
    --line2: rgba(255, 255, 255, 0.13);
    --line3: rgba(255, 255, 255, 0.22);
    --t1: #f2f2f0;
    --t2: #c8c8c4;
    --t3: #8d8d89;
    --t4: #616160;
    --accent: #09855a;
    --accent-hover: #087a52;
    --accent-tint: #10261d;
    --accent-text: #3dbb87;
    --focus: rgba(61, 187, 135, 0.5);
    --brand-evergreen: #357a5d;
    --ok: #3fb872;
    --ok-tint: #10261a;
    --ok-text: #58c98a;
    --warn: #dcb02a;
    --warn-tint: #2a2410;
    --warn-text: #dcb02a;
    --attn: #f08a3e;
    --attn-tint: #2d1c0f;
    --attn-text: #f5a466;
    --info-tint: #13223a;
    --info-text: #7fb1f0;
    --k-form: #5a9cec;
    --k-sign: #9a84ee;
    --k-upload: #33b8ad;
    --k-approve: #3fb872;
    --k-notify: #dcb02a;
    --k-share: #d0835e;
    --k-conversation: #7fa8bb;
    --k-start: #17a271;
    --k-action: #e2700f;
    --k-branch: #e06bae;
    --k-wait: #8d8d89;
    --traffic: #9a84ee;
    --src-bizbuysell: #7b8cf0;
    --src-google: #e06bae;
    --src-direct: #8d8d89;
    --src-email: #e0844a;
    --st-1: #a8cdf7;
    --st-2: #86b4ee;
    --st-3: #5c93e0;
    --st-4: #3474d4;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --shadow-3: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --cream: #131815;
    --cream-line: rgba(238, 234, 224, 0.1);
    --stage: #14301f;
    --stage-2: #1c4230;
    --stage-dot: rgba(245, 239, 228, 0.09);
    --cust: #6c9bc9;
    --cust-tint: #16222e;
    --entry-bg: #26262b;
    --entry-fg: #f2f2f0;
    --entry-sub: #c8c8c4;
    --entry-label: #6fd3ab;
    --entry-ring: rgba(255, 255, 255, 0.05);
    --entry-edge: rgba(255, 255, 255, 0.2);
    --entry-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    --moment-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    --accent-grad-a: var(--accent);
    --accent-grad-b: #087c53;
    --accent-grad-c: #066d49;
    --btn-grad-b: #077650;
    --btn-grad-c: #056946;
    --grad-highlight: rgba(255, 255, 255, 0.12);
    --btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --chip-bg: #18181b;
    --chip-line: rgba(61, 187, 135, 0.3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg0: #0d0d0e;
  --bg1: #121214;
  --bg2: #18181b;
  --bg3: #1f1f23;
  --hover: rgba(255, 255, 255, 0.05);
  --line1: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.13);
  --line3: rgba(255, 255, 255, 0.22);
  --t1: #f2f2f0;
  --t2: #c8c8c4;
  --t3: #8d8d89;
  --t4: #616160;
  --accent: #09855a;
  --accent-hover: #087a52;
  --accent-tint: #10261d;
  --accent-text: #3dbb87;
  --focus: rgba(61, 187, 135, 0.5);
  --brand-evergreen: #357a5d;
  --ok: #3fb872;
  --ok-tint: #10261a;
  --ok-text: #58c98a;
  --warn: #dcb02a;
  --warn-tint: #2a2410;
  --warn-text: #dcb02a;
  --attn: #f08a3e;
  --attn-tint: #2d1c0f;
  --attn-text: #f5a466;
  --info-tint: #13223a;
  --info-text: #7fb1f0;
  --k-form: #5a9cec;
  --k-sign: #9a84ee;
  --k-upload: #33b8ad;
  --k-approve: #3fb872;
  --k-notify: #dcb02a;
  --k-share: #d0835e;
  --k-conversation: #7fa8bb;
  --k-start: #17a271;
  --k-action: #e2700f;
  --k-branch: #e06bae;
  --k-wait: #8d8d89;
  --traffic: #9a84ee;
  --src-bizbuysell: #7b8cf0;
  --src-google: #e06bae;
  --src-direct: #8d8d89;
  --src-email: #e0844a;
  --st-1: #a8cdf7;
  --st-2: #86b4ee;
  --st-3: #5c93e0;
  --st-4: #3474d4;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-3: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --cream: #131815;
  --cream-line: rgba(238, 234, 224, 0.1);
  --stage: #14301f;
  --stage-2: #1c4230;
  --stage-dot: rgba(245, 239, 228, 0.09);
  --cust: #6c9bc9;
  --cust-tint: #16222e;
  --entry-bg: #26262b;
  --entry-fg: #f2f2f0;
  --entry-sub: #c8c8c4;
  --entry-label: #6fd3ab;
  --entry-ring: rgba(255, 255, 255, 0.05);
  --entry-edge: rgba(255, 255, 255, 0.2);
  --entry-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  --moment-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  --accent-grad-a: var(--accent);
  --accent-grad-b: #087c53;
  --accent-grad-c: #066d49;
  --btn-grad-b: #077650;
  --btn-grad-c: #056946;
  --grad-highlight: rgba(255, 255, 255, 0.12);
  --btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  --chip-bg: #18181b;
  --chip-line: rgba(61, 187, 135, 0.3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg1);
  color: var(--t2);
  font: 400 17px/1.6 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r2); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: 1136px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--bg0); color: var(--t1); padding: 8px 12px; border-radius: var(--r2); box-shadow: var(--shadow-2); z-index: 60; }
.skip:focus { top: 12px; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--t1);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.07; }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.14; }
h3 { font: 600 17px/1.35 var(--font); color: var(--t1); letter-spacing: -0.014em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--t2); text-wrap: pretty; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--font); color: var(--accent-text); letter-spacing: 0;
  margin-bottom: 16px;
}
.kicker .ic { font-size: 16px; }
.muted { color: var(--t3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r3);
  font: 500 15px/1 var(--font); letter-spacing: -0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 140ms var(--ease), border-color 140ms var(--ease), transform 140ms var(--ease);
}
.btn .ic { font-size: 16px; }
/* The gradient is twice the button's height and runs accent -> b -> c. At rest
   the top half shows; hover slides to the bottom half, one step deeper. Sliding
   background-position animates, where swapping gradients would jump. */
.btn-primary {
  background: var(--accent) linear-gradient(180deg, var(--accent-grad-a) 0%, var(--btn-grad-b) 50%, var(--btn-grad-c) 100%) 0 0 / 100% 200% no-repeat;
  color: var(--accent-fg); box-shadow: inset 0 1px 0 var(--grad-highlight), var(--btn-shadow);
  transition: background-position 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease), transform 140ms var(--ease);
}
.btn-primary:hover { background-position: 0 100%; color: var(--accent-fg); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: var(--bg0); color: var(--t1); border-color: var(--line2); }
.btn-ghost:hover { background: var(--bg2); color: var(--t1); border-color: var(--line3); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.textlink .ic { font-size: 14px; transition: transform 140ms var(--ease); }
.textlink:hover .ic { transform: translateX(2px); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg1) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line1);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
/* The logo: the horseshoe mark in the jade accent beside the name as outlined
   lettering. Both are paths in the #logo symbol at the top of each page. */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--t1); }
.brand:hover { color: var(--t1); }
.brand .logo { display: block; width: 168px; height: 24px; flex: none; }
.logo-mark { fill: var(--accent); }
.logo-word { fill: currentColor; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { color: var(--t3); text-decoration: none; font: 500 14px/1 var(--font); padding: 9px 10px; border-radius: var(--r2); }
.nav a:not(.btn):hover { color: var(--t1); background: var(--hover); }
.nav a[aria-current="page"] { color: var(--t1); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.signin { color: var(--t2); text-decoration: none; font: 500 14px/1 var(--font); padding: 9px 10px; border-radius: var(--r2); }
.signin:hover { color: var(--t1); background: var(--hover); }
.iconbtn {
  width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: var(--r3);
  background: transparent; border: 1px solid transparent; color: var(--t3); cursor: pointer; font-size: 18px;
}
.iconbtn:hover { background: var(--hover); color: var(--t1); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: none; }
.menu-toggle .i-x { display: none; }
.menu-open .menu-toggle .i-x { display: block; }
.menu-open .menu-toggle .i-list { display: none; }

@media (max-width: 860px) {
  .top .wrap { gap: 8px; height: 56px; }
  .menu-toggle { display: inline-grid; }
  .top-actions .btn, .top-actions .signin { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 56px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--bg1); border-bottom: 1px solid var(--line2); box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
  }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line1); border-radius: 0; }
  .nav .nav-only { display: block; }
  .nav .btn { margin-top: 14px; border-bottom: 0; color: var(--accent-fg); border-radius: var(--r3); justify-content: center; }
}
.nav .nav-only { display: none; }
@media (max-width: 860px) { .nav .nav-only { display: flex; } .nav a.nav-only:not(.btn) { display: block; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.band-cream { background: var(--cream); border-block: 1px solid var(--cream-line); }
.band-white { background: var(--bg0); border-block: 1px solid var(--line1); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-top: 16px; }
@media (max-width: 720px) { section { padding: 64px 0; } .section-head { margin-bottom: 36px; text-align: left; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; text-align: center; overflow: hidden; }
.hero .chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px;
  border-radius: var(--pill); background: var(--bg0); border: 1px solid var(--line2);
  font: 500 13px/1 var(--font); color: var(--t2); margin-bottom: 24px;
}
.hero .chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 920px; margin: 0 auto; }
.hero h1 em { font-style: italic; color: var(--accent-text); }
.hero .lead { max-width: 680px; margin: 22px auto 0; }
/* Homepage only: at 680px the last line left "a deal." on its own. */
.hero .hero-lead { max-width: 720px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--t3); }

/* ---------- The "See it on your own listing" form panel (site.js) ---------- */
.demo-panel {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 8px 20px 18px; border: 1px solid var(--line2); border-radius: var(--r4);
  background: var(--bg0); color: var(--t1); box-shadow: var(--shadow-3); overflow: auto;
}
.demo-panel::backdrop { background: rgba(18, 18, 20, 0.5); }
/* Stays in reach while a long form scrolls under it. */
.demo-close { position: sticky; top: 0; z-index: 1; display: grid; margin: 0 -12px 0 auto; background: var(--bg0); }
.demo-frame { display: block; width: 100%; min-height: 30rem; border: 0; background: transparent; }
@media (max-width: 480px) { .demo-panel { padding: 6px 8px 14px; } .demo-close { margin-right: 0; } }
.demo-note { margin: 10px 4px 0; font-size: 13px; color: var(--t3); }
.hero-sub .cta-row, .left .cta-row { justify-content: flex-start; }
@media (max-width: 720px) {
  .hero { padding-top: 44px; text-align: left; }
  .hero .lead { margin-left: 0; }
  .cta-row { justify-content: flex-start; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Hero chart: everything after interest ----------
   The buyer's inquiry and the three moments with the broker sit on one direct
   line; Welcomesmith is the band underneath that takes the admin away. On wide
   screens it is a seven-column grid (cards and the gaps between them, each gap
   holding its arrow, its dotted drop and its chips) over an absolutely placed
   band; below 1100px it becomes one column in the same reading order. */
.lane-wrap { max-width: 1300px; }
.lane { margin-top: 56px; }
.lane-chart {
  position: relative; isolation: isolate; text-align: left;
  background: var(--bg0); border: 1px solid var(--line1); border-radius: var(--r5);
  padding: 40px 24px; font-size: 13px; line-height: 18px;
}
.lane-list {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 168fr 168fr 176fr 168fr 176fr 168fr 176fr;
  grid-template-rows: minmax(240px, auto) 32px 144px;
}
.lane-card {
  grid-row: 1; display: flex; flex-direction: column; gap: 16px;
  padding: 20px; border-radius: 16px; color: var(--accent-fg);
}
.lane-entry {
  background: var(--entry-bg); color: var(--entry-fg);
  box-shadow: inset 0 0 0 1px var(--entry-edge), 0 0 0 6px var(--entry-ring), var(--entry-shadow);
}
.lane-moment {
  background: linear-gradient(165deg, var(--accent-grad-a) 0%, var(--accent-grad-b) 55%, var(--accent-grad-c) 100%);
  box-shadow: inset 0 1px 0 var(--grad-highlight), var(--moment-shadow);
}
.lane-icon {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: var(--r3); background: rgba(255, 255, 255, 0.14); font-size: 18px; color: var(--entry-fg);
}
.lane-pair { width: 44px; height: 28px; flex: none; fill: var(--accent-fg); stroke: var(--accent); stroke-width: 2; }
.lane-copy { display: flex; flex-direction: column; }
.lane-label { margin-bottom: 8px; font: 500 11px/16px var(--font); letter-spacing: 0.06em; text-transform: uppercase; }
.lane-entry .lane-label { color: var(--entry-label); }
.lane-title { margin-bottom: 10px; font: 500 22px/27px var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.lane-text { font: 400 12px/18px var(--font); }
.lane-entry .lane-text { color: var(--entry-sub); }

/* A gap between two cards: the solid arrow on the line, the dotted drop into
   the band, and the chips that sit in the band. */
.lane-gap {
  grid-row: 1 / 4; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 16px;
}
.lane-link { position: absolute; top: 119px; left: 0; right: 7px; height: 2px; background: var(--t1); border-radius: 1px; }
.lane-link::after {
  content: ""; position: absolute; right: -7px; top: -4px;
  border-left: 8px solid var(--t1); border-block: 5px solid transparent;
}
.lane-gap::before {
  content: ""; position: absolute; left: calc(50% - 1px); top: 128px; bottom: 128px; width: 2px;
  background: linear-gradient(var(--accent) 0 2px, transparent 2px 9px) 0 0 / 2px 9px repeat-y;
}
.lane-chips { display: flex; flex-direction: column; gap: 8px; margin-inline: -16px; }
.lane-chips li {
  display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px;
  background: var(--chip-bg); border: 1px solid var(--chip-line); border-radius: var(--r3);
  font: 500 13px/18px var(--font); color: var(--t2);
}
.lane-chips .ic { font-size: 14px; color: var(--accent-text); }

.lane-band {
  position: absolute; left: 24px; right: 24px; bottom: 40px; height: 144px; max-width: 1200px; margin: 0 auto;
  background: var(--accent-tint); border-radius: 16px; overflow: hidden;
}
.lane-brand {
  position: absolute; left: 16px; top: 35px; width: 128px;
  display: flex; flex-direction: column; gap: 10px;
  font: 400 12px/16px var(--font); color: var(--t2);
}
.lane-logo { width: 128px; height: 18px; color: var(--t1); }
.lane-mark { position: absolute; right: 24px; top: 24px; width: 90px; height: 96px; color: var(--accent); opacity: 0.16; }
:root[data-theme="dark"] .lane-mark { opacity: 0.24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lane-mark { opacity: 0.24; } }
.lane-caption { margin: 20px auto 0; max-width: 720px; font-size: 14px; line-height: 22px; color: var(--t3); text-align: center; }

@media (max-width: 1099px) {
  .lane-chart { padding: 24px 16px; }
  .lane-list { display: flex; flex-direction: column; max-width: 520px; }
  .lane-card { padding: 20px; gap: 14px; }
  .lane-gap { padding: 14px 0 14px 64px; }
  .lane-link { top: 0; bottom: 7px; left: 31px; right: auto; width: 2px; height: auto; }
  .lane-link::after { right: auto; top: auto; left: -4px; bottom: -7px; border: 0; border-top: 8px solid var(--t1); border-inline: 5px solid transparent; }
  .lane-gap::before {
    left: 36px; top: calc(50% - 1px); bottom: auto; width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 9px) 0 0 / 9px 2px repeat-x;
  }
  .lane-chips { margin: 0; padding: 12px; background: var(--accent-tint); border-radius: var(--r4); }
  .lane-band {
    position: relative; left: auto; right: auto; bottom: auto; height: auto; max-width: 520px;
    margin: 16px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
  }
  .lane-brand { position: static; width: auto; }
  .lane-mark { position: static; width: 52px; height: 56px; flex: none; }
}
@media (max-width: 720px) {
  .lane { margin-top: 44px; }
  .lane-caption { text-align: left; margin-left: 0; }
}

/* The product recreation, in its own section right under the hero. The stage
   still runs flush into the band below, so the section has no bottom padding. */
.watch { padding: 0; }
.watch .section-head { margin-bottom: 40px; }
.watch .stage { margin-top: 0; }

/* The evergreen stage a product recreation sits on. */
.stage {
  position: relative; margin-top: 56px; padding: 40px 40px 0;
  border-radius: var(--r5) var(--r5) 0 0;
  background:
    radial-gradient(circle at 1px 1px, var(--stage-dot) 1px, transparent 1.5px) 0 0 / 20px 20px,
    linear-gradient(160deg, var(--stage-2), var(--stage) 60%);
}
.stage.closed { border-radius: var(--r5); padding-bottom: 40px; margin-top: 0; }
@media (max-width: 720px) { .stage { padding: 20px 14px 0; margin-inline: -8px; margin-top: 40px; } .stage.closed { padding-bottom: 14px; margin-top: 0; } }
/* A quiet note in the stage's top-right corner, in the padding above the
   window, saying the people and firms in the recreation are made up. */
.stage-tag {
  position: absolute; top: 14px; right: 40px;
  font: 400 12px/1 var(--font); letter-spacing: 0.02em; color: var(--stage-fg-2);
  pointer-events: none; user-select: none;
}
@media (max-width: 720px) {
  .stage:has(> .stage-tag) { padding-top: 32px; }
  .stage-tag { top: 11px; right: 14px; font-size: 11.5px; }
}

/* ---------- Product recreations (shared) ---------- */
.win {
  background: var(--bg0); color: var(--t2); border-radius: var(--r4); box-shadow: var(--shadow-3);
  font: 400 13px/1.45 var(--font); letter-spacing: -0.006em; text-align: left; overflow: hidden;
}
.stage .win { border-radius: var(--r4) var(--r4) 0 0; }
.stage.closed .win { border-radius: var(--r4); }
.win-bar { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-bottom: 1px solid var(--line1); flex-wrap: wrap; }
.win-title { font-weight: 600; color: var(--t1); display: inline-flex; align-items: center; gap: 8px; }
.win-title .ic { font-size: 16px; color: var(--t3); }
.win-sub { color: var(--t3); }
.win-bar .right { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--pill);
  font: 500 12px/1 var(--font); background: var(--bg2); color: var(--t2); white-space: nowrap;
}
.pill .ic { font-size: 13px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.pill.plain::before, .pill.has-ic::before { display: none; }
.pill.ok { background: var(--ok-tint); color: var(--ok-text); }
.pill.attn { background: var(--attn-tint); color: var(--attn-text); }
.pill.live { background: var(--accent-tint); color: var(--accent-text); }
.pill.info { background: var(--info-tint); color: var(--info-text); }
.pill.warn { background: var(--warn-tint); color: var(--warn-text); }
.tile {
  width: 28px; height: 28px; border-radius: var(--r2); display: inline-grid; place-items: center; flex: none;
  color: #fff; font-size: 16px; background: var(--k, var(--k-wait));
}
.tile.sm { width: 22px; height: 22px; font-size: 13px; border-radius: var(--r1); }
.k-start { --k: var(--k-start); } .k-sign { --k: var(--k-sign); } .k-form { --k: var(--k-form); }
.k-upload { --k: var(--k-upload); } .k-approve { --k: var(--k-approve); } .k-share { --k: var(--k-share); }
.k-conversation { --k: var(--k-conversation); } .k-notify { --k: var(--k-notify); } .k-action { --k: var(--k-action); }
.k-branch { --k: var(--k-branch); } .k-wait { --k: var(--k-wait); }
.mbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r2);
  font: 500 12px/1 var(--font); background: var(--bg0); color: var(--t1); border: 1px solid var(--line2); white-space: nowrap;
}
.mbtn.primary { background: var(--accent); color: #fff; border-color: transparent; }
.mbtn.cust { background: var(--cust); color: #fff; border-color: transparent; }
:root[data-theme="dark"] .mbtn.cust { color: #0d1620; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mbtn.cust { color: #0d1620; } }
.mbtn .ic { font-size: 13px; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--bg3); color: var(--t2); font: 600 11px/1 var(--font);
}
.avatar.smith { background: var(--k-conversation); color: #fff; font-size: 14px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--k-conversation) 22%, transparent); }

/* Hero: the Buyer intake flow with a run moving through it. */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 28px 20px 22px; background: var(--bg2); border-bottom: 1px solid var(--line1); }
.node { position: relative; padding: 0 8px; }
.node-card {
  position: relative; z-index: 1; background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4);
  padding: 12px; min-height: 104px; box-shadow: var(--shadow-1);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease), opacity 250ms var(--ease);
}
.node::after { content: ""; position: absolute; top: 26px; left: 50%; width: 100%; height: 2px; background: var(--line3); z-index: 0; transition: background 250ms var(--ease); }
.node:last-child::after { display: none; }
.node-kind { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font); color: var(--t3); }
.node-name { margin-top: 10px; font-weight: 600; color: var(--t1); line-height: 1.3; }
.node-state { margin-top: 4px; font-size: 12px; color: var(--t3); min-height: 34px; line-height: 1.4; }
.node .done-mark { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 11px; opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.node.is-idle .node-card { background: var(--bg1); box-shadow: none; }
.node.is-idle .node-name { color: var(--t3); }
.node.is-idle .tile { opacity: 0.55; }
.node.is-idle .node-state { visibility: hidden; }
.node.is-done .done-mark { opacity: 1; transform: scale(1); }
.node.is-done::after { background: var(--accent); }
.node.is-now .node-card { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus), var(--shadow-2); }
.node.is-now.needs-you .node-card { border-color: var(--attn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--attn) 30%, transparent), var(--shadow-2); }
.node.is-now.needs-you .node-state { color: var(--attn-text); font-weight: 500; }
.flow-log { display: flex; align-items: center; gap: 12px; padding: 14px 20px; min-height: 58px; }
.flow-log .who { display: inline-flex; align-items: center; gap: 8px; color: var(--t1); font-weight: 500; white-space: nowrap; }
.flow-log .what { color: var(--t3); flex: 1; min-width: 0; }
.flow-log .what b { color: var(--t1); font-weight: 500; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; padding: 14px; gap: 8px; }
  .node { padding: 0; }
  .node::after { top: 50%; left: 25px; width: 2px; height: calc(100% + 8px); }
  .node-card { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 36px 10px 12px; }
  .node-kind { grid-row: span 2; }
  .node-kind span { display: none; }
  .node-name { margin: 0; }
  .node-state { margin: 0; min-height: 0; }
  .node.is-idle .node-state { display: none; }
  .node .done-mark { top: 50%; margin-top: -9px; }
  .flow-log { flex-wrap: wrap; gap: 6px 12px; padding: 12px 14px; }
  .flow-log .what { flex-basis: 100%; }
}

/* ---------- The setup (what it runs on) ---------- */
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.setup-list { background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); box-shadow: var(--shadow-1); overflow: hidden; }
.setup-list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line1); font-size: 15px; align-items: baseline; }
.setup-list li:last-child { border-bottom: 0; background: var(--accent-tint); }
.setup-list .step { color: var(--t1); font-weight: 500; }
.setup-list .runs { color: var(--t3); text-align: right; }
.setup-list li:last-child .runs { color: var(--accent-text); font-weight: 500; }
.setup-list .head { font: 500 12px/1 var(--font); color: var(--t4); background: var(--bg1); padding-block: 10px; }
.setup p + p { margin-top: 16px; }
.setup h2 { margin-bottom: 20px; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .setup-list li { grid-template-columns: 1fr; gap: 2px; } .setup-list .runs { text-align: left; } .setup-list .head .runs { display: none; } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: 16px; }
.feature-copy p { text-wrap: pretty; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; }
.ticks .ic { font-size: 18px; color: var(--accent-text); margin-top: 3px; }
.feature-copy .textlink { margin-top: 24px; }
.feature-visual { min-width: 0; }
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature + .feature { margin-top: 72px; }
  .feature.flip .feature-copy { order: 0; }
}

/* Listing page + confidentiality check */
.duo { position: relative; padding-bottom: 28px; }
.duo .win.back { width: 78%; }
.duo .win.front { position: absolute; right: 0; bottom: 0; width: 56%; }
.lp-brand { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--cust); color: #fff; font-weight: 600; }
:root[data-theme="dark"] .lp-brand { color: #0d1620; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-brand { color: #0d1620; } }
.lp-brand .mark { width: 20px; height: 20px; border-radius: 5px; background: rgba(255, 255, 255, 0.24); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.lp-body { padding: 18px 16px 16px; }
.lp-eyebrow { font-size: 12px; color: var(--t3); }
.lp-h { font: 600 20px/1.2 var(--font); color: var(--t1); letter-spacing: -0.02em; margin: 4px 0 12px; }
.lp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.lp-facts div { background: var(--bg2); border-radius: var(--r3); padding: 8px 10px; }
.lp-facts dt, .lp-facts .k { font-size: 11px; color: var(--t3); }
.lp-facts dd, .lp-facts .v { margin: 0; font-weight: 600; color: var(--t1); font-variant-numeric: tabular-nums; }
.lp-text { color: var(--t3); font-size: 12.5px; }
.lp-cta { margin-top: 14px; border: 1px solid var(--line2); border-radius: var(--r3); padding: 12px; }
.lp-cta .lbl { font-weight: 600; color: var(--t1); margin-bottom: 8px; }
.field { height: 30px; border: 1px solid var(--line2); border-radius: var(--r2); padding: 0 10px; display: flex; align-items: center; color: var(--t4); margin-bottom: 8px; background: var(--bg0); }
.field.filled { color: var(--t1); }
.cc-body { padding: 12px 14px 14px; }
.cc-note { color: var(--t3); font-size: 12px; margin-bottom: 10px; }
.cc-item { border: 1px solid var(--line1); border-radius: var(--r3); padding: 10px; }
.cc-item + .cc-item { margin-top: 8px; }
.cc-item .was { color: var(--t3); text-decoration: line-through; text-decoration-color: var(--line3); }
.cc-item .now { color: var(--t1); }
.cc-item .acts { display: flex; gap: 6px; margin-top: 8px; }
.cc-item .pill { margin-bottom: 6px; }
@media (max-width: 560px) {
  .duo { padding-bottom: 0; display: grid; gap: 12px; }
  .duo .win.back, .duo .win.front { width: 100%; position: static; }
}

/* Portal: sign the NDA */
.portal-wrap { display: grid; grid-template-columns: 200px 1fr; }
.portal-steps { padding: 16px; border-right: 1px solid var(--line1); background: var(--bg1); display: grid; gap: 4px; align-content: start; }
.portal-steps li { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r2); color: var(--t3); }
.portal-steps li.cur { background: var(--cust-tint); color: var(--t1); font-weight: 500; }
.portal-steps .n { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line3); display: grid; place-items: center; font-size: 10px; flex: none; }
.portal-steps li.done .n { background: var(--cust); border-color: var(--cust); color: #fff; }
.portal-steps li.cur .n { border-color: var(--cust); color: var(--cust); }
.portal-main { padding: 18px; min-width: 0; }
.portal-main .ph { font: 600 16px/1.3 var(--font); color: var(--t1); }
.portal-main .pp { color: var(--t3); margin: 4px 0 14px; }
.doc { background: var(--paper); color: var(--paper-ink); border: 1px solid var(--line2); border-radius: var(--r2); padding: 14px; font-size: 11.5px; line-height: 1.5; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.doc .dt { font-weight: 700; margin-bottom: 6px; }
.doc .bar { height: 6px; border-radius: 3px; background: rgba(29, 28, 26, 0.12); margin-top: 6px; }
.doc .filled { background: #fff7cc; border-bottom: 1px solid #c9a700; padding: 0 3px; }
.sigtabs { display: flex; gap: 4px; margin: 14px 0 8px; }
.sigtabs span { padding: 6px 10px; border-radius: var(--r2); color: var(--t3); font-weight: 500; }
.sigtabs .on { background: var(--bg2); color: var(--t1); }
.sigbox { border: 1px dashed var(--line3); border-radius: var(--r3); height: 64px; display: grid; place-items: center; font: 700 30px/1 var(--hand); color: var(--t1); background: var(--bg1); }
.consent { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: var(--t2); }
.consent .box { width: 16px; height: 16px; border-radius: 4px; background: var(--cust); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }
@media (max-width: 560px) { .portal-wrap { grid-template-columns: 1fr; } .portal-steps { grid-auto-flow: column; grid-auto-columns: 1fr; border-right: 0; border-bottom: 1px solid var(--line1); padding: 8px; } .portal-steps li { flex-direction: column; text-align: center; font-size: 11px; gap: 4px; padding: 6px 2px; } }

/* Review + data room */
.rows > li, .row { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--line1); min-height: 40px; }
.rows > li:last-child { border-bottom: 0; }
.row .grow, .rows .grow { flex: 1; min-width: 0; }
.trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t1 { color: var(--t1); font-weight: 500; }
.t3 { color: var(--t3); }
.num { font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line1); }
.tabs span { padding: 10px 8px; color: var(--t3); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 6px; align-items: center; }
.tabs .on { color: var(--t1); border-bottom-color: var(--accent); }
.tabs .count { background: var(--attn); color: #fff; border-radius: var(--pill); font-size: 10px; padding: 2px 6px; font-weight: 600; }
.review { margin: 0 0 14px; }
.review .ev { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; }
.review .acts { display: flex; gap: 8px; padding: 0 16px 14px; }
.stack-gap { display: grid; gap: 14px; }
.hide-sm { }
@media (max-width: 560px) { .hide-sm { display: none !important; } .rows > li, .row { padding-inline: 12px; } }

/* Conversations */
.thread { padding: 14px 16px; display: grid; gap: 14px; }
.msg { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.msg .from { font-weight: 600; color: var(--t1); }
.msg .from span { font-weight: 400; color: var(--t4); margin-left: 6px; }
.msg p { margin-top: 2px; color: var(--t2); }
.msg .src { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t3); background: var(--bg2); border-radius: var(--pill); padding: 4px 10px; }
.msg .src .ic { font-size: 13px; }
.handoff { display: flex; align-items: center; gap: 10px; margin: 0 16px 14px; padding: 10px 12px; border-radius: var(--r3); background: var(--attn-tint); color: var(--attn-text); font-weight: 500; }
.handoff .ic { font-size: 16px; }

/* Overview + seller report */
.ov { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; background: var(--bg1); }
.panel { background: var(--bg0); border: 1px solid var(--line1); border-radius: var(--r3); padding: 12px; min-width: 0; }
.panel .pt { font-size: 12px; color: var(--t3); display: flex; justify-content: space-between; }
.panel .big { font: 600 22px/1.2 var(--font); color: var(--t1); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.panel svg.spark { width: 100%; height: 44px; margin-top: 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 11.5px; color: var(--t3); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.srcbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 10px; gap: 2px; }
.statusbars { display: grid; gap: 7px; margin-top: 10px; }
.statusbars li { display: grid; grid-template-columns: 78px 1fr 18px; gap: 8px; align-items: center; font-size: 12px; color: var(--t2); }
.statusbars .bar { height: 8px; border-radius: 4px; background: var(--c); width: var(--w); }
.panel.wide { grid-column: 1 / -1; }
.report { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.report .grow { flex: 1; min-width: 160px; }
@media (max-width: 560px) { .ov { grid-template-columns: 1fr; } .panel.wide { grid-column: auto; } }

/* ---------- Cards grid (more work it does) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); padding: 22px; box-shadow: var(--shadow-1); }
.card .tile { margin-bottom: 14px; width: 32px; height: 32px; font-size: 18px; border-radius: var(--r3); }
.card p { margin-top: 6px; font-size: 15px; color: var(--t3); line-height: 1.55; }
.band-cream .card { border-color: var(--cream-line); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Kinds strip */
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.kind { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 7px; border-radius: var(--r3); background: var(--bg0); border: 1px solid var(--line2); font: 500 14px/1 var(--font); color: var(--t1); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split p + p { margin-top: 14px; }
.recipes { display: grid; gap: 12px; }
.recipe { background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); padding: 16px 18px; }
.recipe .who { font: 500 13px/1 var(--font); color: var(--t3); margin-bottom: 10px; }
.recipe .path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: var(--t1); }
.recipe .path .ic { color: var(--t4); font-size: 12px; }
.recipe .path span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Letter ---------- */
.letter { max-width: 680px; margin: 0 auto; font: 400 19px/1.7 var(--display); color: var(--t2); letter-spacing: 0; }
.letter h2 { margin-bottom: 22px; }
.letter p + p { margin-top: 18px; }
.letter .signature { font: 700 44px/1 var(--hand); color: var(--brand-evergreen); margin-top: 32px; }
:root[data-theme="dark"] .letter .signature { color: #7fbf9f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .letter .signature { color: #7fbf9f; } }
/* The one sentence the letter turns on, marked like a highlighter pass. */
.letter .hl {
  font: inherit; color: var(--t1); background: var(--accent-tint);
  padding: 0.1em 0.3em; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root[data-theme="dark"] .letter .hl { background: #173a2b; color: #f2f2f0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .letter .hl { background: #173a2b; color: #f2f2f0; } }
.letter .who { font: 400 14px/1.6 var(--font); color: var(--t3); margin-top: 6px; }
.letter .cta-row { justify-content: flex-start; }
@media (max-width: 560px) { .letter { font-size: 18px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 4px; font: 500 17px/1.4 var(--font); color: var(--t1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--t3); border-bottom: 2px solid var(--t3); transform: rotate(45deg); transition: transform 160ms var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 4px 22px; max-width: 660px; }
.faq .a p + p { margin-top: 12px; }

/* ---------- Pricing placeholder + closing CTA ---------- */
.plainbox { max-width: 760px; margin: 0 auto; background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); padding: 32px; box-shadow: var(--shadow-1); }
.plainbox h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.plainbox .cta-row { justify-content: flex-start; margin-top: 22px; }
.closing { text-align: center; }
.closing .stage { margin-top: 0; padding: 72px 32px; border-radius: var(--r5); }
.closing h2 { color: var(--stage-fg); max-width: 760px; margin: 0 auto; }
.closing p { color: var(--stage-fg-2); max-width: 600px; margin: 16px auto 0; }
.closing .btn-primary { background: var(--brand-evergreen-fg); color: #1f4a3a; }
.closing .btn-primary:hover { background: #fff; color: #1f4a3a; }
.closing .btn-ghost { background: transparent; color: var(--stage-fg); border-color: rgba(245, 239, 228, 0.35); }
.closing .btn-ghost:hover { background: rgba(245, 239, 228, 0.1); color: var(--stage-fg); }
@media (max-width: 720px) { .closing .stage { padding: 48px 20px; margin-inline: 0; text-align: left; } .closing h2, .closing p { margin-left: 0; } .plainbox { padding: 22px; } }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; max-width: 860px; margin: 0 auto; }
.step-card { display: grid; grid-template-columns: 56px 1fr; gap: 20px; background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); padding: 26px; box-shadow: var(--shadow-1); }
.step-card::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-text); display: grid; place-items: center; font: 500 20px/1 var(--display); }
.step-card h3 { font-size: 19px; }
.step-card p { margin-top: 8px; }
.step-card .who { margin-top: 12px; font-size: 14px; color: var(--t3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 560px) { .step-card { grid-template-columns: 1fr; gap: 12px; padding: 20px; } }

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.listbox { background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); padding: 24px; }
.listbox h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.listbox li { padding: 10px 0; border-top: 1px solid var(--line1); font-size: 16px; }
.listbox li strong { color: var(--t1); font-weight: 500; }
@media (max-width: 760px) { .twocol { grid-template-columns: 1fr; } }

/* Path table (brokers page) */
.path-table { display: grid; gap: 0; background: var(--bg0); border: 1px solid var(--line2); border-radius: var(--r4); overflow: hidden; box-shadow: var(--shadow-1); }
.path-row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 20px; padding: 18px 22px; border-top: 1px solid var(--line1); align-items: start; font-size: 15.5px; }
.path-row:first-child { border-top: 0; background: var(--bg1); font: 500 13px/1.2 var(--font); color: var(--t3); padding-block: 12px; }
.path-row .s { display: flex; gap: 10px; align-items: center; color: var(--t1); font-weight: 500; }
.path-row .lbl { display: none; font: 500 12px/1 var(--font); color: var(--t4); margin-bottom: 4px; }
@media (max-width: 820px) {
  .path-row { grid-template-columns: 1fr; gap: 10px; }
  .path-row:first-child { display: none; }
  .path-row .lbl { display: block; }
}

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line2); padding: 40px 0 56px; font-size: 14px; color: var(--t3); background: var(--bg1); }
.foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.foot .brand .logo { width: 154px; height: 22px; }
.foot .about { max-width: 340px; }
.foot .about p { margin-top: 12px; }
.foot nav { display: grid; gap: 10px; }
.foot nav strong { font: 500 13px/1 var(--font); color: var(--t1); margin-bottom: 2px; }
.foot a { color: var(--t3); text-decoration: none; }
.foot a:hover { color: var(--t1); text-decoration: underline; }
.foot .cols { margin-left: auto; display: flex; gap: 56px; flex-wrap: wrap; }
@media (max-width: 720px) { .foot .cols { margin-left: 0; } }

/* Reveal on scroll, only when JS has opted in and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Founding partner offer (founding.html) ---------- */
section.tight { padding: 56px 0; }
.offer-hero { padding: 56px 0 64px; text-align: left; overflow: visible; }
.offer-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.offer-intro h1 { margin: 0; font-size: clamp(34px, 4.6vw, 52px); }
.offer-intro .lead { margin: 20px 0 0; max-width: 520px; }
.offer-by { margin-top: 20px; font-size: 14px; color: var(--t3); }
.price-stage { padding: 20px; }
.price-card { background: var(--bg0); border-radius: var(--r4); box-shadow: var(--shadow-3); padding: 28px; }
.price-label { font: 500 13px/1 var(--font); color: var(--accent-text); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; }
.price .amount { font: 500 64px/1 var(--display); color: var(--t1); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.price .per { font-size: 16px; color: var(--t2); }
.price-terms { display: grid; gap: 10px; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line2); }
.price-terms li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--t2); }
.price-terms .ic { font-size: 17px; color: var(--accent-text); margin-top: 3px; }
.btn-block { width: 100%; min-height: 48px; font-size: 16px; }
.reassure { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--t3); }
.reassure .ic { font-size: 15px; margin-top: 2px; }
.reassure.on-stage { justify-content: center; color: var(--stage-fg-2); margin-top: 16px; max-width: none; }
.price-alt { margin-top: 14px; font-size: 15px; }
.offer-h { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 24px; }
.offer-cards .card { box-shadow: none; }
.headstart { display: grid; grid-template-columns: 32px 1fr; gap: 16px; margin-top: 16px; padding: 22px; border-radius: var(--r4); background: var(--accent-tint); border: 1px solid var(--line1); }
.headstart .tile { width: 32px; height: 32px; font-size: 18px; border-radius: var(--r3); }
.headstart p { margin-top: 6px; color: var(--t2); max-width: 820px; }
.included { margin-top: 24px; font-size: 15.5px; color: var(--t3); max-width: 900px; }
.included strong { color: var(--t1); font-weight: 500; }
.after { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: after; }
.after li { counter-increment: after; background: var(--bg0); border: 1px solid var(--cream-line); border-radius: var(--r4); padding: 20px; }
.after li::before { content: counter(after); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-text); font: 500 16px/1 var(--display); margin-bottom: 12px; }
.after p { margin-top: 6px; font-size: 15px; color: var(--t3); line-height: 1.5; }
@media (max-width: 900px) {
  .offer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .after { grid-template-columns: 1fr 1fr; }
  .offer-hero { padding: 40px 0 48px; }
}
@media (max-width: 560px) {
  .after { grid-template-columns: 1fr; }
  .price-card { padding: 20px; }
  .price .amount { font-size: 52px; }
  .price-stage { padding: 12px; margin-inline: -8px; }
  .reassure.on-stage { justify-content: flex-start; }
  section.tight { padding: 44px 0; }
}
.twocol { align-items: start; }

/* ---------- Legal documents (legal/*.html) ----------
   A reading column with a side list of the documents and the current page's
   sections; on a phone the side list sits above the text. */
.legal { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 48px 88px; }
.legal-side { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; font-size: 14px; line-height: 1.4; }
.legal-label { margin-bottom: 10px; font: 500 13px/1 var(--font); color: var(--t3); }
.legal-docs ul { display: grid; gap: 2px; }
.legal-docs a { display: block; padding: 7px 10px; border-radius: var(--r2); color: var(--t2); text-decoration: none; }
.legal-docs a:hover { background: var(--hover); color: var(--t1); }
.legal-docs a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-text); font-weight: 500; }
.legal-toc { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line1); }
.legal-toc summary { list-style: none; margin-bottom: 8px; font: 500 13px/1 var(--font); color: var(--t3); }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ul { display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 5px 10px; border-radius: var(--r2); color: var(--t3); text-decoration: none; }
.legal-toc a:hover { background: var(--hover); color: var(--t1); }
@media (min-width: 901px) { .legal-toc summary { pointer-events: none; } }

.legal-doc { max-width: 720px; min-width: 0; }
.draft-banner { margin-bottom: 28px; padding: 12px 16px; border-radius: var(--r3); background: var(--warn-tint); border: 1px solid var(--line1); color: var(--warn-text); font-size: 15px; font-weight: 500; }
.legal-doc h1 { font-size: clamp(32px, 4.2vw, 46px); }
.legal-doc h2 { font-size: clamp(22px, 2.4vw, 27px); margin: 48px 0 14px; scroll-margin-top: 88px; }
.legal-doc h3 { margin: 28px 0 10px; scroll-margin-top: 88px; }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin-top: 14px; }
.legal-doc h2 + p, .legal-doc h2 + ul, .legal-doc h2 + ol, .legal-doc h2 + div, .legal-doc h3 + ul { margin-top: 0; }
.legal-doc ul { padding-left: 22px; list-style: disc; }
.legal-doc ol { padding-left: 24px; list-style: decimal; }
.legal-doc li + li { margin-top: 8px; }
.legal-doc li::marker { color: var(--t4); }
.legal-doc strong { color: var(--t1); font-weight: 600; }
.legal-doc a { overflow-wrap: anywhere; }
.legal-doc .legal-meta { margin: 12px 0 28px; font-size: 15px; color: var(--t3); }
/* An open blank in a draft: shown as it is, never filled in by guesswork. */
mark.pending { background: var(--warn-tint); color: var(--warn-text); padding: 0.05em 0.3em; border-radius: var(--r1); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* The subprocessor table scrolls sideways in its own box, never the page. */
.table-scroll { overflow-x: auto; border: 1px solid var(--line2); border-radius: var(--r4); background: var(--bg0); }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line1); }
.legal-table thead th { border-top: 0; background: var(--bg1); font: 500 13px/1.3 var(--font); color: var(--t3); }
.legal-table tbody th { width: 18%; color: var(--t1); font-weight: 500; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 64px; }
  .legal-side { position: static; max-height: none; overflow: visible; padding-bottom: 20px; border-bottom: 1px solid var(--line1); }
  .legal-docs ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-docs a { border: 1px solid var(--line2); }
  .legal-toc { margin-top: 16px; padding-top: 0; border-top: 0; }
  .legal-toc summary { cursor: pointer; display: flex; align-items: center; gap: 8px; margin-bottom: 0; padding: 8px 0; font-size: 14px; color: var(--t2); }
  .legal-toc summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--t3); border-bottom: 2px solid var(--t3); transform: rotate(45deg); transition: transform 160ms var(--ease); }
  .legal-toc[open] summary::after { transform: rotate(-135deg); }
  .legal-toc ul { margin-top: 6px; }
}
