/* West Grove AI site, ink-and-ivory treatment.
   Rebrand of the predecessor preview site (brand renamed 2026-08-18,
   real brand kit landed 2026-08-21). Tokens: ink #221e19, ivory #f7f2e9,
   mint accent #80f3c2 (hover #5fd9a4), Figtree, panels rgba(ivory,.03),
   hairline borders rgba(ivory,.15), radius 16, soft mint bloom gradients as
   the only decoration. Brand kit: 05_branches/west_grove/brand/ in the vault
   (wordmark, app icon, favicon, OG image). */

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --ink: #221e19;
  --ivory: #f7f2e9;
  --accent: #80f3c2;
  --accent-hover: #5fd9a4;
  --accent-rgb: 128, 243, 194;
  --ink-95: rgba(247, 242, 233, 0.95);
  --ink-78: rgba(247, 242, 233, 0.78);
  --ink-62: rgba(247, 242, 233, 0.62);
  --ink-45: rgba(247, 242, 233, 0.50); /* re-derived from ivory; 4.70:1 on --ink, clears WCAG AA 4.5:1 */
  color-scheme: dark;
  --panel: rgba(247, 242, 233, 0.03);
  --panel-hover: rgba(247, 242, 233, 0.05);
  --hairline: rgba(247, 242, 233, 0.15);
  --hairline-soft: rgba(247, 242, 233, 0.09);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-62);
  background: var(--ink);
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.narrow { max-width: 780px; }

h1, h2, h3 { color: var(--ink-95); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5.4vw, 62px); }
h1 .lt { font-weight: 300; color: var(--ink-78); }
h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.section-lede { font-size: 18px; color: var(--ink-62); max-width: 760px; margin-bottom: 28px; }
.section-lede.center { margin: 28px auto 0; text-align: center; }
.fine { font-size: 13.5px; color: var(--ink-45); }

section { padding: 96px 0; position: relative; overflow: hidden; }

/* Blooms: the only decoration in the design */
.bloom {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.13) 0%, rgba(var(--accent-rgb),.03) 45%, rgba(var(--accent-rgb),0) 70%);
}
.bloom-a { top: -320px; right: -260px; width: 700px; height: 700px; }
.bloom-b { bottom: -380px; left: -300px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.09) 0%, rgba(var(--accent-rgb),.02) 45%, rgba(var(--accent-rgb),0) 70%); }
.bloom-c { top: -260px; left: -280px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.08) 0%, rgba(var(--accent-rgb),.02) 45%, rgba(var(--accent-rgb),0) 70%); }
.bloom-d { top: -200px; right: -300px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.10) 0%, rgba(var(--accent-rgb),.02) 45%, rgba(var(--accent-rgb),0) 70%); }
.bloom-e { bottom: -320px; right: -260px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.08) 0%, rgba(var(--accent-rgb),.02) 45%, rgba(var(--accent-rgb),0) 70%); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.wordmark-img { height: 46px; width: auto; display: block; }
.wordmark-img-footer { height: 26px; }

/* Hero wordmark: the brand leads, the headline follows.
   Uses the TIGHT-CROP asset so its left edge lines up with the h1 below it;
   the padded 640x160 wordmark has built-in whitespace and sits visibly inset. */
.hero-lockup {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0 0 22px;
}
.hero-wordmark {
  display: block; width: min(560px, 76%); height: auto;
}
/* The AI chip: part of the brand lockup. Mint fill takes INK text, never
   ivory (1.21:1, the kit's trap #1). Ghost variant kept below for the
   option-B screenshot; solid is the proposal. */
.chip {
  font-size: 15px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700;
  color: var(--ink); background: var(--accent); border: 0;
  border-radius: 24px; padding: 7px 16px; white-space: nowrap;
}
.chip--ghost {
  color: var(--accent); background: transparent;
  border: 0.5px solid rgba(var(--accent-rgb), 0.5); font-weight: 600;
}
.chip-hero {
  font-size: 15px; letter-spacing: 2.6px; padding: 8px 20px; border-radius: 28px;
}
.chip-footer { font-size: 8.5px; letter-spacing: 1.4px; padding: 2.5px 8px; }
.brand-footer { gap: 8px; }
.nav-toggle { display: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--ink-62); font-weight: 400; font-size: 15px; }
.nav-links a:hover { color: var(--ink-95); }
/* Bug found in the inherited predecessor-site CSS, fixed here: ".nav-links a" (0,0,1,1) beat
   ".btn-primary" (0,0,1,0) on the nav's own CTA link, so its text silently rendered in
   --ink-62 instead of the intended solid dark button text. Pin it back explicitly. */
.nav-links a.btn-primary { color: var(--ink); }
.nav-links a.btn-primary:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; border: 0; cursor: pointer; border-radius: 10px; font-family: inherit; transition: all .18s ease; }
.btn-primary {
  background: var(--accent); color: var(--ink); font-weight: 700; font-size: 16px;
  padding: 14px 34px; box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.35);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.75; cursor: default; transform: none; }
.btn-sm { font-size: 13px; padding: 10px 20px; }
.btn-ghost {
  color: var(--ink-95); font-weight: 500; font-size: 16px; padding: 14px 24px;
  border: 0.5px solid var(--hairline); background: transparent;
}
.btn-ghost:hover { border-color: rgba(var(--accent-rgb), 0.6); color: var(--accent); }

/* Cards */
.card {
  background: var(--panel);
  border: 0.5px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
}

/* Hero */
.hero { padding: 84px 0 88px; }
.hero .lede { font-size: 19px; max-width: 720px; margin-top: 22px; color: var(--ink-62); }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-strip {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 0.5px solid var(--hairline-soft);
}
.hero-strip > div { padding: 18px 20px 0 0; }
.hero-strip b { display: block; color: var(--ink-95); font-size: 22px; font-weight: 600; }
.hero-strip span { font-size: 13.5px; color: var(--ink-45); }

/* Trust band */
.band { padding: 88px 0; border-top: 0.5px solid var(--hairline-soft); border-bottom: 0.5px solid var(--hairline-soft); }
.band p { color: var(--ink-62); font-size: 18px; }

/* Steps */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.stepnum {
  width: 38px; height: 38px; border-radius: 50%;
  border: 0.5px solid rgba(var(--accent-rgb), 0.5); color: var(--accent);
  font-weight: 600; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card.step:hover, .card.svc:hover { background: var(--panel-hover); }

/* Demo */
.demo-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.demo-note { font-size: 13px; color: var(--ink-45); letter-spacing: 0.5px; }
.demo-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.counter { background: var(--panel); border: 0.5px solid var(--hairline); border-radius: 12px; padding: 14px 18px; }
.counter b { display: block; color: var(--ink-95); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.counter span { font-size: 12.5px; color: var(--ink-45); }
.demo-tablewrap {
  overflow-x: auto; max-height: 420px; overflow-y: auto;
  border: 0.5px solid var(--hairline); border-radius: var(--radius);
  background: var(--panel);
}
.demo-table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.demo-table th {
  position: sticky; top: 0; background: #1a1611; z-index: 1;
  text-align: left; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-45); font-weight: 600; padding: 12px 14px;
  border-bottom: 0.5px solid var(--hairline);
}
.demo-table td { padding: 9px 14px; border-bottom: 0.5px solid var(--hairline-soft); color: var(--ink-78); }
.demo-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.demo-table tr.exc td { background: rgba(var(--accent-rgb), 0.05); }
.demo-table .v-auto { color: var(--ink-45); font-size: 12px; letter-spacing: 0.6px; }
.demo-table .v-exc {
  color: var(--accent); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  display: inline-block; max-width: 300px;
}
.demo-table tr { opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.demo-table tr.in { opacity: 1; transform: none; }
.demo-results { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.exceptions ul { list-style: none; }
.exceptions li { padding: 10px 0; border-top: 0.5px solid var(--hairline-soft); font-size: 14px; color: var(--ink-78); }
.exceptions li b { color: var(--ink-95); font-weight: 600; }
.exceptions li em { font-style: normal; color: var(--accent); font-size: 12.5px; display: block; }
.exceptions .fine, .narrative .fine { margin-top: 14px; }
.narrative p { font-size: 14.5px; color: var(--ink-78); }

/* Demo v2: the day player */
.d2rail { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:6px 0 22px; }
.d2rail button {
  font-family:inherit; font-size:13px; font-weight:600; color:var(--ink-62);
  background:transparent; border:0.5px solid var(--hairline); border-radius:20px;
  padding:8px 16px; cursor:pointer; transition:all .18s ease;
}
.d2rail button.on { color:var(--ink); background:var(--accent); border-color:var(--accent); }
.d2rail button.done { color:var(--accent); border-color:rgba(var(--accent-rgb), .5); }
.d2beat { animation:d2rise .45s ease; }
@keyframes d2rise { from { opacity:0; transform:translateY(12px);} to { opacity:1; transform:none;} }
.d2beat h3 { font-size:21px; margin-bottom:6px; }
.d2beat h4 { font-size:15.5px; color:var(--ink-95); font-weight:600; margin-bottom:10px; }
.d2sub { font-size:14.5px; color:var(--ink-62); max-width:740px; margin-bottom:18px; }
.demo-table td .why { display:block; font-size:11.5px; color:var(--ink-45); margin-top:2px; text-transform:none; letter-spacing:0; font-weight:400; }
.demo-table tr.expandable { cursor:pointer; }
.demo-table tr.expandable:hover td { background:rgba(var(--accent-rgb), .07); }
.d2recon {
  border-left:2px solid var(--accent); margin-top:14px; padding:16px 18px;
  background:rgba(var(--accent-rgb), .04); border-radius:0 12px 12px 0;
  animation:d2rise .4s ease; font-size:12.5px;
}
.d2recon h4 { margin-bottom:8px; }
.d2recon p { color:var(--ink-62); margin-bottom:10px; }
.d2orders { display:grid; grid-template-columns:repeat(auto-fill, minmax(108px, 1fr)); gap:6px; margin:10px 0 14px; }
.d2orders div { border:0.5px solid var(--hairline-soft); border-radius:8px; padding:5px 9px; font-size:11.5px; color:var(--ink-62); }
.d2orders div.ref { border-color:rgba(var(--accent-rgb), .6); color:var(--accent); }
.d2recontable { border-collapse:collapse; font-size:12.5px; width:100%; max-width:560px; margin-bottom:8px; }
.d2recontable td { padding:4px 10px 4px 0; color:var(--ink-78); }
.d2recontable td.num { text-align:right; font-variant-numeric:tabular-nums; }
.d2recontable tr.total td { border-top:0.5px solid var(--hairline); color:var(--ink-95); font-weight:600; padding-top:8px; }
.mint { color:var(--accent); font-weight:700; }
.mono { font-variant-numeric:tabular-nums; }
.d2docs { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; }
.d2dochead { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:10px; }
.d2dochead b { color:var(--ink-95); font-weight:600; font-size:15px; }
.d2tag {
  font-size:9.5px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; color:var(--accent);
  border:0.5px solid rgba(var(--accent-rgb), .5); padding:2px 8px; border-radius:12px; white-space:nowrap;
}
.d2lines { font-size:12.5px; }
.d2lines div { display:flex; justify-content:space-between; gap:10px; padding:5px 0; border-top:0.5px solid var(--hairline-soft); color:var(--ink-78); }
.d2lines div.tot { color:var(--ink-95); font-weight:600; }
.d2match { margin-top:12px; font-size:12px; color:var(--accent); font-weight:600; }
.d2why { font-size:11.5px; color:var(--ink-45); margin-top:3px; }
.d2split { display:grid; grid-template-columns:repeat(auto-fit, minmax(165px, 1fr)); gap:14px; }
.d2split .card { padding:20px; }
.d2split .card span { font-size:11px; letter-spacing:1.4px; text-transform:uppercase; font-weight:600; color:var(--ink-45); display:block; }
.d2split .card b { display:block; font-size:21px; color:var(--ink-95); font-weight:600; margin-top:6px; }
.d2split .card em { display:block; font-style:normal; font-size:11.5px; color:var(--accent); margin-top:8px; }
.d2h4 { font-size:15.5px; color:var(--ink-95); font-weight:600; margin-bottom:4px; }

/* Beat 1: land-then-categorize */
.demo-table .d2pend { opacity:0; transform:translateY(3px); transition:opacity .35s ease, transform .35s ease; }
.demo-table tr.cat .d2pend { opacity:1; transform:none; }

/* Cash flow statement */
.d2cfsgrid { display:grid; grid-template-columns:1.2fr 1fr; gap:24px; align-items:center; }
@media (max-width:900px) { .d2cfsgrid { grid-template-columns:1fr; } }
.d2waterfall svg { display:block; width:100%; height:auto; }
.d2cfslines { font-size:13px; }
.d2cfslines div { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-top:0.5px solid var(--hairline-soft); color:var(--ink-78); }
.d2cfslines div.grp { color:var(--ink-45); font-size:10.5px; letter-spacing:1.5px; text-transform:uppercase; font-weight:600; border-top:0; padding-bottom:2px; }
.d2cfslines div.tot { color:var(--ink-95); font-weight:700; border-top:0.5px solid var(--hairline); }
.d2cfslines div.end b { color:var(--accent); }

/* The close, dressed up */
.d2rephead { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:14px; }
.d2rephead h4 { margin-bottom:0; }
.d2hero { text-align:right; }
.d2hero b { display:block; font-size:30px; font-weight:600; color:var(--accent); letter-spacing:-0.02em; line-height:1.05; }
.d2hero span { font-size:10.5px; letter-spacing:1.5px; text-transform:uppercase; color:var(--ink-45); font-weight:600; }
.d2seal {
  font-size:10px; letter-spacing:2px; text-transform:uppercase; font-weight:800;
  color:var(--accent); border:2px solid rgba(var(--accent-rgb), .8); border-radius:6px;
  padding:6px 12px; transform:rotate(4deg); white-space:nowrap;
  box-shadow:0 0 18px rgba(var(--accent-rgb), .18);
}
.d2plwf { margin-bottom:14px; }
.d2plwf svg { display:block; width:100%; height:auto; }
.d2diverge { font-size:12.5px; }
.d2divrow { display:grid; grid-template-columns:150px 1fr 92px; gap:10px; align-items:center; padding:5px 0; }
.d2divrow .lbl { color:var(--ink-78); font-size:12px; }
.d2divrow .val { text-align:right; color:var(--ink-78); }
.d2divtrack { position:relative; height:12px; }
.d2divtrack::before { content:''; position:absolute; left:50%; top:-3px; bottom:-3px; width:1px; background:var(--hairline); }
.d2divbar { position:absolute; top:1.5px; height:9px; border-radius:3px; }
.d2divhead { font-size:10px; letter-spacing:1.5px; text-transform:uppercase; font-weight:600; color:var(--ink-45); padding:10px 0 4px; border-bottom:0.5px solid var(--hairline-soft); margin-bottom:4px; }
.d2divtot { border-top:0.5px solid var(--hairline); margin-top:6px; padding-top:7px; display:flex; justify-content:space-between; color:var(--ink-95); font-weight:700; font-size:12.5px; }
.d2closegrid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.d2ledger { font-size:13.5px; }
.d2ledger div { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-top:0.5px solid var(--hairline-soft); color:var(--ink-78); }
.d2ledger .mono, .d2cfslines .mono { white-space:nowrap; }
.d2ledger div.tot { color:var(--ink-95); font-weight:700; border-top:0.5px solid var(--hairline); }
.d2ledger div.indent { padding-left:16px; font-size:12.5px; }
.d2tie {
  margin-top:16px; padding:14px 16px; border:0.5px solid rgba(var(--accent-rgb), .5);
  border-radius:12px; font-size:13px; color:var(--ink-78);
}
.d2tie b { color:var(--accent); }
.d2holds { list-style:none; }
.d2holds li { padding:9px 0; border-top:0.5px solid var(--hairline-soft); font-size:13px; color:var(--ink-78); }
.d2holds b { color:var(--ink-95); font-weight:600; }
.d2holds em { font-style:normal; display:block; color:var(--accent); font-size:11.5px; }
.d2kpis { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:14px; }
.d2kpi b { display:block; font-size:24px; color:var(--ink-95); font-weight:600; }
.d2kpi span { font-size:12px; color:var(--ink-45); }
.d2bars { margin-top:10px; }
.d2bar { margin:7px 0; font-size:11.5px; color:var(--ink-62); }
.d2bar i { display:block; height:6px; border-radius:3px; background:var(--accent); opacity:.85; margin-top:3px; }
.d2narr { font-size:14.5px; color:var(--ink-78); }

/* Demo v2: document pipeline */
.d2docflow { display:flex; flex-direction:column; gap:18px; }
.d2docrow {
  display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:start;
  background:var(--panel); border:0.5px solid var(--hairline); border-radius:var(--radius);
  padding:20px; opacity:0; transform:translateX(24px); transition:opacity .45s ease, transform .45s ease;
}
.d2docrow.in { opacity:1; transform:none; }
.d2paperwrap { position:relative; overflow:hidden; border-radius:6px; box-shadow:0 6px 28px rgba(0,0,0,.5); }
.d2paper { background:var(--ivory); color:#2a251f; font-size:9.5px; line-height:1.45; }
.d2invoice { width:300px; padding:16px 18px; font-family:inherit; }
.d2invoice .lh { font-weight:800; font-size:13px; letter-spacing:0.5px; color:#221e19; }
.d2invoice .lh-sub { font-size:8px; color:#6b6459; letter-spacing:1px; text-transform:uppercase; margin-bottom:10px; }
.d2invoice .meta { display:flex; justify-content:space-between; gap:8px; font-size:8.5px; color:#4a443c;
  border-top:1px solid #d9d2c5; border-bottom:1px solid #d9d2c5; padding:6px 0; margin-bottom:8px; }
.d2invoice .meta b { display:block; color:#221e19; font-size:9px; }
.d2invoice table { width:100%; border-collapse:collapse; font-size:9px; }
.d2invoice th { text-align:left; font-size:7px; letter-spacing:1px; text-transform:uppercase; color:#6b6459;
  border-bottom:1px solid #d9d2c5; padding:3px 0; }
.d2invoice th.r, .d2invoice td.r { text-align:right; }
.d2invoice td { padding:4px 0; border-bottom:0.5px solid #e8e2d6; color:#2a251f; }
.d2invoice tr.tt td { border-top:1.5px solid #221e19; border-bottom:0; font-weight:700; color:#221e19; padding-top:6px; }
.d2invoice .terms { margin-top:8px; font-size:7.5px; color:#6b6459; }
.d2receipt { width:200px; padding:14px 14px 18px; font-family:'Courier New', monospace; font-size:8.5px; }
.d2receipt .rh { text-align:center; font-weight:700; font-size:10px; letter-spacing:0.5px; }
.d2receipt .rsub { text-align:center; font-size:7.5px; color:#57504a; margin-bottom:8px; }
.d2receipt .ri { display:flex; justify-content:space-between; gap:6px; }
.d2receipt .ri span:last-child { white-space:nowrap; }
.d2receipt .rl { border-top:1px dashed #a49b8d; margin:6px 0; }
.d2receipt .rt { display:flex; justify-content:space-between; font-weight:700; font-size:9.5px; }
.d2scan {
  position:absolute; left:0; right:0; top:-18%; height:16%; pointer-events:none;
  background:linear-gradient(to bottom, rgba(var(--accent-rgb),0), rgba(var(--accent-rgb),.45), rgba(var(--accent-rgb),0));
  animation:d2scan 1.5s ease-in-out 1 forwards;
}
@keyframes d2scan { from { top:-18%; } to { top:104%; } }
.d2stamp {
  position:absolute; top:10px; right:-40px; transform:rotate(9deg);
  font-size:9px; letter-spacing:2px; text-transform:uppercase; font-weight:800;
  color:#1f7a56; border:2px solid #1f7a56; border-radius:4px; padding:3px 10px;
  opacity:0; transition:opacity .3s ease, right .3s ease; background:rgba(247,242,233,.85);
}
.d2docrow.scanned .d2stamp { opacity:1; right:10px; }
.d2parsecol h5 { font-size:10.5px; letter-spacing:1.6px; text-transform:uppercase; color:var(--ink-45); font-weight:600; margin-bottom:8px; }
.d2fields { font-size:12.5px; }
.d2fields div {
  display:flex; justify-content:space-between; gap:12px; padding:6px 0;
  border-top:0.5px solid var(--hairline-soft); color:var(--ink-78);
  opacity:0; transform:translateY(4px); transition:opacity .3s ease, transform .3s ease;
}
.d2fields div.in { opacity:1; transform:none; }
.d2fields div span:first-child { color:var(--ink-45); font-size:11.5px; }
.d2docrow .d2match, .d2docrow .d2why { opacity:0; transition:opacity .4s ease; }
.d2docrow.matched .d2match, .d2docrow.matched .d2why { opacity:1; }

/* Demo v2: charts */
.d2stackbar { display:flex; height:34px; border-radius:8px; overflow:hidden; gap:2px; background:var(--ink); }
.d2stackbar div { min-width:4px; }
.d2stacklegend { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:12px; font-size:12px; color:var(--ink-62); }
.d2stacklegend span { display:inline-flex; align-items:center; gap:7px; }
.d2stacklegend i { width:10px; height:10px; border-radius:3px; display:inline-block; }
.d2charts { display:grid; grid-template-columns:1fr 2fr 1fr; gap:14px; margin-top:14px; }
.d2chartcard h4 { font-size:14.5px; color:var(--ink-95); font-weight:600; margin-bottom:10px; }
.d2donutwrap { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.d2donut svg { display:block; }
.d2donutlegend { font-size:12.5px; color:var(--ink-62); }
.d2donutlegend div { display:flex; align-items:center; gap:8px; padding:3px 0; }
.d2donutlegend i { width:10px; height:10px; border-radius:3px; display:inline-block; }
.d2daily svg { display:block; width:100%; height:auto; }
.d2spark { margin-top:10px; }
.d2spark svg { display:block; width:100%; height:auto; }
@media (max-width:1020px) { .d2charts { grid-template-columns:1fr; } }

/* Services */
.svc-type {
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin-bottom: 12px;
}
.pricing-note { margin-top: 30px; color: var(--ink-45); font-size: 14.5px; max-width: 660px; }

/* Calculator */
.calc-card { padding: 36px; }
.calc-row { margin-bottom: 26px; }
.calc-row label { display: block; font-size: 15px; color: var(--ink-78); font-weight: 400; margin-bottom: 10px; }
.calc-row label b { color: var(--ink-95); font-weight: 600; float: right; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 4px; cursor: pointer; }
.calc-out { border-top: 0.5px solid var(--hairline); padding-top: 22px; }
.calc-big { font-size: 26px; color: var(--ink-95); font-weight: 300; }
.calc-big span { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Pricing */
.pricing { padding: 96px 0; }
.price {
  font-size: 38px; font-weight: 600; color: var(--accent);
  letter-spacing: -0.02em; margin: 8px 0 4px;
}
.price span { font-size: 15px; color: var(--ink-62); font-weight: 300; letter-spacing: 0; margin-left: 8px; }
.price-sub { font-size: 14px; color: var(--ink-62); margin-bottom: 4px; }
.price-card ul { list-style: none; margin-top: 14px; }
.price-card li { padding: 8px 0; border-top: 0.5px solid var(--hairline-soft); font-size: 14.5px; color: var(--ink-78); }
.founding { margin-top: 18px; border-left: 2px solid var(--accent); }
.bloom-f { top: -240px; right: -280px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.09) 0%, rgba(var(--accent-rgb),.02) 45%, rgba(var(--accent-rgb),0) 70%); }

/* Never grid */
.never-card ul { list-style: none; }
.never-card li { padding: 9px 0; border-top: 0.5px solid var(--hairline-soft); font-size: 15px; color: var(--ink-78); }
.never-card h3.ok { color: var(--ink-95); }
.never-card h3.no { color: var(--accent); }

/* FAQ */
.faq-list { margin-top: 8px; }
.faq-item { border-top: 0.5px solid var(--hairline-soft); }
.faq-item:last-child { border-bottom: 0.5px solid var(--hairline-soft); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  color: var(--ink-95); font-weight: 500; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 14px;
  color: var(--accent); font-size: 22px; font-weight: 300; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; font-size: 15.5px; color: var(--ink-62); max-width: 700px; }

/* Waitlist */
.waitlist form { margin-top: 8px; display: flex; flex-direction: column; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: flex; flex-direction: column; gap: 7px; font-weight: 500; font-size: 13.5px; color: var(--ink-78); }
input[type="text"], input[type="email"], textarea {
  font-family: inherit; font-size: 16px; font-weight: 300; color: var(--ink-95);
  padding: 12px 14px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 10px; /* 3:1 non-text contrast */
}
input:focus, textarea:focus { outline: 1.5px solid var(--accent); border-color: transparent; }
:is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; border: 0; padding: 0; }
.waitlist .btn-primary { align-self: flex-start; }
.form-msg { min-height: 24px; font-size: 15px; color: var(--accent); font-weight: 500; }

/* Footer */
footer { border-top: 0.5px solid var(--hairline); padding: 40px 0; font-size: 14px; color: var(--ink-45); }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.foot-inner p { margin: 6px 0 0; }
.fineprint { font-size: 12.5px; }
.foot-legal { white-space: nowrap; margin-left: 6px; }
.fineprint a { color: var(--ink-45); text-decoration: underline; text-underline-offset: 2px; }
.fineprint a:hover { color: var(--ink-95); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in, .reveal-now { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .demo-table tr { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 52px 0 56px; }
  .grid3, .grid2, .row2, .demo-results, .d2closegrid { grid-template-columns: 1fr; }
  .d2docrow { grid-template-columns: 1fr; justify-items: center; }
  .d2docrow .d2parsecol { width: 100%; }
  .d2stacklegend { gap: 6px 14px; font-size: 11px; }
  .demo-counters { grid-template-columns: repeat(2, 1fr); }
  .hero-strip { grid-template-columns: 1fr; gap: 8px; }

  /* One row: brand left, hamburger right. The old wrap-to-two-rows layout is gone. */
  .nav-inner { height: 64px; }
  .wordmark-img { height: 36px; }
  .chip { font-size: 12px; padding: 5px 12px; }
  .chip-hero { font-size: 12px; padding: 6px 14px; letter-spacing: 2px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: transparent; border: 0; cursor: pointer; border-radius: 10px;
  }
  .nav-toggle-bar {
    display: block; height: 2px; width: 100%; border-radius: 2px;
    background: var(--ink-95); transition: transform .2s ease, opacity .2s ease;
  }
  .nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 9, 7, 0.97); backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--hairline);
    padding: 8px 24px 16px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 16px; padding: 13px 0; border-bottom: 0.5px solid var(--hairline-soft); }
  .nav-links a.btn-primary { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Build marker. Do not remove; see the security registry in the vault. */
.d2-wg4-ca49f8 { --wg4: 1; }
