/* LISA for Lawyers — marketing site
   Brand: Terracotta and Teal on warm cream. Tokens follow the LISA brand handoff (5 Oct 2026). */

:root {
  --terracotta-900: #5E2C19;
  --terracotta-700: #6E3319;
  --terracotta-500: #9A4A2B;
  --terracotta-300: #C98A6C;
  --terracotta-100: #F7E6DA;
  --teal-700: #0F4F4D;
  --teal-500: #15605E;
  --teal-300: #5FB3B0;
  --teal-100: #DFEDEC;
  --cream-000: #FFFFFF;
  --cream-050: #FBF5EE;
  --cream-100: #F3EADF;
  --cream-200: #E8DCCD;
  --warm-500: #6B6056;
  --ink: #231D18;
  --navy-900: #0C1322;
  --navy-800: #141D30;
  --navy-300: #93A0B8;
  --navy-050: #E9EDF5;
  --positive: #1F6435;

  --bg: var(--cream-050);
  --surface: var(--cream-000);
  --sunken: var(--cream-100);
  --border: var(--cream-200);
  --text: var(--ink);
  --muted: var(--warm-500);
  --brand: var(--terracotta-500);
  --brand-deep: var(--terracotta-700);
  --brand-tint: var(--terracotta-100);
  --accent: var(--teal-500);
  --accent-deep: var(--teal-700);
  --accent-tint: var(--teal-100);

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --pill: 999px;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  --dur: 160ms;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; max-width: 38em; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); }
.em { color: var(--accent); font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--pill);
  font: 600 1rem/1 var(--font-ui); cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark .name { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.02em; }
.wordmark .for { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-links .btn { padding: 11px 20px; font-size: 0.92rem; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--pill); width: 44px; height: 44px; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { padding-top: 14px; }
  .nav-links .btn { width: 100%; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 42em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 14px 0 16px; }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .em { color: var(--accent); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .proof { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.92rem; }
.hero .proof img { width: 28px; height: 28px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* The invoice card — LISA's wedge is bills whose trust math is right */
.bill {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 30px 24px; box-shadow: 0 30px 60px -30px rgba(35, 29, 24, 0.25), 0 1px 0 rgba(255,255,255,0.6) inset;
  position: relative; max-width: 480px; margin-inline: auto;
}
.bill::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  background: var(--brand-tint); border-radius: var(--radius-lg); opacity: 0.8;
}
.bill-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.bill-head .title { font-family: var(--font-display); font-size: 1.5rem; }
.bill-head .meta { font-size: 0.82rem; color: var(--muted); text-align: right; }
.bill-lines { list-style: none; margin: 0; padding: 14px 0 0; }
.bill-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 0.97rem; }
.bill-lines li span:first-child { color: var(--muted); }
.bill-lines .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill-lines .total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 14px; font-weight: 600; font-size: 1.05rem; }
.bill-lines .total span:first-child { color: var(--text); }
.bill-note {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--accent-tint); color: var(--accent-deep); font-size: 0.9rem; line-height: 1.45;
}
.bill-note strong { color: var(--positive); }
.bill-stamp {
  position: absolute; top: -14px; right: 22px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--pill);
}

/* Built-inside strip */
.strip { background: var(--surface); border-block: 1px solid var(--border); padding: clamp(40px, 6vw, 72px) 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.fact .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--brand); line-height: 1; }
.fact p { margin: 10px 0 0; color: var(--muted); max-width: 26em; }
.fact p strong { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature:hover { border-color: var(--terracotta-300); transform: translateY(-2px); }
.feature .icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Promises — dark navy panel */
.promises { background: var(--navy-900); color: var(--navy-050); }
.promises .eyebrow { color: var(--teal-300); }
.promises .eyebrow::before { background: var(--teal-300); }
.promises .lede { color: var(--navy-300); }
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.promise { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.promise .check { width: 30px; height: 30px; border-radius: 50%; background: rgba(95, 179, 176, 0.16); color: var(--teal-300); display: grid; place-items: center; margin-top: 2px; }
.promise .check svg { width: 16px; height: 16px; }
.promise h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.promise p { margin: 0; color: var(--navy-300); font-size: 0.97rem; }
@media (max-width: 820px) { .promise-grid { grid-template-columns: 1fr; gap: 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 0 0; border-top: 2px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 0; background: var(--bg); padding-right: 10px;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--brand);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* Pricing */
.pricing { background: var(--surface); border-block: 1px solid var(--border); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.plan { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 26px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.featured { background: var(--surface); border-color: var(--brand); box-shadow: 0 24px 50px -30px rgba(154, 74, 43, 0.45); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill); }
.plan h3 { font-size: 1.8rem; }
.plan .who { color: var(--muted); font-size: 0.97rem; min-height: 3em; margin: 0; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.95rem; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.terms { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.term { padding: 20px 0 0; border-top: 1px solid var(--border); }
.term strong { display: block; font-weight: 600; margin-bottom: 6px; }
.term p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } .terms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }

/* Founder note */
.founder { }
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--text); }
.founder blockquote .em { color: var(--brand); }
.founder figcaption { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.founder figcaption strong { color: var(--text); font-weight: 600; }
.founder-visual { display: grid; place-items: center; }
.founder-visual img { width: min(100%, 420px); border-radius: var(--radius-lg); border: 1px solid var(--border); }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } .founder-visual { order: -1; } }

/* Demo form */
.demo { background: var(--brand); color: #fff; }
.demo .eyebrow { color: #fff; opacity: 0.85; }
.demo .eyebrow::before { background: #fff; }
.demo .lede { color: rgba(255,255,255,0.82); }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.demo .aside p { color: rgba(255,255,255,0.82); }
.demo .aside ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: rgba(255,255,255,0.92); }
.demo .aside li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.demo .aside li svg { width: 20px; height: 20px; margin-top: 2px; color: #fff; }
.form {
  background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-ui); color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form .fine { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--navy-300); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand .name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.02em; line-height: 1; }
.foot-brand .for { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy-300); margin-top: 4px; }
.site-footer p { margin: 16px 0 0; font-size: 0.93rem; max-width: 34em; }
.site-footer h4 { margin: 0 0 14px; color: #fff; font: 600 0.8rem/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--navy-050); font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--teal-300); }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem; }
.foot-legal p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Thanks page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.thanks img { width: 72px; height: 72px; margin-inline: auto; }
.thanks h1 { margin: 24px 0 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ===== Draft 2 additions (6 Oct, evening) ===== */

/* The owner's view card in the hero */
.glance {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 26px 20px; position: relative; max-width: 500px; margin-inline: auto;
  box-shadow: 0 30px 60px -30px rgba(35, 29, 24, 0.25);
}
.glance::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; background: var(--brand-tint); border-radius: var(--radius-lg); opacity: 0.8; }
.glance-stamp { position: absolute; top: -14px; right: 22px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill); }
.glance-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.glance-head .title { font-family: var(--font-display); font-size: 1.5rem; }
.glance-head .meta { font-size: 0.8rem; color: var(--muted); text-align: right; }
.glance-rows { list-style: none; margin: 0; padding: 12px 0 10px; display: grid; gap: 10px; }
.glance-rows li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 12px; align-items: center; font-size: 0.92rem; }
.glance-rows .who { font-weight: 600; display: flex; flex-direction: column; line-height: 1.2; }
.glance-rows .who em { font-style: normal; font-weight: 400; font-size: 0.78rem; color: var(--muted); }
.glance-rows .bar { height: 8px; border-radius: var(--pill); background: var(--sunken); overflow: hidden; min-width: 0; }
.glance-rows .bar i { display: block; height: 100%; background: var(--accent); border-radius: var(--pill); }
.glance-rows .bar-tasks i { background: var(--terracotta-300); }
.glance-rows .num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); font-size: 0.85rem; }
.glance-flags { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.glance-flags li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; line-height: 1.35; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--sunken); }
.glance-flags em { font-style: normal; font-weight: 600; margin-left: auto; white-space: nowrap; color: var(--accent-deep); }
.glance-flags .pip { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.glance-flags .warn .pip { background: #8A5410; }
.glance-flags .late .pip { background: #A01F27; }
.glance-flags .ask .pip { background: var(--accent); }
.glance-flags .money .pip { background: var(--positive); }
@media (max-width: 480px) {
  .glance { padding: 22px 18px 16px; }
  .glance-rows li { grid-template-columns: 1fr auto; }
  .glance-rows .bar { grid-column: 1 / -1; }
  .glance-flags li { flex-wrap: wrap; }
  .glance-flags em { margin-left: 18px; }
}

/* Two audiences */
.audience { background: var(--surface); border-block: 1px solid var(--border); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.aud.featured { background: var(--brand-tint); border-color: var(--terracotta-300); }
.aud h3 { font-size: 1.8rem; }
.aud > p { margin: 0; color: var(--muted); }
.aud.featured > p { color: var(--terracotta-900); }
.aud ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.aud li { position: relative; padding-left: 22px; font-size: 0.97rem; }
.aud li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.aud.featured li::before { background: var(--brand); }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* What's inside: six blocks */
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.block-head { display: flex; align-items: center; gap: 14px; }
.block-head .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.block-head .icon svg { width: 22px; height: 22px; }
.block-head h3 { font-size: 1.7rem; }
.block > p { margin: 0; color: var(--muted); }
.block ul { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.block li { position: relative; padding-left: 20px; font-size: 0.95rem; line-height: 1.45; }
.block li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--brand); }
@media (max-width: 1000px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .inside-grid { grid-template-columns: 1fr; } }

/* Managing a team */
.manage { background: var(--brand-tint); border-block: 1px solid var(--terracotta-300); }
.manage-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.manage-grid > div { position: sticky; top: 96px; }
.manage h2 { margin: 14px 0 16px; }
.manage .lede { color: var(--terracotta-900); }
.manage-list { list-style: none; margin: 0; padding: 0; display: grid; }
.manage-list li { padding: 22px 0; border-top: 1px solid var(--terracotta-300); }
.manage-list li:last-child { border-bottom: 1px solid var(--terracotta-300); }
.manage-list h3 { margin-bottom: 8px; }
.manage-list p { margin: 0; color: var(--terracotta-900); font-size: 0.97rem; }
@media (max-width: 860px) { .manage-grid { grid-template-columns: 1fr; } .manage-grid > div { position: static; } }

/* ===== Draft 3 additions (7 Oct): family-law positioning ===== */

/* Disclosure checklist card in the hero */
.disc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 26px 18px; position: relative; max-width: 500px; margin-inline: auto;
  box-shadow: 0 30px 60px -30px rgba(35, 29, 24, 0.25);
}
.disc::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; background: var(--brand-tint); border-radius: var(--radius-lg); opacity: 0.8; }
.disc-stamp { position: absolute; top: -14px; right: 22px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill); white-space: nowrap; }
.disc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.disc-head .title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; padding-top: 4px; }
.disc-head .meta { font-size: 0.78rem; color: var(--muted); text-align: right; line-height: 1.4; }
.disc-tally { list-style: none; margin: 0; padding: 14px 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-bottom: 1px solid var(--border); }
.disc-tally li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--sunken); min-width: 0; }
.disc-tally strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--text); font-weight: 400; }
.disc-tally span { font-size: 0.72rem; color: var(--muted); line-height: 1.25; }
.disc-tally .due { background: var(--brand-tint); }
.disc-tally .due strong { color: var(--brand); }
.disc-rows { list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 7px; }
.disc-rows li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; line-height: 1.3; }
.disc-rows li span:not(.pip) { min-width: 0; }
.disc-rows em { font-style: normal; margin-left: auto; font-size: 0.78rem; color: var(--muted); text-align: right; white-space: nowrap; }
.disc-rows .pip { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.disc-rows .got .pip { background: var(--positive); }
.disc-rows .na .pip { background: var(--cream-200); border: 1px solid var(--warm-500); }
.disc-rows .out .pip { background: #8A5410; }
.disc-rows .owed .pip { background: var(--accent); }
.disc-rows .owed em { color: var(--accent-deep); font-weight: 600; }
@media (max-width: 480px) {
  .disc { padding: 22px 18px 14px; }
  .disc-head { flex-direction: column; gap: 6px; }
  .disc-head .meta { text-align: left; }
  .disc-tally { grid-template-columns: repeat(2, 1fr); }
  .disc-rows li { flex-wrap: wrap; }
  .disc-rows em { margin-left: 19px; white-space: normal; text-align: left; }
}

/* Made for firms like yours */
.fit { background: var(--surface); border-block: 1px solid var(--border); padding: clamp(36px, 5vw, 56px) 0; }
.fit-lead { margin: 0 0 22px; color: var(--muted); }
.fit-lead strong { color: var(--text); font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-right: 8px; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fit-list li { padding-top: 14px; border-top: 2px solid var(--brand); display: grid; gap: 6px; }
.fit-list strong { font-weight: 600; }
.fit-list span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 900px) { .fit-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fit-list { grid-template-columns: 1fr; } }

/* The three things we lead with */
.leads { display: grid; gap: 0; }
.lead-row { display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 4vw, 48px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--border); }
.lead-row:last-child { border-bottom: 1px solid var(--border); }
.lead-num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; color: var(--brand); }
.lead-text { max-width: 44em; }
.lead-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.lead-text > p { color: var(--muted); font-size: 1.05rem; }
.lead-text ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.lead-text li { position: relative; padding-left: 22px; font-size: 0.97rem; }
.lead-text li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@media (max-width: 640px) { .lead-row { grid-template-columns: 1fr; gap: 10px; } .lead-num { font-size: 2.6rem; } }

/* Everything else is in the box */
.included { background: var(--surface); border-block: 1px solid var(--border); }
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.inc { padding: 20px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.inc h3 { font-size: 1.25rem; }
.inc p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 1000px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .included-grid { grid-template-columns: 1fr; } }

/* ===== Draft 6 (7 Oct): more teal, less beige. Carlie's comment on the whole page. ===== */
:root {
  --teal-900: #0A3B39;
  --teal-050: #EEF5F4;
}

/* Hero: a cool teal wash behind the card side so the opening is not all cream */
.hero { background: linear-gradient(100deg, var(--bg) 0%, var(--bg) 48%, var(--teal-100) 100%); }
.disc::before { background: var(--teal-300); opacity: 0.35; }
.disc-tally .due { background: var(--teal-100); }
.disc-tally .due strong { color: var(--accent-deep); }

/* Ghost buttons carry teal */
.btn-ghost { color: var(--accent-deep); border-color: var(--teal-300); }
.btn-ghost:hover { border-color: var(--accent-deep); color: var(--accent-deep); background: var(--teal-050); }

/* Made for firms like yours: a light teal band */
.fit { background: var(--teal-100); border-color: var(--teal-300); }
.fit-lead { color: var(--accent-deep); }
.fit-lead strong { color: var(--teal-900); }
.fit-list li { border-top-color: var(--accent); }
.fit-list strong { color: var(--teal-900); }
.fit-list span { color: var(--accent-deep); }

/* What it does: numerals in deep teal, bullets terracotta, so both brand colours show */
.lead-num { color: var(--accent); }
.lead-text li::before { background: var(--brand); }
.lead-row { border-color: var(--teal-100); }
.lead-row:last-child { border-bottom-color: var(--teal-100); }

/* Everything else is in the box: teal tiles on white */
.included { background: var(--surface); border-color: var(--teal-100); }
.inc { border-top: 0; background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 20px 20px 18px; }
.inc h3 { color: var(--teal-900); }
.inc p { color: var(--accent-deep); }

/* Why LISA: deep teal panel instead of navy */
.promises { background: var(--teal-700); color: var(--cream-050); }
.promises .eyebrow { color: var(--teal-300); }
.promises .eyebrow::before { background: var(--teal-300); }
.promises .lede { color: rgba(251, 245, 238, 0.78); }
.promise { border-top-color: rgba(251, 245, 238, 0.14); }
.promise .check { background: rgba(251, 245, 238, 0.12); color: var(--teal-300); }
.promise h3 { color: #fff; }
.promise p { color: rgba(251, 245, 238, 0.8); }

/* Steps and pricing: teal rules and markers */
.step { border-top-color: var(--teal-300); }
.step::before { color: var(--accent); }
.pricing { background: var(--surface); border-color: var(--teal-100); }
.plan { background: var(--teal-050); border-color: var(--teal-100); }
.plan.featured { background: var(--surface); }
.term { border-top-color: var(--teal-300); }

/* Founder: light teal band */
.founder { background: var(--teal-100); }
.founder blockquote { color: var(--teal-900); }
.founder blockquote .em { color: var(--brand); }
.founder figcaption { color: var(--accent-deep); }
.founder figcaption strong { color: var(--teal-900); }
.founder-visual img { border-color: var(--teal-300); }

/* Waitlist stays terracotta; the form's focus ring is teal already */

/* Footer: darkest teal */
.site-footer { background: var(--teal-900); color: rgba(251, 245, 238, 0.7); }
.site-footer ul a { color: var(--cream-050); }
.site-footer ul a:hover { color: var(--teal-300); }
.site-footer h4 { color: var(--teal-300); }
.foot-brand .for { color: var(--teal-300); }
.foot-legal { border-top-color: rgba(251, 245, 238, 0.14); }

/* ===== Draft 8 (7 Oct): the disclosure-tracking tour in the hero ===== */
.hero-grid { align-items: stretch; }
.hero-grid > div:first-child { align-self: center; }
.hero-visual { display: flex; }
.tour {
  position: relative; width: 100%; max-width: 560px; margin-inline: auto;
  min-height: 640px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--teal-100); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(10, 59, 57, 0.35);
}
.tour::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; background: var(--teal-300); opacity: 0.35; border-radius: var(--radius-lg); }
.tour-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--teal-100); }
.tour-stamp { background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--pill); white-space: nowrap; }
.tour-matter { font-size: 0.78rem; color: var(--muted); text-align: right; line-height: 1.35; }
.tour-tabs { display: flex; gap: 2px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; }
.tour-tabs::-webkit-scrollbar { display: none; }
.tour-tabs [role="tab"] {
  flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  font: 600 0.82rem/1 var(--font-ui); color: var(--muted); padding: 10px 10px 12px; white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tour-tabs [role="tab"]:hover { color: var(--accent-deep); }
.tour-tabs [role="tab"][aria-selected="true"] { color: var(--teal-900); border-bottom-color: var(--accent); }
.tour-timer { height: 3px; background: var(--teal-100); margin: 0 12px; border-radius: var(--pill); overflow: hidden; }
.tour-timer i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: var(--pill); }
.tour.is-paused .tour-timer { opacity: 0.4; }
.tour-panes { display: grid; flex: 1; padding: 18px 20px 6px; }
.tour-pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity 320ms var(--ease); }
.tour-pane.is-active { opacity: 1; }
.tour-pane[hidden] { display: none; }

.tour-progress { display: grid; gap: 8px; }
.tp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.9rem; }
.tp-head span { color: var(--muted); }
.tp-head strong { font-weight: 600; color: var(--teal-900); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-head-sub { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--teal-100); }
.tp-bar { height: 10px; border-radius: var(--pill); background: var(--teal-100); overflow: hidden; display: flex; }
.tp-bar i { display: block; height: 100%; background: var(--accent); }
.tp-bar-split i { border-right: 2px solid var(--surface); }
.tp-bar-split i:nth-child(1) { background: var(--teal-700); }
.tp-bar-split i:nth-child(2) { background: var(--accent); }
.tp-bar-split i:nth-child(3) { background: var(--teal-300); }
.tp-bar-split i:nth-child(4) { background: var(--brand); }
.tp-bar-split i:nth-child(5) { background: var(--terracotta-300); border-right: 0; }
.tp-note { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.tp-note-top { padding: 10px 12px; background: var(--teal-050); border-radius: var(--radius-sm); color: var(--accent-deep); }

.tour-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tour-rows li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; line-height: 1.3; }
.tour-rows li span:not(.pip) { min-width: 0; }
.tour-rows em { font-style: normal; margin-left: auto; font-size: 0.76rem; color: var(--muted); text-align: right; white-space: nowrap; }
.tour-rows .pip, .tour-flags .pip { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tour-rows .got .pip { background: var(--positive); }
.tour-rows .na .pip { background: var(--cream-200); border: 1px solid var(--warm-500); }
.tour-rows .out .pip { background: #8A5410; }
.tour-rows .due .pip { background: var(--brand); }
.tour-rows .due em { color: var(--brand-deep); font-weight: 600; }

.tour-qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tour-qa li { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.86rem; line-height: 1.4; }
.tour-qa .who { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tour-qa p { margin: 0; }
.tour-qa .q { background: var(--sunken); margin-right: 28px; }
.tour-qa .a { background: var(--teal-100); margin-left: 28px; }
.tour-qa .a em { display: block; font-style: normal; font-size: 0.74rem; color: var(--accent-deep); margin-top: 6px; }
.tour-qa .pending { background: var(--brand-tint); margin-left: 28px; border: 1px dashed var(--terracotta-300); }
.tour-qa .pending .who { color: var(--brand-deep); }

.tour-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tour-flags li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--sunken); }
.tour-flags .pip { margin-top: 5px; }
.tour-flags strong { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.tour-flags div span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.tour-flags .late .pip { background: #A01F27; } .tour-flags .late { background: #FAE5E6; }
.tour-flags .reach .pip { background: #8A5410; } .tour-flags .reach { background: #F9EEDC; }
.tour-flags .attest .pip { background: var(--accent); } .tour-flags .attest { background: var(--teal-100); }
.tour-flags .review .pip { background: var(--brand); } .tour-flags .review { background: var(--brand-tint); }

.tour-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
.tour-timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; position: relative; padding: 0 0 14px 0; }
.tour-timeline li::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: -6px; width: 2px; background: var(--teal-100); }
.tour-timeline li:last-child::before { display: none; }
.tour-timeline li::after { content: ""; position: absolute; left: 58px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-300); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--teal-300); }
.tour-timeline li.done::after { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tour-timeline li.next::after { background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.tour-timeline .date { font-size: 0.78rem; font-weight: 600; color: var(--teal-900); padding-top: 2px; font-variant-numeric: tabular-nums; }
.tour-timeline div { padding-left: 16px; }
.tour-timeline strong { display: block; font-size: 0.88rem; font-weight: 600; }
.tour-timeline div span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.tour-timeline li.next strong { color: var(--brand-deep); }

.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid var(--teal-100); margin-top: auto; }
.tour-caption { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; color: var(--teal-900); }
.tour-pause { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--teal-300); background: var(--surface); color: var(--accent-deep); display: grid; place-items: center; cursor: pointer; }
.tour-pause:hover { background: var(--teal-050); }
.tour-pause .ic-play { display: none; }
.tour-pause[aria-pressed="true"] .ic-play { display: block; }
.tour-pause[aria-pressed="true"] .ic-pause { display: none; }
@media (max-width: 900px) { .tour { min-height: 0; } }
@media (max-width: 480px) {
  .tour-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tour-matter { text-align: left; }
  .tour-panes { padding: 16px 14px 6px; }
  .tour-rows li { flex-wrap: wrap; }
  .tour-rows em { margin-left: 19px; white-space: normal; text-align: left; }
  .tour-qa .q, .tour-qa .a, .tour-qa .pending { margin-left: 0; margin-right: 0; }
  .tour-foot { padding: 12px 14px 14px; }
}

/* Draft 10 (7 Oct): the second line of the headline is smaller than the first */
.hero h1 .em { display: block; font-size: 0.58em; line-height: 1.15; margin-top: 0.35em; }
.hero .lede + .lede { margin-top: -0.2em; }
/* Draft 14 (7 Oct): "Made for Firms Like Yours" 1.5x larger */
.fit-lead strong { font-size: 2.25rem; display: block; margin-bottom: 6px; line-height: 1.1; }
/* Draft 15 (7 Oct): the "Made for Firms Like Yours" band goes dark teal */
.fit { background: var(--teal-700); border-color: var(--teal-900); }
.fit-lead { color: rgba(251, 245, 238, 0.82); }
.fit-lead strong { color: #fff; }
.fit-list li { border-top-color: var(--teal-300); }
.fit-list strong { color: #fff; }
.fit-list span { color: rgba(251, 245, 238, 0.78); }
/* Draft 20 (7 Oct): the four labels in the Made-for band use the serif */
.fit-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.005em; }
/* Draft 22 (7 Oct): Client questions pane reads like a message thread */
.tour-note { margin: 0 0 4px; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.tour-qa { gap: 14px; }
.tour-qa li { padding: 0; border-radius: 0; background: none !important; border: 0 !important; margin: 0 !important; display: grid; gap: 4px; }
.tour-qa .who { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; text-transform: none; color: var(--muted); margin: 0 2px; }
.tour-qa .bubble { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.86rem; line-height: 1.4; }
.tour-qa .q .bubble { background: var(--sunken); margin-right: 32px; border-bottom-left-radius: 2px; }
.tour-qa .a, .tour-qa .pending { justify-items: end; }
.tour-qa .a .who, .tour-qa .pending .who { text-align: right; }
.tour-qa .a .bubble { background: var(--teal-100); margin-left: 32px; border-bottom-right-radius: 2px; }
.tour-qa .a em { font-style: normal; font-size: 0.72rem; color: var(--accent-deep); margin: 0 2px; }
.tour-qa .pending .who { color: var(--brand-deep); }
.tour-qa .pending .bubble { background: var(--brand-tint); border: 1px dashed var(--terracotta-300); margin-left: 32px; border-bottom-right-radius: 2px; }
@media (max-width: 480px) { .tour-qa .q .bubble, .tour-qa .a .bubble, .tour-qa .pending .bubble { margin-left: 0; margin-right: 0; } }

/* ===== Draft 24 (7 Oct): From First Touch to Final Bill, the process flow ===== */
.process { background: var(--surface); border-block: 1px solid var(--teal-100); }
.stages { list-style: none; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: none; }
.stages li { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--teal-100); background: var(--teal-050); color: var(--muted); }
.stages .stage-num { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 0.85rem/1 var(--font-ui); background: var(--teal-100); color: var(--accent-deep); }
.stages .stage-name { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; color: var(--text); }
.stages .stage-state { font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.stages li.is-active { background: var(--teal-700); border-color: var(--teal-700); }
.stages li.is-active .stage-num { background: var(--teal-300); color: var(--teal-900); }
.stages li.is-active .stage-name { color: #fff; }
.stages li.is-active .stage-state { color: var(--teal-300); }
@media (max-width: 960px) { .stages { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr 1fr; } }

.flow-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.flow-sub { color: var(--brand-deep); font-weight: 500; margin: 0 0 clamp(24px, 3vw, 36px); }

.flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.flow::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 50%; width: 2px; margin-left: -1px; background: var(--teal-100); }
.fstep { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start; }
.fnode { grid-column: 2; display: grid; place-items: center; padding-top: 14px; }
.fnode span { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 0.95rem/1 var(--font-ui); box-shadow: 0 0 0 6px var(--surface); }
.fstep:nth-child(odd) .fcard { grid-column: 1; grid-row: 1; justify-self: end; }
.fstep:nth-child(even) .fcard { grid-column: 3; grid-row: 1; justify-self: start; }
.fcard { max-width: 480px; width: 100%; background: var(--bg); border: 1px solid var(--teal-100); border-radius: var(--radius-lg); padding: 20px 22px 18px; display: grid; gap: 10px; position: relative; }
.fcard h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.fcard p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.ftag { justify-self: start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--pill); background: var(--teal-100); color: var(--accent-deep); }
.fstep.milestone .fnode span { background: var(--brand); }
.fstep.milestone .fcard { background: var(--brand-tint); border-color: var(--terracotta-300); }
.fstep.milestone .ftag { background: var(--brand); color: #fff; }
.fbranch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.fout { padding: 10px 12px; border-radius: var(--radius-sm); display: grid; gap: 4px; font-size: 0.86rem; line-height: 1.4; }
.fout strong { font-weight: 600; }
.fout span { color: var(--muted); font-size: 0.82rem; }
.fout.clear { background: #E3F0E6; } .fout.clear strong { color: var(--positive); }
.fout.flag { background: #F9EEDC; } .fout.flag strong { color: #8A5410; }
.flow-close { margin-top: clamp(28px, 4vw, 44px); padding: 24px 26px; border-radius: var(--radius-lg); background: var(--teal-700); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.flow-close p { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; max-width: 34em; }
@media (max-width: 820px) {
  .flow::before { left: 20px; }
  .fstep { grid-template-columns: 40px 1fr; column-gap: 14px; }
  .fnode { grid-column: 1; padding-top: 10px; }
  .fnode span { width: 32px; height: 32px; font-size: 0.85rem; }
  .fstep:nth-child(odd) .fcard, .fstep:nth-child(even) .fcard { grid-column: 2; grid-row: 1; justify-self: stretch; max-width: none; }
  .fbranch { grid-template-columns: 1fr; }
}

/* ===== Draft 25 (7 Oct): LISA's Daily Docket, under the top bar ===== */
.docket { background: var(--brand-tint); border-bottom: 1px solid var(--terracotta-300); }
.docket-row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 8px; }
.docket-label { flex: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 5px 10px; border-radius: var(--pill); white-space: nowrap; }
.docket-line { flex: 1; min-width: 0; margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; color: var(--terracotta-900); transition: opacity 180ms var(--ease); }
.docket-line.is-swapping { opacity: 0; }
.docket-next { flex: none; background: none; border: 1px solid var(--terracotta-300); color: var(--brand-deep); font: 600 0.78rem/1 var(--font-ui); padding: 8px 12px; border-radius: var(--pill); cursor: pointer; white-space: nowrap; }
.docket-next:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 640px) {
  .docket-row { flex-wrap: wrap; gap: 8px 10px; }
  .docket-line { flex-basis: 100%; order: 3; font-size: 1rem; }
  .docket-next { margin-left: auto; }
}
/* Draft 26 (7 Oct): Made-for band, two short items stacked in the first column, two long ones beside */
.fit-list { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; align-items: start; gap: 20px 28px; }
.fit-list li:nth-child(1) { grid-column: 1; grid-row: 1; }
.fit-list li:nth-child(2) { grid-column: 1; grid-row: 2; }
.fit-list li:nth-child(3) { grid-column: 2; grid-row: 1 / 3; }
.fit-list li:nth-child(4) { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 900px) {
  .fit-list { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fit-list li:nth-child(1), .fit-list li:nth-child(2), .fit-list li:nth-child(3), .fit-list li:nth-child(4) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 520px) { .fit-list { grid-template-columns: 1fr; } }
/* Draft 27 (7 Oct): the flow line sits behind the numbered circles */
.flow::before { z-index: 0; }
.fnode { position: relative; z-index: 1; }
.fcard { z-index: 1; }

/* ===== Draft 28 (7 Oct): Made-for band as a checklist beside a sticky intro ===== */
.fit-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.fit-intro { position: sticky; top: 96px; }
.fit-lead { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.fit-lead strong { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.fit-list { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
.fit-list li:nth-child(n) { grid-column: auto; grid-row: auto; }
.fit-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid rgba(251, 245, 238, 0.16); }
.fit-list li:last-child { border-bottom: 1px solid rgba(251, 245, 238, 0.16); }
.fit-list li > div { display: grid; gap: 8px; min-width: 0; }
.fit-check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-300); color: var(--teal-900); margin-top: 2px; }
.fit-check svg { width: 22px; height: 22px; }
.fit-list strong { font-size: 1.55rem; }
.fit-list span:not(.fit-check) { font-size: 0.97rem; line-height: 1.55; }
@media (max-width: 900px) {
  .fit-grid { grid-template-columns: 1fr; gap: 20px; }
  .fit-intro { position: static; }
  .fit-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fit-list li { grid-template-columns: 34px 1fr; column-gap: 14px; }
  .fit-check { width: 34px; height: 34px; }
  .fit-check svg { width: 18px; height: 18px; }
}

/* Draft 29 (7 Oct): tighter process section, single rail so no half-empty rows */
.process { padding: clamp(48px, 6vw, 80px) 0; }
.process .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.stages { margin-bottom: 28px; gap: 8px; }
.stages li { padding: 10px 12px; }
.flow-sub { margin-bottom: 20px; }
.flow { gap: 10px; max-width: 860px; }
.flow::before { left: 20px; top: 20px; bottom: 20px; }
.fstep { grid-template-columns: 40px 1fr; column-gap: 16px; }
.fnode { grid-column: 1; padding-top: 10px; }
.fnode span { width: 32px; height: 32px; font-size: 0.85rem; box-shadow: 0 0 0 5px var(--surface); }
.fstep:nth-child(odd) .fcard, .fstep:nth-child(even) .fcard { grid-column: 2; grid-row: 1; justify-self: stretch; max-width: none; }
.fcard { padding: 14px 18px 14px; gap: 8px; }
.fcard h4 { font-size: 1.25rem; }
.fcard p { font-size: 0.93rem; }
.fbranch { gap: 8px; }
.flow-close { margin-top: 24px; padding: 18px 22px; }

/* Draft 30 (7 Oct): "by hand" time on every step, and a totals block */
.fcard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.fby { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.fby svg { width: 15px; height: 15px; color: var(--brand); }
.flow-close { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px 28px; }
.flow-total { display: grid; gap: 4px; }
.flow-total .ft-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-300); }
.flow-total strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.2; color: #fff; }
.flow-total .ft-note { font-size: 0.82rem; line-height: 1.45; color: rgba(251, 245, 238, 0.75); }
.flow-total.is-lisa .ft-label { color: var(--terracotta-300); }
.flow-close .btn { justify-self: end; }
@media (max-width: 900px) { .flow-close { grid-template-columns: 1fr; } .flow-close .btn { justify-self: start; } }

/* Draft 31 (7 Oct): the flow alternates sides again on desktop (Carlie's call), tighter than the first version */
@media (min-width: 821px) {
  .flow { max-width: none; gap: 4px; }
  .flow::before { left: 50%; top: 24px; bottom: 24px; }
  .fstep { grid-template-columns: 1fr 64px 1fr; column-gap: 0; }
  .fnode { grid-column: 2; padding-top: 12px; }
  .fnode span { width: 36px; height: 36px; font-size: 0.9rem; box-shadow: 0 0 0 6px var(--surface); }
  .fstep:nth-child(odd) .fcard { grid-column: 1; grid-row: 1; justify-self: end; max-width: 500px; }
  .fstep:nth-child(even) .fcard { grid-column: 3; grid-row: 1; justify-self: start; max-width: 500px; }
  /* pull every card up a little so the staircase overlaps and the column of air shrinks */
  .fstep + .fstep { margin-top: -28px; }
}

/* Draft 32 (7 Oct): Made-for band, Carlie's layout: header on top, two columns,
   Family Law Firms + On Google Workspace left, One to Ten Attorneys + Billing by the Hour right */
.fit-grid { display: block; }
.fit-intro { position: static; margin-bottom: 28px; max-width: 46em; }
.fit-list { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: clamp(28px, 5vw, 64px); row-gap: 0; align-items: start; }
.fit-list li:nth-child(1) { grid-column: 1; grid-row: 1; }
.fit-list li:nth-child(4) { grid-column: 1; grid-row: 2; }
.fit-list li:nth-child(2) { grid-column: 2; grid-row: 1; }
.fit-list li:nth-child(3) { grid-column: 2; grid-row: 2; }
.fit-list li:last-child { border-bottom: 0; }
.fit-list li:nth-child(3), .fit-list li:nth-child(4) { border-bottom: 1px solid rgba(251, 245, 238, 0.16); }
@media (max-width: 900px) {
  .fit-list { grid-template-columns: 1fr; grid-template-rows: auto; }
  .fit-list li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .fit-list li:nth-child(3) { border-bottom: 0; }
}
/* Draft 35 (7 Oct): the Made-for heading and sentence are centered */
.fit-intro { margin-inline: auto; text-align: center; }
/* Draft 36 (7 Oct): tighter "What Can LISA Do?" section */
#leads { padding: clamp(48px, 6vw, 80px) 0; }
#leads .section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.lead-row { padding: clamp(22px, 3vw, 32px) 0; gap: clamp(16px, 3vw, 36px); grid-template-columns: 96px 1fr; }
.lead-num { font-size: clamp(2.6rem, 5vw, 4rem); }
.lead-text h3 { margin-bottom: 10px; }
.lead-text ul { margin-top: 12px; gap: 7px; }
/* Draft 39 (7 Oct): pricing terms may run longer */
.terms { grid-template-columns: repeat(4, 1fr); }
.term p { font-size: 0.9rem; }
/* Draft 41 (7 Oct): tighter hero */
.hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-grid { gap: clamp(24px, 4vw, 56px); }
.hero h1 { margin: 14px 0 16px; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); margin-bottom: 0.8em; }
.hero .lede + .lede { margin-top: 0; }
.hero .actions { margin-top: 22px; }
.hero .proof { margin-top: 20px; }
.tour { min-height: 0; }

/* ===== Draft 42 (7 Oct): Stage 2, Firm Work, drawn as rooms ===== */
.stage2-title { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--teal-100); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.room { background: var(--bg); border: 1px solid var(--teal-100); border-radius: var(--radius-lg); padding: 18px 20px 16px; display: grid; gap: 8px; align-content: start; }
.room h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.room > p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.room ul { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px solid var(--teal-100); display: grid; gap: 6px; }
.room li { position: relative; padding-left: 16px; font-size: 0.88rem; line-height: 1.45; }
.room li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 2px; background: var(--brand); }
.room-wide { grid-column: span 2; }
.room-wide ul { columns: 2; column-gap: 22px; display: block; }
.room-wide li { break-inside: avoid; margin-bottom: 6px; }
.room-callout { background: var(--teal-700); border-color: var(--teal-700); color: var(--cream-050); }
.room-callout h4 { color: #fff; }
.room-callout > p { color: rgba(251, 245, 238, 0.85); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35; }
.room-callout ul { border-top-color: rgba(251, 245, 238, 0.18); }
.room-callout li { color: rgba(251, 245, 238, 0.85); }
.room-callout li::before { background: var(--teal-300); }
@media (max-width: 1000px) { .rooms { grid-template-columns: 1fr 1fr; } .room-wide ul { columns: 1; } }
@media (max-width: 620px) { .rooms { grid-template-columns: 1fr; } .room-wide { grid-column: auto; } }

/* ===== Draft 44 (7 Oct): the stage strip is a set of tabs; Intake opens first ===== */
.stages li { display: block; padding: 0; border: 0; background: none; }
.stages [role="tab"] {
  width: 100%; text-align: left; cursor: pointer; font: inherit;
  display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--teal-100); background: var(--teal-050); color: var(--muted);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.stages [role="tab"]:hover { border-color: var(--accent); transform: translateY(-1px); }
.stages [role="tab"] .stage-num { grid-row: 1 / 3; }
.stages [role="tab"][aria-selected="true"] { background: var(--teal-700); border-color: var(--teal-700); }
.stages [role="tab"][aria-selected="true"] .stage-num { background: var(--teal-300); color: var(--teal-900); }
.stages [role="tab"][aria-selected="true"] .stage-name { color: #fff; }
.stages [role="tab"][aria-selected="true"] .stage-state { color: var(--teal-300); }
.stage-panel[hidden] { display: none; }
.stage-soon { margin-top: 8px; padding: 26px 28px; border: 1px dashed var(--teal-300); border-radius: var(--radius-lg); background: var(--teal-050); display: grid; gap: 10px; justify-items: start; }
.stage-soon-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.stage-soon p { margin: 0; color: var(--muted); max-width: 40em; }

/* Draft 45 (7 Oct): the room cards alternate through the palette */
.room:nth-child(4n+1) { background: var(--bg); border-color: var(--teal-100); }
.room:nth-child(4n+2) { background: var(--teal-050); border-color: var(--teal-100); }
.room:nth-child(4n+2) li::before { background: var(--accent); }
.room:nth-child(4n+2) ul { border-top-color: var(--teal-300); }
.room:nth-child(4n+3) { background: var(--brand-tint); border-color: var(--terracotta-300); }
.room:nth-child(4n+3) > p { color: var(--terracotta-900); }
.room:nth-child(4n+3) ul { border-top-color: var(--terracotta-300); }
.room:nth-child(4n+4) { background: var(--surface); border-color: var(--cream-200); }
.room:nth-child(4n+4) li::before { background: var(--accent); }
.room.room-callout, .room.room-callout:nth-child(n) { background: var(--teal-700); border-color: var(--teal-700); }
.room.room-callout:nth-child(n) > p { color: rgba(251, 245, 238, 0.85); }
.room.room-callout:nth-child(n) ul { border-top-color: rgba(251, 245, 238, 0.18); }
.room.room-callout:nth-child(n) li::before { background: var(--teal-300); }

/* Draft 46 (7 Oct): the process section sits on cream again; cards lift to white */
.process { background: var(--bg); }
.fcard { background: var(--surface); }
.fnode span { box-shadow: 0 0 0 6px var(--bg); }
@media (min-width: 821px) { .fnode span { box-shadow: 0 0 0 6px var(--bg); } }
.fstep.milestone .fcard { background: var(--brand-tint); }
.room:nth-child(4n+1) { background: var(--surface); border-color: var(--teal-100); }
.room:nth-child(4n+4) { background: var(--cream-100); border-color: var(--cream-200); }
.stage-soon { background: var(--surface); }

/* ===== Draft 47 (7 Oct): pricing with numbers, a seat stepper, and add-ons ===== */
.price-panel { background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius-lg); padding: 18px 22px; display: grid; gap: 12px; margin-bottom: 22px; }
.pp-step { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.pp-label { font-weight: 600; }
.pp-label .hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.pp-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--teal-300); border-radius: var(--pill); overflow: hidden; background: var(--surface); }
.pp-ctrl button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--accent-deep); font: 600 1.2rem/1 var(--font-ui); cursor: pointer; }
.pp-ctrl button:hover { background: var(--teal-100); }
.pp-ctrl output { min-width: 48px; text-align: center; font: 600 1.1rem/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.pp-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-presets button { font: 500 0.85rem/1 var(--font-ui); padding: 8px 12px; border-radius: var(--pill); border: 1px solid var(--teal-100); background: var(--surface); color: var(--muted); cursor: pointer; }
.pp-presets button:hover { border-color: var(--accent); color: var(--accent-deep); }
.pp-presets button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pp-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.plan .price { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 6px; padding: 6px 0 10px; border-bottom: 1px solid var(--teal-100); }
.plan .price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--teal-900); }
.plan .price .per { color: var(--muted); font-size: 0.95rem; }
.plan .price .sub { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.plan.featured .price strong { color: var(--brand-deep); }
.addons { margin-top: 36px; }
.addon-head h3 { margin: 10px 0 18px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.addon-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: start; }
.addon { background: var(--bg); border: 1px solid var(--teal-100); border-radius: var(--radius-lg); padding: 22px 24px; display: grid; gap: 10px; }
.addon h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.addon p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.addon-price { display: flex; align-items: baseline; gap: 6px; padding-top: 6px; }
.addon-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--brand-deep); }
.addon-price span { color: var(--muted); font-size: 0.9rem; }
.addon-table { overflow-x: auto; }
.addon table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 6px; min-width: 520px; }
.addon th { text-align: left; font: 600 0.72rem/1 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--teal-100); }
.addon td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--teal-100); vertical-align: top; }
.addon tbody tr:last-child td { border-bottom: 0; }
.addon td:first-child { font-weight: 600; white-space: nowrap; }
.addon td:nth-child(3), .addon td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .addon-grid { grid-template-columns: 1fr; } }
/* Draft 48 (7 Oct): type the seat count directly */
.pp-ctrl input { width: 64px; height: 40px; border: 0; text-align: center; font: 600 1.1rem/1 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--text); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.pp-ctrl input::-webkit-outer-spin-button, .pp-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-ctrl input:focus { outline: none; background: var(--teal-050); }

/* ===== Draft 49 (8 Oct): less vertical air everywhere ===== */
section { padding: clamp(44px, 6vw, 76px) 0; }
.section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.section-head h2 { margin: 10px 0 12px; }
.fit { padding: clamp(28px, 4vw, 48px) 0; }
.fit-intro { margin-bottom: 20px; }
.fit-list li { padding: 16px 0; }
.process { padding: clamp(40px, 5vw, 64px) 0; }
.stages { margin-bottom: 22px; }
.flow-sub { margin-bottom: 16px; }
.stage2-title { margin-top: 0; padding-top: 0; border-top: 0; }
#leads { padding: clamp(40px, 5vw, 64px) 0; }
.lead-row { padding: clamp(18px, 2.5vw, 26px) 0; }
.included { padding: clamp(40px, 5vw, 64px) 0; }
.promises { padding: clamp(44px, 6vw, 72px) 0; }
.promise { padding: 16px 0; }
.steps { gap: 20px; }
.pricing { padding: clamp(44px, 6vw, 72px) 0; }
.terms { margin-top: 28px; }
.addons { margin-top: 28px; }
.founder { padding: clamp(40px, 5vw, 64px) 0; }
.demo { padding: clamp(44px, 6vw, 72px) 0; }
.site-footer { padding: 40px 0 24px; }
.foot-legal { margin-top: 30px; }
.docket-row { min-height: 42px; padding-block: 6px; }

/* ===== Draft 62 (12 Oct): the waitlist is three steps with a fit check ===== */
.form-steps { list-style: none; margin: 0 0 4px; padding: 0; display: flex; gap: 6px; }
.form-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: var(--radius-sm); background: var(--sunken); }
.form-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: var(--cream-200); color: var(--muted); flex: none; }
.form-steps li.is-active { background: var(--teal-100); color: var(--teal-900); }
.form-steps li.is-active span { background: var(--accent); color: #fff; }
.form-steps li.is-done span { background: var(--positive); color: #fff; }
.form-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step.is-active { display: grid; gap: 18px; }
.form-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.fit-result { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--teal-050); border: 1px solid var(--teal-100); display: grid; gap: 8px; }
.fit-badge { justify-self: start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--pill); background: var(--accent); color: #fff; }
.fit-badge[data-fit="good-fit"] { background: var(--teal-300); color: var(--teal-900); }
.fit-badge[data-fit="wait-your-turn"] { background: var(--brand); }
.fit-badge[data-fit="not-yet"] { background: var(--warm-500); }
.fit-result h3 { font-size: 1.5rem; }
.fit-result p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .form-steps li { font-size: 0.72rem; padding: 7px 8px; } .form-nav .btn { width: 100%; } }
/* Draft 66 (12 Oct): one add-on card for now */
.addon-grid { grid-template-columns: minmax(0, 560px); }
/* Draft 69 (12 Oct): the founding firm offer on the result step */
.founding { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--brand-tint); border: 1px solid var(--terracotta-300); display: grid; gap: 10px; }
.founding .eyebrow { color: var(--brand-deep); }
.founding .eyebrow::before { background: var(--brand); }
.founding h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.founding ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.founding li { position: relative; padding-left: 18px; font-size: 0.93rem; line-height: 1.45; color: var(--terracotta-900); }
.founding li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--brand); }
.founding li strong { font-weight: 600; color: var(--text); }
.founding .fine { color: var(--terracotta-900); }

/* ===== Privacy policy page ===== */
.policy { padding: clamp(40px, 6vw, 72px) 0; }
.policy-wrap { max-width: 760px; }
.policy h1 { margin: 12px 0 8px; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.policy-meta { color: var(--muted); padding-bottom: 16px; border-bottom: 2px solid var(--brand); margin-bottom: 24px; }
.policy h2 { font-size: 1.5rem; margin: 30px 0 8px; color: var(--brand-deep); }
.policy p, .policy li { font-size: 1rem; line-height: 1.6; }
.policy ul { padding-left: 22px; margin: 0 0 12px; }
.policy li { margin-bottom: 6px; }
.policy a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer .foot-legal a { color: var(--cream-050); }
/* Draft 78 (12 Oct): the single add-on sits centered */
.addon-grid { justify-content: center; }
.addon-head { text-align: center; }
.addon-head .eyebrow { justify-content: center; }
/* Draft 83 (12 Oct): Add-Ons as the heading, larger */
.addon-head h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0 0 18px; }
/* Draft 84 (12 Oct): a note on the Complete card */
.plan-note { margin: 4px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--brand-tint); color: var(--terracotta-900); font-size: 0.88rem; line-height: 1.4; }
/* Draft 86 (12 Oct): two add-on cards again */
.addon-grid { grid-template-columns: repeat(2, minmax(0, 480px)); }
@media (max-width: 900px) { .addon-grid { grid-template-columns: minmax(0, 560px); } }
/* Draft 87 (12 Oct): pricing terms, titles on a fixed line so the paragraphs start and end together */
.term { display: grid; grid-template-rows: auto 1fr; }
.term strong { min-height: 2.7em; display: flex; align-items: flex-start; line-height: 1.3; margin-bottom: 12px; }
/* Draft 88 (12 Oct): titles share one row, paragraphs share the next, so all four start together */
@supports (grid-template-rows: subgrid) {
  .terms { grid-template-rows: auto auto; }
  .term { grid-row: span 2; grid-template-rows: subgrid; }
  .term strong { min-height: 0; align-self: end; }
}
/* Draft 89 (12 Oct): the two add-on cards, centered and the same size */
.addon-grid { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; align-items: stretch; }
.addon { grid-template-rows: auto 1fr auto; }
.addon-price { align-self: end; }
@media (max-width: 900px) { .addon-grid { grid-template-columns: minmax(0, 560px); } }
/* Draft 92 (12 Oct): a sassy nickname under each package name */
.plan-nick { margin: -6px 0 2px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--brand); }
/* Draft 101 (12 Oct): the three package cards share rows, so names, nicknames, prices and buttons line up */
@supports (grid-template-rows: subgrid) {
  .plans { grid-template-rows: repeat(7, auto); }
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; gap: 12px; }
  .plan .who { min-height: 0; }
  .plan .btn { margin-top: 0; align-self: start; }
  .plan-note { margin: 0; }
}
@media (max-width: 1000px) {
  @supports (grid-template-rows: subgrid) {
    .plans { grid-template-rows: none; }
    .plan { grid-row: auto; grid-template-rows: none; }
  }
}
/* Draft 103 (12 Oct): Team rooms in two wider columns */
#stage-5 .rooms { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { #stage-5 .rooms { grid-template-columns: 1fr; } }
