/* Noeron site | shared design system. Dark navy, silver, icy blue. */
:root {
  --bg: #04070e;
  --bg-2: #060b16;
  --panel: #0a1222;
  --panel-2: #0d1730;
  --ink: #eef3fa;
  --silver: #b9c5d6;
  --muted: #7d8aa0;
  --dim: #56627a;
  --ice: #a8d0ff;
  --ice-2: #6fa8f0;
  --good: #9fe0c5;
  --warn: #f2cf8b;
  --bad: #ffaaa8;
  --line: rgba(185, 205, 235, 0.13);
  --line-2: rgba(185, 205, 235, 0.22);
  --glass: rgba(10, 18, 34, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  background: var(--bg);
  color: var(--silver);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(168, 208, 255, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ice);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.display, h1.display {
  font-size: clamp(42px, 7vw, 92px); line-height: 0.98; font-weight: 400; letter-spacing: -0.045em; color: var(--ink);
}
.h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; font-weight: 400; letter-spacing: -0.035em; color: var(--ink); }
.h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.grad { background: linear-gradient(180deg, #ffffff 25%, #aebfd6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ice { color: var(--ice); -webkit-text-fill-color: var(--ice); }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; font-weight: 300; color: var(--silver); max-width: 620px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease), color .2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { color: #06101f; background: linear-gradient(180deg, #f6f9ff 0%, #c6d8f0 100%); box-shadow: 0 0 0 0 rgba(168,208,255,0), 0 10px 30px -10px rgba(168,208,255,.45); }
.btn-primary:hover { box-shadow: 0 0 0 6px rgba(168,208,255,.12), 0 16px 40px -12px rgba(168,208,255,.6); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(168,208,255,.45); background: rgba(20,34,60,.6); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); text-decoration: none;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: pulse 2.4s ease-out infinite; }
.pill.ice i { background: var(--ice); }
.pill.warn i { background: var(--warn); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(159,224,197,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(159,224,197,0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4,7,14,.72); border-color: var(--line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: auto; }
.brand span { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.navbtn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 0; background: none;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--silver); text-decoration: none; cursor: pointer; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links button.navbtn:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(185,205,235,.07); }
.navbtn svg { transition: transform .3s var(--ease); }
.has-menu:hover .navbtn svg, .has-menu:focus-within .navbtn svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 520px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border: 1px solid var(--line-2); border-radius: 18px; background: rgba(8,14,27,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.menu a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 12px !important; border-radius: 12px !important; }
.menu a b { display: block; font-weight: 600; color: var(--ink); font-size: 14px; }
.menu a small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 400; margin-top: 2px; }
.menu .ic { width: 36px; height: 36px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); cursor: pointer; }
.burger span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.sheet {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; padding: 16px var(--gutter) 32px; overflow-y: auto;
  background: rgba(4,7,14,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.nav.open + .sheet { opacity: 1; visibility: visible; }
.sheet a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 35ms); }
.sheet a small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.sheet .group { margin-top: 18px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav.open + .sheet a { opacity: 1; transform: none; }
.sheet .btn { width: 100%; margin-top: 24px; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(88px, 12vw, 160px) 0; }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; }
.scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.scene img {
  position: absolute; inset: -6% -3%; width: 106%; height: 112%; object-fit: cover; object-position: 70% 60%;
  opacity: 0; transition: opacity 2.2s var(--ease); will-change: transform;
}
.scene img.ready { opacity: 1; }
.scene::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,7,14,.95) 0%, rgba(4,7,14,.7) 36%, rgba(4,7,14,.15) 70%, rgba(4,7,14,0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4,7,14,0) 32%),
    linear-gradient(180deg, rgba(4,7,14,.65) 0%, rgba(4,7,14,0) 22%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 28px; }
.hero .lede { margin-top: 26px; }
.hero .ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta svg { color: var(--ice); }

/* Word-by-word headline reveal */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .words .w > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.ready-words .words .w > span { transform: none; opacity: 1; }

/* Intro fade */
.intro { opacity: 0; transform: translateY(14px); filter: blur(6px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Demo panel ---------- */
.demo {
  position: relative; border: 1px solid var(--line-2); border-radius: 24px; padding: 18px;
  background: linear-gradient(180deg, rgba(13,23,48,.72), rgba(6,11,22,.78)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
  min-height: 470px; display: flex; flex-direction: column;
}
.demo::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(168,208,255,.55) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.demo-top .who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.demo-top .who img { width: 22px; }
.demo-top .tag { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.demo-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px 2px 4px; overflow: hidden; }
.bubble { align-self: flex-end; max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: rgba(168,208,255,.12); border: 1px solid rgba(168,208,255,.18); color: var(--ink); font-size: 14px; min-height: 42px; }
.bubble .caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--ice); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.thinking { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.shimmer { background: linear-gradient(90deg, var(--muted) 0%, var(--ink) 50%, var(--muted) 100%); background-size: 300px 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: -150px 0; } to { background-position: 150px 0; } }
.answer { font-size: 14px; line-height: 1.6; color: var(--silver); }
.card {
  border: 1px solid var(--line-2); border-radius: 16px; background: rgba(6,11,22,.7); overflow: hidden;
}
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.card-h b { color: var(--ink); font-weight: 600; font-size: 13px; }
.card-h .src { color: var(--muted); font-size: 11px; }
.row { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 9px 14px; font-size: 13px; border-top: 1px solid rgba(185,205,235,.06); }
.row:first-of-type { border-top: 0; }
.row .lbl { color: var(--ink); }
.row .ev { display: block; color: var(--muted); font-size: 11.5px; }
.st { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.st.pass { color: var(--good); background: rgba(159,224,197,.1); }
.st.warn { color: var(--warn); background: rgba(242,207,139,.1); }
.st.fail { color: var(--bad); background: rgba(255,170,168,.1); }
.st.na { color: var(--muted); background: rgba(125,138,160,.12); }
.dot { width: 8px; height: 8px; border-radius: 50%; margin: auto; }
.dot.pass { background: var(--good); } .dot.warn { background: var(--warn); } .dot.fail { background: var(--bad); } .dot.na { background: var(--dim); }
.pop { opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity .55s var(--ease), transform .6s var(--ease), filter .55s var(--ease); }
.pop.in { opacity: 1; transform: none; filter: none; }
.demo-foot { display: flex; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.demo-foot button { flex: 1; height: 4px; border: 0; border-radius: 4px; background: rgba(185,205,235,.14); cursor: pointer; overflow: hidden; position: relative; padding: 0; }
.demo-foot button i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--ice); }
.demo-foot button.on i { animation: fill var(--dur, 9s) linear forwards; }
.demo-foot button.done i { transform: scaleX(1); opacity: .5; }
@keyframes fill { to { transform: scaleX(1); } }
.holding { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 10px 14px; border-top: 1px solid rgba(185,205,235,.06); font-size: 13px; }
.holding:first-of-type { border-top: 0; }
.holding .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(185,205,235,.08); overflow: hidden; }
.holding .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--ice-2), var(--ice)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.pop.in .bar i { transform: scaleX(1); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; letter-spacing: -0.01em; color: var(--silver); white-space: nowrap; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="scale"] { transform: translateY(20px) scale(.97); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; counter-reset: s; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(13,23,48,.5), rgba(6,11,22,.4)); }
.step .n { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ice); }
.step h3 { margin: 18px 0 10px; }
.step p { font-size: 15px; color: var(--silver); font-weight: 300; }
.step .q { margin-top: 18px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink); }
.progress-line { position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: linear-gradient(90deg, var(--ice), transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.in .progress-line, .steps.in .progress-line { transform: scaleX(1); }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcard {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 32px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 26px; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, rgba(13,23,48,.55), rgba(6,11,22,.55));
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(168,208,255,.13), transparent 60%); }
.pcard:hover { border-color: rgba(168,208,255,.35); transform: translateY(-4px); }
.pcard:hover::before { opacity: 1; }
.pcard .ic { width: 52px; height: 52px; }
.pcard h3 { margin-top: 10px; }
.pcard p { font-weight: 300; font-size: 15.5px; }
.pcard ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.pcard li, .chip { font-size: 12px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--silver); background: rgba(185,205,235,.03); }
.pcard .go { position: absolute; top: 30px; right: 30px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.pcard:hover .go { transform: rotate(-45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Icon tiles */
.ic { display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(168,208,255,.25); background: radial-gradient(circle at 30% 20%, rgba(168,208,255,.22), rgba(168,208,255,.04)); color: var(--ice); }
.ic svg { width: 52%; height: 52%; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.principle { background: var(--bg); padding: 30px 26px; display: grid; gap: 12px; align-content: start; transition: background .4s var(--ease); }
.principle:hover { background: var(--bg-2); }
.principle .big { font-size: 34px; font-weight: 300; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.principle p { font-size: 14.5px; font-weight: 300; }

/* ---------- Flow diagram ---------- */
.flow { position: relative; border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 4vw, 44px); background: radial-gradient(800px 400px at 50% 0%, rgba(111,168,240,.08), transparent 70%), var(--bg-2); overflow: hidden; }
.flow svg { width: 100%; height: auto; }
.flow .node rect { fill: rgba(13,23,48,.9); stroke: rgba(185,205,235,.22); }
.flow .node.hl rect { stroke: rgba(168,208,255,.55); }
.flow text { font-family: "Manrope", sans-serif; fill: var(--ink); }
.flow .t1 { font-size: 16px; font-weight: 600; }
.flow .t2 { font-size: 12.5px; fill: var(--muted); }
.flow .wire { fill: none; stroke: rgba(185,205,235,.18); stroke-width: 1.5; }
.flow .pulse { fill: none; stroke: var(--ice); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 400; animation: travel 3.2s var(--ease-io) infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 0 6px rgba(168,208,255,.8)); }
@keyframes travel { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.flow-mobile { display: none; }

/* ---------- Token band ---------- */
.band { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 32px; padding: clamp(32px, 6vw, 72px); background:
  radial-gradient(600px 300px at 85% 20%, rgba(168,208,255,.16), transparent 70%),
  radial-gradient(500px 300px at 0% 100%, rgba(111,168,240,.1), transparent 70%), var(--panel); }
.band .ring { position: absolute; right: -120px; top: 50%; width: 520px; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; border: 1px solid rgba(168,208,255,.18); animation: spinslow 60s linear infinite; }
.band .ring::before, .band .ring::after { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px dashed rgba(168,208,255,.14); }
.band .ring::after { inset: 130px; border-style: solid; border-color: rgba(168,208,255,.1); }
.band .ring i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 18px var(--ice); }
@keyframes spinslow { to { transform: rotate(360deg); } }
.band > * { position: relative; }
.band .ticker { font-size: clamp(56px, 10vw, 140px); font-weight: 300; letter-spacing: -0.05em; line-height: .9; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { position: relative; text-align: center; padding: clamp(110px, 16vw, 200px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; bottom: -55%; width: 160%; aspect-ratio: 2.2; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168,208,255,.28), rgba(111,168,240,.08) 55%, transparent 75%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
.cta::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 120%; height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(220,235,255,.9), transparent); box-shadow: 0 0 30px 4px rgba(168,208,255,.45); }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
.cta .wrap { position: relative; display: grid; justify-items: center; gap: 24px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot p { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 300px; font-weight: 300; }
.foot h4 { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--silver); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 10vw, 128px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 480px at 80% -10%, rgba(111,168,240,.18), transparent 65%), radial-gradient(700px 400px at -10% 30%, rgba(168,208,255,.06), transparent 70%); }
.page-hero .glow-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero .display { font-size: clamp(40px, 6.4vw, 84px); max-width: 980px; }
.page-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.page-hero .ic.big { width: 64px; height: 64px; border-radius: 18px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
.features { display: grid; gap: 14px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(10,18,34,.45); transition: border-color .35s var(--ease), background .35s var(--ease); }
.feature:hover { border-color: rgba(168,208,255,.3); background: rgba(13,23,48,.55); }
.feature .ic { width: 44px; height: 44px; }
.feature h3 { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.feature p { margin-top: 6px; font-size: 15px; font-weight: 300; }

.asks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ask { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(168,208,255,.04); font-size: 15px; color: var(--ink); text-decoration: none; transition: border-color .3s, transform .35s var(--ease), background .3s; }
.ask:hover { border-color: rgba(168,208,255,.4); background: rgba(168,208,255,.08); transform: translateY(-2px); }
.ask svg { flex: none; margin-top: 3px; color: var(--ice); }

.note-box { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(242,207,139,.28); background: rgba(242,207,139,.05); font-size: 15px; }
.note-box svg { color: var(--warn); margin-top: 3px; }
.note-box b { color: var(--ink); }
.note-box.ice { border-color: rgba(168,208,255,.28); background: rgba(168,208,255,.05); }
.note-box.ice svg { color: var(--ice); }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10,18,34,.45); }
.check .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.check p { margin-top: 8px; font-size: 14.5px; font-weight: 300; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; }

.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.np { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; transition: border-color .3s, background .3s; }
.np:hover { border-color: rgba(168,208,255,.35); background: rgba(13,23,48,.45); }
.np small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.np b { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.np.r { text-align: right; }

/* ---------- Docs / prose ---------- */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 2px; font-size: 14px; border-left: 1px solid var(--line); }
.toc b { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px 16px; font-weight: 600; }
.toc a { position: relative; padding: 6px 0 6px 16px; color: var(--muted); text-decoration: none; transition: color .2s; }
.toc a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 1px; background: var(--ice); transform: scaleY(0); transition: transform .35s var(--ease); }
.toc a:hover, .toc a.on { color: var(--ink); }
.toc a.on::before { transform: scaleY(1); }
.prose { max-width: 760px; font-size: 16.5px; font-weight: 300; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 72px; padding-top: 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 400; letter-spacing: -0.025em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h2 .num { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ice); }
.prose h3 { margin-top: 36px; font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--ice); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; padding: 2px 6px; border-radius: 6px; background: rgba(185,205,235,.08); color: var(--ink); }
.prose a { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(168,208,255,.35); text-underline-offset: 3px; }
.prose blockquote { padding: 18px 22px; border-left: 2px solid var(--ice); background: rgba(168,208,255,.05); border-radius: 0 14px 14px 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.table-wrap table th:first-child, .table-wrap table td:first-child { padding-left: 18px; }
.prose .callout { margin-top: 24px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 55; background: linear-gradient(90deg, var(--ice-2), var(--ice)); transform-origin: left; transform: scaleX(0); }

/* How-to steps */
.howto { display: grid; gap: 16px; counter-reset: h; }
.hstep { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(10,18,34,.4); }
.hstep .n { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; font-weight: 300; color: var(--ice); border: 1px solid rgba(168,208,255,.28); background: radial-gradient(circle at 30% 20%, rgba(168,208,255,.18), transparent); }
.hstep h3 { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.hstep p { margin-top: 8px; font-weight: 300; }
.hstep .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; color: var(--ink); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
details.faq summary i::before, details.faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ice); transition: transform .35s var(--ease); }
details.faq summary i::after { transform: rotate(90deg); }
details.faq[open] summary i::after { transform: rotate(0deg); }
details.faq .a { padding: 0 0 22px; font-weight: 300; max-width: 720px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .demo { max-width: 560px; min-height: 440px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .scene img { object-position: 82% 50%; }
  .scene::after { background: linear-gradient(180deg, rgba(4,7,14,.55) 0%, rgba(4,7,14,.25) 25%, rgba(4,7,14,.85) 60%, var(--bg) 100%); }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero .ctas .btn { flex: 1 1 auto; }
  .steps, .products, .checks, .asks, .next-prev { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .pcard { min-height: 0; padding: 26px; }
  .pcard .go { top: 24px; right: 24px; }
  .flow-desktop { display: none; }
  .flow-mobile { display: block; }
  .band .ring { width: 360px; right: -180px; opacity: .6; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .hstep { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .hstep .n { width: 48px; height: 48px; font-size: 18px; border-radius: 14px; }
  .np.r { text-align: left; }
  .nav-cta .btn-primary { --h: 38px; padding: 0 14px; font-size: 13.5px; }
  .demo { min-height: 430px; padding: 14px; }
}
@media (max-width: 340px) {
  .brand span { font-size: 19px; }
  .nav-cta .btn-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .intro, .pop, .words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none; }
}
