/* ==========================================================
   Nodd — site styles
   ========================================================== */
:root {
  --bg: #060606;
  --bg-2: #0c0c0c;
  --panel: #0f0f0f;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f2f2f2;
  --muted: #8a8a8a;

  --light: #e9e9e7;
  --light-2: #dededb;
  --light-line: rgba(0, 0, 0, .1);
  --ink: #0b0b0b;
  --ink-muted: #5c5c5a;

  --allow: #7ee29e;
  --approve: #e3ba63;
  --block: #f07b72;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Unbounded", var(--sans);

  --gutter: 32px;
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
code { font-family: var(--mono); font-size: .92em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.dim { color: #7d7d7d; }
.c-allow { color: var(--allow); fill: var(--allow); }
.c-approve { color: var(--approve); fill: var(--approve); }
.c-block { color: var(--block); fill: var(--block); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 1080px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--ink); }

/* ---------- grain overlay ---------- */
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- labels / buttons ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.label svg { width: 18px; height: 8px; color: currentColor; }
.light .label { color: var(--ink-muted); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 18px 0 4px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .01em;
  border: 1px solid transparent; border-radius: 4px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn-sm { height: 40px; }
.btn-icon {
  display: grid; place-items: center; width: 34px; height: calc(100% - 8px);
  border-radius: 3px; background: var(--bg); color: var(--text);
}
.btn-sm .btn-icon { width: 30px; }
.btn-icon svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn-icon svg { transform: translateX(3px); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark .btn-icon { background: var(--text); color: var(--ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); padding: 0 18px; }
.btn-ghost:hover { border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px); color: #cfcfcf;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--allow); display: inline-block; }
.dot-live { box-shadow: 0 0 0 0 rgba(126,226,158,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(126,226,158,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,158,0); } }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.02); }
.tab {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 4px; color: var(--muted); transition: background .2s, color .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--text); color: var(--ink); }
.light .tabs { border-color: var(--light-line); background: rgba(0,0,0,.03); }
.light .tab { color: var(--ink-muted); }
.light .tab:hover { color: var(--ink); }
.light .tab.is-active { background: var(--ink); color: var(--text); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-words .w { color: #3a3a3a; transition: color .35s linear; }
.reveal-words .w.on { color: var(--text); }

/* ==========================================================
   Header + menu
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference; color: #fff;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-glyph { width: 26px; height: 26px; color: #fff; }
.brand:hover .brand-glyph, .stream-glyph { animation: nod 1.1s var(--ease); }
.stream-glyph { animation: nodLoop 3s var(--ease) infinite; }
@keyframes nod { 0%, 100% { transform: none; } 35% { transform: translateY(3px) rotate(-6deg); } 65% { transform: translateY(-1px); } }
@keyframes nodLoop { 0%, 30%, 100% { transform: translate(-50%, -50%); } 12% { transform: translate(-50%, calc(-50% + 9px)); } }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-cta { font-family: var(--mono); font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.menu-btn { width: 34px; height: 34px; display: grid; align-content: center; gap: 6px; position: relative; z-index: 60; }
.menu-btn span { display: block; height: 1.5px; background: #fff; width: 26px; margin-left: auto; transition: transform .4s var(--ease), width .3s; }
.menu-btn span:last-child { width: 18px; }
body.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { width: 26px; transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
  display: flex; align-items: flex-end;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 48px; display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: end; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(32px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -.035em; font-weight: 400;
  color: #6d6d6d; transition: color .2s, transform .3s var(--ease);
}
.menu-links a:hover { color: var(--text); transform: translateX(8px); }
.menu-links i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.menu-side { display: grid; gap: 12px; font-size: 13px; }
.menu-side p { margin-bottom: 12px; line-height: 1.6; }
.menu-side a:hover { text-decoration: underline; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 22% 78%, rgba(6,6,6,.82) 0%, rgba(6,6,6,.45) 55%, rgba(6,6,6,0) 100%), linear-gradient(180deg, rgba(6,6,6,.35) 0%, rgba(6,6,6,0) 30%, rgba(6,6,6,.25) 62%, rgba(6,6,6,.95) 100%); }
.hero-list {
  position: absolute; top: 110px; left: 52%; list-style: none; margin: 0; padding: 0;
  font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.55;
}
.hero-list a { color: #d9d9d9; transition: color .2s, padding .3s var(--ease); display: inline-block; }
.hero-list a:hover { color: #fff; padding-left: 6px; }
.hero-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 56px; padding-top: 320px; }
.hero-main { max-width: 980px; }
.hero-title { font-size: clamp(48px, 8vw, 116px); line-height: .98; letter-spacing: -.05em; font-weight: 400; margin: 22px 0 22px; }
.hero-sub { max-width: 470px; color: #bdbdbd; font-size: 15px; line-height: 1.6; margin-bottom: 30px; }

.decision-ticker {
  width: 300px; flex-shrink: 0; border: 1px solid var(--line-2); border-radius: 8px; padding: 16px;
  background: rgba(8,8,8,.6); backdrop-filter: blur(10px); font-size: 12px;
}
.dt-head { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.dt-req { display: flex; justify-content: space-between; padding: 3px 0; }
.dt-req b { font-weight: 400; color: var(--text); }
.dt-flow { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.dt-flow i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.dt-result { padding: 3px 8px; border-radius: 3px; border: 1px solid currentColor; color: var(--allow); transition: color .3s; }
.dt-result.approve { color: var(--approve); }
.dt-result.block { color: var(--block); }
.decision-ticker.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { border-color: var(--text); } 100% { border-color: var(--line-2); } }

/* ==========================================================
   Sections
   ========================================================== */
.section { position: relative; padding: 160px 0; }
.dark { background: var(--bg); color: var(--text); }
.light { background: var(--light); color: var(--ink); }
.light .muted, .light .sec-sub { color: var(--ink-muted); }

.sec-head { max-width: 640px; margin-bottom: 72px; }
.sec-head h2, .cta h2 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; margin-bottom: 20px; }
.sec-sub { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 520px; }
.sec-head .btn { margin-top: 28px; }

.big-statement { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.14; letter-spacing: -.035em; font-weight: 400; }
.lede { margin-top: 36px; max-width: 540px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.lede strong { color: var(--text); font-weight: 500; }

/* steps */
#how { margin-top: 180px; }
.steps-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 0; }
.steps-head .label { margin: 0; }
.steps-head p:last-child { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.step { padding: 40px 24px 8px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step-icon { width: 44px; height: 44px; fill: none; stroke: var(--text); stroke-width: 1.3; margin-bottom: 48px; }
.step-icon .fill { fill: var(--text); }
.step-icon .thin { stroke-dasharray: 2 2; }
.step-n { font-size: 12px; color: var(--muted); }
.step h3 { font-family: var(--mono); font-weight: 400; font-size: 16px; margin: 8px 0 12px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.step.reveal:nth-child(2) { transition-delay: .08s; } .step.reveal:nth-child(3) { transition-delay: .16s; }
.step.reveal:nth-child(4) { transition-delay: .24s; } .step.reveal:nth-child(5) { transition-delay: .32s; }

/* stats */
.stats-section { padding-top: 40px; }
.stats-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-bottom: 110px; }
.stats-lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 28px; max-width: 540px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 32px 0; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(64px, 8vw, 128px); font-weight: 300; letter-spacing: -.06em; line-height: 1; display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.stat-num small { font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.stat p.muted { font-size: 14px; max-width: 260px; }

/* stream */
.stream-section { position: relative; height: min(88vh, 820px); min-height: 520px; overflow: hidden; background: #000; isolation: isolate; }
.stream-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stream-badge { position: absolute; top: 28px; right: var(--gutter); display: flex; align-items: center; gap: 8px; font-size: 12px; color: #cfcfcf; text-transform: uppercase; letter-spacing: .06em; }
.stream-glyph { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); color: #fff; filter: drop-shadow(0 0 40px rgba(255,255,255,.35)); }
.stream-feed { position: absolute; left: var(--gutter); bottom: 72px; width: min(560px, calc(100% - 2 * var(--gutter))); font-size: 12px; display: flex; flex-direction: column; gap: 6px; }
.feed-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); animation: feedIn .5s var(--ease); }
.feed-row span:first-child { color: var(--muted); }
.feed-row .r-allow { color: var(--allow); } .feed-row .r-approve { color: var(--approve); } .feed-row .r-block { color: var(--block); }
@keyframes feedIn { from { opacity: 0; transform: translateY(10px); } }
.stream-caption { position: absolute; left: var(--gutter); bottom: 28px; font-size: 11px; color: #6a6a6a; text-transform: uppercase; letter-spacing: .08em; }

/* use cases */
.cases { border-top: 1px solid var(--light-line); margin-bottom: 64px; }
.case {
  display: grid; grid-template-columns: minmax(220px, 1fr) 90px 2fr 60px; align-items: center; gap: 24px;
  padding: 44px var(--gutter); border-bottom: 1px solid var(--light-line);
  transition: background .35s var(--ease);
}
.case:hover { background: var(--light-2); }
.case-logo { font-size: 22px; letter-spacing: -.02em; text-align: center; }
.case-year { font-size: 12px; color: var(--ink-muted); align-self: start; padding-top: 6px; }
.case-body h3 { font-size: 24px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 12px; }
.case-body p { font-size: 13px; line-height: 1.65; color: var(--ink-muted); max-width: 520px; }
.case-arrow { width: 26px; height: 26px; justify-self: end; transition: transform .35s var(--ease); }
.case:hover .case-arrow { transform: translateX(6px); }

/* product canvas */
.canvas-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.canvas-top { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); gap: 12px; }
.canvas-mode { font-size: 12px; letter-spacing: .06em; }
.flow-scroll { overflow-x: auto; }
.flow { min-width: 760px; width: 100%; height: auto; }
.flow .edge { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.4; stroke-dasharray: 4 5; transition: stroke .4s, opacity .4s; }
.flow .edge.is-hot { stroke: var(--text); stroke-dasharray: none; }
.flow .e-allow.is-hot { stroke: var(--allow); }
.flow .e-approve.is-hot { stroke: var(--approve); }
.flow .e-block.is-hot { stroke: var(--block); }
.flow .edge.is-dim { opacity: .35; }
.node rect { fill: #111; stroke: rgba(255,255,255,.14); transition: stroke .4s, fill .4s; }
.node-core rect { fill: #161616; stroke: rgba(255,255,255,.3); }
.n-glyph { color: #fff; }
.node text { font-family: var(--mono); fill: var(--text); }
.n-kicker { font-size: 11px; letter-spacing: .08em; fill: var(--muted) !important; }
.n-kicker.c-allow { fill: var(--allow) !important; } .n-kicker.c-approve { fill: var(--approve) !important; } .n-kicker.c-block { fill: var(--block) !important; }
.n-title { font-size: 15px; }
.n-sub { font-size: 12px; fill: #a9a9a9 !important; }
.node.is-hot rect { stroke: var(--text); fill: #1a1a1a; }
.node-allow.is-hot rect { stroke: var(--allow); }
.node-approve.is-hot rect { stroke: var(--approve); }
.node-block.is-hot rect { stroke: var(--block); }
.node.is-dim { opacity: .4; }
.node { transition: opacity .4s; }
.log-pill rect { fill: #0c0c0c; stroke: rgba(255,255,255,.14); }
.log-pill text { font-family: var(--mono); }
.pulse { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.canvas-foot { display: grid; grid-template-columns: 1.2fr 1fr; border-top: 1px solid var(--line); }
.flow-json { margin: 0; padding: 20px 24px; font-size: 12px; line-height: 1.7; color: #bdbdbd; border-right: 1px solid var(--line); overflow-x: auto; min-height: 150px; }
.flow-result { padding: 20px 24px; display: grid; align-content: start; gap: 12px; }
.flow-result > span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.chip { justify-self: start; font-size: 13px; padding: 5px 10px; border-radius: 4px; border: 1px solid currentColor; color: var(--allow); }
.chip.approve { color: var(--approve); } .chip.block { color: var(--block); }
.flow-result p { font-size: 14px; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 110px; }
.feature { padding: 0 28px 0 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.f-icon { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; margin-bottom: 36px; }
.f-icon .fill { fill: currentColor; }
.feature h3, .sec-item h3 { font-weight: 400; font-size: 15px; line-height: 1.35; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature.reveal:nth-child(2) { transition-delay: .08s; } .feature.reveal:nth-child(3) { transition-delay: .16s; } .feature.reveal:nth-child(4) { transition-delay: .24s; }

/* onchain dashboard */
.onchain { background: radial-gradient(90% 60% at 50% 0%, #121212 0%, var(--bg) 70%); }
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: #0b0b0b; padding: 22px; display: flex; flex-direction: column; min-height: 380px; }
.panel.reveal:nth-child(2) { transition-delay: .1s; } .panel.reveal:nth-child(3) { transition-delay: .2s; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; font-size: 12px; }
.panel-title { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.panel-title svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.policy-list { margin: 0; display: grid; gap: 0; font-size: 13px; }
.policy-list div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.policy-list dt { color: var(--muted); }
.policy-list dd { margin: 0; }
.gauge { position: relative; margin: 8px auto 0; width: 100%; max-width: 280px; }
.gauge svg { width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 14; }
.g-track { stroke: #1b1b1b; }
.g-limit { stroke: rgba(255,255,255,.55); stroke-dasharray: 0 999; }
.g-val { stroke: var(--approve); stroke-linecap: butt; stroke-dasharray: 0 999; transition: stroke-dasharray 1.6s var(--ease); }
.gauge-read { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; display: grid; gap: 2px; font-size: 12px; }
.gauge-num { font-size: 40px; letter-spacing: -.04em; font-weight: 300; }
.panel-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; }
.panel-foot div { display: flex; justify-content: space-between; }
.panel-foot b { font-weight: 400; }
.decision-big { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.04em; font-weight: 300; margin: 12px 0 auto; }
.passkey { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 28px; }
.passkey p { font-size: 13px; line-height: 1.55; }
.passkey-ring { position: relative; width: 76px; height: 76px; display: grid; place-items: center; font-size: 13px; }
.passkey-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.passkey-ring circle { fill: none; stroke: #1c1c1c; stroke-width: 2.5; }
.passkey-ring .ring { stroke: var(--approve); stroke-dasharray: 106.8; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.note-strip { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; font-size: 13px; color: #bdbdbd; }
.note-strip p { line-height: 1.6; }
.tag { display: inline-block; margin-right: 12px; padding: 2px 8px; border: 1px solid var(--approve); color: var(--approve); border-radius: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* split security */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.split-media { position: relative; background: #000; overflow: hidden; min-height: 520px; }
.halftone { position: absolute; inset: 0; width: 100%; height: 100%; }
.split-cap { position: absolute; left: var(--gutter); bottom: 28px; font-size: 12px; color: #9a9a9a; text-transform: uppercase; letter-spacing: .08em; }
.split-body { padding: 140px var(--gutter) 120px 64px; }
.split-body .sec-head { margin-bottom: 56px; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--light-line); }
.sec-item { padding: 36px 28px 36px 0; border-bottom: 1px solid var(--light-line); }
.sec-item:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--light-line); }
.sec-item .f-icon { margin-bottom: 24px; }
.sec-item p { color: var(--ink-muted); font-size: 14px; line-height: 1.6; }

/* developers */
.dev-tabs { margin-bottom: 24px; }
.dev-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; }
.dev-copy { border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 380px; }
.dev-pane, .code, .faq-pane { display: none; }
.dev-pane.is-active, .code.is-active, .faq-pane.is-active { display: block; animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } }
.dev-pane p:first-child { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 20px; }
.dev-pane code { background: #1a1a1a; padding: 2px 6px; border-radius: 3px; }
.dev-pane .mono { font-size: 13px; }
.code-win { border: 1px solid var(--line); border-radius: 12px; background: #0a0a0a; overflow: hidden; min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.code-bar .muted { margin-left: auto; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.lights { display: flex; gap: 6px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: #262626; }
.code { margin: 0; padding: 28px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #d8d8d8; overflow-x: auto; }
.code .k { color: #9aa0ff; } .code .s { color: var(--allow); } .code .n { color: var(--approve); } .code .f { color: #fff; } .code .c { color: #6b6b6b; }

/* integrations */
.integrations { padding-top: 60px; }
.logo-grid { list-style: none; margin: 110px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid li { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; height: 140px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.logo-grid li:hover { background: #0e0e0e; }
.logo-grid span { font-size: 20px; letter-spacing: -.02em; }
.logo-grid em { font-style: normal; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.logo-grid em.c-allow { color: var(--allow); }

/* principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.principle { padding: 36px var(--gutter) 44px; border-right: 1px solid var(--light-line); display: flex; flex-direction: column; min-height: 340px; transition: background .3s; }
.principle:last-child { border-right: 0; }
.principle:hover { background: var(--light-2); }
.principle.reveal:nth-child(2) { transition-delay: .08s; } .principle.reveal:nth-child(3) { transition-delay: .16s; } .principle.reveal:nth-child(4) { transition-delay: .24s; }
.pr-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: auto; }
.pr-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--light); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; }
.pr-top h3 { font-size: 21px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.pr-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin: 48px 0 10px; }
.principle p:last-child { font-size: 14px; line-height: 1.6; color: #2e2e2d; }

/* research */
.research { padding-top: 120px; }
.papers { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.paper { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 10px; border: 1px solid var(--light-line); background: var(--light); transition: background .3s, transform .4s var(--ease); min-height: 300px; }
.paper:hover { background: var(--light-2); transform: translateY(-3px); }
.paper-feature { background: var(--ink); color: var(--text); border-color: var(--ink); }
.paper-feature:hover { background: #151515; }
.paper-art { height: 150px; border-radius: 6px; background: radial-gradient(circle at 30% 40%, #2a2a2a, #0b0b0b 70%); display: grid; place-items: center; margin-bottom: 8px; }
.paper-art svg { width: 56px; height: 56px; color: #eaeaea; }
.paper-meta { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); }
.paper-feature .paper-meta, .paper-feature p { color: var(--muted); }
.paper h3 { font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.paper p { font-size: 14px; line-height: 1.6; color: var(--ink-muted); margin-top: auto; }

/* faq */
.faq { padding-top: 60px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq-tabs { margin-bottom: 20px; }
details { border-top: 1px solid var(--light-line); }
details:last-child { border-bottom: 1px solid var(--light-line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex-shrink: 0; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) center/9px 1.4px no-repeat, linear-gradient(currentColor, currentColor) center/1.4px 9px no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 48px 24px 0; color: var(--ink-muted); font-size: 15px; line-height: 1.65; }

/* cta */
.cta { position: relative; overflow: hidden; padding: 180px 0 160px; background: #000; isolation: isolate; }
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.cta-inner { position: relative; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 60%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.signup { display: flex; gap: 8px; margin-top: 32px; max-width: 460px; }
.signup input {
  flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--line-2);
  background: rgba(0,0,0,.5); color: var(--text); font-family: var(--mono); font-size: 13px;
}
.signup input::placeholder { color: #6a6a6a; }
.signup input:focus { outline: none; border-color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup button:disabled { opacity: .6; cursor: wait; }
.signup-legal { font-size: 11px; color: #6a6a6a; }
.signup-legal a { text-decoration: underline; }
.signup-msg { margin-top: 12px; font-size: 12px; min-height: 18px; color: var(--muted); }

/* footer */
.footer { background: var(--bg); padding: 110px 0 24px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-glyph { width: 64px; height: 64px; color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: #cfcfcf; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-col .label { margin-bottom: 8px; font-size: 11px; }
.socials { display: flex; gap: 8px; margin-bottom: 12px; }
.socials a { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 4px; display: grid; place-items: center; transition: border-color .2s; }
.socials a:hover { border-color: var(--text); }
.socials svg { width: 15px; height: 15px; }
.footer-word {
  font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: 37vw; text-align: center; color: var(--text); margin: 80px 0 32px; white-space: nowrap;
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.footer-bottom a:hover { color: var(--text); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3) { border-right: 0; }
  .step:nth-child(4) { padding-left: 0; }
  .features { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .dash { grid-template-columns: 1fr 1fr; }
  .panel-decision { grid-column: 1 / -1; min-height: 0; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid var(--light-line); }
  .papers { grid-template-columns: 1fr 1fr; }
  .paper-feature { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 60vh; }
  .split-body { padding: 110px var(--gutter); }
}

@media (max-width: 820px) {
  :root { --gutter: 16px; }
  .section { padding: 110px 0; }
  .header-cta { display: none; }
  .menu-inner { grid-template-columns: 1fr; padding-bottom: 32px; }
  .hero { align-items: stretch; }
  .hero-content { flex-direction: column; align-items: stretch; padding-top: 0; justify-content: flex-end; min-height: 100svh; padding-bottom: 32px; gap: 28px; }
  .hero-list { position: static; margin-top: auto; display: none; }
  .hero-main { padding-top: 130px; }
  .decision-ticker { width: 100%; }
  .sec-head { margin-bottom: 48px; }
  #how { margin-top: 120px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child, .step:nth-child(4) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; }
  .step-icon { margin: 0; grid-row: span 3; }
  .steps-head { flex-direction: column; gap: 6px; }
  .stats-intro { grid-template-columns: 1fr; gap: 0; margin-bottom: 56px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:first-child { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stream-section { height: 640px; }
  .feed-row { grid-template-columns: 1fr auto; }
  .feed-row span:first-child { display: none; }
  .case { grid-template-columns: 1fr 28px; gap: 12px; padding: 32px var(--gutter); }
  .case-logo { text-align: left; font-size: 14px; color: var(--ink-muted); grid-column: 1; }
  .case-year { display: none; }
  .case-body { grid-column: 1; }
  .case-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .canvas-top { flex-wrap: wrap; }
  .canvas-mode { display: none; }
  .canvas-foot { grid-template-columns: 1fr; }
  .flow-json { border-right: 0; border-bottom: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; margin-top: 72px; }
  .feature, .feature + .feature { padding: 0; border-left: 0; }
  .dash { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
  .note-strip { flex-direction: column; align-items: flex-start; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-item, .sec-item:nth-child(even) { padding: 28px 0; border-left: 0; }
  .dev-grid { grid-template-columns: 1fr; }
  .dev-copy { min-height: 0; padding: 24px; }
  .tabs { max-width: 100%; overflow-x: auto; }
  .logo-grid { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .logo-grid li { height: 110px; }
  .logo-grid span { font-size: 16px; }
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0 !important; border-bottom: 1px solid var(--light-line); min-height: 0; }
  .pr-label { margin-top: 32px; }
  .papers { grid-template-columns: 1fr; }
  .paper { min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  details p { padding-right: 0; }
  .cta { padding: 130px 0 110px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-glyph { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-words .w { color: var(--text); }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
