/* Command Center public home page. Same tokens as the app (tcc-app/src/app.css), phone first. */
:root {
  --onyx: #050506; --bg: #08080a; --card: #111114; --card-2: #17171c;
  --line: rgba(236, 226, 205, 0.07); --line-2: rgba(236, 226, 205, 0.14); --line-gold: rgba(212, 175, 105, 0.34);
  --text: #f3eee4; --text-2: #b9b1a3; --text-3: #7c766c;
  --gold: #d4af69; --gold-hi: #f0d59a; --gold-lo: #9c7a3d;
  --gold-grad: linear-gradient(135deg, #f8e6b8 0%, #d4af69 45%, #9c7330 100%);
  --up: #4fc28a; --down: #ef6b5e;
  --f-display: 'Instrument Serif', 'Times New Roman', serif;
  --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em; margin: 0; line-height: 1.02; }
h2 { font-size: clamp(38px, 7vw, 76px); }
h3 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0; }
code, kbd { font-family: var(--f-mono); font-size: 0.86em; color: var(--gold-hi); background: rgba(212, 175, 105, 0.1); border: 1px solid var(--line-gold); border-radius: 6px; padding: 1px 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.eyebrow.up { color: var(--up); } .eyebrow.down { color: var(--down); }
.muted { color: var(--text-2); } .tiny { font-size: 11px; letter-spacing: 0.14em; } .mono { font-family: var(--f-mono); } .up { color: var(--up); }

/* film grain and opening curtain */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.curtain { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.curtain span { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; transition: transform 1.3s cubic-bezier(0.77, 0, 0.18, 1) 0.15s; }
.curtain span:first-child { top: 0; } .curtain span:last-child { bottom: 0; }
.ready .curtain span:first-child { transform: translateY(-100%); } .ready .curtain span:last-child { transform: translateY(100%); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 var(--f-body); letter-spacing: 0.01em; border: 1px solid var(--line-2); transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s; position: relative; overflow: hidden; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold-grad); color: #0a0805; border-color: transparent; box-shadow: 0 10px 40px rgba(212, 175, 105, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%); transform: translateX(-130%); animation: sheen 4.5s ease 2.5s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(212, 175, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--line-gold); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 17px; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: calc(12px + var(--safe-t)) 18px 12px; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(8, 8, 10, 0.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; display: block; filter: drop-shadow(0 4px 14px rgba(212, 175, 105, 0.35)); }
.brand-mark svg, .nt-logo svg, .final-dial svg { width: 100%; height: 100%; display: block; overflow: visible; }
.brand-name { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav-links a:hover { color: var(--text); } .nav-links a:hover::after { transform: scaleX(1); }

/* reveal on scroll */
.r { opacity: 0; transform: translateY(28px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.r.in { opacity: 1; transform: none; filter: none; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 18px 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(212, 175, 105, 0.16), transparent 60%), radial-gradient(ellipse 60% 50% at 10% 100%, rgba(212, 175, 105, 0.07), transparent 70%), var(--onyx); }
.hero-grid { position: absolute; inset: -20% -10% 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(900px) rotateX(58deg) translateY(var(--gy, 0px)); transform-origin: 50% 100%; mask-image: linear-gradient(to top, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%); animation: gridmove 14s linear infinite; }
@keyframes gridmove { to { background-position: 0 64px, 0 0; } }
.beam { position: absolute; z-index: -1; top: -30%; left: 55%; width: 38vw; min-width: 260px; height: 160%; background: linear-gradient(180deg, transparent, rgba(240, 213, 154, 0.09) 40%, transparent 80%); transform: rotate(24deg); filter: blur(30px); animation: beam 9s ease-in-out infinite alternate; }
@keyframes beam { to { transform: rotate(16deg) translateX(-12vw); opacity: 0.6; } }
.hero-dial { position: absolute; z-index: -1; top: 70px; right: -34vw; width: 110vw; max-width: 760px; aspect-ratio: 1; opacity: 0.55; transform: translateY(var(--dy, 0px)) rotate(var(--dr, 0deg)); }
.dial { position: absolute; inset: 14%; filter: drop-shadow(0 0 60px rgba(212, 175, 105, 0.35)); }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line-gold); }
.o1 { inset: 4%; opacity: 0.5; border-style: dashed; animation: spin 60s linear infinite; }
.o2 { inset: -6%; opacity: 0.22; animation: spin 90s linear infinite reverse; }
.o3 { inset: 9%; border-color: transparent; animation: spin 7s linear infinite; }
.o3 i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 18px 4px rgba(240, 213, 154, 0.8); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy { position: relative; max-width: 760px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(79, 194, 138, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(79, 194, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 194, 138, 0); } }
.hero h1 { font-size: clamp(54px, 14vw, 132px); line-height: 0.94; margin: 18px 0 22px; letter-spacing: -0.02em; }
.hero h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.float { display: none; position: absolute; z-index: 2; padding: 14px 16px; border-radius: 18px; background: rgba(20, 20, 24, 0.66); border: 1px solid var(--line-2); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); animation: bob 7s ease-in-out infinite; }
.float.in { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.f1 { width: 300px; right: 7%; top: 20%; } .f2 { right: 30%; top: 44%; animation-delay: -2s; } .f3 { right: 6%; bottom: 16%; width: 220px; animation-delay: -4s; }
.nt { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.nt b { color: var(--text); font-weight: 600; } .nt-t { margin-left: auto; color: var(--text-3); }
.nt-logo { width: 22px; height: 22px; border-radius: 6px; background: #0b0b0d; padding: 2px; flex: none; box-shadow: 0 0 0 1px var(--line-gold); }
.nt-title { font-weight: 700; font-size: 14px; } .nt-body { font-size: 13px; color: var(--text-2); }
.tag { font: 700 10px/1 var(--f-body); letter-spacing: 0.2em; color: var(--gold); }
.big { font: 400 46px/1 var(--f-display); margin: 6px 0 2px; }
.spark { width: 100%; height: 54px; margin-top: 8px; }
.spark .line { fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px rgba(240, 213, 154, 0.7)); }
.f3.in .spark .line { animation: draw 2.4s var(--ease) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translate(-50%, 12px); opacity: 0; } 100% { opacity: 0; } }

/* tape */
.tape { position: relative; border-block: 1px solid var(--line); background: #060607; overflow: hidden; }
.tape-track { display: flex; width: max-content; animation: tape 46s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tk { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-right: 1px solid var(--line); font: 500 13px/1 var(--f-mono); white-space: nowrap; }
.tk b { color: var(--text); font-weight: 600; letter-spacing: 0.04em; } .tk .px { color: var(--text-2); transition: color 0.4s; }
.tk .ch.up { color: var(--up); } .tk .ch.down { color: var(--down); }
.tk .px.flash-up { color: var(--up); } .tk .px.flash-down { color: var(--down); }
.tk svg { width: 54px; height: 18px; } .tk path { fill: none; stroke-width: 1.4; }
.tape-note { position: absolute; right: 0; top: 0; bottom: 0; display: grid; place-items: center; padding: 0 14px 0 40px; background: linear-gradient(90deg, transparent, #060607 40%); font: 600 9px/1 var(--f-body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }

/* manifesto */
.manifesto { padding: 120px 18px; }
.big-line { font: 400 clamp(30px, 5.4vw, 64px)/1.12 var(--f-display); max-width: 1100px; letter-spacing: -0.01em; }
.big-line .w { opacity: 0.14; transition: opacity 0.5s, color 0.5s; }
.big-line .w.on { opacity: 1; }

/* sections */
.sec-head { max-width: 860px; margin-bottom: 40px; }
.sec-head h2 { margin-top: 14px; }
.flow { padding: 40px 18px 120px; }
.pipe { position: relative; display: grid; gap: 12px; }
.pipe-svg { display: none; }
.node { position: relative; padding: 20px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), #0c0c0f; border: 1px solid var(--line-2); display: grid; gap: 6px; }
.node b { font-size: 17px; } .node span { color: var(--text-2); font-size: 14px; }
.node-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); margin-bottom: 6px; }
.node-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.node-ic.gold { background: var(--gold-grad); border-color: transparent; box-shadow: 0 0 40px rgba(212, 175, 105, 0.45); }
.node-ic.gold svg { stroke: #0a0805; }
.n-srv { border-color: var(--line-gold); box-shadow: 0 0 0 1px rgba(212, 175, 105, 0.1), 0 30px 80px rgba(212, 175, 105, 0.08); }
.pulse { fill: var(--gold-hi); filter: drop-shadow(0 0 8px rgba(240, 213, 154, 0.95)); }

.bento { display: grid; gap: 14px; padding-bottom: 120px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; padding: 26px; background: linear-gradient(165deg, #141418, #0d0d10); border: 1px solid var(--line-2); display: grid; gap: 22px; isolation: isolate; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 175, 105, 0.13), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.tile:hover::before { opacity: 1; }
.tile-copy h3 { margin: 12px 0 10px; } .tile-copy p { color: var(--text-2); font-size: 15px; }

.term-mock { border-radius: 16px; background: #050506; border: 1px solid var(--line-2); font: 500 12px/1 var(--f-mono); overflow: hidden; }
.tm-bar { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.tm-bar span { background: var(--gold); color: #000; padding: 3px 6px; border-radius: 4px; font-weight: 700; }
.tm-bar i { margin-left: auto; font-style: normal; color: var(--text-3); font-size: 9px; letter-spacing: 0.2em; }
.tm-row { display: grid; grid-template-columns: 1fr auto auto 54px; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tm-row b { color: var(--text); } .tm-row .px { color: var(--text-2); transition: color 0.4s; } .tm-row .px.flash-up { color: var(--up); } .tm-row .px.flash-down { color: var(--down); }
.tm-row svg { width: 54px; height: 16px; } .tm-row path { fill: none; stroke-width: 1.4; }
.tm-cmd { display: flex; align-items: center; gap: 10px; padding: 12px; background: rgba(212, 175, 105, 0.05); }
.tm-cmd span { color: var(--gold); font-weight: 700; } .tm-cmd b { color: var(--text); letter-spacing: 0.08em; } .tm-cmd em { margin-left: auto; font-style: normal; color: var(--gold); }
.caret { width: 8px; height: 15px; background: var(--gold-hi); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.jr-mock { display: grid; gap: 8px; }
.jr-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); font-size: 14px; }
.chk { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); flex: none; position: relative; transition: all 0.4s var(--ease); }
.chk.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 16px rgba(212, 175, 105, 0.5); }
.chk.on::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #0a0805; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.jr-grade { display: flex; gap: 8px; margin-top: 6px; }
.jr-grade span { flex: 1; text-align: center; padding: 10px 0; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 700; color: var(--text-2); }
.jr-grade span.on { background: var(--gold-grad); color: #0a0805; border-color: transparent; }

.ana-mock { display: grid; gap: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 10px; border-radius: 16px; background: #050506; border: 1px solid var(--line-2); }
.bars i { flex: 1; border-radius: 4px 4px 1px 1px; height: 4%; transition: height 1.2s var(--ease); }
.bars i.neg { background: linear-gradient(180deg, rgba(239, 107, 94, 0.9), rgba(239, 107, 94, 0.25)); }
.bars i.pos { background: linear-gradient(180deg, var(--gold-hi), rgba(212, 175, 105, 0.25)); }
.ana-note { font: 600 9px/1 var(--f-body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }

.tg-mock { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: #0e1621; border: 1px solid rgba(138, 168, 216, 0.15); font-size: 14px; line-height: 1.5; }
.tg-msg { max-width: 92%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #182533; opacity: 0; transform: translateY(14px) scale(0.98); transition: all 0.7s var(--ease); }
.tg-msg.show { opacity: 1; transform: none; }
.tg-q { display: block; border-left: 2px solid #6ab3f3; padding-left: 8px; margin-bottom: 6px; color: #6ab3f3; font-size: 12px; }

.ring-mock { display: flex; align-items: center; gap: 18px; }
.ring-mock svg { width: 120px; height: 120px; transform: rotate(-90deg); flex: none; }
.ring-bg { fill: none; stroke: var(--card-2); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.8s var(--ease); filter: drop-shadow(0 0 8px rgba(212, 175, 105, 0.6)); }
.ring-mock b { display: block; font: 400 54px/1 var(--f-display); }
.ring-mock span { color: var(--text-2); font-size: 14px; }

/* phone */
.phone-sec { display: grid; gap: 50px; align-items: center; padding-bottom: 140px; }
.phone-copy h2 { margin: 14px 0 18px; } .phone-copy p { color: var(--text-2); font-size: 17px; max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 7px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.phone { justify-self: center; width: min(330px, 86vw); aspect-ratio: 9 / 19; border-radius: 52px; padding: 12px; background: linear-gradient(145deg, #2a2620, #0c0b09 40%, #1d1a15); box-shadow: 0 0 0 1px rgba(240, 213, 154, 0.22), 0 60px 120px rgba(0, 0, 0, 0.8), 0 0 120px rgba(212, 175, 105, 0.14); transform: perspective(1200px) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform 0.6s var(--ease); }
.phone-screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; padding: 64px 14px 20px; background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 105, 0.3), transparent 55%), radial-gradient(ellipse at 50% 120%, rgba(212, 175, 105, 0.18), transparent 50%), #07070a; }
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 110px; height: 32px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.ps-time { text-align: center; font: 300 74px/1 var(--f-body); letter-spacing: -0.04em; }
.ps-date { text-align: center; color: var(--text-2); font-size: 13px; margin: 6px 0 26px; }
.ps-stack { display: grid; gap: 8px; }
.ps-n { display: flex; gap: 10px; padding: 12px; border-radius: 20px; background: rgba(40, 38, 34, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; line-height: 1.35; opacity: 0; transform: translateY(-24px) scale(0.94); transition: all 0.8s var(--ease); }
.ps-n.show { opacity: 1; transform: none; }
.ps-n b { display: block; font-size: 13px; } .ps-n span { color: var(--text-2); }
.ps-n.urgent { box-shadow: inset 0 0 0 1px rgba(239, 107, 94, 0.55); }
.ps-n .nt-logo { width: 34px; height: 34px; border-radius: 9px; }

/* investors */
.inv { padding-bottom: 140px; }
.inv-card { position: relative; overflow: hidden; padding: 34px 24px; border-radius: 32px; border: 1px solid var(--line-gold); background: radial-gradient(ellipse at 100% 0%, rgba(212, 175, 105, 0.16), transparent 50%), linear-gradient(165deg, #141418, #0b0b0d); }
.inv-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-gold); color: var(--gold-hi); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.inv-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.inv-card h2 { margin: 20px 0 28px; max-width: 880px; }
.inv-cols { display: grid; gap: 22px; margin-bottom: 24px; }
.inv-cols ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
.inv-cols li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }

/* facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-bottom: 0; padding: 0; max-width: none; }
.fact { background: var(--bg); padding: 34px 18px; }
.fact b { display: block; font: 400 clamp(48px, 8vw, 86px)/1 var(--f-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { display: block; margin-top: 10px; color: var(--text-2); font-size: 14px; max-width: 220px; }

/* final */
.final { position: relative; overflow: hidden; text-align: center; padding: 160px 18px; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(212, 175, 105, 0.18), transparent 70%); }
.final-dial { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(720px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--fr, 0deg)); opacity: 0.12; }
.final h2 { font-size: clamp(54px, 12vw, 140px); }
.final p { color: var(--text-2); margin: 16px 0 34px; font-size: 18px; }

.foot { padding: 34px 18px calc(34px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.foot p { color: var(--text-3); font-size: 12.5px; max-width: 760px; }

/* logo animation (same as the app) */
.logo-anim .lg-ring { stroke-dasharray: 100; stroke-dashoffset: 100; animation: lg-draw 1.6s cubic-bezier(0.65, 0, 0.25, 1) 0.9s forwards; }
.logo-anim .lg-ticks, .logo-anim .lg-knurl { transform-origin: 256px 256px; }
.logo-anim .lg-ticks { animation: lg-crack 2.2s cubic-bezier(0.3, 0, 0.2, 1) 0.9s both; }
.logo-anim .lg-knurl { animation: lg-crack-rev 2.2s cubic-bezier(0.3, 0, 0.2, 1) 0.9s both; }
.logo-anim .lg-inner, .logo-anim .lg-glint, .logo-anim .lg-halo { animation: lg-fade 1s ease 1.8s both; }
.logo-anim .lg-c { transform-box: fill-box; transform-origin: 50% 100%; animation: lg-rise 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.logo-anim .lg-c1 { animation-delay: 1.8s; } .logo-anim .lg-c3 { animation-delay: 1.95s; } .logo-anim .lg-c2 { animation-delay: 2.1s; }
.logo-anim .lg-jewel { transform-box: fill-box; transform-origin: 50% 50%; animation: lg-lock 0.8s cubic-bezier(0.2, 1.6, 0.4, 1) 2.6s both, jewel 3s ease-in-out 3.6s infinite; }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-crack { 0% { transform: rotate(-160deg); opacity: 0; } 30% { transform: rotate(50deg); opacity: 1; } 55% { transform: rotate(-22deg); } 75% { transform: rotate(8deg); } 90% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
@keyframes lg-crack-rev { 0% { transform: rotate(160deg); opacity: 0; } 30% { transform: rotate(-40deg); opacity: 1; } 55% { transform: rotate(16deg); } 80% { transform: rotate(-4deg); } 100% { transform: rotate(0); } }
@keyframes lg-fade { from { opacity: 0; } }
@keyframes lg-rise { from { transform: scaleY(0); opacity: 0; } }
@keyframes lg-lock { 0% { transform: scale(0) rotate(-90deg); opacity: 0; filter: brightness(3); } 60% { transform: scale(1.6); opacity: 1; filter: brightness(2.4); } 100% { transform: none; filter: none; } }
@keyframes jewel { 50% { filter: brightness(1.5) drop-shadow(0 0 12px #f0d59a); } }

/* larger screens */
@media (min-width: 760px) {
  .wrap, .manifesto { padding-left: 32px; padding-right: 32px; }
  .nav { padding-left: 32px; padding-right: 32px; }
  .hero { padding: 140px 32px 110px; justify-content: center; }
  .hero-dial { right: -8vw; top: 50%; width: 62vw; margin-top: calc(-31vw); opacity: 0.9; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 48px 32px; }
  .inv-card { padding: 56px; }
  .inv-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .nav-links { display: flex; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(64px, 6.4vw, 104px); }
  .hero-dial { right: 2vw; width: 46vw; margin-top: -23vw; }
  .float { display: block; }
  .pipe { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto auto; gap: 18px 120px; min-height: 420px; }
  .pipe-svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .pipe-svg path { fill: none; stroke: var(--line-gold); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
  .n-mt5 { grid-column: 1; grid-row: 2; } .n-srv { grid-column: 2; grid-row: 2; }
  .n-tg { grid-column: 3; grid-row: 1; } .n-ph { grid-column: 3; grid-row: 2; } .n-db { grid-column: 3; grid-row: 3; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .t-term { grid-column: span 4; grid-template-columns: 1fr 1.25fr; align-items: center; }
  .t-journal { grid-column: span 2; }
  .t-ana { grid-column: span 2; }
  .t-alert { grid-column: span 2; }
  .t-risk { grid-column: span 2; }
  .tile { padding: 34px; }
  .phone-sec { grid-template-columns: 1.1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .r { opacity: 1; transform: none; filter: none; }
  .curtain { display: none; }
  .logo-anim .lg-ring { stroke-dashoffset: 0; }
  .tg-msg, .ps-n { opacity: 1; transform: none; }
}
