/* =========================================================
   Context Central — Forest theme
   ========================================================= */
:root {
  --forest-950: #04200f;
  --forest-900: #062b14;
  --forest-800: #0a3d1d;
  --brand: #0c6725;
  --brand-600: #13803a;
  --leaf: #2f9e55;
  --leaf-300: #8cc69a;
  --moss-200: #cfe7d2;
  --mint-100: #e9f4ea;
  --mint-50: #f5faf5;
  --sand: #f3d9bd;
  --sand-deep: #e3a874;
  --ink: #0f1f14;
  --ink-2: #3c5043;
  --ink-3: #6a7c6f;
  --line: rgba(12, 103, 37, 0.12);
  --card: rgba(255, 255, 255, 0.78);
  --shadow-sm: 0 1px 2px rgba(6, 43, 20, .06), 0 2px 8px rgba(6, 43, 20, .05);
  --shadow: 0 2px 4px rgba(6, 43, 20, .04), 0 12px 32px -8px rgba(6, 43, 20, .14);
  --shadow-lg: 0 4px 10px rgba(6, 43, 20, .05), 0 40px 80px -24px rgba(6, 43, 20, .28);
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--mint-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .88em; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.ic { width: 18px; height: 18px; flex: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--ink-3); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.005em;
  background: var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform; white-space: nowrap;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-primary {
  --bg: var(--brand); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -6px rgba(12, 103, 37, .55);
}
.btn-primary:hover { --bg: var(--brand-600); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -8px rgba(12, 103, 37, .65); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand); }
.btn-glass {
  --bg: rgba(255,255,255,.65); color: var(--ink);
  border: 1px solid rgba(12,103,37,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { --bg: #fff; border-color: rgba(12,103,37,.3); }
.btn-light { --bg: #fff; color: var(--forest-900); box-shadow: 0 10px 30px -8px rgba(140, 198, 154, .45); }
.btn-light:hover { --bg: var(--mint-100); }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(245, 250, 245, .78);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.dark .brand-word, .nav.dark .nav-links a, .nav.dark .btn-ghost { color: rgba(255,255,255,.85); }
.nav.dark .nav-links a:hover, .nav.dark .nav-links a.active { color: var(--leaf-300); background: rgba(255,255,255,.06); }
.nav.dark.scrolled { background: rgba(6,43,20,.72); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.dark .nav-toggle span { background: #fff; }
.nav-inner { width: min(1240px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(12,103,37,.25)); }
.brand-word { font-weight: 700; font-size: .86rem; letter-spacing: .14em; color: var(--forest-900); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--brand); background: rgba(12,103,37,.06); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; gap: 6px; align-items: center; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; margin-left: auto; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--forest-900); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav.open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Common section bits ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 6px; border-radius: 6px; background: var(--brand); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; color: var(--forest-900); }
.h2 .serif { color: var(--brand); font-size: 1.08em; }
.lead { margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); line-height: 1.65; }
.split .h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse { grid-template-columns: 1.05fr 1fr; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px, 18vh, 180px);
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf7 40%, #eef7ef 100%);
}
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 82% 18%, rgba(243, 217, 189, .45), transparent 70%),
    radial-gradient(50% 40% at 12% 10%, rgba(140, 198, 154, .25), transparent 70%);
  pointer-events: none;
}
.pollen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-copy { position: relative; z-index: 5; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: .86rem; font-weight: 500; color: var(--forest-800);
  background: rgba(255,255,255,.72); border: 1px solid var(--line);
  backdrop-filter: blur(8px); box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .35s var(--ease);
}
.pill:hover { border-color: rgba(12,103,37,.35); transform: translateY(-1px); }
.pill .ic { width: 14px; height: 14px; color: var(--brand); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(47,158,85,.5); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,158,85,.5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(47,158,85,0); } }

.hero-title {
  margin-top: 28px;
  font-size: clamp(2.7rem, 7.4vw, 6rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: .98;
  color: var(--forest-900);
}
.hero-title .line { display: block; overflow: hidden; padding: .06em .04em .1em; }
.hero-title .word { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.hero-title.in .word { transform: none; opacity: 1; }
.hero-title .serif {
  font-weight: 400; font-size: 1.12em; letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--brand) 10%, var(--leaf) 50%, var(--brand) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
  padding-right: .06em;
}
@keyframes sheen { to { background-position: -200% 0; } }
.hero-sub { max-width: 680px; margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* Landscape */
.landscape { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; z-index: 1; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(245,250,245,0), var(--mint-50)); }
.hills { width: 100%; height: 100%; }
.hills .layer { transition: transform .2s linear; will-change: transform; }
.contours path { fill: none; stroke: #fff; stroke-width: 1.1; }
.trail { opacity: .95; }
.tree-g { transform-box: fill-box; transform-origin: 50% 100%; animation: sway var(--sway, 5s) ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

/* Mock */
.mock-wrap { position: relative; z-index: 6; margin-top: clamp(56px, 8vh, 90px); padding-bottom: 90px; }
.mock {
  max-width: 1060px; margin-inline: auto;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(12,103,37,.06);
  overflow: hidden;
}
.mock.reveal { transform: translateY(60px) scale(.97); }
.mock.reveal.in { transform: none; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(245,250,245,.7); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5e6d8; }
.mock-url { font-size: .8rem; color: var(--ink-3); font-family: var(--mono); }
.mock-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--mint-100); color: var(--brand);
  transition: background .4s, color .4s;
}
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
.st-dot.live { color: var(--leaf); }
@keyframes blink { 50% { opacity: .3; } }
.mock-status[data-state="review"] { background: #fdf1e3; color: #b86a24; }
.mock-status[data-state="done"] { background: var(--brand); color: #fff; }
.mock-status[data-state="done"] .st-dot { animation: none; }

.mock-body { display: grid; grid-template-columns: 1fr 90px 1.15fr; padding: 26px; gap: 0; align-items: stretch; }
.mock-pane { border-radius: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: left; min-width: 0; }
.pane-head { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pane-head .ic { width: 16px; height: 16px; color: var(--brand); }
.pane-head .tag { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .74rem; color: #6d3bb5; background: #f1eafc; padding: 3px 9px; border-radius: 999px; }
.pane-head .crumb { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pane-title { margin-top: 10px; font-weight: 600; font-size: .95rem; }
.diff { margin-top: 12px; border-radius: 10px; background: #f8faf8; border: 1px solid #edf2ee; padding: 8px 0; font-family: var(--mono); font-size: .76rem; line-height: 1.75; overflow: hidden; }
.dl { white-space: pre; padding: 0 12px 0 0; display: flex; }
.dl span { width: 34px; text-align: right; padding-right: 12px; color: #a5b3a8; flex: none; user-select: none; }
.dl.del { background: #fdecec; color: #a33a3a; }
.dl.add { background: #e7f6ea; color: #17642f; }
.dl.ctx { color: #4b5d50; }
.linked { margin-top: 12px; }
.chip-s { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: #eef4ff; color: #2c4fa8; }
.chip-s .ic { width: 14px; height: 14px; }

.mock-link { position: relative; display: grid; place-items: center; }
.mock-link-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mock-link-line path { stroke: var(--leaf-300); stroke-width: 2; stroke-dasharray: 4 6; fill: none; vector-effect: non-scaling-stroke; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }
.mock-core { position: relative; width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 10px 30px -6px rgba(12,103,37,.5); }
.mock-core svg { width: 100%; height: 100%; }
.mock-core::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 2px solid var(--leaf); opacity: 0; }
.mock[data-phase="work"] .mock-core::after { animation: ripple 1.2s var(--ease) infinite; }
@keyframes ripple { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }

.doc-h { margin-top: 12px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.doc-p { margin-top: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.65; min-height: 4.95em; }
.doc-old { transition: background .4s, color .4s; border-radius: 3px; }
.mock[data-phase="work"] .doc-old, .mock[data-phase="review"] .doc-old, .mock[data-phase="done"] .doc-old { display: none; }
.mock[data-phase="detect"] .doc-old.flag { background: #fdecec; color: #a33a3a; text-decoration: line-through; }
.doc-new .typed { background: linear-gradient(transparent 60%, rgba(140,198,154,.45) 60%); }
.typed.caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--brand); animation: blink .8s infinite; }
.doc-lines { margin-top: 12px; display: grid; gap: 8px; }
.doc-lines i { display: block; height: 7px; border-radius: 6px; background: #edf3ee; }
.doc-foot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .76rem; color: var(--ink-3); }
.doc-foot .src { display: inline-flex; align-items: center; gap: 6px; }
.doc-foot .src .ic { width: 14px; height: 14px; color: var(--brand); }
.doc-foot .src code { color: var(--forest-800); }
.approve { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #f6f8f6; font-weight: 600; color: var(--ink-2); transition: background .4s, color .4s; }
.approve .av { width: 22px; height: 22px; font-size: .6rem; }
.mock[data-phase="review"] .approve { background: #fdf1e3; color: #b86a24; }
.mock[data-phase="done"] .approve { background: var(--mint-100); color: var(--brand); }
.av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest-800); color: #fff; font-weight: 700; font-size: .72rem; flex: none; }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem { background: var(--mint-50); }
.pains { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.pains li { display: flex; gap: 16px; align-items: flex-start; }
.pain-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--brand); }
.pain-ic .ic { width: 20px; height: 20px; }
.pains b { font-weight: 650; color: var(--forest-900); }
.pains p { color: var(--ink-3); font-size: .95rem; margin-top: 2px; }

.drift-card { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.drift-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.drift-label { font-weight: 650; color: var(--forest-900); }
.drift-legend { margin-top: 4px; font-size: .82rem; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.lg { width: 16px; height: 3px; border-radius: 3px; display: inline-block; margin-left: 4px; }
.lg.code { background: var(--brand); }
.lg.docs { background: var(--sand-deep); }
.switch { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mint-100); }
.switch button { position: relative; z-index: 1; padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--forest-800); transition: transform .5s var(--ease), width .5s var(--ease); }
.drift-chart { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.drift-chart .grid line { stroke: #eef3ef; stroke-width: 1; }
.drift-chart text { font-size: 11px; fill: var(--ink-3); font-family: var(--sans); }
.line-code, .line-docs { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.line-code { stroke: var(--brand); }
.line-docs { stroke: var(--sand-deep); }
.line-docs.with { stroke: var(--leaf); stroke-dasharray: 7 6; }
.drift-chart .line-code, .drift-chart .line-docs.without { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease); }
.drift-card.in .line-code, .drift-card.in .line-docs.without { stroke-dashoffset: 0; }
.drift-chart .gap { opacity: 0; transition: opacity .8s ease 1.4s; }
.drift-card.in .gap { opacity: 1; }
.gap-label rect { fill: #fff6ec; stroke: #f0c79f; }
.gap-label text { fill: #b86a24; font-weight: 600; font-size: 12px; }
.sync-label rect { fill: var(--mint-100); stroke: var(--leaf-300); }
.sync-label text { fill: var(--brand); font-weight: 600; font-size: 12px; }
.gap-label, .sync-label { opacity: 0; transition: opacity .6s ease; }
.drift-card.in:not(.with) .gap-label { opacity: 1; transition-delay: 1.8s; }
.line-docs.with { opacity: 0; transition: opacity .6s ease; }
.drift-card.with .line-docs.with { opacity: 1; animation: march 1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -13; } }
.drift-card.with .line-docs.without, .drift-card.with .gap { opacity: 0; transition-delay: 0s; }
.drift-card.with .sync-label { opacity: 1; }
.line-docs.without { transition: stroke-dashoffset 2s var(--ease), opacity .5s; }
.drift-note { margin-top: 14px; font-size: .9rem; color: var(--ink-2); min-height: 1.5em; }
.drift-note .with-t { display: none; color: var(--brand); font-weight: 500; }
.drift-card.with .with-t { display: inline; }
.drift-card.with .without-t { display: none; }

/* =========================================================
   HOW — growing tree
   ========================================================= */
.how { background: linear-gradient(180deg, var(--mint-50), #eef7ef 50%, var(--mint-50)); }
.grow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.grow-sticky { position: sticky; top: 14vh; height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tree { width: 100%; max-width: 460px; height: auto; max-height: 66vh; overflow: visible; }
.ground { fill: none; stroke: #d9c2a3; stroke-width: 2; stroke-linecap: round; }
.tree .part { transition: opacity .8s var(--ease), filter .8s var(--ease); }
.root-lines path { fill: none; stroke: #b99772; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .8s; }
.root-nodes circle { fill: #fff; stroke: #b99772; stroke-width: 2.5; transition: fill .8s, stroke .8s; }
.pulse-dots circle { fill: var(--leaf); opacity: 0; transition: opacity .5s; }
.trunk { fill: #8a6544; transition: fill .8s; }
.trunk-rings path { stroke: rgba(255,255,255,.25); stroke-width: 2; fill: none; stroke-linecap: round; }
.p-branches > path { fill: none; stroke: #8a6544; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.2s var(--ease), stroke .8s; }
.branch-nodes circle { fill: #fff; stroke: var(--leaf); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .6s var(--ease) .6s, opacity .4s .6s; }
.leaves circle { fill: url(#canopyG); opacity: .95; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 1s var(--ease); }
.leaves circle:nth-child(2) { transition-delay: .08s; } .leaves circle:nth-child(3) { transition-delay: .14s; }
.leaves circle:nth-child(4) { transition-delay: .2s; } .leaves circle:nth-child(5) { transition-delay: .26s; }
.leaves circle:nth-child(6) { transition-delay: .32s; } .leaves circle:nth-child(7) { transition-delay: .38s; }
.fruit g > * { transition: none; }
.fruit rect { fill: #fff; stroke: rgba(12,103,37,.25); }
.fruit path { stroke: var(--leaf-300); stroke-width: 3; stroke-linecap: round; fill: none; }
.fruit > g { opacity: 0; transition: opacity .6s ease, transform .8s var(--ease); }
.tlabel rect { fill: #fff; stroke: var(--line); filter: drop-shadow(0 4px 10px rgba(6,43,20,.08)); }
.tlabel text { font: 600 11.5px var(--sans); fill: var(--forest-800); text-anchor: middle; }
.tlabel { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s var(--ease); }

/* tree states */
.tree.s1 .root-lines path, .tree.s2 .root-lines path, .tree.s3 .root-lines path, .tree.s4 .root-lines path { stroke: var(--brand); }
.tree.s1 .root-nodes circle, .tree.s2 .root-nodes circle, .tree.s3 .root-nodes circle, .tree.s4 .root-nodes circle { stroke: var(--brand); fill: var(--mint-100); }
.tree.s1 .pulse-dots circle, .tree.s2 .pulse-dots circle, .tree.s3 .pulse-dots circle, .tree.s4 .pulse-dots circle { opacity: 1; }
.tree.s1 .l-roots, .tree.s2 .l-trunk, .tree.s3 .l-branches, .tree.s4 .l-canopy { opacity: 1; transform: none; }
.tree.s2 .trunk, .tree.s3 .trunk, .tree.s4 .trunk { fill: #6b4a2e; }
.tree.s3 .p-branches > path, .tree.s4 .p-branches > path { stroke-dashoffset: 0; }
.tree.s3 .branch-nodes circle, .tree.s4 .branch-nodes circle { opacity: 1; transform: none; }
.tree.s4 .leaves circle { transform: none; }
.tree.s4 .fruit > g { opacity: 1; transition-delay: .7s; }
.tree:not(.s2):not(.s3):not(.s4) .p-trunk { opacity: .35; }


.grow-progress { margin-top: 18px; width: 180px; height: 4px; border-radius: 4px; background: rgba(12,103,37,.12); overflow: hidden; }
.grow-progress span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 4px; transition: width .6s var(--ease); }

.grow-steps { list-style: none; margin: 0; padding: 0; }
.gstep {
  min-height: 72vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .28; transition: opacity .6s var(--ease), transform .6s var(--ease);
  transform: translateX(10px);
}
.gstep.active { opacity: 1; transform: none; }
.gnum { font-family: var(--mono); font-size: .8rem; color: var(--brand); font-weight: 500; letter-spacing: .04em; }
.gstep h3 { margin-top: 12px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--forest-900); letter-spacing: -0.03em; }
.gstep p { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; }
.gstep b { color: var(--forest-900); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--forest-800); }

/* =========================================================
   PIPELINE
   ========================================================= */
.pipeline { background: var(--mint-50); }
.flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.flow-track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 34px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(12,103,37,.18) 0 8px, transparent 8px 14px); }
.flow-fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--leaf-300), var(--brand)); border-radius: 3px; transition: width .9s var(--ease); }
.flow-packet { position: absolute; top: 50%; left: var(--p, 0%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(47,158,85,.18), 0 0 20px rgba(47,158,85,.6); transition: left .9s var(--ease); }
.fnode { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fdot {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 22px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink-3);
  box-shadow: var(--shadow-sm);
  transition: background .5s, color .5s, transform .5s var(--ease), box-shadow .5s;
}
.fdot .ic { width: 26px; height: 26px; }
.fnode.done .fdot { color: var(--brand); border-color: rgba(12,103,37,.3); }
.fnode.active .fdot { background: var(--brand); color: #fff; transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 30px -10px rgba(12,103,37,.6); }
.fnode h4 { margin-top: 18px; font-size: 1.02rem; font-weight: 700; color: var(--forest-900); }
.fnode p { margin-top: 6px; font-size: .88rem; color: var(--ink-3); line-height: 1.5; max-width: 180px; }
.loop-note { margin-top: 10px; font-size: .74rem; font-weight: 600; color: #b86a24; background: #fdf1e3; padding: 3px 9px; border-radius: 999px; }

/* =========================================================
   CONNECTORS
   ========================================================= */
.connectors { background: linear-gradient(180deg, var(--mint-50), #e8f3ea); overflow: hidden; }
.orbit-wrap { display: grid; place-items: center; }
.orbit { --s: min(520px, 86vw); position: relative; width: var(--s); height: var(--s); }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(12,103,37,.2); }
.orbit::before { inset: 20%; }
.orbit::after { inset: 3%; }
.ring { position: absolute; inset: 0; z-index: 1; animation: spin var(--dur) linear infinite; }
.r1 { --dur: 40s; --rad: calc(var(--s) * .3); }
.r2 { --dur: 70s; --rad: calc(var(--s) * .47); animation-direction: reverse; }
.node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--rad)) rotate(calc(-1 * var(--a))); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  transform: translate(-50%, -50%);
  padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--forest-900);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: spin var(--dur) linear infinite reverse;
}
.r2 .chip { animation-direction: normal; }
.chip .ic { width: 16px; height: 16px; color: var(--brand); }
@keyframes spin { to { rotate: 360deg; } }
.core { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; translate: -50% -50%; z-index: 0; border-radius: 28%; box-shadow: 0 20px 50px -12px rgba(12,103,37,.55); }
.core svg { width: 100%; height: 100%; }
.core::before, .core::after { content: ""; position: absolute; inset: 0; border-radius: 28%; border: 2px solid var(--leaf); animation: ripple 3s var(--ease) infinite; }
.core::after { animation-delay: 1.5s; }
.cgroups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 18px; }
.cg { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.cg b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.cg span { display: block; margin-top: 4px; font-size: .92rem; color: var(--ink-2); }

.marquee { margin-top: clamp(60px, 8vw, 100px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.2px rgba(12,103,37,.35); white-space: nowrap; }
.marquee-track span:nth-child(3n) { font-family: var(--serif); font-style: italic; font-weight: 400; -webkit-text-stroke: 0; color: rgba(12,103,37,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   DOCS TABS
   ========================================================= */
.docs { background: #e8f3ea; }
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.tabs > * { min-width: 0; }
.tab-list { display: grid; gap: 8px; }
.tab-list button {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: 18px; border: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.tab-list button .ic { width: 22px; height: 22px; color: var(--ink-3); transition: color .3s; }
.tab-list b { display: block; font-weight: 650; color: var(--forest-900); }
.tab-list small { display: block; color: var(--ink-3); font-size: .84rem; }
.tab-list button:hover { background: rgba(255,255,255,.5); }
.tab-list button[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tab-list button[aria-selected="true"] .ic { color: var(--brand); }
.tab-list button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); }
.tab-list button[aria-selected="true"]::after { animation: tabtimer 7s linear forwards; }
.tabs.paused .tab-list button::after { animation: none; width: 0; }
@keyframes tabtimer { to { width: 100%; } }

.paper {
  position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-height: 440px;
}
.paper::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: 24px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.paper-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .8rem; }
.paper-kicker { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.paper-sync { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-weight: 500; }
.paper-title { margin-top: 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; color: var(--forest-900); letter-spacing: -0.03em; }
.paper-body { margin-top: 18px; color: var(--ink-2); }
.paper-body p { margin-bottom: 12px; }
.paper-body h5 { margin: 20px 0 8px; font-size: .95rem; color: var(--forest-900); }
.paper-body ol, .paper-body ul { margin: 0; padding-left: 20px; }
.paper-body li { margin-bottom: 6px; }
.paper-body pre { margin: 12px 0; padding: 14px 16px; border-radius: 12px; background: var(--forest-900); color: #cfe7d2; font-family: var(--mono); font-size: .8rem; overflow-x: auto; }
.paper-body .m { color: #8cc69a; font-weight: 600; }
.paper-body .hl { background: linear-gradient(transparent 60%, rgba(140,198,154,.45) 60%); }
.paper-sources { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.paper-sources::before { content: "Built from"; font-size: .78rem; color: var(--ink-3); font-weight: 600; margin-right: 4px; }
.paper-sources span { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--mint-100); color: var(--forest-800); font-family: var(--mono); }
.paper .anim { animation: paperIn .7s var(--ease) both; }
@keyframes paperIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }

/* =========================================================
   TRUST (dark forest)
   ========================================================= */
.trust {
  color: #e7f2e9;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(47,158,85,.25), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(47,158,85,.18), transparent 70%),
    linear-gradient(180deg, var(--forest-900), var(--forest-950));
  padding-top: clamp(150px, 16vw, 220px);
}
.trust-bg { position: absolute; inset: 0 0 auto 0; height: 140px; }
.trust-bg.bottom { inset: auto 0 0 0; height: 120px; }
.trust { padding-bottom: clamp(150px, 16vw, 210px); }
.trust-bg svg { width: 100%; height: 100%; }
.section-head.light .h2 { color: #fff; }
.section-head.light .h2 .serif { color: var(--leaf-300); }
.section-head.light .lead { color: rgba(231,242,233,.72); }
.section-head.light .eyebrow { color: var(--leaf-300); }
.section-head.light .eyebrow::before { background: var(--leaf-300); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: 24px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  transition: border-color .3s, transform .5s var(--ease);
}
.card:hover { border-color: rgba(140,198,154,.35); }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(140,198,154,.14), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.c-access { grid-column: span 3; } .c-approve { grid-column: span 3; }
.c-trace { grid-column: span 4; } .c-history { grid-column: span 2; }
.card-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(140,198,154,.14); color: var(--leaf-300); }
.card-ic .ic { width: 22px; height: 22px; }
.card h3 { margin-top: 20px; font-size: 1.35rem; color: #fff; }
.card > p { margin-top: 8px; color: rgba(231,242,233,.68); }
.roles { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.roles li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.roles b { display: block; font-size: .92rem; color: #fff; font-weight: 600; }
.roles small { color: rgba(231,242,233,.55); font-size: .78rem; }
.av.a1 { background: #2f9e55; } .av.a2 { background: #c98a4f; } .av.a3 { background: #5a7bd8; }
.perm { margin-left: auto; width: 38px; height: 22px; border-radius: 22px; background: rgba(255,255,255,.14); position: relative; transition: background .3s; cursor: pointer; }
.perm::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.perm.on { background: var(--leaf); }
.perm.on::after { transform: translateX(16px); }
.timeline { list-style: none; margin: 22px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: rgba(255,255,255,.1); }
.timeline li { position: relative; display: flex; gap: 14px; align-items: baseline; padding: 8px 0; font-size: .9rem; color: rgba(231,242,233,.8); opacity: .3; transform: translateX(-6px); transition: opacity .5s, transform .5s var(--ease); }
.timeline li.on { opacity: 1; transform: none; }
.timeline li i { position: relative; top: 2px; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--leaf-300); background: var(--forest-900); }
.timeline li.on i { background: var(--leaf-300); }
.timeline li.pub.on i { background: var(--leaf); border-color: var(--leaf); box-shadow: 0 0 0 5px rgba(47,158,85,.25); }
.timeline b { color: #fff; font-weight: 600; }
.timeline small { margin-left: auto; color: rgba(231,242,233,.45); font-size: .76rem; white-space: nowrap; }
.trace-demo { margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.05); font-size: 1.12rem; line-height: 1.9; color: rgba(231,242,233,.9); }
.tr { position: relative; cursor: help; border-bottom: 2px dotted var(--leaf-300); color: #fff; transition: background .2s; border-radius: 3px; }
.tr:hover, .tr.show { background: rgba(140,198,154,.18); }
.tr::after {
  content: "↳ " attr(data-src); position: absolute; left: 0; bottom: calc(100% + 8px);
  white-space: nowrap; font: 500 .74rem var(--mono); color: var(--forest-900);
  background: var(--leaf-300); padding: 5px 10px; border-radius: 8px;
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none;
}
.tr:hover::after, .tr.show::after { opacity: 1; transform: none; }
.versions { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.versions span { font: 500 .8rem var(--mono); padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.06); color: rgba(231,242,233,.6); }
.versions .cur { background: var(--leaf); color: #fff; }

/* =========================================================
   WHO
   ========================================================= */
.who { background: var(--mint-50); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.who-e { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--mint-100); color: var(--brand); transition: background .4s, color .4s, transform .5s var(--ease); }
.who-e .ic { width: 22px; height: 22px; }
.who-card:hover .who-e { background: var(--brand); color: #fff; transform: rotate(-8deg) scale(1.06); }
.who-card h4 { margin-top: 16px; font-size: 1.1rem; color: var(--forest-900); }
.who-card p { margin-top: 8px; color: var(--ink-3); font-size: .94rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--mint-50); padding-top: 0; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(12,103,37,.25); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.04rem; color: var(--forest-900); display: flex; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-100); color: var(--brand); font-size: 1.2rem; font-weight: 500; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq .ans > p { overflow: hidden; padding: 0 24px; color: var(--ink-2); }
.faq details.opened .ans { grid-template-rows: 1fr; }
.faq details.opened .ans > p { padding-bottom: 22px; }

/* =========================================================
   CTA (night forest)
   ========================================================= */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(110px, 14vw, 170px) 0 clamp(200px, 22vw, 300px);
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(47,158,85,.28), transparent 70%),
    linear-gradient(180deg, #0a3d1d 0%, #072e16 60%, #052410 100%);
}
.cta-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 1; }
.cta-hills svg { width: 100%; height: 100%; }
.cta-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.cta-logo { width: 76px; height: 76px; margin-bottom: 30px; filter: drop-shadow(0 0 30px rgba(140,198,154,.5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.h2.light { color: #fff; }
.h2.light .serif { color: var(--leaf-300); }
.lead.light { color: rgba(231,242,233,.75); max-width: 560px; }

.footer { background: #052410; color: rgba(231,242,233,.6); padding: 34px 0; border-top: 1px solid rgba(255,255,255,.06); }
.foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand-word { color: #fff; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; font-size: .9rem; }
.foot-links a:hover { color: #fff; }
.foot-copy { font-size: .85rem; width: 100%; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open { background: rgba(245,250,245,.97); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
  .nav.open .nav-inner { flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; margin: 10px 0 0; }
  .nav.open .nav-links a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.open .nav-cta { display: flex; order: 4; width: 100%; padding: 14px 0 6px; }
  .nav.open .nav-cta .btn { flex: 1; justify-content: center; }

  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .orbit-wrap { order: 2; }

  .mock-body { grid-template-columns: 1fr; padding: 16px; }
  .mock-link { height: 64px; }
  .mock-link-line { display: none; }
  .mock-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--leaf-300); }
  .mock-core { width: 46px; height: 46px; }

  .grow { grid-template-columns: 1fr; gap: 0; }
  .grow-visual { position: sticky; top: 64px; z-index: 2; background: linear-gradient(180deg, #eef7ef 85%, rgba(238,247,239,0)); }
  .grow-sticky { position: static; height: auto; padding: 10px 0 18px; }
  .tree { max-height: 36vh; }
  .gstep { min-height: 62vh; }

  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-track { left: 33px; right: auto; top: 34px; bottom: 34px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(12,103,37,.18) 0 8px, transparent 8px 14px); }
  .flow-fill { inset: 0 0 auto 0; width: 100%; height: var(--p, 0%); transition: height .9s var(--ease); }
  .flow-packet { left: 50%; top: var(--p, 0%); transition: top .9s var(--ease); }
  .fnode { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; align-items: start; padding-bottom: 26px; }
  .fnode .fdot { grid-row: span 3; }
  .fnode h4 { margin-top: 10px; }
  .fnode p { max-width: none; }
  .loop-note { justify-self: start; }

  .bento { grid-template-columns: 1fr; }
  .c-access, .c-approve, .c-trace, .c-history { grid-column: auto; }
}
@media (max-width: 600px) {
  .container, .container.narrow { width: calc(100% - 32px); }
  .nav.dark .brand-word, .nav.dark .nav-links a, .nav.dark .btn-ghost { color: rgba(255,255,255,.85); }
.nav.dark .nav-links a:hover, .nav.dark .nav-links a.active { color: var(--leaf-300); background: rgba(255,255,255,.06); }
.nav.dark.scrolled { background: rgba(6,43,20,.72); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.dark .nav-toggle span { background: #fff; }
.nav-inner { width: calc(100% - 32px); }
  .brand-word { font-size: .78rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .mock-bar .mock-url { display: none; }
  .tab-list { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .cgroups { grid-template-columns: 1fr; }
  .drift-card { padding: 18px; }
  .switch button { padding: 7px 10px; font-size: .74rem; }
  .pill { font-size: .76rem; }
  .diff { font-size: .66rem; }
  .orbit-wrap { overflow: hidden; margin-inline: -16px; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .orbit { --s: 340px; }
  .r1 { --rad: calc(var(--s) * .33); }
  .core { width: 17%; }
  .chip { font-size: .7rem; padding: 5px 9px; gap: 5px; }
  .chip .ic { width: 13px; height: 13px; }
  .tr::after { white-space: normal; width: max-content; max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-title .word { opacity: 1 !important; transform: none !important; }
}
