@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/fonts/figtree-latin.woff2") format("woff2"); }

:root {
  --bg: #070a12; --bg2: #0b1020; --surface: rgba(255,255,255,.035); --line: rgba(255,255,255,.09);
  --fg: #e9edf5; --muted: #8e97aa; --dim: #5d667a;
  --brand: #3b7566; --accent: #4fb08e; --accent2: #8ff0c8; --mint: #8ff0c8;
  --grad: linear-gradient(90deg, var(--accent), var(--accent2));
  --display: "Figtree", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px; --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(--fg); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(79,176,142,.3); }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---- nav ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 18px clamp(16px, 4vw, 48px);
  transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7,10,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; }
.logo { display: block; height: 26px; width: auto; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.links a { position: relative; padding: 4px 0; transition: color .25s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.links a:hover { color: var(--fg); } .links a:hover::after { transform: scaleX(1); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint);
  border: 1px solid rgba(143,240,200,.35); border-radius: 999px; padding: 7px 13px; background: rgba(143,240,200,.06); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(143,240,200,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(143,240,200,.55); } 70% { box-shadow: 0 0 0 9px rgba(143,240,200,0); } 100% { box-shadow: 0 0 0 0 rgba(143,240,200,0); } }

/* ---- hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 16px 90px; overflow: hidden; isolation: isolate; }
#lattice { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 45%, rgba(79,176,142,.10), transparent 70%), radial-gradient(40% 40% at 70% 70%, rgba(143,240,200,.12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 42% at 50% 46%, rgba(7,10,18,.78), rgba(7,10,18,.35) 60%, transparent 100%), linear-gradient(to bottom, transparent 75%, var(--bg)); }
.hero-inner { max-width: 880px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 74px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 24px; }
h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .scr { color: var(--dim); }
.lede { max-width: 700px; margin: 0 auto 34px; font-size: clamp(16px, 1.6vw, 19.5px); color: var(--muted); line-height: 1.65; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #06101c; background: var(--grad); box-shadow: 0 10px 40px -10px rgba(79,176,142,.55); }
.btn.primary:hover { box-shadow: 0 16px 50px -10px rgba(79,176,142,.75); }
.btn.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn.ghost:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chips span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; background: rgba(255,255,255,.02); }

.ticker { position: absolute; left: 0; right: 0; bottom: 54px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.ticker-row { white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--dim); animation: slide 70s linear infinite; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.scroll-hint { position: absolute; bottom: 16px; left: 50%; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid var(--line); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---- sections ---- */
.section { padding: clamp(80px, 11vw, 150px) 16px; position: relative; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 50px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 18px; max-width: 760px; }
.sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 18.5px); max-width: 720px; margin: 0 0 44px; }

/* why / timeline */
.why { background: linear-gradient(180deg, var(--bg), var(--bg2) 50%, var(--bg)); }
.timeline { position: relative; margin-top: 10px; }
.track { position: relative; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.14), rgba(143,240,200,.5)); border-radius: 2px; margin: 0 8% 34px; }
.track .pulse { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px 4px rgba(79,176,142,.6); animation: travel 5s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stop { position: relative; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.stop::before { content: ""; position: absolute; top: -45px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.25); }
.stop b { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 8px; }
.stop span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.stop.balsso { border-color: rgba(143,240,200,.35); background: linear-gradient(180deg, rgba(143,240,200,.08), rgba(143,240,200,.02)); }
.stop.balsso::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 16px rgba(143,240,200,.7); }
.stop.balsso b { color: var(--mint); }

/* protocol */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { padding: 16px 18px 16px 22px; border-left: 2px solid transparent; border-image: var(--grad) 1; background: linear-gradient(90deg, rgba(255,255,255,.04), transparent); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.facts b { display: block; color: var(--fg); font-family: var(--display); font-size: 17px; margin-bottom: 4px; }
.diagram { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(80% 80% at 50% 0%, rgba(143,240,200,.10), transparent), var(--surface); }
.diagram svg { width: 100%; height: auto; display: block; font-family: var(--body); }
.diagram .node rect { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.diagram .node text { fill: var(--fg); font-size: 15px; font-weight: 600; text-anchor: middle; font-family: var(--display); }
.diagram .node text.small { fill: var(--muted); font-size: 11px; font-weight: 400; font-family: var(--body); }
.diagram .kdf rect { stroke: url(#gc); } .diagram .kdf text { font-family: var(--mono); font-size: 13.5px; letter-spacing: .02em; }
.diagram .key rect { fill: rgba(79,176,142,.08); stroke: url(#gc); stroke-width: 1.5; filter: url(#glow); }
.diagram .label { fill: var(--muted); font-size: 11.5px; text-anchor: middle; letter-spacing: .04em; }
.diagram .lane { fill: none; stroke: url(#gc); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; opacity: .9; }
.diagram.in .l1 { animation: draw 1.4s var(--ease) .2s forwards; }
.diagram.in .l2 { animation: draw 1.4s var(--ease) .5s forwards; }
.diagram.in .l3 { animation: draw 1.2s var(--ease) 1.2s forwards; }
.diagram.in .l4 { animation: draw .8s var(--ease) 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.diagram .m { fill: var(--accent); opacity: 0; filter: url(#glow); }
.diagram.in .m { animation: blink 3s infinite; }
.diagram.in .m:nth-child(2) { animation-delay: .4s; } .diagram.in .m:nth-child(3) { animation-delay: .8s; } .diagram.in .m:nth-child(4) { animation-delay: 1.2s; } .diagram.in .m:nth-child(5) { animation-delay: 1.6s; }
@keyframes blink { 0%, 100% { opacity: .15; } 30% { opacity: 1; } }

/* features */
.features { background: linear-gradient(180deg, var(--bg), var(--bg2) 60%, var(--bg)); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.card { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(79,176,142,.14), transparent 60%); }
.card:hover { transform: translateY(-4px); border-color: rgba(79,176,142,.35); } .card:hover::before { opacity: 1; }
.card svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card h3 { font-family: var(--display); font-size: 20px; margin: 0 0 10px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.3px; line-height: 1.6; }

/* status */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 20px; padding: 18px 0; position: relative; }
.steps li + li::before { content: ""; position: absolute; left: 16px; top: -14px; height: 28px; width: 2px; background: var(--line); }
.steps li.done + li::before { background: linear-gradient(var(--mint), var(--line)); }
.steps .n { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--bg); }
.steps li.done .n { border-color: var(--mint); color: var(--mint); background: rgba(143,240,200,.12); }
.steps li.done .n::after { content: "✓"; font-size: 15px; font-weight: 700; }
.steps li.now .n { border-color: var(--accent); color: var(--accent); animation: ring 2.4s infinite; }
.steps li.now .n::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(79,176,142,.45); } 70% { box-shadow: 0 0 0 10px rgba(79,176,142,0); } 100% { box-shadow: 0 0 0 0 rgba(79,176,142,0); } }
.steps b { font-family: var(--display); font-size: 19px; } .steps li.now b { color: var(--accent); }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: 15.3px; }
.steps li:not(.done):not(.now) { opacity: .62; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 50px 16px 40px; color: var(--muted); font-size: 14.5px; }
.brandline { display: flex; align-items: center; margin-bottom: 14px; }
.brandline .logo { height: 22px; }
.foot p { margin: 0 0 8px; max-width: 640px; } .foot .copy { color: var(--dim); font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.grid .card:nth-child(2), .facts li:nth-child(2), .stops .stop:nth-child(2), .steps li:nth-child(2) { transition-delay: .1s; }
.grid .card:nth-child(3), .facts li:nth-child(3), .stops .stop:nth-child(3), .steps li:nth-child(3) { transition-delay: .2s; }
.grid .card:nth-child(4), .facts li:nth-child(4), .steps li:nth-child(4) { transition-delay: .3s; }
.grid .card:nth-child(5), .steps li:nth-child(5) { transition-delay: .4s; } .grid .card:nth-child(6), .steps li:nth-child(6) { transition-delay: .5s; }

/* responsive */
@media (max-width: 960px) {
  .wrap.two { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .links { display: none; } .nav { gap: 14px; } .pill { margin-left: auto; }
  .stops { grid-template-columns: 1fr; } .track { display: none; } .stop::before { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; } .ticker { bottom: 40px; } .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill i, .track .pulse, .ticker-row, .scroll-hint span, .steps li.now .n, .diagram .m { animation: none !important; }
  .diagram .lane { stroke-dashoffset: 0; } .diagram .m { opacity: .8; }
}
