/* Terrace · landing page. Brand sheet: page #E1E0DE, card #F4F4F4, forest #1A5543, mint #03FF93 (live only), obsidian #181519. */
:root {
  --page: #e1e0de;
  --card: #f4f4f4;
  --white: #fff;
  --forest: #1a5543;
  --forest-d: #123d30;
  --forest-t: #e6eeea;
  --mint: #03ff93;
  --ink: #181519;
  --ink-2: #4c4a4f;
  --ink-3: #7c7a7f;
  --line: rgba(24, 21, 25, .1);
  --brass: #8a6a12;
  --crimson: #a3283b;
  --f: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gut: clamp(10px, 1.7vw, 26px);
  --pad: clamp(22px, 3.3vw, 52px);
  --inset: clamp(8px, 1vw, 14px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 var(--f); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01' 0; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, [data-count-to] { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; font: 500 15px/1 var(--f); letter-spacing: -.005em; text-decoration: none; border-radius: 2px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--forest-t); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--forest); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(24, 21, 25, .26); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.link { display: inline-flex; gap: 6px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(3px); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: baseline; gap: .2em; font: 500 23px/1 var(--f); letter-spacing: -.035em; text-decoration: none; }
.brand-mark { width: .9em; height: .9em; flex: none; position: relative; top: .02em; }
.brand span { position: relative; top: -.02em; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 40; top: var(--gut); left: var(--gut); right: var(--gut); height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 2.4vw, 36px); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.nav .brand { color: inherit; }
.nav-links { display: flex; gap: 26px; margin-left: auto; margin-right: auto; }
.nav-links a { font-size: 15px; text-decoration: none; opacity: .86; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-signin { font-size: 15px; text-decoration: none; }
.nav .btn-solid { background: #fff; color: var(--ink); height: 40px; padding: 0 16px; font-size: 14.5px; }
.nav .btn-solid:hover { background: var(--forest-t); }
.nav.is-solid { background: rgba(244, 244, 244, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.nav.is-solid .btn-solid { background: var(--ink); color: #fff; }
.nav.is-solid .btn-solid:hover { background: var(--forest); }
.nav-burger { display: none; width: 40px; height: 40px; position: relative; }
.nav-burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.nav-burger i:first-child { top: 16px; }
.nav-burger i:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: fixed; z-index: 39; inset: 0; background: var(--forest); color: #fff; padding: calc(var(--gut) + 96px) 24px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font-size: 34px; letter-spacing: -.04em; line-height: 1.12; padding: 8px 0; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sheet-cta { display: grid; gap: 10px; }
.sheet .btn-solid { background: #fff; color: var(--ink); }
.sheet .btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
body.menu-open { overflow: hidden; }
body.menu-open .nav { color: #fff; background: transparent; box-shadow: none; }
body.menu-open .nav .btn-solid { display: none; }

/* ---------- cover ---------- */
.cover { position: relative; margin: var(--gut); height: calc(100svh - 2 * var(--gut)); min-height: 640px; max-height: 1020px; overflow: hidden; background: #0e3125; color: #fff; isolation: isolate; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; transform-origin: 60% 40%; }
.cover-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 16, 12, .34) 0%, rgba(5, 16, 12, 0) 22%, rgba(5, 16, 12, 0) 52%, rgba(5, 16, 12, .58) 100%); }
.cover-lockup { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: flex; align-items: baseline; gap: .17em; font: 500 clamp(64px, 13.4vw, 236px)/1 var(--f); letter-spacing: -.045em; white-space: nowrap; }
.lock-mark { width: .86em; height: .86em; flex: none; overflow: visible; position: relative; top: .03em; }
.lock-mark .s { fill: #fff; }
.lock-mark .s4 { fill: var(--mint); }
.lock-word { position: relative; top: -.01em; }
.cover-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 2.4vw, 36px) clamp(22px, 2.6vw, 38px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cover-copy { max-width: 660px; }
.cover h1 { text-wrap: balance; font-size: clamp(28px, 2.9vw, 44px); font-weight: 400; letter-spacing: -.038em; line-height: 1.04; max-width: 21ch; }
.cover-copy p { margin-top: 16px; max-width: 50ch; font-size: 16px; color: rgba(255, 255, 255, .82); }
.cover-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cover-tag { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .86); text-align: right; flex: none; }

/* hero entrance: blocks step up, accent rises last */
.js .lock-mark .s { transform-box: fill-box; transform-origin: 50% 100%; }
.js .cover-lockup .s1, .js .cover-lockup .s2, .js .cover-lockup .s3 { animation: slabIn .9s var(--ease) both; }
.js .cover-lockup .s1 { animation-delay: .15s; }
.js .cover-lockup .s2 { animation-delay: .3s; }
.js .cover-lockup .s3 { animation-delay: .45s; }
.js .cover-lockup .s4 { animation: accentRise 1.1s cubic-bezier(.3, .9, .2, 1) .85s both; }
.js .lock-word { animation: wordIn 1s var(--ease) .35s both; }
.js .cover-copy, .js .cover-tag { animation: wordIn 1s var(--ease) .7s both; }
@keyframes slabIn { from { transform: translateY(70%) scaleY(.0001); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes accentRise { 0% { transform: translateY(150%); opacity: 0; } 35% { transform: translateY(150%); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- slides ---------- */
.slide { margin: 0 var(--gut) var(--gut); background: var(--card); padding: var(--pad); position: relative; }
.h2 { text-wrap: balance; font-size: clamp(38px, 5vw, 76px); font-weight: 400; letter-spacing: -.052em; line-height: .98; }
.split .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ln > span { display: block; }
.slide-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.slide-intro p { color: var(--ink-2); font-size: 16px; max-width: 44ch; }
.slide-intro .link { margin-top: 16px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 46ch; margin-top: 22px; }
.panel { background: var(--white); }

/* ---------- product UI (mirrors app/#/portfolio) ---------- */
.panel-ui { margin: clamp(28px, 3.6vw, 52px) calc(var(--pad) * -1 + var(--inset)) 0; padding: clamp(8px, 1.4vw, 20px); }
.ui { --u-line: #e6e5e2; --u-bg: #f6f6f4; display: grid; grid-template-columns: 52px minmax(0, 1fr); border: 1px solid var(--u-line); background: var(--u-bg); font-size: 13px; line-height: 1.35; position: relative; overflow: hidden; min-height: 560px; }
.ui-rail { background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; }
.ui-rail-mark { width: 22px; height: 22px; color: #fff; margin-bottom: 12px; }
.ui-rail svg.ic { width: 18px; height: 18px; color: rgba(255, 255, 255, .5); padding: 7px; box-sizing: content-box; border-radius: 3px; }
.ui-rail svg.ic.on { color: #fff; background: rgba(255, 255, 255, .1); }
.ui-main { min-width: 0; display: flex; flex-direction: column; }
.ui-bar { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--u-line); }
.ui-crumb { color: var(--ink-3); display: flex; gap: 8px; }
.ui-crumb b { color: var(--ink); font-weight: 500; }
.ui-bar-r { display: flex; align-items: center; gap: 10px; }
.ui-search { color: var(--ink-3); border: 1px solid var(--u-line); padding: 6px 10px; width: 210px; border-radius: 3px; background: var(--u-bg); }
.ui-kbd { font-size: 11px; color: var(--ink-3); border: 1px solid var(--u-line); padding: 2px 5px; border-radius: 3px; }
.ui-bar img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ui-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-bottom: 1px solid var(--u-line); }
.ui-kpis > div { padding: 12px 16px 14px; border-right: 1px solid var(--u-line); }
.ui-kpis > div:last-child { border-right: 0; }
.ui-kpis span { display: block; color: var(--ink-3); font-size: 12px; }
.ui-kpis b { display: flex; align-items: center; gap: 7px; font-size: 24px; font-weight: 400; letter-spacing: -.035em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ui-kpis small { font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 1px; background: var(--mint); flex: none; }
.ui-kpis b .pill { font-size: 11px; letter-spacing: 0; margin-left: 2px; }

.stair { --rise: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px; align-items: start; flex: 1; }
.col[data-stage="0"] { margin-top: calc(var(--rise) * 3); }
.col[data-stage="1"] { margin-top: calc(var(--rise) * 2); }
.col[data-stage="2"] { margin-top: var(--rise); }
.step { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 12px; font-weight: 500; font-size: 13.5px; }
.step b { font-weight: 500; font-variant-numeric: tabular-nums; }
.col[data-stage="0"] .step { background: #dfe7e3; color: var(--forest); }
.col[data-stage="1"] .step { background: #b9cdc5; color: var(--forest-d); }
.col[data-stage="2"] .step { background: var(--forest); color: #fff; }
.col[data-stage="3"] .step { background: var(--ink); color: #fff; box-shadow: inset 0 3px 0 var(--mint); }
.cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ini { background: #fff; border: 1px solid var(--u-line); border-radius: 3px; padding: 10px 11px 11px; will-change: transform; }
.ini-t > span { white-space: nowrap; }
.ini-t { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: var(--ink-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ini p { font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; margin: 6px 0 5px; color: var(--ink); }
.ini-m { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 11.5px; }
.ini-m span:last-child { font-variant-numeric: tabular-nums; }
.segs { display: flex; gap: 3px; margin-top: 9px; }
.segs i { flex: 1; height: 4px; background: #e4e7e5; transition: background .4s; }
.segs i.d { background: var(--forest); }
.pill { font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 2px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.p-review { background: var(--forest-t); color: var(--forest); }
.p-evidence { background: #f2ecd9; color: var(--brass); }
.p-blocked { background: #f5e2e5; color: var(--crimson); }
.p-live { background: var(--ink); color: #fff; }
.p-live .live { width: 6px; height: 6px; }
.more { color: var(--ink-3); font-size: 12px; padding: 4px 2px; }
.ini.is-hot { box-shadow: 0 0 0 1px var(--forest); border-color: var(--forest); }
.ui-toast { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 3px; display: flex; align-items: center; gap: 9px; font-size: 13px; opacity: 0; transition: transform .5s var(--ease), opacity .4s; white-space: nowrap; }
.ui-toast.on { transform: translate(-50%, 0); opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.stats > div { border-top: 1px solid var(--line); padding-top: 16px; }
.stats b { display: block; font-size: clamp(38px, 4.2vw, 64px); font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 10px; max-width: 26ch; }

/* ---------- logos ---------- */
.logos { padding: clamp(28px, 4vw, 56px) calc(var(--gut) + var(--pad)); display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; margin-bottom: var(--gut); }
.logos p { color: var(--ink-2); font-size: 14.5px; }
.logos ul { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 36px; color: #3b393d; }
.lg { white-space: nowrap; line-height: 1; }
.lg-1 { font: 600 20px/1 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; letter-spacing: -.01em; }
.lg-1 span { font-weight: 400; font-style: italic; margin-left: 5px; }
.lg-2 { font: 600 15px/1 var(--f); letter-spacing: .28em; }
.lg-3 { font: 300 23px/1 var(--f); letter-spacing: -.04em; }
.lg-3 i { font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .04em; margin-left: 4px; vertical-align: super; }
.lg-4 { font: 700 18px/1 var(--f); letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 7px; }
.lg-4 b { width: 14px; height: 14px; border: 3px solid currentColor; border-radius: 50%; }
.lg-5 { font: 400 19px/1 Georgia, 'Times New Roman', serif; font-style: italic; }
.lg-6 { font: 500 19px/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: -.04em; }
.lg-7 { font: 800 17px/1 var(--f); letter-spacing: .02em; }
.lg-7 span { font-weight: 300; margin-left: 3px; }

/* ---------- four steps ---------- */
.slide-steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); }
.steps-list { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 26px; counter-reset: s; }
.steps-list li { transition: opacity .4s; max-width: 46ch; }
.steps-list b { display: block; font-weight: 500; font-size: 16px; }
.steps-list p { color: var(--ink-2); font-size: 15.5px; margin-top: 3px; }
.js .steps-list li { opacity: .38; }
.js .steps-list li.on { opacity: 1; }
.steps-panel { margin: calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) 0; display: grid; place-items: center; min-height: 560px; }
.steps-fig { position: relative; display: flex; align-items: stretch; gap: 22px; }
.big-mark { width: clamp(200px, 22vw, 340px); height: auto; overflow: visible; }
.bm { fill: var(--ink); transform-box: fill-box; transition: transform .7s var(--ease), fill .5s; }
.bm3 { fill: var(--mint); }
.js .bm { fill: #e2e2e0; transform: translateY(6px); }
.js .bm.on { fill: var(--ink); transform: none; }
.js .bm3 { transform: translateY(8px); }
.js .bm3.on { fill: var(--mint); transform: translateY(-8px); transition: transform .9s cubic-bezier(.3, 1.3, .4, 1), fill .3s; }
.bm-labels { position: relative; width: 150px; }
.bm-labels span { position: absolute; left: 0; transform: translateY(-50%); font-size: 14px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity .4s; }
.bm-labels b { font-weight: 500; color: var(--ink); margin-right: 6px; }
.bm-labels [data-l="3"] { top: 17.9%; }
.bm-labels [data-l="2"] { top: 53.6%; }
.bm-labels [data-l="1"] { top: 71.4%; }
.bm-labels [data-l="0"] { top: 89.3%; }
.js .bm-labels span { opacity: .3; }
.js .bm-labels span.on { opacity: 1; }

/* ---------- band ---------- */
.band { position: relative; margin: 0 var(--gut) var(--gut); height: clamp(460px, 74vh, 780px); overflow: hidden; background: #2b4a3b; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-copy { position: absolute; left: 0; bottom: 0; background: var(--forest); color: #fff; padding: clamp(24px, 3vw, 48px); max-width: min(760px, 92%); }
.band-copy h2 { text-wrap: balance; font-size: clamp(26px, 3vw, 46px); font-weight: 400; letter-spacing: -.04em; line-height: 1.06; }

/* ---------- split (gates) ---------- */
.slide-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); }
.facts { margin-top: 36px; display: grid; gap: 0; max-width: 460px; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 14px 0; }
.facts dt { font-weight: 500; }
.facts dd { color: var(--ink-2); font-size: 15px; }
.panel-gate { margin: calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) 0; display: grid; place-items: center; padding: clamp(20px, 3vw, 48px); }
.gate { width: 100%; max-width: 580px; background: #fff; border: 1px solid #e6e5e2; border-radius: 4px; box-shadow: 0 24px 48px -32px rgba(24, 21, 25, .35); font-size: 13.5px; }
.gate-head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid #ecebe8; }
.gate-kicker { color: var(--ink-3); font-size: 12.5px; }
.gate h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; margin: 4px 0 4px; }
.gate-sub { color: var(--ink-3); font-size: 12.5px; }
.gate-score { font-size: 15px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gate-score b { font-size: 30px; font-weight: 400; letter-spacing: -.04em; color: var(--ink); }
.gate-list { padding: 6px 22px; }
.gate-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0efed; }
.gate-list li:last-child { border-bottom: 0; }
.gate-list i { width: 15px; height: 15px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px #b8b6ba; position: relative; transition: background .3s, box-shadow .3s; }
.gate-list li.ok i { background: var(--forest); box-shadow: none; }
.gate-list li.ok i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.gate-list em { font-style: normal; color: var(--ink-3); font-size: 12.5px; text-align: right; font-variant-numeric: tabular-nums; }
.gate-list li.todo span { color: var(--ink-2); }
.gate-approvers { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid #ecebe8; }
.ga-label { color: var(--ink-3); font-size: 12.5px; }
.ga-row { display: flex; gap: 8px; }
.ga { position: relative; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1.5px #d8d6d9; transition: box-shadow .3s; }
.ga img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; opacity: .55; transition: opacity .3s; }
.ga em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ga.signed { box-shadow: 0 0 0 1.5px var(--forest); }
.ga.signed img { opacity: 1; }
.ga.signed::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.2' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 0 0 2px #fff; }
.gate-decision { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: #f6f6f4; border-top: 1px solid #ecebe8; color: var(--ink-2); min-height: 58px; }
.btn-mini { font-weight: 500; font-size: 13px; background: var(--forest); color: #fff; padding: 7px 12px; border-radius: 2px; }
.gate-decision.done { background: var(--ink); color: #fff; }
.gate-decision.done .pill { background: rgba(255, 255, 255, .1); color: #fff; font-size: 12px; padding: 4px 8px; }

/* ---------- registry (obsidian) ---------- */
.slide-dark { background: var(--ink); color: #fff; }
.slide-dark .slide-intro p { color: rgba(255, 255, 255, .68); }
.registry { margin-top: clamp(28px, 3.6vw, 52px); border-top: 1px solid rgba(255, 255, 255, .14); }
.rg-scroll { overflow-x: auto; contain: paint; }
.rg { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.rg th { text-align: left; font-weight: 500; font-size: 12.5px; color: rgba(255, 255, 255, .5); padding: 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.rg td { padding: 13px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); white-space: nowrap; vertical-align: middle; }
.rg th:first-child, .rg td:first-child { padding-left: 0; }
.rg td:first-child b { display: block; font-weight: 500; color: #fff; }
.rg td:first-child span { font-size: 12px; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
.rg .num { text-align: right; font-variant-numeric: tabular-nums; }
.rg td.warn { color: #e3c56a; }
.rg td small { color: rgba(255, 255, 255, .45); font-size: 12px; }
.st { font-style: normal; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.st i { width: 7px; height: 7px; border-radius: 1px; background: #e3c56a; }
.st-live i { background: var(--mint); }
.st-paused { color: rgba(255, 255, 255, .55); }
.st-paused i { background: rgba(255, 255, 255, .4); }
.ks { display: inline-block; width: 30px; height: 17px; border-radius: 9px; background: var(--mint); position: relative; vertical-align: middle; transition: background .3s; }
.ks i { position: absolute; top: 2.5px; left: 15.5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transition: left .3s var(--ease); }
.ks.off { background: rgba(255, 255, 255, .22); }
.ks.off i { left: 2.5px; background: #fff; }
.rg-new { display: none; }
.rg-new.in { display: table-row; animation: arrive 2.4s ease-out both; }
@keyframes arrive { 0% { opacity: 0; background: rgba(3, 255, 147, .16); } 15% { opacity: 1; } 100% { background: rgba(3, 255, 147, 0); } }
.rg-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.rg-foot b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.rg-event { margin-left: auto; color: #fff; opacity: 0; transition: opacity .4s; }
.rg-event.on { opacity: 1; }

/* ---------- governance ---------- */
.slide-gov { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); }
.gov-photo { margin: calc(var(--pad) * -1 + var(--inset)) 0 calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)); min-height: 560px; position: relative; overflow: hidden; background: #c9cdc9; }
.gov-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gov-body { padding: clamp(0px, 1vw, 12px) 0; }
.tabs { display: flex; gap: 22px; margin-top: 34px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 10px 0 12px; font-size: 15px; font-weight: 500; color: var(--ink-3); position: relative; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.gov-panel { margin-top: 14px; padding: 6px 20px; min-height: 270px; }
.gtab > div { display: grid; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #efeeec; font-size: 14px; }
.gtab > div:last-child { border-bottom: 0; }
.gl { grid-template-columns: minmax(0, 1fr) 120px 48px; }
.gl small { color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.gl .bar { height: 4px; background: #e8e8e6; position: relative; }
.gl .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--forest); }
.gl b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.gm { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) 90px 120px; }
.gm b { font-weight: 500; }
.gm span, .gm em { color: var(--ink-2); font-style: normal; }
.gm i { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 7px; border-radius: 2px; justify-self: end; }
.gm .ok { background: var(--forest-t); color: var(--forest); }
.gm .cond { background: #f2ecd9; color: var(--brass); }
.gm .rev { background: #ececea; color: var(--ink-2); }
.gr { grid-template-columns: 30px minmax(0, 1fr) auto; }
.gr b { font-weight: 500; }
.gr em { font-style: normal; color: var(--ink-3); font-size: 13px; }
.sev { width: 28px; height: 28px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: #fff; border-radius: 2px; font-variant-numeric: tabular-nums; }
.sev-h { background: var(--crimson); }
.sev-m { background: #b08a1e; }
.sev-l { background: #8a888c; }

/* ---------- value (forest) ---------- */
.slide-forest { background: var(--forest); color: #fff; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); }
.slide-forest .lead { color: rgba(255, 255, 255, .78); }
.value-big { margin-top: 40px; display: grid; gap: 0; max-width: 420px; }
.value-big > div { border-top: 1px solid rgba(255, 255, 255, .18); padding: 14px 0 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.value-big b { font-size: clamp(34px, 3.4vw, 50px); font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.value-big span { color: rgba(255, 255, 255, .72); font-size: 14.5px; text-align: right; }
.value-panel { color: var(--ink); margin: calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) 0; padding: clamp(22px, 3vw, 44px); }
.vp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.vp-head b { font-weight: 500; font-size: 16px; }
.vp-head span { color: var(--ink-3); font-size: 13px; }
.vp-head2 { margin-top: 36px; }
.vbars { display: grid; gap: 10px; }
.vb { display: grid; grid-template-columns: 150px minmax(0, 1fr) 82px; gap: 14px; align-items: center; font-size: 13.5px; }
.vb > span { color: var(--ink-2); }
.vb > b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.vb small { color: var(--ink-3); font-weight: 400; }
.vb-track { position: relative; height: 20px; }
.vb-track i { position: absolute; left: 0; top: 0; bottom: 0; transition: width 1.1s var(--ease); }
.vb-p { width: calc(var(--p) / 11 * 100%); background: #dbe5e1; }
.vb-r { width: calc(var(--r) / 11 * 100%); background: var(--forest); }
.js .vbars:not(.in) .vb-track i { width: 0; }
.vb:nth-child(2) i { transition-delay: .08s; }
.vb:nth-child(3) i { transition-delay: .16s; }
.vb:nth-child(4) i { transition-delay: .24s; }
.vb:nth-child(5) i { transition-delay: .32s; }
.vb:nth-child(6) i { transition-delay: .4s; }
.vp-legend { display: flex; gap: 18px; margin-top: 14px; color: var(--ink-3); font-size: 12.5px; }
.vp-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.lg-r { background: var(--forest); }
.lg-p { background: #dbe5e1; }
.wf { width: 100%; height: auto; display: block; overflow: visible; }
.wf-grid line { stroke: #d9d8d5; stroke-width: 1; }
.wf text { font: 500 11.5px var(--f); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.wf .wf-lab { font-weight: 400; fill: var(--ink-3); font-size: 11px; }
.wf rect { transition: transform .8s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.wf .neg { transform-origin: 50% 0%; }
.wf .conn { stroke: #bdbcb9; stroke-dasharray: 2 3; }
.js .wf:not(.in) rect { transform: scaleY(0); }

/* ---------- story ---------- */
.story { position: relative; margin: 0 var(--gut) var(--gut); min-height: clamp(620px, 92vh, 900px); overflow: hidden; display: flex; align-items: flex-end; background: #3d4c3e; }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story footer img { position: static; }
.story-inner { position: relative; background: var(--card); width: min(720px, 100%); padding: clamp(24px, 3vw, 44px); }
.story blockquote p { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.03em; line-height: 1.18; }
.story footer { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.story footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.story footer b { display: block; font-weight: 500; }
.story footer span { color: var(--ink-2); font-size: 14.5px; line-height: 1.35; }
.story-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.story-stats dt { font-size: 28px; letter-spacing: -.04em; line-height: 1; }
.story-stats dd { color: var(--ink-2); font-size: 13.5px; margin-top: 8px; }

/* ---------- rollout staircase ---------- */
.climb { --rise: clamp(40px, 5vw, 76px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 64px); align-items: start; }
.climb li { background: #fff; padding: 22px 22px 26px; min-height: 230px; position: relative; }
.climb li:nth-child(1) { margin-top: calc(var(--rise) * 3); }
.climb li:nth-child(2) { margin-top: calc(var(--rise) * 2); }
.climb li:nth-child(3) { margin-top: var(--rise); }
.climb-n { color: var(--ink-3); font-size: 13.5px; }
.climb h3 { font-size: 23px; font-weight: 500; letter-spacing: -.03em; margin: 34px 0 8px; }
.climb p { color: var(--ink-2); font-size: 15px; }
.climb .climb-top { background: var(--ink); color: #fff; }
.climb .climb-top p, .climb .climb-top .climb-n { color: rgba(255, 255, 255, .7); }
.climb .climb-top::after { content: ''; position: absolute; right: 0; top: -22px; width: 26%; height: 14px; background: var(--mint); }
.integrations { display: grid; grid-template-columns: 200px 1fr; gap: 24px; margin-top: clamp(36px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.integrations span { color: var(--ink-3); }
.integrations ul { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.plan { background: #fff; padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.plan-for { color: var(--ink-2); font-size: 15px; margin-top: 8px; min-height: 3em; }
.price { margin: 28px 0 22px; display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: clamp(36px, 3.4vw, 50px); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.price span { color: var(--ink-3); font-size: 14px; }
.plan ul { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 30px; flex: 1; }
.plan li { font-size: 15px; padding-left: 20px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--forest); }
.plan .btn { align-self: flex-start; }
.plan-main { background: var(--ink); color: #fff; }
.plan-main .plan-for, .plan-main .price span { color: rgba(255, 255, 255, .66); }
.plan-main ul { border-color: rgba(255, 255, 255, .16); }
.plan-main li::before { background: #fff; }
.plan-main .btn-solid { background: #fff; color: var(--ink); }
.plan-main .btn-solid:hover { background: var(--forest-t); }

/* ---------- faq ---------- */
.slide-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
.faq-photo { margin-top: 40px; max-width: 360px; aspect-ratio: 4 / 5; overflow: hidden; background: #cfd2cf; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); font-size: 16px; max-width: 64ch; padding: 0 0 24px; }

/* ---------- final ---------- */
.final { margin: 0 var(--gut) var(--gut); background: var(--forest); color: #fff; padding: var(--pad); min-height: clamp(540px, 72vh, 760px); display: grid; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden; }
.final-lock { display: flex; align-items: baseline; gap: .17em; font: 500 clamp(58px, 10vw, 168px)/1 var(--f); letter-spacing: -.045em; }
.final-mark { width: .86em; height: .86em; position: relative; top: .03em; color: #fff; overflow: visible; }
.fm-acc { transform-box: fill-box; transition: transform 1.1s cubic-bezier(.3, 1.25, .4, 1) .2s; }
.js .final:not(.in) .fm-acc { transform: translateY(150%); }
.final-copy { align-self: end; max-width: 640px; }
.final-copy h2 { text-wrap: balance; font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
.final-form { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.final-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; font: 400 15px var(--f); }
.final-form input::placeholder { color: rgba(255, 255, 255, .6); }
.final-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #fff; }
.final-note { margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.final-note a { color: #fff; }
.final-tag { position: absolute; right: var(--pad); bottom: var(--pad); font-size: 14px; color: rgba(255, 255, 255, .86); text-align: right; max-width: 22ch; }

/* ---------- footer ---------- */
.foot { padding: clamp(32px, 4vw, 56px) calc(var(--gut) + var(--pad)) 64px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.brand-dark { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 160px); gap: 24px; }
.foot-cols h4 { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 12px; }
.foot-cols a { display: block; text-decoration: none; font-size: 15px; padding: 4px 0; color: var(--ink); }
.foot-cols a:hover { color: var(--forest); }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }

.ariadne { position: fixed; left: 14px; bottom: 14px; z-index: 50; font: 500 12.5px/1 var(--f); padding: 7px 11px; border-radius: 999px; background: rgba(20, 22, 26, .88); color: #fff; letter-spacing: .01em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); opacity: .92; text-decoration: none; }
.ariadne b { font-weight: 600; color: #ff8a3d; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
  .ui-search { width: 150px; }
  .slide-steps, .slide-split, .slide-gov, .slide-forest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gm { grid-template-columns: minmax(0, 1fr) 90px 110px; }
  .gm span { display: none; }
}
@media (max-width: 1020px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: block; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .slide-head { grid-template-columns: 1fr; gap: 18px; }
  .slide-steps, .slide-split, .slide-gov, .slide-forest, .slide-faq { grid-template-columns: 1fr; }
  .steps-panel, .panel-gate, .value-panel { margin: 0 calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)); }
  .steps-panel { min-height: 420px; }
  .gov-photo { margin: calc(var(--pad) * -1 + var(--inset)) calc(var(--pad) * -1 + var(--inset)) 0; min-height: 0; aspect-ratio: 16 / 10; }
  .ui { grid-template-columns: minmax(0, 1fr); }
  .ui-rail { display: none; }
  .stair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stair .col[data-stage="0"] { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: 1fr; gap: 18px; }
  .climb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .climb li:nth-child(n) { margin-top: 0; }
  .climb li:nth-child(1), .climb li:nth-child(2) { margin-top: var(--rise); }
  .plans { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .final-tag { position: static; margin-top: 28px; text-align: left; }
  .faq-photo { display: none; }
}
@media (max-width: 760px) {
  .cover { min-height: 600px; height: calc(100svh - 2 * var(--gut)); max-height: 860px; }
  .cover-lockup { top: 27%; }
  .cover-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cover-tag { text-align: left; font-size: 13px; }
  .cover-copy p { font-size: 15px; }
  .cover-actions .btn { flex: 1 1 auto; }
  .nav { height: 60px; }
  .nav .btn-solid { display: none; }
  .ui-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-kpis > div:nth-child(2) { border-right: 0; }
  .ui-kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--u-line); }
  .ui-search, .ui-kbd { display: none; }
  .ui { min-height: 0; }
  .stair { --rise: 0px; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .stair .col[data-stage] { margin-top: 0; }
  .stair .col[data-stage="0"], .stair .col[data-stage="1"] { display: none; }
  .ini-m span:first-child { display: none; }
  .stats b { font-size: 40px; }
  .stats span { font-size: 13.5px; }
  .logos ul { justify-content: flex-start; gap: 20px 28px; }
  .steps-fig { gap: 14px; }
  .big-mark { width: 170px; }
  .bm-labels { width: 118px; }
  .bm-labels span { font-size: 13px; }
  .band { height: auto; min-height: 520px; display: flex; align-items: flex-end; }
  .band-copy { position: relative; max-width: 100%; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .gate-head { padding: 16px; }
  .gate-list { padding: 4px 16px; }
  .gate-list li { grid-template-columns: 16px minmax(0, 1fr); row-gap: 2px; }
  .gate-list em { grid-column: 2; text-align: left; }
  .gate-approvers, .gate-decision { padding: 12px 16px; }
  .panel-gate { padding: 12px; }
  .gl { grid-template-columns: minmax(0, 1fr) 44px; }
  .gl .bar { grid-column: 1 / -1; grid-row: 2; }
  .gm { grid-template-columns: minmax(0, 1fr) auto; }
  .gm em { display: none; }
  .gr { grid-template-columns: 30px minmax(0, 1fr); }
  .gr em { grid-column: 2; }
  .gov-panel { padding: 4px 14px; }
  .tabs { gap: 16px; overflow-x: auto; contain: paint; }
  .tabs button { white-space: nowrap; font-size: 14px; }
  .value-big > div { flex-direction: column; gap: 6px; }
  .value-big span { text-align: left; }
  .vb { grid-template-columns: 1fr 70px; gap: 6px 10px; }
  .vb > span { grid-column: 1 / -1; }
  .vb-track { grid-row: 2; }
  .story { min-height: 0; padding-top: 220px; }
  .story-stats { grid-template-columns: 1fr; gap: 14px; }
  .story-stats > div { display: flex; align-items: baseline; gap: 12px; }
  .story-stats dd { margin-top: 0; }
  .climb { grid-template-columns: 1fr; }
  .climb li:nth-child(n) { margin-top: 0; min-height: 0; }
  .climb li:nth-child(2) { margin-left: 14px; }
  .climb li:nth-child(3) { margin-left: 28px; }
  .climb li:nth-child(4) { margin-left: 42px; margin-top: 18px; }
  .climb h3 { margin-top: 16px; }
  .integrations { grid-template-columns: 1fr; gap: 10px; }
  .faq summary { font-size: 17px; }
  .final-form { flex-direction: column; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .foot-bot { flex-direction: column; }
  .ariadne { position: static; display: table; margin: 24px auto 24px; }
  .ini-t > span { white-space: nowrap; }
  .ini-t { flex-wrap: wrap; row-gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
}
