/* Napi website — "Warm Site" theme (napi/docs/THEME.md): stone ground with a warm haze,
   white very-rounded cards, orange brand accent, black selected states, amber / coral
   chart series, hatched remainders. Motion tokens are the office app's (UX_MOTION.md). */
:root {
  --ground: #ECEBE8; --ground-2: #F7F7F5; --card: #FFFFFF;
  --ground-warm: linear-gradient(180deg, #ECEBE8 0%, #EFE9DF 55%, #F1DFC3 100%);
  --soft: #F4F3F0; --ink: #1C1C1E; --ink-2: #55545A; --muted: #55545A; --faint: #67666C; --ink-3: #8A8990;
  --line: #E2E1DD; --line-soft: #ECEBE7;
  /* brand orange — fills, logo tile, key words. Text in orange uses --accent-strong (5:1 on stone)
     or --accent-head (headings ≥ 24px, 3.9:1 on stone). Never small white text on orange. */
  --accent: #EE6B2D; --accent-hover: #DD5E22; --accent-strong: #A9450F; --accent-head: #C2501A; --accent-ink: #7A3A10;
  --accent-2: #F2A93B; --accent-3: #EE8E62; /* amber + coral: chart series */
  --tint: #FCE6DA; --tint-2: #F8D3BE; --tint-3: #EFAE8A; --tint-amber: #FBEBD0;
  --select: #111111; /* the active / selected state — white text on it */
  --red: #B42318; --chip-red-bg: #FDE4E3; --danger: #E5484D;
  --ok: #3BA34A; --ok-ink: #1F6B2B; --chip-ok-bg: #E3F3E5;
  --amber: #7A3A10; --chip-amber-bg: #FCE6DA; --grey: #4A494F; --chip-grey-bg: #E6E5E1;
  --orange: #EE6B2D; /* the logo tile */
  --hatch: repeating-linear-gradient(90deg, #C9C8C4 0 1.5px, transparent 1.5px 5px);
  --hatch-warn: repeating-linear-gradient(90deg, #E2492F 0 1.5px, transparent 1.5px 5px);
  --sans: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: var(--sans);
  --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-in: cubic-bezier(.4, 0, 1, 1);
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 320ms;
  --shadow-sm: 0 1px 2px rgba(28, 28, 30, .05);
  --shadow: 0 1px 2px rgba(28, 28, 30, .04), 0 12px 32px rgba(28, 28, 30, .06);
  --shadow-lg: 0 2px 6px rgba(28, 28, 30, .05), 0 30px 60px -24px rgba(28, 28, 30, .22);
  --rad: 20px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--ground); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 500; color: var(--ink); }
h1 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: clamp(28px, 3.3vw, 44px); letter-spacing: -0.03em; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
/* grey headline with the key words in orange ("Here's your project update.") */
h1:has(strong), h2:has(strong), h1:has(.scrib), h2:has(.scrib) { color: var(--ink-2); }
h1 strong, h2 strong { font-weight: 500; color: var(--accent-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--sans); font-size: .9em; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 0 .35em; }
.mono, .num { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(800px + 2 * var(--gutter)); }
:focus-visible { outline: 2px solid var(--select); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--select); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* ── buttons & chips (pills) ── */
.btn { --h: 44px; height: var(--h); padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: var(--card); color: var(--ink); font: 500 15px/1 var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm);
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.btn.lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
/* primary = the black "selected" pill with white text; its arrow sits in an orange disc */
.btn.primary { background: var(--select); border-color: var(--select); color: #fff; box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .55); }
.btn.primary .ico { width: 26px; height: 26px; padding: 5px; margin-right: -12px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.btn.lg.primary .ico { width: 32px; height: 32px; padding: 7px; margin-right: -16px; }
.btn.outline { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.soft { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: none; }
.btn.light { background: var(--card); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn .ico { transition: transform var(--t-fast) var(--ease-out); flex-shrink: 0; }
@media (hover: hover) {
  .btn:hover { background: #fff; color: var(--ink); border-color: var(--ink-3); box-shadow: var(--shadow); }
  .btn.primary:hover { background: #2A2A2C; border-color: #2A2A2C; color: #fff; }
  .btn.soft:hover { background: #fff; border-color: transparent; }
  .btn:hover .ico { transform: translateX(2px); }
}
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--sans); padding: 6px 11px; border-radius: 999px; white-space: nowrap; background: var(--chip-grey-bg); color: var(--grey); vertical-align: middle; letter-spacing: 0; text-transform: none; border: 1px solid transparent; }
/* status pills: Completed green / In progress orange outline / Delayed red */
.chip.green { background: var(--chip-ok-bg); color: var(--ok-ink); }
.chip.green::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.chip.amber { background: var(--card); border-color: var(--accent); color: var(--accent-strong); }
.chip.mint { background: var(--card); border-color: var(--line); color: var(--ink-2); }
.chip.red { background: var(--chip-red-bg); color: var(--red); }

/* ── header: a floating glass pill ── */
.site-head { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; pointer-events: none; }
.site-head > * { pointer-events: auto; }
.head-row { display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 10px 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.site-head .wrap.head-row { max-width: calc(var(--wrap) + 28px); width: calc(100% - 2 * max(var(--gutter) - 14px, 8px)); margin-inline: auto; }
.site-head.scrolled .head-row { background: rgba(255, 255, 255, .8); box-shadow: var(--shadow); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.logo:hover { color: var(--ink); }
.mark { display: inline-flex; align-items: center; justify-content: center; border-radius: 25%; background: var(--orange); flex-shrink: 0; }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 15px; border-radius: 999px; transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.nav-links a:hover { background: rgba(255, 255, 255, .9); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--select); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { --h: 44px; font-size: 14.5px; padding: 0 18px; }
.nav-actions .btn.primary { padding-right: 20px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: inline-flex; }
.menu-btn span { display: inline-flex; }
@media (max-width: 1000px) {
  .site-head { padding-top: 10px; }
  .head-row { gap: 12px; height: 60px; padding: 0 7px 0 14px; position: relative; }
  .menu-btn { display: inline-flex; }
  .js .nav { position: absolute; left: 0; right: 0; top: 70px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px 18px; visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity var(--t-base) var(--ease-in), transform var(--t-base) var(--ease-in), visibility 0s linear var(--t-base); }
  .js .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), visibility 0s; }
  .nav-links { flex-direction: column; margin: 0; gap: 2px; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .nav-actions { padding-top: 8px; }
  .nav-actions .btn { flex: 1; --h: 48px; }
  .no-js .menu-btn { display: none; }
  .no-js .head-row { flex-wrap: wrap; height: auto; padding-block: 10px; border-radius: 28px; }
  .no-js .nav { flex-basis: 100%; flex-wrap: wrap; }
  .no-js .nav-links { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav-links a { padding: 6px 10px; font-size: 15px; }
}

/* ── type helpers ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1.3 var(--sans); letter-spacing: 0; color: var(--ink-2); margin-bottom: 16px; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .72); box-shadow: var(--shadow-sm); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.eyebrow-link { text-decoration: none; color: var(--ink); }
.eyebrow-link:hover { color: var(--ink); background: #fff; }
.eyebrow-link .ico { transition: transform var(--t-fast) var(--ease-out); }
.eyebrow-link:hover .ico { transform: translateX(3px); }
.lede { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink-2); line-height: 1.6; margin-top: 20px; max-width: 58ch; }
.h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }

/* hand-drawn underline / oval (drawn once when it scrolls in) */
.scrib { position: relative; display: inline-block; white-space: nowrap; }
.scrib strong { font-weight: 600; position: relative; z-index: 1; }
.scrib-svg { position: absolute; pointer-events: none; overflow: visible; }
.scrib-svg path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scrib-svg.under { left: -2%; width: 104%; bottom: -.16em; height: .3em; }
.scrib-svg.under path { stroke: var(--accent); stroke-width: 3.5; }
.scrib.oval { margin-left: .35em; }
.scrib-svg.oval { left: -7%; width: 114%; top: -22%; height: 148%; }
.scrib-svg.oval path { stroke-width: 2.5; }
.scrib-svg path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .scrib-svg path { stroke-dashoffset: 1; }
.motion .in .scrib-svg path, .motion .scrib.in .scrib-svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 400ms var(--ease-out) 160ms; }

/* ── line-art (art.mjs): ink lines, warm whites, orange highlights, amber / coral series ── */
.art { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); --d-bg: var(--ground-2); }
.art text { font-family: var(--sans); fill: var(--ink); }
.i-ground { fill: none; stroke: #C9C8C4; stroke-width: 1; stroke-dasharray: 2 6; stroke-linecap: round; }
.i-sheet { fill: #fff; stroke: #3A3A3E; stroke-width: 1; stroke-linejoin: round; }
.i-sheet.alt { fill: #F4F1EC; }
.i-sheet.front { fill: #fff; stroke-width: 1.3; }
.i-line { stroke: #3A3A3E; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.i-thin { stroke: #3A3A3E; stroke-width: .8; stroke-linecap: round; fill: none; opacity: .6; }
.i-dim { stroke: var(--accent); stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
.i-dash { stroke: #3A3A3E; stroke-width: .9; stroke-dasharray: 3 4; opacity: .5; }
.i-accent { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.i-mint { fill: var(--tint); stroke: #3A3A3E; stroke-width: .9; stroke-linejoin: round; }
.i-slab { fill: var(--accent-2); stroke: #3A3A3E; stroke-width: 1; stroke-linejoin: round; }
.i-face { fill: #fff; stroke: #3A3A3E; stroke-width: 1.2; stroke-linejoin: round; }
.i-face.mint { fill: #EFE9DF; }
.i-face.roof { fill: var(--tint-2); }
.i-face.dark { fill: #3A3A3E; }
.i-face.tablet { fill: #EFE9DF; }
.i-face.screen { fill: #fff; stroke-width: 1; }
.i-win { fill: #DCD3C4; stroke: #3A3A3E; stroke-width: .9; }
.i-check { fill: #fff; stroke: #3A3A3E; stroke-width: .9; }
.i-check.on { fill: var(--accent); stroke: var(--accent); }
.d-flow { fill: none; stroke: #A8A7A2; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.d-flow.back { stroke: var(--accent-3); }
.d-dot { fill: #A8A7A2; }
.d-arrow { fill: none; stroke: var(--accent-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-halo { fill: none; }
.d-node { fill: #fff; stroke: var(--line); stroke-width: 1; filter: drop-shadow(0 8px 14px rgba(28, 28, 30, .06)); }
.d-core { fill: var(--accent); stroke: none; }
.d-mark { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.d-panel, .d-card { fill: #fff; stroke: var(--line); stroke-width: 1; }
.d-card { filter: drop-shadow(0 10px 18px rgba(28, 28, 30, .06)); }
.d-card.on { stroke: var(--ink); stroke-width: 1.5; }
.d-sheet { fill: #F4F1EC; stroke: #DAD8D2; stroke-width: 1; }
.d-plan { fill: #FAF8F4; stroke: #3A3A3E; stroke-width: 1.3; }
.d-plan-l { fill: none; stroke: #3A3A3E; stroke-width: 1.1; }
.d-head { fill: var(--ground); }
.d-head-t { font-size: 12.5px; font-weight: 600; fill: var(--ink-2) !important; }
.d-cell { fill: var(--ground-2); stroke: var(--line); stroke-width: 1; }
.d-pill { fill: var(--accent); }
.d-pill.soft { fill: #DAD8D2; }
.d-t { font-size: 14px; font-weight: 500; }
.d-t.lg { font-size: 16px; font-weight: 600; }
.d-t.sm { font-size: 12.5px; font-weight: 500; }
.d-t.mute { fill: var(--ink-2) !important; font-weight: 400; }
.d-t.strong { font-weight: 600; fill: var(--red) !important; }
.d-t.mono { font-variant-numeric: tabular-nums; }
.d-t.accent { fill: var(--accent-strong) !important; font-weight: 600; }
.d-eb { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: var(--accent-strong) !important; }
.d-eb.red { fill: var(--red) !important; }
.d-rule { stroke: var(--line); stroke-width: 1; }
.d-rule.soft { stroke: var(--line-soft); }
.d-rule.strong { stroke: var(--accent); stroke-width: 2; }
.d-pill-on { fill: var(--select); }
.d-pill-on-t { font-size: 13px; font-weight: 500; fill: #fff !important; }
.d-pill-off { fill: #fff; stroke: var(--line); }
.d-ico { fill: var(--tint); }
.d-ico.red { fill: var(--chip-red-bg); } .d-ico.amber { fill: var(--tint-amber); } .d-ico.grey { fill: var(--chip-grey-bg); } .d-ico.mint { fill: var(--chip-ok-bg); }
.d-ico-t { font-size: 13px; font-weight: 600; fill: var(--accent-ink) !important; }
.d-ico-t.red { fill: var(--red) !important; } .d-ico-t.amber { fill: var(--amber) !important; } .d-ico-t.grey { fill: var(--grey) !important; } .d-ico-t.mint { fill: var(--ok-ink) !important; }
.d-chip { fill: var(--chip-grey-bg); }
.d-chip.mint { fill: var(--chip-ok-bg); }
.d-chip.red { fill: var(--chip-red-bg); } .d-chip.amber { fill: #fff; stroke: var(--accent); } .d-chip.grey { fill: var(--chip-grey-bg); }
.d-chip-t { font-size: 11.5px; font-weight: 500; fill: var(--grey) !important; }
.d-chip-t.mint { fill: var(--ok-ink) !important; }
.d-chip-t.red { fill: var(--red) !important; } .d-chip-t.amber { fill: var(--accent-strong) !important; } .d-chip-t.grey { fill: var(--grey) !important; }
.d-btn { fill: var(--select); }
.d-btn-t { font-size: 13px; font-weight: 500; fill: #fff !important; }
.d-btn-o { fill: #fff; stroke: var(--line); }
.d-badge { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.d-badge.on { fill: var(--accent); stroke: var(--accent); }
.d-badge.off { fill: #fff; stroke: #C9C8C4; stroke-width: 1.5; }
.d-tick { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-tick.white { stroke: #fff; }
.d-tick.big { stroke-width: 3; }
.d-spark { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; opacity: .7; }
.d-late { fill: #fff; stroke: var(--danger); stroke-width: 2; }
.d-late-t { font-size: 13px; font-weight: 700; fill: var(--red) !important; }
.d-track { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.d-box { fill: #fff; stroke: #C9C8C4; }
.d-box.on { fill: var(--ok); stroke: var(--ok); }
.d-box.no { fill: var(--chip-red-bg); stroke: var(--danger); }
.d-x { stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.d-b1 { fill: var(--accent); } .d-b2 { fill: var(--accent-2); } .d-b3 { fill: var(--accent-3); }
.d-trk { fill: url(#n-hatch); }
.d-brk { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-dasharray: 3 3; }
.d-logo { fill: #2B4C7E; }
.d-logo-t { font-size: 17px; font-weight: 700; fill: #fff !important; }
@media (prefers-reduced-motion: no-preference) {
  .art .d-flow { animation: dash-flow 1.6s linear infinite; }
  @keyframes dash-flow { to { stroke-dashoffset: -14; } }
}

/* ── hero ── */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 24px; font-size: 13.5px; color: var(--faint); max-width: 56ch; }
.hero-note strong { color: var(--ink-2); font-weight: 600; }
.hero-art { position: relative; }
.hero-art .art { max-width: 620px; margin-left: auto; }

/* ── sections ── */
.sec { padding: calc(var(--sec) / 2) 0; }
.sec:first-of-type { padding-top: var(--sec); }
main > .sec + .sec { padding-top: calc(var(--sec) / 2); }
.sec.tight { padding: clamp(28px, 4vw, 48px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; max-width: 760px; }
.sec-head.center .lede { margin-inline: auto; }
.split .sec-head { margin-bottom: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.card.flush { padding: 0; overflow: hidden; }
.card.dashed { border-style: dashed; border-color: #D3D2CD; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.line-ico { color: var(--accent-strong); display: inline-flex; }
.line-ico .ico { stroke-width: 1.5; }
.line-ico.muted { color: var(--faint); }
.grid4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* two-column split with an art panel */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip .split-art { order: 2; }
.art-panel { position: relative; background: var(--ground-2); border-radius: 24px; padding: clamp(18px, 3vw, 36px); }
.art-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(circle, rgba(28, 28, 30, .1) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 20%, transparent 80%); }
.art-panel .art { position: relative; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(28, 28, 30, .06)); }

/* mini features */
.minis { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 48px; }
.minis::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 50%; border-left: 1px solid var(--line); }
.minis li { position: relative; }
.mini-ico { color: var(--accent-strong); display: inline-flex; margin-bottom: 12px; }
.mini-ico .ico { stroke-width: 1.5; }
.minis h3 { font-size: 16px; margin-bottom: 6px; }
.minis h3 code { font-size: .85em; }
.minis p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.lost { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.lost strong { color: var(--ink); font-weight: 600; }

/* how it works */
.steps-wrap { position: relative; }
.steps-line { display: block; width: calc(100% - 40px); height: 40px; margin: 0 0 8px 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.step-n { display: block; font-size: 13px; color: var(--accent-strong); font-weight: 600; margin-bottom: 12px; }
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* features: alternating rows */
.feat-list { display: flex; flex-direction: column; gap: clamp(72px, 10vw, 136px); }
.feat .eyebrow { margin-bottom: 12px; }
.feat h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.16; }
.feat-body { margin-top: 18px; color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 52ch; }
.feat-body.big { font-size: 18px; color: var(--ink-2); margin-top: 6px; }
.more { margin-top: clamp(56px, 7vw, 88px); }

/* devices */
.device-sec .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.devices { position: relative; margin: 0 auto; max-width: 1040px; padding: 0 0 0 clamp(0px, 6vw, 80px); }
.ghosts { position: absolute; inset: -40px -60px 40px; pointer-events: none; }
.ghosts i { position: absolute; height: 14px; border-radius: 7px; background: var(--line-soft); }
.ghosts i:nth-child(odd) { height: 30px; border-radius: 8px; background: transparent; border: 1px solid var(--line-soft); }
.dev-stage { position: relative; }
.laptop { position: relative; z-index: 1; }
.lid { background: #1C1C1E; border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 2.6%; position: relative; box-shadow: var(--shadow-lg); }
.cam { position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #3A3A3E; transform: translateX(-50%); }
.screen { border-radius: 4px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.base { height: 16px; margin: 0 -6%; background: linear-gradient(#DAD8D3, #BDBBB5); border-radius: 0 0 18px 18px; position: relative; }
.base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #AEACA6; border-radius: 0 0 8px 8px; }
.phone { position: absolute; z-index: 2; left: 0; bottom: -28px; width: clamp(150px, 22%, 230px); background: #1C1C1E; border-radius: 30px; padding: 9px; box-shadow: var(--shadow-lg); }
.phone-screen { background: #fff; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 18.5; min-height: 0; display: flex; flex-direction: column; }
.pdf-bar { padding: 22px 12px 8px; font-size: 10.5px; color: var(--muted); border-bottom: 1px solid var(--line-soft); background: var(--soft); text-align: center; }
.phone-screen img { width: 100%; border-bottom: 1px solid var(--line-soft); }
.skel { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.skel i { display: block; height: 7px; border-radius: 4px; background: var(--line-soft); }
.skel i:nth-child(2) { width: 70%; } .skel i:nth-child(3) { width: 85%; background: var(--tint); } .skel i:nth-child(4) { width: 50%; }
.devices figcaption { position: relative; margin-top: 56px; text-align: center; font-size: 14px; color: var(--muted); }

/* sticky heading + stacked cards */
.sticky-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-head { position: sticky; top: 112px; }
.stack-cards { display: flex; flex-direction: column; gap: 16px; }
.stack-cards .card { padding: 26px 28px; }
.stack-cards h3 { font-size: 18px; }

/* roles */
.role-card { margin: 0; padding: 6px 0 0; box-shadow: var(--shadow); }
.role-tbl { width: 100%; border-collapse: collapse; }
.role-tbl th { text-align: left; font-weight: 600; padding: 16px 12px 16px 22px; vertical-align: top; white-space: nowrap; width: 1%; font-size: 15px; }
.role-tbl td { padding: 12px 22px 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role-tbl tr + tr th, .role-tbl tr + tr td { border-top: 1px solid var(--line-soft); }
.role-card figcaption { padding: 12px 22px 16px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line-soft); }
.rchip { display: inline-flex; flex-direction: column; gap: 2px; padding: 7px 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.rchip small { font: 500 11px/1.2 var(--mono); color: var(--muted); }
.rchip.firm { background: var(--tint); border-color: var(--tint-2); color: var(--accent-ink); }
.rchip.firm small { color: var(--accent-ink); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.ticks .ico { color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }
.ticks.small li { font-size: 15px; padding: 4px 0; }
.ticks.cols { columns: 3 220px; column-gap: 24px; }
.ticks.cols li { break-inside: avoid; }

/* white label */
.wl-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.wl-list li:last-child { border-bottom: 1px solid var(--line); }
.wl-list p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.row-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.row-top h3 { margin: 0; }
.brand-mock { position: relative; padding: 4% 0 14%; }
.bm-window { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); width: 86%; }
.bm-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: var(--soft); }
.bm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D6D5D0; }
.bm-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.bm-body { display: grid; grid-template-columns: 26% 1fr; min-height: 210px; }
.bm-side { background: #2B4C7E; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.bm-logo { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: #2B4C7E; font: 700 13px/34px var(--sans); text-align: center; margin-bottom: 8px; }
.bm-side b { height: 8px; border-radius: 4px; background: rgba(255,255,255,.28); }
.bm-side b.on { background: rgba(255,255,255,.75); }
.bm-main { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bm-main b { height: 10px; border-radius: 5px; background: var(--ink-2); opacity: .8; }
.bm-main b.soft { background: var(--line); opacity: 1; }
.w60 { width: 60%; } .w40 { width: 40%; }
.bm-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.bm-rows i { height: 26px; border-radius: 7px; border: 1px solid var(--line-soft); background: var(--soft); }
.bm-btn { width: 84px; height: 22px; border-radius: 6px; background: #B45309; margin-top: 4px; }
.bm-kit { position: absolute; right: 0; bottom: 0; width: 56%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-lg); font-size: 13.5px; }
.bm-title { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.bm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line-soft); color: var(--muted); }
.bm-row .mono { color: var(--ink); font-size: 12.5px; }
.bm-row.ok { color: var(--accent-ink); font-weight: 600; }
.bm-row.ok .ico { color: var(--accent-strong); }
.sw { width: 34px; height: 18px; border-radius: 5px; }
.toggle { width: 32px; height: 18px; border-radius: 9px; background: var(--tint-2); position: relative; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }

/* trust: floating UI cards */
.float-stage { position: relative; min-height: 470px; background: var(--ground-2); border-radius: 24px; }
.float-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(circle, rgba(28, 28, 30, .1) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%); }
.fcard { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); font-size: 14px; }
.fcard.ask { left: 7%; top: 8%; width: 62%; }
.fc-top { display: flex; gap: 10px; align-items: center; }
.ava { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); font: 700 12px/32px var(--sans); text-align: center; }
.fc-top p { color: var(--muted); line-height: 1.35; }
.fc-top strong { color: var(--ink); }
.fc-item { margin: 12px 0 14px; font-size: 12.5px; background: var(--soft); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 10px; }
.fc-btns { display: flex; justify-content: flex-end; gap: 8px; }
.fc-btns span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 7px; }
.b-o { border: 1px solid var(--accent); color: var(--accent-strong); }
.b-f { background: var(--accent); color: #fff; }
.fcard.audit { right: 5%; top: 40%; width: 54%; }
.fc-title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; }
.fc-title .ico { color: var(--accent-strong); }
.fcard.audit li { font-size: 12.5px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line-soft); line-height: 1.35; }
.fcard.audit b { color: var(--ink); font-weight: 600; }
.fcard.client { left: 9%; bottom: 9%; display: flex; gap: 10px; align-items: center; }
.fcard.client .ico { color: var(--accent-strong); flex-shrink: 0; }
.fcard.client div, .fcard.toast div { display: flex; flex-direction: column; line-height: 1.3; }
.fcard.client span, .fcard.toast span { font-size: 12.5px; color: var(--muted); }
.fcard.toast { right: 8%; bottom: 4%; display: flex; gap: 10px; align-items: center; background: var(--ink); border-color: var(--ink); color: #fff; }
.fcard.toast span { color: #B5C4C1; }
.tk { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.motion .fcard { opacity: 0; transform: translateY(10px); }
.motion .in .fcard { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.motion .in .fcard.audit { transition-delay: 90ms; } .motion .in .fcard.client { transition-delay: 180ms; } .motion .in .fcard.toast { transition-delay: 270ms; }

/* AI */
.ai-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); background: var(--ground-2); border-radius: 24px; padding: clamp(28px, 5vw, 64px); }
.ai-head .eyebrow .chip { margin-left: 4px; }
.ai-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--tint-2); }
.ai-list li:first-child { border-top: 0; padding-top: 4px; }
.ai-list p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.draft-tag { flex-shrink: 0; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; border: 1.5px dashed var(--accent); color: var(--accent-ink); border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; margin-top: 1px; background: #fff; }

/* final CTA band */
.final { position: relative; overflow: hidden; background: var(--band); color: #fff; padding: clamp(64px, 9vw, 112px) 0; margin-top: calc(var(--sec) / 2); }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.final-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.final h2 { color: #fff; max-width: 16ch; font-weight: 500; }
.final p { color: #C6DEDA; margin-top: 16px; max-width: 48ch; font-size: 17px; }
.final .art { max-width: 420px; margin-left: auto; }
.cta-svg .d-flow { stroke: rgba(205, 239, 232, .55); }
.c-node { fill: rgba(255,255,255,.04); stroke: rgba(205, 239, 232, .45); stroke-width: 1.2; }
.c-bar { fill: rgba(205, 239, 232, .55); }
.c-dot { fill: var(--accent); }
.c-joint { fill: var(--tint-3); }
.c-core { fill: var(--band-2); stroke: var(--accent); stroke-width: 1.5; }
.cta-svg .d-mark { stroke: var(--tint-3); }

/* ── inner pages ── */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: 20ch; }
.head-art .art { max-width: 280px; margin-left: auto; }
.draft-note { background: var(--chip-amber-bg); color: var(--amber); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 24px; }
.draft-note code { background: rgba(255,255,255,.6); border-color: #EBD3A8; }
.draft-note.big { font-size: 15.5px; padding: 16px 20px; }

/* features page */
.fgrid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 100px; }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: 15px; transition: color var(--t-fast), border-color var(--t-fast); }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--accent-strong); }
.legend { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.legend span { display: flex; gap: 8px; align-items: center; }
.fgroups { display: flex; flex-direction: column; gap: 20px; }
.fgroup-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 22px 24px; border-bottom: 1px solid var(--line-soft); }
.fgroup-head h2 { font-size: 21px; letter-spacing: -0.01em; font-weight: 600; }
.fgroup-head p { color: var(--muted); font-size: 14px; flex-basis: 100%; order: 3; }
.fgroup-head .count { margin-left: auto; font-size: 12px; color: var(--faint); }
.frow { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 24px; border-top: 1px solid var(--line-soft); }
.frow:first-child { border-top: 0; }
.frow strong { font-weight: 600; font-size: 15.5px; }
.frow p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.fmark { color: var(--accent-strong); padding-top: 2px; display: inline-flex; }
.is-soon .fmark { color: var(--faint); }
.is-soon strong { color: var(--ink-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px 28px 28px; }
.plan h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.plan-for { color: var(--muted); font-size: 15px; min-height: 2.6em; }
.plan .price { margin: 18px 0 14px; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; font-family: var(--sans); }
.plan .ticks { margin-bottom: 24px; flex: 1; }
.plan.featured { border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.included { margin-top: 24px; background: var(--ground-2); border-color: transparent; }
.included h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.tbl-wrap { overflow-x: auto; margin-top: 20px; }
.wl-tbl { width: 100%; border-collapse: collapse; min-width: 600px; }
.wl-tbl th, .wl-tbl td { padding: 15px 20px; border-top: 1px solid var(--line-soft); text-align: center; }
.wl-tbl thead th { border-top: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; background: var(--soft); }
.wl-tbl tbody th { text-align: left; font-weight: 500; font-size: 15px; }
.wl-tbl tbody th .chip { margin-left: 6px; }
.yes { color: var(--accent-strong); display: inline-flex; }
.no { color: #B5B4AF; display: inline-flex; }
.ph { color: var(--amber); font-size: 13px; background: var(--chip-amber-bg); padding: 3px 8px; border-radius: 6px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0; color: var(--muted); max-width: 68ch; }

/* screenshots: a clean browser frame */
.shot { margin: 0; }
.frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: var(--soft); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D6D5D0; }
.frame-bar b { flex: 0 1 220px; height: 16px; margin-left: 12px; border-radius: 5px; background: #fff; border: 1px solid var(--line); }
.frame-bar span { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.frame img { width: 100%; }
.shot figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.shot.wide { max-width: 1000px; margin: 0 auto; }
.shot-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.shot-split.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }

/* consultants */
.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.type-n { font-size: 12px; color: var(--accent-strong); font-weight: 600; }
.types h3 { margin: 12px 0 6px; font-size: 16px; }
.callout { display: flex; gap: 20px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); background: var(--ground-2); border-radius: 20px; }
.callout h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.callout p { color: var(--muted); }

/* contractors */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.two > .card > h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.clist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.clist li:first-child { border-top: 0; }
.clist h3 { font-size: 16px; }
.clist p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.switch-note { margin-top: 24px; }
.center-lede { margin-inline: auto; }
.talk-btn { margin-top: 28px; }

/* about / legal prose */
.prose p { font-size: 18px; line-height: 1.75; margin-bottom: 20px; color: var(--ink-2); }
.prose h2 { font-size: 21px; font-weight: 600; margin: 36px 0 8px; letter-spacing: -0.01em; }
.prose .draft-note + h2 { margin-top: 8px; }
.prose h2 + p { font-size: 16px; color: var(--muted); }
.principles { margin-top: 12px; }
.principles li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.principles .mono { color: var(--accent-strong); font-weight: 600; font-size: 14px; padding-top: 2px; }
.principles p { color: var(--muted); margin-top: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cform { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); }
.fgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); height: 48px; border: 1px solid #D3D2CD; border-radius: 10px; padding: 0 12px; background: #fff; width: 100%; transition: border-color var(--t-fast); }
.field textarea { height: auto; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--select); outline-offset: 1px; border-color: var(--accent-strong); }
.field.invalid input { border-color: var(--red); }
.field .err { color: var(--red); font-weight: 500; font-size: 13px; }
.req { color: var(--red); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot p { flex: 1 1 220px; }
.form-msg { background: var(--chip-amber-bg); color: var(--amber); border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 500; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .card p { margin-top: 12px; }
.contact-side .email { color: var(--ink); font-size: 15px; margin-top: 4px; word-break: break-all; }

/* 404 */
.nf { padding-bottom: 120px; }
.nf-art .art { width: 240px; margin: 0 auto 28px; }
.nf h1 { margin-inline: auto; }
.nf .lede { margin-inline: auto; }
.nf p .btn { margin-top: 28px; }

/* ── footer (dark) ── */
.site-foot { background: var(--foot); color: #C2CFCC; padding: 72px 0 32px; font-size: 15px; }
.final + .site-foot, main:has(> .final:last-child) + .site-foot { border-top: 1px solid rgba(255,255,255,.06); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot .logo { color: #fff; }
.foot-brand p { color: #A9B9B6; margin-top: 16px; max-width: 40ch; }
.foot-brand .built { color: #fff; font-weight: 600; }
.foot-cta { margin-top: 24px !important; }
.site-foot nav { display: flex; flex-direction: column; gap: 10px; }
.site-foot h2 { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.site-foot nav a { color: #C2CFCC; text-decoration: none; }
.site-foot nav a:hover { color: #fff; text-decoration: underline; }
.site-foot :focus-visible { outline-color: var(--tint-3); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #93A5A1; font-size: 13px; }

/* ── motion: reveal on scroll (UX_MOTION pattern 1 + 3) ── */
.motion .reveal { opacity: 0; transform: translateY(14px); }
.motion .reveal.in { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
@media (hover: hover) {
  .stack-cards > .card, .grid4 > .card, .types > .card, .plan { transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), opacity var(--t-slow) var(--ease-out); }
  .stack-cards > .card:hover, .grid4 > .card:hover, .types > .card:hover, .plan:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
}

/* ── responsive ── */
@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split.flip, .shot-split, .shot-split.flip, .sticky-split, .ai-box, .contact-grid, .two, .final-inner, .head-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .split.flip .split-art { order: 0; }
  .split { gap: 32px; }
  .hero h1 { max-width: 18ch; }
  .hero-art .art { margin: 0 auto; max-width: 520px; }
  .sticky-head { position: static; }
  .steps-line { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { padding: 22px 0; border-top: 1px solid var(--line); }
  .head-art { display: none; }
  .fgrid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a, .toc a:hover, .toc a.on { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; background: #fff; }
  .toc a.on { border-color: var(--accent-strong); color: var(--accent-strong); }
  .legend { flex-direction: row; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .plan-for { min-height: 0; }
  .final-art { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .devices { padding-left: 0; }
  .phone { left: 0; width: 30%; bottom: -36px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid4, .types, .fgrid2 { grid-template-columns: minmax(0, 1fr); }
  .minis { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .minis::before { display: none; }
  .minis li + li { padding-top: 24px; border-top: 1px solid var(--line-soft); }
  .cta-row .btn { flex: 1 1 100%; }
  .art-panel { border-radius: 18px; padding: 14px; }
  .frow { grid-template-columns: 22px minmax(0, 1fr); }
  .frow > .chip { grid-column: 2; justify-self: start; }
  .role-tbl tr { display: block; padding: 4px 0; }
  .role-tbl tr + tr { border-top: 1px solid var(--line-soft); }
  .role-tbl th, .role-tbl td, .role-tbl tr + tr th, .role-tbl tr + tr td { display: block; width: auto; border: 0; padding: 10px 18px 0; }
  .role-tbl td { display: flex; padding-bottom: 12px; }
  .row-top { flex-wrap: wrap; }
  .callout { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .frame-bar { height: 24px; }
  .frame-bar b { display: none; }
  .wl-tbl { min-width: 0; }
  .wl-tbl thead { display: none; }
  .wl-tbl tr { display: block; padding: 14px 18px; border-top: 1px solid var(--line-soft); }
  .wl-tbl tbody tr:first-child { border-top: 0; }
  .wl-tbl tbody th, .wl-tbl td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 4px 0; text-align: left; }
  .wl-tbl tbody th { display: block; padding-bottom: 8px; }
  .wl-tbl td::before { content: attr(data-label); font-size: 14px; color: var(--muted); }
  /* floating cards stack on a phone */
  .float-stage { min-height: 0; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .fcard, .fcard.ask, .fcard.audit, .fcard.client, .fcard.toast { position: relative; inset: auto; width: auto; }
  .fcard.toast { align-self: flex-end; }
  .brand-mock { padding: 0; }
  .bm-window { width: 100%; }
  .bm-kit { position: relative; width: 88%; margin: -40px 0 0 auto; }
  .ghosts { display: none; }
  .laptop { margin: 0 4%; }
  .base { margin: 0 -4%; }
  .phone { width: 27%; bottom: -18px; border-radius: 18px; padding: 5px; }
  .phone-screen { aspect-ratio: 9 / 16; }
  .phone-screen { border-radius: 15px; }
  .pdf-bar { padding: 12px 6px 6px; font-size: 8.5px; }
  .devices figcaption { margin-top: 40px; }
  .scrib.under { white-space: normal; }
}

/* ── reduced motion: no movement, state still reads ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .reveal, .fcard { opacity: 1 !important; transform: none !important; }
  .scrib-svg path, .d-draw { stroke-dashoffset: 0 !important; }
  .px { transform: none !important; }
  .js .nav { transform: none !important; }
  .btn:active { transform: none; }
}
@media print { .site-head, .final, .site-foot, .rail { display: none; } .reveal, .fcard, .ch-media { opacity: 1 !important; transform: none !important; } .scrib-svg path, .d-draw { stroke-dashoffset: 0 !important; } }

/* contractors: coming-soon card below the two available cards */
.soon-wrap { margin-top: 28px; }
.soon-wrap h2 { font-size: 1.25rem; }

/* ═════════════════════ story-led redesign (2026-10-08 · v3) ═════════════════════ */

/* parallax layers: transform only, written by site.js; never transitioned */
.px { will-change: transform; }
.px-stage { position: relative; }

/* reading progress in the header */
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.no-js .read-progress { display: none; }

/* connectors drawing in (art.mjs masks every .d-flow with a .d-draw twin) */
.d-draw { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .d-draw { stroke-dashoffset: 1; }
.motion .in .d-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out) 120ms; }
.d-now { fill: var(--accent); }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13.5px; margin-bottom: 22px; }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #A8A7A2; border-top: 1.5px solid #A8A7A2; transform: rotate(45deg); margin: 0 12px 0 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 500; }

/* inner page head: slow dotted grid behind, layered sheets in front */
.page-head { position: relative; overflow: hidden; }
.ph-bg { position: absolute; inset: -80px -10% -80px 40%; pointer-events: none;
  background-image: radial-gradient(circle, rgba(28, 28, 30, .1) 1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 60% 50%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 60% 50%, #000 15%, transparent 75%); }
.page-head .wrap { position: relative; }
.head-grid { grid-template-columns: minmax(0, 1fr) 320px; }
.head-art .art { max-width: 300px; }

/* hero: layered */
.hero { position: relative; overflow-x: clip; }
.hero-bg { position: absolute; inset: 4% -6% 0 4%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--ground-2), rgba(247, 247, 245, 0) 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(28, 28, 30, .1) 1px, transparent 1.5px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.hero-art .art { position: relative; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hero-float small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.hero-float strong { display: block; font-weight: 600; }
.hf-ico { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--accent-ink); font-weight: 700; flex-shrink: 0; }
.hf-ico.red { background: var(--chip-red-bg); color: var(--red); }
.f-late { left: 0; top: 12%; }
.f-ok { right: 2%; bottom: 6%; }
.hero-story { margin-top: 18px; }
.hero-story a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.hero-story a .ico { transform: rotate(90deg); transition: transform var(--t-fast) var(--ease-out); }
.hero-story a:hover .ico { transform: rotate(90deg) translateX(2px); }

/* ── the story (a week at a consultancy; also the role journeys) ── */
.story-sec { position: relative; }
.cast-wrap { max-width: 1080px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.cast-label { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.cast { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; text-align: left; }
.cast li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.cast strong { display: block; font-size: 15px; }
.cast-role { display: block; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); }
.cast-note { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.cast-foot { font-size: 13px; color: var(--faint); margin-top: 14px; }
.ava.lg { width: 40px; height: 40px; font-size: 13px; line-height: 40px; }
.ava.sm { width: 24px; height: 24px; font-size: 10px; line-height: 24px; }

.story { display: grid; grid-template-columns: minmax(0, 1fr); }
.rail { position: sticky; top: 64px; z-index: 20; margin: 0 calc(-1 * var(--gutter)) 8px; padding: 10px var(--gutter) 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rail ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.rail ol::-webkit-scrollbar { display: none; }
.rail a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 13.5px; font-weight: 500; white-space: nowrap; background: #fff; transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.rail .r-day { font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.rail a[aria-current="step"] { background: var(--accent); border-color: var(--accent-strong); color: #fff; }
.rail a[aria-current="step"] .r-day { color: var(--tint-2); }
.rail-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line-soft); }
.rail-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.chapter { padding: 28px 0 16px; scroll-margin-top: 130px; }
.ch-when { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.ch-day { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--tint); color: var(--accent-ink); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.chapter .eyebrow { margin-bottom: 10px; }
.chapter h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; }
.ch-body { margin-top: 16px; color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 54ch; }
.ch-feature { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--tint-3); font-size: 14.5px; color: var(--muted); max-width: 54ch; }
.ch-feature .ico { color: var(--accent-strong); }
.ch-feature a { font-weight: 600; text-decoration: none; }
.ch-feature a:hover { text-decoration: underline; }
.ch-media { margin: 8px 0 24px; }
.ch-media .art-panel .art { max-width: 500px; }
.ch-media .shot { margin: 0; }

@media (min-width: 1000px) {
  .story { grid-template-columns: 150px minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: repeat(var(--n), auto); column-gap: clamp(32px, 4vw, 64px); }
  .rail { grid-column: 1; grid-row: 1 / -1; align-self: start; top: 120px; margin: 0; padding: 0 0 0 18px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rail ol { flex-direction: column; gap: 2px; overflow: visible; padding: 0; }
  .rail a { border: 0; background: none; padding: 9px 10px; border-radius: 10px; width: 100%; gap: 10px; }
  .rail a:hover { background: var(--ground-2); }
  .rail a[aria-current="step"] { background: var(--tint); color: var(--accent-ink); }
  .rail a[aria-current="step"] .r-day { color: var(--accent-strong); }
  .rail .r-day { width: 30px; }
  .rail-track { left: 0; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .rail-fill { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .chapter { grid-column: 2; grid-row: var(--r); padding: 56px 0; }
  .ch-media { grid-column: 3; grid-row: var(--r); align-self: center; margin: 0; }
  /* motion on: the visuals stack in one pinned column and swap per chapter */
  .motion .story .chapter { min-height: 78vh; display: flex; align-items: center; }
  .motion .story .ch-media { grid-row: 1 / -1; align-self: start; position: sticky; top: max(100px, calc(50vh - 270px)); opacity: 0; transform: translateY(18px) scale(.985); transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-out); pointer-events: none; }
  .motion .story .ch-media.on { opacity: 1; transform: none; pointer-events: auto; }
  .motion .story .ch-inner { border-left: 2px solid var(--line-soft); padding-left: 28px; transition: border-color var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
  .motion .story .chapter.on .ch-inner { border-left-color: var(--accent-strong); }
}

/* client view mock (story, Friday) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px; }
.phone-mock { max-width: 340px; margin: 0 auto; border-radius: 28px; padding: 18px 18px 20px; border: 8px solid var(--ink); box-shadow: var(--shadow-lg); }
.pm-bar { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.pm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pm-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.pm-label { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.pm-progress { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.pm-track { flex: 1; height: 10px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.pm-track i { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: inherit; transform-origin: 0 50%; }
.motion .pm-track i { transform: scaleX(0); }
.motion .in .pm-track i { transform: none; transition: transform 700ms var(--ease-out) 150ms; }
.pm-progress b { font-size: 18px; color: var(--accent-ink); }
.pm-rows { margin-top: 16px; }
.pm-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.pm-rows div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pm-rows strong { font-size: 13.5px; }
.pm-rows span { font-size: 12.5px; color: var(--muted); }
.pm-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--tint); color: var(--accent-ink); display: inline-flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
.pm-ok { color: var(--accent-strong); flex-shrink: 0; }
.pm-hidden { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 8px 10px; }

/* ── how AI helps ── */
.ai-sec { background: linear-gradient(180deg, #fff 0, var(--ground-2) 140px, var(--ground-2) calc(100% - 140px), #fff 100%); }
.ai-rules { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px auto clamp(40px, 6vw, 64px); max-width: 900px; }
.ai-rules li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--tint-2); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 600; color: var(--accent-ink); }
.ai-stories { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 32px); }
.ai-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.5vw, 44px); }
.ai-story.flip .ai-copy { order: 2; }
.ai-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 4px; }
.ai-meta .eyebrow { margin: 0; }
.ai-copy h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.018em; margin-top: 10px; line-height: 1.2; }
.ai-copy > p { color: var(--muted); margin-top: 14px; font-size: 16px; line-height: 1.65; }
.ai-sub { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px !important; color: var(--ink-2) !important; margin-top: 16px !important; }
.ai-sub .ico { color: var(--faint); }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1.15fr); align-items: center; gap: 8px; background: var(--ground-2); border-radius: 18px; padding: clamp(14px, 2vw, 22px); }
.ba-label { font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ba-arrow { display: flex; justify-content: center; color: var(--accent-strong); }
.ba-arrow svg { width: 52px; height: 24px; overflow: visible; }
.ba-path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .ba .ba-path { stroke-dashoffset: 1; }
.motion .ba.in .ba-path { stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease-out) 250ms; }
.motion .ba .out-card { opacity: 0; transform: translateX(-10px); }
.motion .ba.in .out-card { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out) 520ms, transform 420ms var(--ease-out) 520ms; }
.in-note { padding: 12px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo { aspect-ratio: 4 / 3; border-radius: 8px; display: flex !important; align-items: center; justify-content: center; background: linear-gradient(135deg, #CDB896, #9A8262); overflow: hidden; }
.photo svg { width: 80%; height: auto; }
.photo path { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.6; stroke-linecap: round; }
.photo.p2 { background: linear-gradient(135deg, #D9A383, #A9694A); } .photo.p3 { background: linear-gradient(135deg, #A8A7A2, #66727B); }
.bubble { margin-top: 10px; background: var(--tint); border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.6; color: var(--ink); font-family: var(--sans), 'Noto Sans Devanagari', 'Kohinoor Devanagari', sans-serif; }
.in-note .meta { font-size: 11px; color: var(--muted); margin-top: 6px; }
.in-pile { padding: 8px; display: flex; flex-direction: column; gap: 6px; background: transparent; border: 0; box-shadow: none; }
.in-pile li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; color: var(--ink-2); transform: rotate(calc((var(--k) - 1.5) * 1.2deg)); box-shadow: var(--shadow-sm); }
.in-pile .ico, .in-list .ico { color: var(--faint); flex-shrink: 0; }
.in-list { padding: 6px 12px; }
.in-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; color: var(--ink-2); }
.in-list li + li { border-top: 1px solid var(--line-soft); }
.in-list .ico { color: var(--accent-strong); }
.in-prompt { display: flex; gap: 10px; align-items: flex-start; padding: 14px; font-size: 14.5px; color: var(--ink); }
.in-prompt .caret { color: var(--accent-strong); margin-top: 2px; }
.out-card { padding: 14px; border-color: var(--tint-3); }
.out-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.out-top .ai-tag { order: -1; }
.out-top strong { font-size: 14px; }
.ai-tag { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; border: 1.5px dashed var(--accent); color: var(--accent-ink); background: var(--ground-2); border-radius: 6px; padding: 3px 7px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.out-card dl div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.out-card dt { color: var(--muted); }
.out-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.slip li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.slip .n { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.slip strong { display: block; font-size: 13px; }
.slip span:not(.n) { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.msg { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.acts { display: flex; gap: 6px; margin-top: 10px; justify-content: flex-end; flex-wrap: wrap; }
.acts span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-2); }
.acts .go { background: var(--accent); border-color: var(--accent-strong); color: #fff; }
.cl li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; border-top: 1px solid var(--line-soft); }
.cl .box { width: 16px; height: 16px; border: 1.5px solid #A8A7A2; border-radius: 4px; flex-shrink: 0; }

/* ── features page: by role ── */
.jump { position: sticky; top: 72px; z-index: 15; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 10px 0; margin-bottom: 24px; }
.jump ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: #fff; transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.jump a:hover, .jump a.on { border-color: var(--accent-strong); background: var(--ground-2); color: var(--accent-ink); }
.jump .jump-all { padding-left: 12px; color: var(--accent-strong); }
.role-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.role-story { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); scroll-margin-top: 140px; }
.rs-top { display: flex; align-items: center; gap: 12px; }
.rs-who { font-weight: 600; }
.rs-role { font-size: 13.5px; color: var(--accent-ink); font-weight: 500; }
.role-story h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 500; letter-spacing: -0.015em; margin-top: 18px; line-height: 1.25; }
.rs-body { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.rs-uses { font: 600 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 20px; margin-bottom: 10px; }
.uses { display: flex; flex-wrap: wrap; gap: 6px; }
.use { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--ground-2); border: 1px solid var(--tint-2); color: var(--accent-ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.use .ico { flex-shrink: 0; }
.use.soon { background: #fff; border-style: dashed; border-color: #EBA982; color: var(--amber); }
.use:hover { border-color: var(--accent-strong); }
.use.soon:hover { border-color: var(--amber); }

/* ── pricing: comparison + accordion ── */
.cmp-note { margin-bottom: 18px; max-width: 70ch; }
.tbl-wrap { overflow-x: auto; }
.cmp-tbl { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.cmp-tbl thead th { position: sticky; top: 0; background: var(--soft); font-size: 14px; font-weight: 600; padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-tbl thead th:first-child { text-align: left; }
.cmp-tbl thead th.hot { color: var(--accent-ink); box-shadow: inset 0 3px 0 var(--accent); background: var(--ground-2); }
.cmp-tbl tbody th { text-align: left; font-weight: 500; padding: 13px 14px 13px 20px; color: var(--ink-2); }
.cmp-tbl td { text-align: center; padding: 13px 14px; }
.cmp-tbl tbody tr + tr th, .cmp-tbl tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.cmp-tbl tr.grp th { background: #fff; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); padding: 22px 20px 8px; border-top: 1px solid var(--line); }
.cmp-tbl tbody:first-of-type tr.grp th { border-top: 0; }
.cmp-tbl .yes { color: var(--accent-strong); display: inline-flex; }
.cmp-tbl .no { color: #A8A7A2; display: inline-flex; }
.cmp-tbl .ph { font-size: 13px; color: var(--ink-2); background: var(--chip-amber-bg); border-radius: 6px; padding: 2px 6px; }
.cmp-tbl th .chip { margin-left: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq-ico { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -0.9px 0 0 -5.5px; background: var(--accent); border-radius: 1px; }
.faq-ico::after { transform: rotate(90deg); transition: transform var(--t-base) var(--ease-out); }
details[open] .faq-ico { background: var(--tint); border-color: var(--tint-2); }
details[open] .faq-ico::after { transform: rotate(0deg); }
.faq-a { padding: 0 4px 22px; color: var(--muted); max-width: 64ch; }
.motion details[open] .faq-a { animation: faq-in var(--t-slow) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ── contractors: journey mocks ── */
.k-mock { max-width: 380px; margin: 0 auto; padding: 18px; }
.k-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.k-head strong { font-size: 15px; }
.k-site { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 12px; }
.k-mock dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.k-mock dt { color: var(--muted); }
.k-mock dd { margin: 0; font-weight: 600; }
.k-note { font-size: 13px; color: var(--muted); background: var(--soft); border-radius: 8px; padding: 8px 10px; margin-top: 12px; }
.k-btn { display: block; text-align: center; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; border-radius: 9px; padding: 10px; margin-top: 14px; }
.k-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 12px; }
.k-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); text-align: center; }
.k-steps i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #C9C8C4; background: #fff; position: relative; z-index: 1; }
.k-steps li.done i { background: var(--accent); border-color: var(--accent-strong); }
.k-steps li.now i { border-color: var(--accent-strong); box-shadow: 0 0 0 4px var(--tint); }
.k-steps li + li::before { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--accent); }
.k-steps li.now::before { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); }
.k-steps li.done span, .k-steps li.now span { color: var(--ink-2); font-weight: 600; }
.k-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 0; color: var(--ink-2); }
.k-line .ico { color: var(--accent-strong); }
.k-ledger { margin-top: 10px; background: var(--soft); border-radius: 10px; padding: 4px 12px; }
.k-ledger li { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; }
.k-ledger li + li { border-top: 1px solid var(--line); }
.k-ledger .in { color: var(--accent-ink); } .k-ledger .out { color: var(--red); }
.k-tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.k-tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 0; }
.k-tbl th:last-child, .k-tbl td:last-child { text-align: right; }
.k-tbl td { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.k-tbl tr.low td { font-weight: 600; color: var(--accent-ink); }
.k-po { display: flex; align-items: center; gap: 8px; margin-top: 12px; background: var(--ground-2); border: 1px solid var(--tint-2); color: var(--accent-ink); border-radius: 9px; padding: 9px 12px; font-size: 13px; font-weight: 600; }

/* ── about ── */
.glyph-stage { position: relative; height: 240px; }
.glyph { position: absolute; left: -24px; top: 50%; margin-top: -0.55em; font-size: 120px; line-height: 1.2; font-weight: 600; color: var(--tint); letter-spacing: -0.02em; font-family: 'Noto Sans Devanagari', 'Kohinoor Devanagari', var(--sans); white-space: nowrap; }
.glyph-art { position: absolute; right: 0; top: 30px; width: 190px; }
.glyph-art .art { max-width: 220px; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: why; position: relative; }
.why li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; }
.why-n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--tint); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.why h3 { margin-top: 16px; font-size: 19px; }
.why p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.why-close { max-width: 720px; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

/* ── contact ── */
.form-flag { display: flex; align-items: center; gap: 8px; background: var(--chip-amber-bg); color: var(--amber); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.form-flag .ico { flex-shrink: 0; }
.topics { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.topics legend { font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; cursor: pointer; background: #fff; transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.topic span:hover { border-color: var(--accent-strong); }
.topic input:checked + span { background: var(--accent); border-color: var(--accent-strong); color: #fff; font-weight: 600; }
.topic input:focus-visible + span { outline: 2px solid var(--select); outline-offset: 3px; }
.next h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.next ol { margin-top: 14px; }
.next li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.next li span { color: var(--accent-strong); font-size: 13px; font-weight: 600; margin-top: 2px; }
.next li p { margin: 0 !important; font-size: 14.5px; color: var(--ink-2); }

/* ── legal ── */
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 56px; align-items: start; }
.legal-toc ul { border-left: 2px solid var(--line-soft); }
.legal-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-toc a:hover, .legal-toc a.on { color: var(--accent-ink); border-left-color: var(--accent-strong); }
.prose h2[id] { scroll-margin-top: 100px; }

/* ── 404 ── */
.nf { text-align: center; }
.nf .ph-bg { inset: -60px 0 -60px 0; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000 10%, transparent 75%); }
.nf-home .btn { margin-top: 28px; }
.nf { padding-bottom: clamp(32px, 5vw, 64px); }
.nf-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.nf-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.nf-links strong { font-size: 16px; }
.nf-links span { grid-column: 1; font-size: 14px; color: var(--muted); }
.nf-links .ico { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent-strong); }
.nf-links a:hover { border-color: var(--accent-strong); box-shadow: var(--shadow); transform: translateY(-1px); }

/* final band: a slow layer of dots */
.final::before { display: none; }
.final-bg { position: absolute; inset: -120px 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000); mask-image: linear-gradient(90deg, transparent 25%, #000); }

/* ── responsive (v3) ── */
@media (max-width: 1100px) {
  .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .chapter { padding-top: 36px; }
  .chapter:first-of-type { padding-top: 20px; }
  .ai-story, .ai-story.flip { grid-template-columns: minmax(0, 1fr); }
  .ai-story.flip .ai-copy { order: 0; }
}
@media (max-width: 900px) {
  .hero-float { font-size: 12px; padding: 8px 10px; }
  .f-late { top: 4%; }
  .role-cards { grid-template-columns: minmax(0, 1fr); }
  .why { grid-template-columns: minmax(0, 1fr); }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .legal-toc { position: static; }
  .legal-toc ul { border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin: 0; font-size: 13.5px; }
  .ph-bg { inset: -40px -20% -40px 20%; }
  .jump { top: 64px; }
}
@media (max-width: 640px) {
  .cast { grid-template-columns: minmax(0, 1fr); }
  .cast li { padding: 12px; }
  .ba { grid-template-columns: minmax(0, 1fr); }
  .ba-arrow { transform: rotate(90deg); height: 40px; }
  .motion .ba .out-card { transform: translateY(-10px); }
  .ai-rules li { font-size: 13.5px; }
  .nf-links { grid-template-columns: minmax(0, 1fr); }
  .f-ok { right: 0; bottom: 0; }
  .hero-float small { display: none; }
  .phone-mock { border-width: 6px; }
  .ch-body { font-size: 16px; }
}
/* localisation cards: two columns beside the pinned heading */
@media (min-width: 641px) {
  .loc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .loc-cards .card { padding: 22px; }
  .loc-cards h3 { font-size: 16.5px; }
}
@media (min-width: 901px) { .sticky-split:has(.loc-cards) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* ═════════════════════ Warm Site theme (2026-10-08 · v4) — napi/docs/THEME.md ═════════════════════
   Overrides the v3 rules above (same selectors, later wins) and adds the app's components. */

/* surfaces */
.card { border: 0; border-radius: var(--rad); box-shadow: var(--shadow); }
.card.dashed { border: 1.5px dashed #CFCDC7; box-shadow: none; background: rgba(255, 255, 255, .55); }
.card.flush { border-radius: var(--rad); }
.line-ico { width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--tint); color: var(--accent-ink); }
.line-ico.muted { background: var(--chip-grey-bg); color: var(--ink-2); }
.line-ico .ico { stroke-width: 1.7; }
.mini-ico { width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--accent-strong); box-shadow: var(--shadow-sm); }
.minis::before { border-left-color: #D9D7D2; }
.lost { border-top-color: #D9D7D2; color: var(--ink-2); }
.art-panel { background: linear-gradient(180deg, #F4F3F0 0%, #F1E8DA 100%); border-radius: 28px; }
.art-panel::before { display: none; }
.art-panel .art { filter: none; }
.read-progress { position: fixed; top: 0; bottom: auto; height: 3px; background: var(--accent); z-index: 60; }
.step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--select); color: #fff; font-weight: 500; }
.step h3 { font-size: 21px; }
.steps-line .d-badge.on { fill: var(--select); stroke: var(--select); }
.ticks .ico { color: var(--ok); }
.chip.green .ico { color: var(--ok); }

/* hero: haze + a building under construction with a glass card floating over it */
.hero { background: linear-gradient(180deg, var(--ground) 0%, #EFE9DF 60%, #F1DFC3 100%); padding-top: clamp(28px, 4vw, 56px); margin-bottom: 0; }
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.hero h1 { max-width: 14ch; }
.scrib-svg.under path { stroke: var(--accent-2); stroke-width: 4; }
.hero-art { position: relative; padding: 64px 10px 48px; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 36px; background: linear-gradient(180deg, #F6F3EE 0%, #F3E6D0 62%, #EFD3A9 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.hero-bg { inset: 8% 4% auto auto; width: 46%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 236, 205, .95), rgba(255, 236, 205, 0)); }
.hero-bg::after { display: none; }
.hero-art .art { max-width: 640px; margin: 0 auto; }
.hero-ctx { position: absolute; left: 22px; top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-glass-wrap { position: absolute; left: -44px; bottom: -6%; width: min(310px, 54%); z-index: 2; }
.hero-glass { padding: 18px 20px 16px; }
.hero-glass .n-big { font-size: 52px; margin: 6px 0 12px; }
.hg-when { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.hero-float { border: 0; border-radius: 18px; box-shadow: var(--shadow); font-weight: 500; }
.hero-float strong { font-weight: 600; }
.hf-ico { background: var(--chip-ok-bg); color: var(--ok-ink); }
.f-ok { right: -22px; top: 16px; bottom: auto; }
@media (max-width: 1240px) { .hero-ctx .n-pill:last-child { display: none; } }
.motion .hero-glass { opacity: 0; transform: translateY(12px); }
.motion .in .hero-glass { opacity: 1; transform: none; transition: opacity 480ms var(--ease-out) 380ms, transform 520ms var(--ease-out) 380ms; }

/* building (art.mjs heroArt): warm render with soft edges */
.building polygon { stroke: rgba(28, 28, 30, .14); stroke-width: .6; stroke-linejoin: round; }
.h-plate { fill: #E6DCCB; stroke: none !important; }
.h-shadow { fill: rgba(122, 84, 40, .12); stroke: none !important; }
.h-grid { stroke: rgba(122, 84, 40, .1); stroke-width: 1; }
.h-wall.l { fill: #FBF7F1; } .h-wall.r { fill: #E8DDCC; } .h-wall.t { fill: #F3EDE3; }
.h-slab.l { fill: #EDE6DA; } .h-slab.r { fill: #D7CBB8; } .h-slab.t { fill: #F6F1EA; }
.h-win.l { fill: #CFC2AF; } .h-win.r { fill: #B9AA94; }
.h-door { fill: #6E5E4A; }
.h-col.l { fill: #E4E1DB; } .h-col.r { fill: #C9C4BB; } .h-col.t { fill: #F2F0EC; }
.h-form.l { fill: #F2A93B; } .h-form.r { fill: #D98F22; } .h-form.t { fill: #F5C77A; }
.h-rebar { stroke: #7A5A3A; stroke-width: .8; opacity: .55; }
.h-crane.l { fill: #EE6B2D; } .h-crane.r { fill: #C9551F; } .h-crane.t { fill: #F48A55; }
.h-lat { stroke: rgba(255, 255, 255, .55); stroke-width: .7; }
.h-weight.l { fill: #55545A; } .h-weight.r { fill: #3A3A3E; } .h-weight.t { fill: #6E6D73; }
.h-cab.l { fill: #FBF7F1; } .h-cab.r { fill: #DCD2C2; } .h-cab.t { fill: #EE6B2D; }
.h-cable { stroke: #3A3A3E; stroke-width: .9; opacity: .7; }
.h-load.l { fill: #8A6A48; } .h-load.r { fill: #6E5238; } .h-load.t { fill: #A4825E; }
.h-net { fill: rgba(238, 107, 45, .07); stroke: rgba(238, 107, 45, .35) !important; stroke-width: .8 !important; }
.h-scaf { stroke: #6E6D73; stroke-width: 1; stroke-linecap: round; opacity: .8; }
.h-scaf.a { stroke: #EE6B2D; opacity: 1; stroke-width: 1.2; }
.h-scaf.t { opacity: .45; }
.h-cabin.l { fill: #3A3A3E; } .h-cabin.r { fill: #2A2A2D; } .h-cabin.t { fill: #55545A; }
.h-pallet.l { fill: #B89A74; } .h-pallet.r { fill: #9C7F5B; } .h-pallet.t { fill: #CDB291; }
.h-bricks.l { fill: #EE8E62; } .h-bricks.r { fill: #D06D43; } .h-bricks.t { fill: #F4A989; }
.h-bags.l { fill: #EFEAE1; } .h-bags.r { fill: #D9D2C6; } .h-bags.t { fill: #F7F4EE; }

/* ── components (ui.mjs) ── */
.n-card { background: #fff; border-radius: var(--rad); box-shadow: var(--shadow); padding: 18px; }
.n-glass { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .8); border-radius: 24px; box-shadow: 0 1px 2px rgba(28, 28, 30, .04), 0 18px 40px -12px rgba(28, 28, 30, .18); }
.n-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.n-label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.n-ibs { display: inline-flex; gap: 6px; }
.n-big { display: block; font-weight: 400; font-size: 48px; line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 6px; }
.n-big small { font-size: .42em; letter-spacing: 0; color: var(--ink-2); font-weight: 400; }
.n-ib { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line); }
.n-ib.dark { background: var(--select); color: #fff; box-shadow: none; }
.n-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; }
.n-pill.progress { background: #fff; border-color: var(--accent); color: var(--accent-strong); }
.n-pill.done { background: var(--chip-ok-bg); color: var(--ok-ink); }
.n-pill.done::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.n-pill.late { background: var(--chip-red-bg); color: var(--red); }
.n-pill.grey { background: #fff; color: var(--ink-2); border-color: var(--line); }
.n-pill.glass { background: rgba(255, 255, 255, .7); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; padding: 7px 13px; box-shadow: var(--shadow-sm); }
.n-pill .ico { flex-shrink: 0; }
.n-tile { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 600; background: var(--tint); color: var(--accent-ink); }
.n-tile.late { background: var(--chip-red-bg); color: var(--red); }
.n-tile.done { background: var(--chip-ok-bg); color: var(--ok-ink); }
.n-tile.grey { background: var(--chip-grey-bg); color: var(--grey); }

/* progress bar: solid fill, hatched remainder, red-hatched delay, marker + dates */
.n-bar { display: block; position: relative; }
.n-bar.has-mark { padding-top: 20px; }
.n-track { display: block; position: relative; height: 14px; border-radius: 999px; background: var(--hatch); background-color: #F1F0ED; }
.n-fill { position: absolute; left: 0; top: 0; bottom: 0; display: flex; border-radius: inherit; overflow: hidden; transform-origin: 0 50%; }
.n-fill i { display: block; height: 100%; }
.n-a { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.n-b { background: var(--accent-3); }
.n-delay { position: absolute; top: 0; bottom: 0; background: var(--hatch-warn); background-color: #FDECE9; }
.n-mark { position: absolute; top: -20px; bottom: -4px; border-left: 1.5px solid var(--danger); }
.n-mark em { position: absolute; left: 6px; top: -1px; font: 600 11px/1 var(--sans); color: var(--red); white-space: nowrap; font-style: normal; }
.n-dates { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.motion .n-fill { transform: scaleX(0); }
.motion .in .n-fill { transform: none; transition: transform 600ms var(--ease-out) 200ms; }
.motion .n-delay, .motion .n-mark { opacity: 0; }
.motion .in .n-delay, .motion .in .n-mark { opacity: 1; transition: opacity 320ms var(--ease-out) 760ms; }

/* arc gauge */
.n-gauge { position: relative; display: inline-flex; flex-direction: column; align-items: center; width: 150px; }
.n-gauge svg { width: 100%; height: auto; overflow: visible; }
.g-bg { fill: none; stroke: #ECEBE7; stroke-width: 11; stroke-linecap: round; }
.g-fg { fill: none; stroke: var(--accent-3); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100 200; stroke-dashoffset: var(--off); }
.n-gauge.orange .g-fg { stroke: var(--accent); }
.g-v { position: absolute; left: 0; right: 0; top: 46%; text-align: center; font-size: 30px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.g-v small { font-size: .5em; color: var(--ink-2); }
.g-l { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.motion .g-fg { stroke-dashoffset: 100; }
.motion .in .g-fg { stroke-dashoffset: var(--off); transition: stroke-dashoffset 900ms var(--ease-out) 200ms; }

/* barcode chart: dense thin lines fading upward, a ring marker + callout */
.n-code { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 16px; }
.c-col { position: relative; flex: 1; height: var(--h); }
.c-col i { position: absolute; inset: 0; border-radius: 4px 4px 0 0; transform-origin: 50% 100%;
  background: repeating-linear-gradient(90deg, var(--accent) 0 1.5px, transparent 1.5px 3.5px);
  -webkit-mask-image: linear-gradient(to top, #000 35%, rgba(0, 0, 0, .25)); mask-image: linear-gradient(to top, #000 35%, rgba(0, 0, 0, .25)); opacity: .55; }
.c-col.on i { opacity: 1; }
.c-ring { position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.c-call { position: absolute; right: 50%; bottom: calc(100% + 14px); background: #fff; border-radius: 12px; padding: 6px 10px; box-shadow: var(--shadow); font-size: 12px; white-space: nowrap; }
.c-call strong { display: block; font-weight: 600; }
.c-call small { color: var(--ink-2); }
.c-axis { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-2); padding-top: 6px; }
.motion .c-col i { transform: scaleY(0); }
.motion .in .c-col i { transform: none; transition: transform 520ms var(--ease-out); transition-delay: calc(var(--k) * 60ms + 150ms); }

/* bar-compare chart: tall soft gradient bars, big numbers above */
.n-cmp { display: flex; align-items: flex-end; gap: 14px; height: 210px; margin-top: 14px; }
.m-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.m-v { font-weight: 400; font-size: 30px; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.m-v small { font-size: .5em; color: var(--ink-2); }
.m-bar { position: relative; display: block; height: calc(var(--h) * .72); border-radius: 14px; transform-origin: 50% 100%; background: linear-gradient(180deg, var(--accent) 0%, rgba(238, 107, 45, .08) 100%); }
.m-col.b .m-bar { background: linear-gradient(180deg, var(--accent-2) 0%, rgba(242, 169, 59, .08) 100%); }
.m-col.c .m-bar { background: linear-gradient(180deg, var(--accent-3) 0%, rgba(238, 142, 98, .08) 100%); }
.m-col.n .m-bar { background: linear-gradient(180deg, #CFCDC8 0%, rgba(207, 205, 200, .1) 100%); }
.m-bar em { position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px; background: #D98F22; }
.m-l { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.motion .m-bar { transform: scaleY(0); }
.motion .in .m-bar { transform: none; transition: transform 600ms var(--ease-out); transition-delay: calc(var(--k) * 60ms + 150ms); }

/* progress slider + stacked avatars */
.n-slide { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.s-trk { position: relative; flex: 1; height: 8px; border-radius: 999px; background: #ECEBE7; }
.s-trk i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--accent); }
.n-slide.g .s-trk i { background: var(--ok); } .n-slide.r .s-trk i { background: var(--danger); }
.s-trk b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(28, 28, 30, .25); }
.s-v { font-size: 13px; font-weight: 500; }
.n-avs { display: inline-flex; }
.n-avs i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; font: 600 9.5px/20px var(--sans); text-align: center; font-style: normal; background: var(--tint); color: var(--accent-ink); }
.n-avs i:first-child { margin-left: 0; }
.n-avs .t1 { background: var(--tint-amber); } .n-avs .t2 { background: var(--chip-ok-bg); color: var(--ok-ink); } .n-avs .more { background: var(--select); color: #fff; }

/* segmented pills: the selected one is black */
.n-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.n-seg span { padding: 8px 14px; border-radius: 999px; background: #F2F1EE; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.n-seg span.on { background: var(--select); color: #fff; }

/* task list + timeline */
.n-tasks { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.n-tasks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; background: #F7F7F5; }
.n-tasks li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.n-tasks strong { font-size: 13.5px; font-weight: 600; }
.n-tasks span:not(.n-pill):not(.n-tile) { font-size: 12.5px; color: var(--ink-2); }
.motion .n-tasks li { opacity: 0; transform: translateY(8px); }
.motion .in .n-tasks li { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); transition-delay: calc(var(--k) * 40ms + 120ms); }
.n-tl { position: relative; margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.n-tl::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 1.5px; background: #E2E1DD; }
.n-tl-row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 36px; }
.tl-node { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #D3D2CD; flex-shrink: 0; }
.n-tl-row.done .tl-node { border-color: var(--ok); }
.n-tl-row.progress .tl-node { border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.n-tl-row.late .tl-node { border-color: var(--danger); box-shadow: 0 0 0 4px var(--chip-red-bg); }
.tl-line { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid #F0EFEC; }
.n-tl-row:last-child .tl-line { border-bottom: 0; }
.tl-line strong { font-weight: 500; }
.n-tl-row.grey .tl-line strong { color: var(--ink-2); font-weight: 400; }
.tl-line > span:not(.n-pill) { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.tl-card { flex: 1; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); }

/* phone frame + the app's floating blurred pill nav (black active circle) */
.n-phone { width: 100%; max-width: 330px; margin: 0 auto; background: #1C1C1E; border-radius: 48px; padding: 10px; box-shadow: var(--shadow-lg); }
.ph-screen { position: relative; overflow: hidden; border-radius: 39px; padding: 12px 14px 92px; background: linear-gradient(180deg, #ECEBE8 0%, #EFE9DF 58%, #F1DFC3 100%); font-size: 13px; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 4px 12px 10px; font-size: 12.5px; }
.ph-status b { font-weight: 600; }
.ph-status i { width: 44px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #1C1C1E 0 60%, transparent 60% 66%, #1C1C1E 66%); opacity: .8; }
.ph-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-head strong { font-size: 15px; font-weight: 600; text-align: center; }
.ph-ctx { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 4px; }
.ph-greet { font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; color: var(--ink-2); margin: 14px 2px 14px; }
.ph-greet b { font-weight: 500; color: var(--accent-head); }
.snap .n-big { font-size: 46px; }
.snap .n-code { height: 74px; }
.ph-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ph-rows li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow-sm); }
.ph-rows li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ph-rows strong { font-size: 13px; font-weight: 600; }
.ph-rows div span { font-size: 12px; color: var(--ink-2); }
.ph-rows .n-ib { width: 30px; height: 30px; }
.n-nav { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px -10px rgba(28, 28, 30, .25); }
.nv { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.nv.on { background: var(--select); color: #fff; }
.pm-hidden { background: rgba(255, 255, 255, .6); border-radius: 14px; }

/* story mocks */
.today-mock, .permit-mock { max-width: 470px; margin: 0 auto; padding: 22px; }
.permit-mock .n-bar { margin-top: 16px; }
.mock { border: 0; border-radius: var(--rad); box-shadow: var(--shadow); }
.ch-media .n-phone { max-width: 320px; }
.ch-day { background: var(--select); color: #fff; }
.ch-feature { border-top: 1px dashed #CFCDC7; }
.ch-feature .ico { color: var(--accent); }
.ch-feature a { color: var(--accent-strong); }
.cast li { border: 0; border-radius: var(--rad); box-shadow: var(--shadow-sm); }
.cast-role { color: var(--accent-strong); }
.ava { background: var(--tint); color: var(--accent-ink); }
.rail { background: rgba(236, 235, 232, .9); }
.rail a { background: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.rail a[aria-current="step"] { background: var(--select); border-color: var(--select); color: #fff; }
.rail a[aria-current="step"] .r-day { color: #D6D5D0; }
.rail-track { background: #DAD8D3; }
@media (min-width: 1000px) {
  .rail { background: none; }
  .rail a { box-shadow: none; background: none; }
  .rail a:hover { background: rgba(255, 255, 255, .7); }
  .rail a[aria-current="step"] { background: var(--select); color: #fff; }
  .rail a[aria-current="step"] .r-day { color: var(--accent-2); }
  .motion .story .ch-inner { border-left-color: #DAD8D3; }
  .motion .story .chapter.on .ch-inner { border-left-color: var(--accent); }
}

/* trust floating cards */
.float-stage { background: linear-gradient(180deg, #F4F3F0 0%, #F1E8DA 100%); border-radius: 28px; }
.float-stage::before { display: none; }
.fcard { border: 0; border-radius: var(--rad); box-shadow: var(--shadow); }
.fc-item { background: #F7F7F5; border: 0; border-radius: 12px; }
.fc-btns span { border-radius: 999px; padding: 8px 14px; font-weight: 500; }
.b-o { border: 1px solid var(--line); color: var(--ink); }
.b-f { background: var(--select); color: #fff; }
.fcard.toast { background: var(--select); border-radius: 999px; padding: 12px 20px 12px 12px; }
.fcard.toast span { color: #CFCDC7; }
.tk { background: var(--ok); color: #fff; }

/* white label mock (a firm's own colours — deliberately not Napi's) */
.bm-window, .bm-kit { border: 0; border-radius: var(--rad); box-shadow: var(--shadow); }
.bm-kit { box-shadow: var(--shadow-lg); }
.bm-bar span { border-radius: 999px; }
.bm-row.ok { color: var(--ok-ink); } .bm-row.ok .ico { color: var(--ok); }
.toggle { background: var(--select); }
.toggle::after { left: auto; right: 3px; }
.role-card { border-radius: var(--rad); }
.rchip { border-radius: 14px; background: #F7F7F5; border-color: transparent; }
.rchip.firm { background: var(--tint); border-color: transparent; }

/* devices (home "nothing to install") */
.devices { padding-top: 24px; }
.ghosts { display: none; }
.lid { border-radius: 22px 22px 8px 8px; }
.screen { border-radius: 8px; }
.phone { border-radius: 40px; padding: 8px; }
.phone-screen { border-radius: 32px; }
.pdf-bar { background: #F7F7F5; }

/* AI section: warm haze */
.ai-sec { background: linear-gradient(180deg, var(--ground) 0, #EFE9DF 50%, var(--ground) 100%); }
.ai-rules li { background: #fff; border: 0; box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 500; }
.ai-rules li .ico { color: var(--ok); }
.ai-story { border: 0; border-radius: 28px; box-shadow: var(--shadow); }
.ba { background: #F4F3F0; border-radius: 22px; }
.ba-arrow { color: var(--accent); }
.out-card { border: 0; }
.ai-tag { border: 1px solid var(--accent); background: #fff; color: var(--accent-strong); border-radius: 999px; padding: 4px 9px; font-weight: 500; }
.bubble { background: #fff; border-radius: 18px 18px 18px 6px; box-shadow: var(--shadow-sm); }
.in-pile li { border: 0; border-radius: 14px; box-shadow: var(--shadow-sm); }
.slip .n { background: var(--accent); color: var(--ink); font-weight: 600; }
.acts span { border-radius: 999px; padding: 6px 12px; }
.acts .go { background: var(--select); border-color: var(--select); color: #fff; }
.in-list .ico { color: var(--ok); }
.photo { border-radius: 12px; }

/* contractor mocks */
.k-mock { max-width: 400px; padding: 20px; }
.k-phone .n-card { margin-top: 12px; }
.k-form dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0EFEC; font-size: 13.5px; }
.k-form dt { color: var(--ink-2); } .k-form dd { margin: 0; font-weight: 600; }
.k-note { background: #F7F7F5; border-radius: 12px; }
.k-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; background: var(--select); color: #fff; border-radius: 999px; padding: 13px; font-weight: 500; }
.k-btn .ico { color: var(--accent); }
.k-mock .n-bar { margin-top: 14px; }
.k-ledger { background: #F7F7F5; border-radius: 14px; }
.k-ledger .in { color: var(--ok-ink); }
.k-line .ico { color: var(--accent-strong); }
.k-tbl tr.low td { color: var(--ink); }
.k-po { background: var(--chip-ok-bg); border: 0; color: var(--ok-ink); border-radius: 999px; }

/* screenshots: rounded 24px with a soft shadow on a stone surround */
.shot .frame, .frame { border: 0; border-radius: 22px; box-shadow: 0 1px 2px rgba(28, 28, 30, .05), 0 24px 48px -20px rgba(28, 28, 30, .25); }
.shot { background: linear-gradient(180deg, #E3E1DC, #E8DDCB); border-radius: 30px; padding: clamp(10px, 1.6vw, 18px); }
.shot figcaption { padding: 2px 6px 4px; color: var(--ink-2); }
.frame-bar { background: #F7F7F5; border-bottom-color: #EEEDEA; }
.frame-bar b { border-radius: 999px; border-color: #E6E5E1; }

/* final band: warm haze, dark text, components on the right */
.final { background: linear-gradient(180deg, var(--ground) 0%, #EFE7DA 45%, #F1DFC3 100%); color: var(--ink); }
.final h2 { color: var(--ink-2); }
.final p { color: var(--ink-2); }
.final-bg { display: none; }
.btn.on-dark.primary { background: var(--select); border-color: var(--select); color: #fff; box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .55); }
.btn.on-dark.outline { background: #fff; border-color: transparent; color: var(--ink); }
@media (hover: hover) {
  .btn.on-dark.primary:hover { background: #2A2A2C; border-color: #2A2A2C; color: #fff; }
  .btn.on-dark.outline:hover { background: #fff; color: var(--ink); border-color: var(--ink-3); }
}
.final-cards { position: relative; max-width: 440px; margin-left: auto; padding-bottom: 60px; }
.fc-cmp { padding: 22px; width: 86%; }
.fc-gap { position: absolute; right: 0; bottom: 0; width: 220px; padding: 16px 16px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fc-gap p { font-size: 12.5px !important; color: var(--ink-2); margin-top: 6px !important; line-height: 1.4; }

/* footer: warm near-black */
.site-foot { background: #161615; color: #CFCDC7; }
.foot-brand p { color: #B8B6B0; }
.site-foot nav a { color: #CFCDC7; }
.site-foot :focus-visible { outline-color: var(--accent-2); }
.foot-base { color: #A9A7A1; border-top-color: rgba(255, 255, 255, .1); }
.site-foot .btn.light { background: var(--accent); color: var(--ink); }

/* inner pages */
.page-head { background: linear-gradient(180deg, var(--ground) 0%, #EFE9DF 100%); }
.ph-bg { background-image: radial-gradient(circle, rgba(28, 28, 30, .1) 1px, transparent 1.5px); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs a:hover { color: var(--ink); }
.toc a { border-left-color: #D9D7D2; color: var(--ink-2); }
.toc a:hover, .toc a.on { border-left-color: var(--select); color: var(--ink); }
.fgroup-head { border-bottom-color: #EEEDEA; }
.frow { border-top-color: #F0EFEC; }
.fmark { color: var(--ok); }
.is-soon .fmark { color: var(--accent); }
.jump { background: rgba(236, 235, 232, .9); }
.jump a { border: 0; box-shadow: var(--shadow-sm); }
.jump a:hover, .jump a.on { background: var(--select); color: #fff; }
.jump a.on .ava, .jump a:hover .ava { background: var(--accent); color: var(--ink); }
.jump .jump-all { color: var(--ink); }
.role-story { border: 0; border-radius: var(--rad); box-shadow: var(--shadow); }
.rs-role { color: var(--accent-strong); }
.use { border-radius: 999px; background: var(--chip-ok-bg); border-color: transparent; color: var(--ok-ink); }
.use.soon { background: #fff; border: 1px solid var(--accent); color: var(--accent-strong); }
.use:hover { border-color: var(--ok); }
.plan { border: 0; }
.plan.featured { box-shadow: 0 0 0 2px var(--select), var(--shadow); }
.plan-badge { background: var(--select); color: #fff; }
.plan .price { font-weight: 400; font-size: 38px; letter-spacing: -0.03em; }
.cmp-tbl thead th { background: #F7F7F5; }
.cmp-tbl thead th.hot { background: var(--select); color: #fff; box-shadow: none; }
.cmp-tbl tr.grp th { color: var(--accent-strong); }
.cmp-tbl .yes, .yes { color: var(--ok); }
.cmp-tbl .ph, .ph { background: var(--tint); color: var(--accent-ink); border-radius: 999px; padding: 3px 9px; }
.faq details, .faq details:first-child, .faq { border-color: #D9D7D2; }
.faq-ico { background: #fff; border: 0; box-shadow: var(--shadow-sm); }
.faq-ico::before, .faq-ico::after { background: var(--ink); }
details[open] .faq-ico { background: var(--select); }
details[open] .faq-ico::before, details[open] .faq-ico::after { background: #fff; }
.faq summary:hover { color: var(--ink); }
.type-n { color: var(--accent-strong); }
.callout { background: #fff; box-shadow: var(--shadow); border-radius: 24px; }
.why li { border: 0; box-shadow: var(--shadow); }
.why-n { background: var(--select); color: #fff; }
.glyph { color: #E3DED4; }
.principles li { border-top-color: #D9D7D2; }
.principles .mono { color: var(--accent-strong); }
.draft-note, .form-flag, .form-msg { background: var(--tint); color: var(--accent-ink); border-radius: 16px; }
.field input, .field select, .field textarea { border-radius: 14px; border-color: #D3D2CD; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--select); }
.topic span { border: 0; box-shadow: var(--shadow-sm); }
.topic span:hover { box-shadow: 0 0 0 1px var(--ink-3); }
.topic input:checked + span { background: var(--select); color: #fff; font-weight: 500; }
.next li span { color: var(--accent-strong); }
.nf-links a { border: 0; border-radius: var(--rad); box-shadow: var(--shadow-sm); }
.nf-links a:hover { box-shadow: var(--shadow); }
.nf-links .ico { color: var(--accent-strong); }
.legal-toc a:hover, .legal-toc a.on { color: var(--ink); border-left-color: var(--select); }

/* responsive (v4) */
@media (max-width: 900px) {
  .hero-art { margin-top: 8px; }
  .hero-glass-wrap { left: 12px; width: min(300px, 70%); }
  .final-art { display: block; }
  .final-cards { margin: 8px auto 0; }
}
@media (max-width: 640px) {
  .hero-art { padding: 64px 6px 0; }
  .hero-ctx { left: 12px; top: 14px; }
  .hero-ctx .n-pill:last-child { display: none; }
  .hero-glass-wrap { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 10px 0; }
  .f-ok { right: 10px; top: auto; bottom: auto; display: none; }
  .hero-glass .n-big { font-size: 44px; }
  .n-big { font-size: 40px; }
  .today-mock, .permit-mock { padding: 16px; }
  .n-tasks li { flex-wrap: wrap; }
  .n-tasks .n-pill { margin-left: 52px; }
  .n-phone { max-width: 300px; }
  .fc-cmp { width: 100%; }
  .fc-gap { position: relative; width: auto; margin: -24px 20px 0 30%; }
  .final-cards { padding-bottom: 0; }
  .shot { border-radius: 22px; }
}
@media print { .n-fill, .c-col i, .m-bar, .hero-glass, .n-tasks li { transform: none !important; opacity: 1 !important; } .n-delay, .n-mark { opacity: 1 !important; } .g-fg { stroke-dashoffset: var(--off) !important; } }
@media (prefers-reduced-motion: reduce) { .hero-glass, .n-tasks li { opacity: 1 !important; transform: none !important; } }
.scrib-svg.oval path { stroke: var(--accent-2); stroke-width: 3; }
.dev-stage { padding: clamp(18px, 4vw, 48px) clamp(18px, 5vw, 64px) clamp(28px, 5vw, 56px); border-radius: 36px; background: linear-gradient(180deg, #E5E3DE 0%, #EBDDC7 100%); }
.devices .phone { left: clamp(4px, 2vw, 24px); bottom: -28px; }
@media (min-width: 1000px) { .ai-story.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.n-cmp { height: 230px; }
.m-bar { height: calc(var(--h) * .8); }
.fc-cmp { width: 84%; }
.fc-gap { right: -24px; bottom: -8px; width: 196px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 16ch; } }
@media (max-width: 640px) {
  .n-tasks li > div { flex-basis: calc(100% - 52px); }
  .fc-cmp { width: 100%; }
  .fc-gap { right: auto; width: auto; margin: -24px 16px 0 34%; }
}

/* ── Language switch (header pill + footer list) ── */
.lang-sw { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm); white-space: nowrap; }
.lang-sw:hover { background: #fff; color: var(--ink); }
.lang-sw svg { color: var(--ink-2); }
@media (max-width: 1000px) { .lang-sw { margin-left: auto; height: 40px; padding: 0 12px; } .lang-sw + .menu-btn { margin-left: 0; } }
@media (max-width: 380px) { .lang-sw svg { display: none; } }
.lang-foot { display: inline-flex; gap: 6px; align-items: center; }
.lang-foot a, .lang-foot .ls-cur { padding: 4px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; }
.lang-foot a { color: #D6D4CE; border: 1px solid rgba(255, 255, 255, .18); }
.lang-foot a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.lang-foot .ls-cur { color: #161615; background: #ECEBE8; }

/* ── Nepali pages (html[lang=ne]): Mukta for Devanagari, taller lines, no negative tracking
   (it collides conjuncts and matras), and room for longer words. Latin stays Inter. ── */
html[lang="ne"] { --sans: 'Inter', 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html[lang="ne"] body { line-height: 1.7; }
html[lang="ne"] :is(h1, h2, h3, .n-big, .why-close, .ph-greet, .logo) { letter-spacing: 0; }
html[lang="ne"] h1 { line-height: 1.28; font-size: clamp(32px, 4.2vw, 52px); }
html[lang="ne"] h2 { line-height: 1.32; }
html[lang="ne"] h3 { line-height: 1.4; }
html[lang="ne"] :is(.chapter h3, .ai-copy h3, .role-story h3, .feat h3) { line-height: 1.38; }
html[lang="ne"] :is(.lede, .ch-body, .ai-copy > p, .prose p) { line-height: 1.75; }
html[lang="ne"] :is(.btn, .n-pill, .chip, .rchip, .eyebrow) { line-height: 1.35; }
html[lang="ne"] .btn { height: auto; min-height: var(--h, 44px); padding-block: 6px; text-align: center; }
html[lang="ne"] :is(.glyph, .bubble) { font-family: 'Mukta', var(--sans); }
html[lang="ne"] h1, html[lang="ne"] h2, html[lang="ne"] h3, html[lang="ne"] p, html[lang="ne"] li { overflow-wrap: break-word; }

/* ── pricing (2026-10-08): currency + billing toggles, five plans, the Gossip price ──
   Every price spot holds USD / NPR × month / year; the section's data-cur + data-per pick one. */
.pricing .pz { display: none; }
.pricing[data-cur="usd"][data-per="m"] .pz[data-c="usd"][data-p="m"],
.pricing[data-cur="usd"][data-per="y"] .pz[data-c="usd"][data-p="y"],
.pricing[data-cur="npr"][data-per="m"] .pz[data-c="npr"][data-p="m"],
.pricing[data-cur="npr"][data-per="y"] .pz[data-c="npr"][data-p="y"] { display: inline; }
/* tables always show the monthly figure in the chosen currency */
.pricing[data-cur="usd"] .cmp-tbl .pz[data-c="usd"][data-p="m"], .pricing[data-cur="npr"] .cmp-tbl .pz[data-c="npr"][data-p="m"] { display: inline; }
.pricing .pz-y { display: none; }
.pricing[data-per="y"] .pz-y { display: inline; }
.p-controls { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 10px; }
.p-seg { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.p-seg-label { font-size: 13px; color: var(--muted); padding: 0 8px 0 10px; }
.p-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 14px/1.2 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.p-seg button[aria-pressed="true"] { background: var(--select); color: #fff; }
.p-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-seg .save { font-size: 12px; font-weight: 600; color: var(--accent-strong); background: var(--tint); border-radius: 999px; padding: 3px 8px; }
.p-seg button[aria-pressed="true"] .save { color: var(--ink); background: var(--accent-2); }
.no-js .p-controls { display: none; }
.pricing[data-list="std"] .plan .pv-gl, .pricing[data-list="gossip"] .plan .pv-std { display: none; }
.plans5 .plan .was, .plan-wide .was { margin: -2px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.plans5 .plan .was s, .plan-wide .was s { color: var(--ink-2); }
.gl-big-tag { color: var(--accent-strong); }
.pricing[data-list="gossip"] .plan:not(#plan-free) .price { border-bottom: 0; padding-bottom: 0; margin-bottom: 4px; }
.gp-toggle { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 6px 16px 6px 12px; min-height: 50px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.gp-std, .gp-on strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.gp-on small { color: var(--muted); font-size: 13px; }
.gp-switch { position: relative; width: 52px; height: 30px; border-radius: 999px; border: 0; background: #C9C8C4; cursor: pointer; flex: none; transition: background-color var(--t-base) var(--ease-out); }
.gp-switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform var(--t-base) var(--ease-out); }
.gp-switch[aria-checked="true"] { background: var(--select); }
.gp-switch[aria-checked="true"] i { transform: translateX(22px); }
.gp-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pricing[data-list="gossip"] .gp-std, .pricing[data-list="std"] .gp-on strong { color: var(--muted); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .gp-switch, .gp-switch i { transition: none; } }
.p-note { margin: 0 0 24px; }
.plans.plans5 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .plans.plans5 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
/* Enterprise: a full-width card under the four plans (merged from the published 85bcb99a) */
.plan.plan-wide { margin-top: 16px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.4fr) auto; gap: 28px; align-items: center; padding: 28px; }
.plan.plan-wide .pw-head h2 { margin-bottom: 4px; }
.plan.plan-wide .pw-head .price { border-bottom: 0; }
.plan.plan-wide .ticks { margin: 0; columns: 2; column-gap: 24px; }
.plan.plan-wide .ticks li { break-inside: avoid; }
.plan.plan-wide .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: 30px; margin: 14px 0 6px; }
.plan.plan-wide .price .from { font-size: 14px; color: var(--muted); font-weight: 400; width: 100%; margin-bottom: -6px; }
@media (max-width: 1000px) { .plan.plan-wide { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; } .plan.plan-wide .btn { width: 100%; } }
@media (max-width: 640px) { .plan.plan-wide { padding: 24px 20px; } .plan.plan-wide .ticks { columns: 1; } }
.plans5 .plan { padding: 28px 20px 22px; }
.plans5 .plan .price { font-size: 30px; margin: 14px 0 6px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.plans5 .plan .price .from { font-size: 14px; color: var(--muted); font-weight: 400; width: 100%; margin-bottom: -6px; }
.std-tag, .gl-tag { display: block; width: 100%; font: 600 11.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gl-line { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--tint); color: var(--accent-ink); font-size: 14px; }
.gl-line b { font-size: 20px; font-weight: 600; color: var(--ink); }
.gl-line .gl-tag { color: var(--accent-strong); margin-bottom: 2px; }
.gl-line small { color: var(--accent-ink); }
.trial-callout { margin-top: 28px; }
.gl-sec { background: linear-gradient(180deg, transparent, var(--tint-amber) 40%, transparent); }
.gl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gl-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.gl-steps li { display: flex; gap: 14px; align-items: baseline; }
.gl-steps .mono { color: var(--accent-strong); font-weight: 600; }
.gl-fine { padding: 24px; }
.gl-sub { font-size: 20px; font-weight: 600; margin: 36px 0 0; letter-spacing: -0.01em; }
.cmp-tbl.cmp5 { min-width: 760px; }
.cmp5 td span:not(.yes):not(.no) { font-size: 14px; color: var(--ink-2); }
.addon-tbl { min-width: 520px; }
.addon-tbl td { text-align: right; white-space: nowrap; }
.addon-tbl td small { color: var(--muted); }
.addon-tbl thead th:not(:first-child) { text-align: right; }
.startup-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.startup-offers div { background: var(--card); border-radius: 14px; padding: 14px 16px; }
.startup-offers dt { font-weight: 600; margin-bottom: 4px; }
.startup-offers dd { margin: 0; color: var(--ink-2); }
.callout.startup .eyebrow { margin-bottom: 6px; }
@media (max-width: 900px) {
  .plans.plans5 { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .gl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .p-seg { width: 100%; justify-content: space-between; }
  .p-seg-label { display: none; }
  .p-seg button { flex: 1; justify-content: center; padding: 0 10px; }
}

/* phones: the later .head-grid rule (two columns) overrode the narrow-screen one — restore one column (coordinator, 8583c652) */
@media (max-width: 900px) { .head-grid { grid-template-columns: minmax(0, 1fr); } .head-art { display: none; } }

/* merged from the published 0fc84077 (coordinator): pricing tables on phones — no sideways table, each row becomes a card */
.cmp-tbl .ph { white-space: nowrap; }
@media (max-width: 760px) {
  .tbl-wrap { overflow-x: visible; }
  .cmp-tbl, .cmp-tbl.cmp5, .addon-tbl { min-width: 0; }
  .cmp-tbl, .cmp-tbl tbody, .cmp-tbl tr, .cmp-tbl th, .cmp-tbl td { display: block; width: 100%; }
  .cmp-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cmp-tbl tr:not(.grp) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px 16px; }
  .cmp-tbl tbody tr + tr th, .cmp-tbl tbody tr + tr td { border-top: 0; }
  .cmp-tbl tr:not(.grp) + tr:not(.grp) { border-top: 1px solid var(--line-soft); }
  .cmp-tbl tr:not(.grp) > th { grid-column: 1 / -1; padding: 0 0 2px; color: var(--ink); font-weight: 600; }
  .cmp-tbl tr:not(.grp) > td { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; min-width: 0; padding: 8px 12px; text-align: left; background: #F7F7F5; border-radius: 12px; white-space: normal; }
  .cmp-tbl tr:not(.grp) > td::before { content: attr(data-label); font-size: 13px; color: var(--ink-2); flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
  .cmp-tbl tr.grp th { padding: 18px 16px 6px; }
  .cmp-tbl .ph { white-space: nowrap; font-size: 12.5px; padding: 3px 8px; }
  .addon-tbl tr:not(.grp) { grid-template-columns: minmax(0, 1fr); }
  .addon-tbl td { overflow-wrap: anywhere; }
}
.plan .price small { white-space: nowrap; }
.plan-wide .was { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
