/* TunnelGPT design system — tokens mirror /brand */
@view-transition { navigation: auto; }

:root {
  --ink: #07070B; --ink-2: #0E0E15; --ink-3: #15151F;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .14);
  --text: #F3F3F7; --muted: #A2A2B6; --dim: #6C6C82;
  --violet: #7B61FF; --cyan: #2EE6D6; --volt: #D4FF3A; --ember: #FF5C3A;
  --grad: linear-gradient(110deg, var(--violet), var(--cyan));
  --aurora: linear-gradient(110deg, var(--violet), var(--cyan) 55%, var(--volt));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --warp: cubic-bezier(.55, 0, 1, .45);
  --display: 'Unbounded', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* ───────── base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::after { content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .045; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--volt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(740px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; margin-inline: auto; }
.mt { margin-top: 72px; }
code { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { background: rgb(255 255 255 / .07); padding: 2px 6px; border-radius: 6px; }

/* ───────── type */
.display { font: 800 clamp(48px, 9.2vw, 136px)/.92 var(--display); letter-spacing: -.055em; }
.display.sm { font-size: clamp(40px, 7vw, 100px); }
.h1 { font: 700 clamp(36px, 5.4vw, 68px)/1.02 var(--display); letter-spacing: -.045em; }
.h2 { font: 700 clamp(32px, 4.8vw, 60px)/1.04 var(--display); letter-spacing: -.045em; }
.h3 { font: 600 20px/1.25 var(--display); letter-spacing: -.025em; }
.kicker { display: inline-block; font: 500 12.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--volt); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.micro, .fine { font-size: 13px; color: var(--dim); }
.fine a, .switch a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────── buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.volt { background: var(--volt); color: var(--ink); box-shadow: 0 10px 40px -12px rgb(212 255 58 / .7); }
.btn.volt:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgb(212 255 58 / .14), 0 20px 50px -12px rgb(212 255 58 / .8); }
.btn.volt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .65) 50%, transparent 65%); translate: -100% 0; animation: shine 5s var(--ease) infinite; }
.btn.ghost { background: rgb(255 255 255 / .04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .24); }
.arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr, a:hover > .arr, a:hover .read .arr { transform: translateX(4px); }
@keyframes shine { 0%, 65% { translate: -100% 0; } 100% { translate: 100% 0; } }

/* ───────── the Warp mark */
.mark { width: 34px; height: 34px; flex: none; overflow: visible; }
.mark .ring { transform-origin: 41px 23px; transform: scale(var(--s)); }
.mark .core { fill: var(--volt); transform-origin: 41px 23px; filter: drop-shadow(0 0 3px var(--volt)); }
.mark.live .ring { animation: warp 4s linear infinite; animation-delay: calc(var(--i) * -1s); }
.mark.live .core { animation: core 2s ease-in-out infinite; }
.mark.xl { width: 120px; height: 120px; }
.mark.huge { width: 220px; height: 220px; }
@keyframes warp {
  0% { transform: scale(.06); opacity: 0; }
  20% { opacity: 1; }
  25% { transform: scale(.27); }
  50% { transform: scale(.48); }
  75% { transform: scale(.72); }
  88% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes core { 50% { transform: scale(1.45); } }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.wm { font: 700 19px/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.wm b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm.xl { font-size: clamp(40px, 7vw, 88px); }

/* ───────── nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; height: 72px; padding-inline: max(20px, calc((100% - 1200px) / 2)); background: rgb(7 7 11 / .72); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
@supports (animation-timeline: scroll()) {
  .nav { background: transparent; backdrop-filter: none; border-bottom-color: transparent; animation: navbg linear both; animation-timeline: scroll(); animation-range: 0 140px; }
}
@keyframes navbg { to { background: rgb(7 7 11 / .72); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); } }
.links { display: flex; gap: 2px; margin-inline: auto; }
.links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color .2s, background .2s; }
.links a:hover, .links a[aria-current] { color: var(--text); background: rgb(255 255 255 / .06); }
.nav-cta { display: flex; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border-radius: 12px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .04); place-content: center; gap: 6px; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease); }
.nav.open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .links, .nav-cta { display: none; }
  .burger { display: grid; }
  .nav.open { height: auto; flex-wrap: wrap; padding-block: 14px 20px; background: var(--ink); animation: none; }
  .nav.open .links { display: flex; flex-direction: column; order: 3; width: 100%; margin: 12px 0 0; }
  .nav.open .links a { padding: 14px 4px; font: 600 22px var(--display); letter-spacing: -.03em; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .nav.open .nav-cta { display: flex; order: 4; width: 100%; margin-top: 12px; }
  .nav.open .nav-cta .btn { flex: 1; height: 48px; }
}

/* ───────── tunnel background (shared) */
.tunnel { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --vx: 50%; --vy: 36%; mask-image: radial-gradient(ellipse at var(--vx) var(--vy), #000 30%, transparent 75%); }
.tunnel i { position: absolute; left: var(--vx); top: var(--vy); width: 130vmax; aspect-ratio: 1.55; border-radius: 40%; border: 1.5px solid rgb(123 97 255 / .55); translate: -50% -50%; scale: .02; opacity: 0; animation: zoom 12s var(--warp) infinite; animation-delay: calc(var(--i) * -12s / var(--n)); transition: left 1.2s var(--ease), top 1.2s var(--ease); }
.tunnel i:nth-child(even) { border-color: rgb(46 230 214 / .45); }
.tunnel i:nth-child(3n) { border-color: rgb(212 255 58 / .3); }
@keyframes zoom { 0% { scale: .02; opacity: 0; } 15% { opacity: .9; } 100% { scale: 1.1; opacity: 0; } }

/* ───────── hero */
.hero { position: relative; isolation: isolate; padding: 168px 0 0; text-align: center; overflow: hidden; }
.hero .tunnel { --vy: 290px; }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: 290px; width: min(1000px, 140vw); aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(closest-side, rgb(212 255 58 / .5), transparent 12%), radial-gradient(closest-side, rgb(123 97 255 / .38), transparent), radial-gradient(closest-side at 60% 50%, rgb(46 230 214 / .18), transparent); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { scale: 1.12; opacity: .8; } }
.hero-in { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-in > :not(h1) { animation: up 1.1s var(--ease) both; }
.hero-in > .lead { animation-delay: .25s; }
.hero-in > .cta { animation-delay: .35s; }
.hero-in > .micro { animation-delay: .45s; }
@keyframes up { from { opacity: 0; transform: translateY(28px); filter: blur(10px); } }
.display .line { display: block; overflow: hidden; padding: 0 .04em .08em; }
.display .line > span { display: inline-block; animation: lineup 1.2s var(--ease) both; }
.display .line + .line > span { animation-delay: .1s; }
.hero .display .grad { background-image: var(--aurora); background-size: 200% 100%; animation: lineup 1.2s .1s var(--ease) both, sheen 6s ease-in-out infinite alternate; }
@keyframes lineup { from { transform: translateY(105%) rotate(4deg); } }
@keyframes sheen { to { background-position: 100% 0; } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .04); backdrop-filter: blur(10px); font-size: 14px; color: var(--muted); transition: border-color .3s, color .3s; }
.pill:hover { border-color: rgb(212 255 58 / .5); color: var(--text); }
.pulse { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--volt); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(212 255 58 / .6); } 70%, 100% { box-shadow: 0 0 0 10px rgb(212 255 58 / 0); } }

/* ───────── chat mockup */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.mock-wrap { margin-top: 80px; perspective: 1800px; }
.mock { position: relative; text-align: left; border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgb(22 22 32 / .92), rgb(10 10 16 / .97)); backdrop-filter: blur(20px); box-shadow: 0 50px 140px -30px rgb(123 97 255 / .45), 0 30px 60px -30px #000; overflow: hidden; transform-origin: 50% 0; animation: mock-in 1.6s .35s var(--ease) both; }
.mock::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--spin), transparent 0 65%, var(--violet), var(--cyan), var(--volt), transparent 95%); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 7s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes mock-in { from { opacity: 0; transform: rotateX(28deg) translateY(90px) scale(.92); } }
.mock-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a38; }
.dots.ghost { visibility: hidden; }
.mock-url { display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; padding: 5px 16px; border-radius: 9px; background: rgb(255 255 255 / .05); font: 12px var(--mono); color: var(--dim); }
.mock-url .ico { width: 12px; height: 12px; }
.mock-body { display: grid; grid-template-columns: 236px 1fr; height: 540px; }
.mock-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); font-size: 13.5px; background: rgb(255 255 255 / .015); }
.mock-new { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--text); font-weight: 600; }
kbd { font: 11px var(--mono); color: var(--dim); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); }
.mock-label { margin: 16px 10px 6px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mock-side .chat { padding: 8px 12px; border-radius: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .4s, color .4s; }
.mock-side .chat.on { background: rgb(255 255 255 / .07); color: var(--text); }
.mm { display: flex; align-items: center; gap: 10px; padding: 7px 12px; color: var(--muted); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); transition: background .4s, box-shadow .4s; }
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.model-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .05); font: 600 13px var(--sans); white-space: nowrap; }
.model-pill.flip { animation: flip .55s var(--ease); }
@keyframes flip { 50% { transform: rotateX(90deg); } }
.chev { color: var(--dim); font-size: 11px; }
.mock-tag { margin-left: auto; padding: 5px 10px; border-radius: 8px; font: 500 11.5px var(--mono); color: var(--dim); border: 1px solid var(--line); }
.mock-tag + .mock-tag { margin-left: 0; }
.mock-tag.on { color: var(--volt); border-color: rgb(212 255 58 / .3); }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px 28px; overflow: hidden; }
.msg { animation: msg-in .6s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(14px); } }
.msg.me { align-self: flex-end; max-width: 78%; }
.bubble { padding: 12px 16px; border-radius: 18px 18px 4px 18px; border: 1px solid var(--line); background: var(--ink-3); font-size: 14.5px; }
.msg.ai { display: flex; gap: 12px; max-width: 94%; }
.av { flex: none; width: 28px; height: 28px; border-radius: 9px; background: conic-gradient(from 200deg, var(--c), rgb(255 255 255 / .25), var(--c)); box-shadow: 0 0 20px -4px var(--c); }
.ai-body { min-width: 0; font-size: 14.5px; color: #dcdce6; }
.ai-body > * + * { margin-top: 8px; }
.ai-body ol, .ai-body ul { padding-left: 18px; }
.ai-body li + li { margin-top: 4px; }
.who { display: block; font: 600 11.5px var(--mono); color: var(--muted); }
.msgs pre { margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #0a0a11; font: 12.5px/1.6 var(--mono); overflow: auto; color: #cfd0ff; }
.file { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.file b { padding: 4px 7px; border-radius: 6px; background: var(--ember); color: var(--ink); font: 700 10.5px var(--mono); }
.w { opacity: 0; filter: blur(4px); transition: opacity .4s, filter .4s; }
.w.on { opacity: 1; filter: none; }
.think { display: flex; gap: 5px; padding: 8px 0; }
.think i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bob 1s ease-in-out infinite; }
.think i:nth-child(2) { animation-delay: .15s; } .think i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 50% { transform: translateY(-5px); opacity: .4; } }
.gen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 380px; }
.gen-meta { grid-column: 1 / -1; font: 11.5px var(--mono); color: var(--dim); }
.gen-art { aspect-ratio: 4 / 5; border-radius: 14px; border: 1px solid var(--line); background:
  radial-gradient(circle at 50% 42%, #fff 0 1.5%, var(--volt) 2.5%, transparent 9%),
  repeating-radial-gradient(circle at 50% 42%, transparent 0 14px, rgb(255 60 200 / .65) 15px 17px, transparent 18px 28px, rgb(46 230 214 / .55) 29px 31px),
  linear-gradient(transparent 62%, rgb(123 97 255 / .5)),
  radial-gradient(circle at 50% 42%, #2a0f4d, #07070b 72%); }
.gen-art.alt { filter: hue-rotate(70deg) saturate(1.3); background-position: 0 0, 0 0, 0 0, 0 0; }
.gen.dev .gen-art { animation: develop 2.2s var(--ease) both; }
.gen.dev .gen-art.alt { animation-delay: .3s; }
@keyframes develop { from { filter: blur(26px) saturate(0) brightness(.4); transform: scale(.96); } }
.composer { display: flex; align-items: center; gap: 10px; margin: 0 20px 20px; padding: 12px 12px 12px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .03); font-size: 14.5px; }
.typed { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.typed:empty::before { content: attr(data-ph); color: var(--dim); }
.caret { width: 2px; height: 18px; margin-right: auto; background: var(--volt); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--volt); color: var(--ink); font-weight: 700; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── sections */
.section { position: relative; padding: 140px 0; }
.sec-head { display: grid; gap: 20px; max-width: 780px; margin-bottom: 64px; }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.row { display: flex; max-width: none; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head.row > div { display: grid; gap: 20px; }
@supports (animation-timeline: view()) {
  .reveal, .sec-head { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px) scale(.97); } }

/* models */
.marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 8px; }
.track { display: flex; gap: 12px; width: max-content; animation: marq 60s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(calc(-50% - 6px)); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); font: 600 17px var(--sans); white-space: nowrap; transition: border-color .3s; }
.chip:hover { border-color: var(--c); }
.chip small { font-weight: 500; font-size: 13px; color: var(--dim); }
.mcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.mcat { display: grid; gap: 10px; padding: 28px; border-top: 1px solid var(--line-2); }
.mcat b { font: 800 56px/1 var(--display); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mcat p { color: var(--muted); font-size: 15px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 28px; border-radius: 26px; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; transition: border-color .4s; }
.card:hover { border-color: var(--line-2); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(123 97 255 / .2), transparent 60%); opacity: 0; transition: opacity .5s; }
.card:hover::before { opacity: 1; }
.card > .h3, .card > p { padding-inline: 14px; }
.card > p { color: var(--muted); font-size: 15px; }
.viz { position: relative; height: 220px; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgb(123 97 255 / .14), transparent 65%), var(--ink); overflow: hidden; }

.v-switch { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 28px; }
.vs-q { align-self: flex-end; padding: 9px 14px; border-radius: 14px 14px 4px 14px; border: 1px solid var(--line); background: var(--ink-3); font-size: 13.5px; }
.vs-pills { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 520px; padding: 4px; border-radius: 13px; border: 1px solid var(--line); background: rgb(255 255 255 / .04); text-align: center; font: 600 12.5px var(--sans); }
.vs-pills span { position: relative; z-index: 1; padding: 8px 0; }
.vs-pills .vs-ind { position: absolute; z-index: 0; inset: 4px auto 4px 4px; width: calc(25% - 2px); padding: 0; border-radius: 10px; background: var(--grad); box-shadow: 0 0 24px rgb(123 97 255 / .5); animation: vs 8s var(--ease) infinite; }
@keyframes vs { 0%, 22% { translate: 0; } 25%, 47% { translate: 100%; } 50%, 72% { translate: 200%; } 75%, 97% { translate: 300%; } 100% { translate: 0; } }
.vs-lines { display: grid; gap: 9px; max-width: 520px; }
.vs-lines i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgb(255 255 255 / .2), rgb(255 255 255 / .05)); transform-origin: left; animation: redraw 2s var(--ease) infinite; }
.vs-lines i:nth-child(2) { width: 86%; animation-delay: .1s; } .vs-lines i:nth-child(3) { width: 60%; animation-delay: .2s; }
@keyframes redraw { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }

.v-auto { display: grid; place-content: center; justify-items: center; gap: 6px; }
.va-slot { height: 44px; overflow: hidden; }
.va-list { display: flex; flex-direction: column; align-items: center; animation: slot 10s var(--ease) infinite; }
.va-list > * { display: flex; align-items: center; height: 44px; white-space: nowrap; }
.va-q { font-size: 14px; color: var(--text); font-style: italic; }
.va-arrow { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--volt); }
@keyframes slot { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-20%); } 50%, 70% { transform: translateY(-40%); } 75%, 95% { transform: translateY(-60%); } 100% { transform: translateY(-80%); } }

.v-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 26px 20px; }
.vc-col { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--ink-2); }
.vc-col .dot { margin-bottom: 6px; }
.vc-col i { height: 6px; border-radius: 3px; background: rgb(255 255 255 / .14); transform-origin: left; animation: redraw 3.2s var(--ease) infinite; animation-delay: calc(var(--i) * .18s); }
.vc-col i:nth-child(3) { width: 80%; } .vc-col i:nth-child(4) { width: 94%; } .vc-col i:nth-child(5) { width: 52%; }
.vc-col.win { animation: win 3.2s infinite; }
@keyframes win { 0%, 55% { border-color: var(--line); box-shadow: none; } 70%, 100% { border-color: rgb(212 255 58 / .6); box-shadow: 0 0 0 3px rgb(212 255 58 / .12), 0 0 30px -6px rgb(212 255 58 / .5); } }

.v-memory { display: grid; place-items: center; }
.v-memory .mark { width: 78px; height: 78px; }
.mem { position: absolute; left: var(--x); top: var(--y); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(14 14 21 / .85); font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; animation: float 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes float { 50% { transform: translateY(-9px); } }

.v-files { display: grid; place-items: center; }
.fcard { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; width: 140px; height: 118px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-3); font-size: 11.5px; color: var(--muted); box-shadow: 0 24px 40px -18px #000; transform: translateX(var(--x)) rotate(var(--r)); transition: transform .7s var(--ease); }
.fcard b { align-self: flex-start; padding: 4px 8px; border-radius: 6px; background: var(--c); color: var(--ink); font: 700 10.5px var(--mono); }
.card:hover .fcard { transform: translateX(calc(var(--x) * 1.45)) translateY(-8px) rotate(calc(var(--r) * 1.6)); }

.v-create { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; }
.art { position: relative; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.a1 { background: radial-gradient(circle at 50% 40%, #fff 0 2%, var(--volt) 3.5%, transparent 12%), repeating-radial-gradient(circle at 50% 40%, transparent 0 7px, rgb(255 60 200 / .65) 8px 9px, transparent 10px 15px, rgb(46 230 214 / .55) 16px 17px), #150a26; }
.a2 { background: radial-gradient(circle at 50% 58%, #ffe08a 0 16%, transparent 17%), repeating-linear-gradient(transparent 0 6px, #07070b 6px 8px) 0 58% / 100% 42% no-repeat, linear-gradient(#07070b, #3b1d7a 40%, #ff5c3a 70%, #ffb347); }
.a3 { background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / .8), transparent 6%), radial-gradient(circle at 50% 50%, transparent 30%, #07070b 31% 33%, transparent 34%), conic-gradient(from 90deg, var(--violet), var(--cyan), var(--volt), var(--ember), var(--violet)); animation: turn 12s linear infinite; }
.a4 { display: grid; place-items: end start; padding: 10px; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .08) 50%, transparent 70%) 0 0 / 250% 100%, var(--ink-3); animation: scan 1.8s linear infinite; font: 500 10.5px var(--mono); color: var(--muted); }
.a4 b { color: var(--volt); }
@keyframes turn { to { filter: hue-rotate(360deg); } }
@keyframes scan { from { background-position: 125% 0, 0 0; } to { background-position: -125% 0, 0 0; } }

.v-private { display: grid; place-items: center; }
.rp { position: absolute; width: 90px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(46 230 214 / .6); animation: ripple 3.6s var(--ease) infinite; }
.rp:nth-child(2) { animation-delay: 1.2s; } .rp:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.lock { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad); color: var(--ink); box-shadow: 0 0 50px rgb(123 97 255 / .65); }
.lock .ico { width: 32px; height: 32px; stroke-width: 2.2; }

/* compare */
.cmp-prompt { display: flex; align-items: center; gap: 14px; max-width: 780px; margin: 0 auto 24px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--ink-2); font-size: 17px; }
.cmp-you { padding: 5px 10px; border-radius: 8px; background: var(--ink-3); font: 500 11.5px var(--mono); color: var(--muted); }
.cmp-n { margin-left: auto; padding: 5px 10px; border-radius: 8px; background: rgb(212 255 58 / .12); font: 500 11.5px var(--mono); color: var(--volt); white-space: nowrap; }
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.cmp-col { display: grid; gap: 16px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.cmp-col p { color: #d4d4de; font-size: 15.5px; }
.cmp-col.best { border-color: rgb(212 255 58 / .45); box-shadow: 0 0 0 1px rgb(212 255 58 / .1), 0 30px 70px -30px rgb(212 255 58 / .35); }
.cmp-head { display: flex; align-items: center; gap: 10px; }
.cmp-win { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: var(--volt); color: var(--ink); font: 600 11px var(--mono); }
.cmp-meta { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--dim); }
.cmp-foot { margin-top: 32px; text-align: center; color: var(--muted); }

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: grid; gap: 12px; align-content: start; padding: 32px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), transparent); }
.step b { margin-bottom: 36px; font: 800 72px/1 var(--display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-block: 1px solid var(--line); }
.stat { display: grid; gap: 10px; padding: 44px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font: 800 clamp(52px, 6.4vw, 96px)/.9 var(--display); letter-spacing: -.06em; }
.stat:nth-child(1) b { color: var(--volt); }
.stat span { color: var(--muted); }

/* pricing */
.bill { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--ink-2); }
.bill input { position: absolute; opacity: 0; pointer-events: none; }
.bill label { position: relative; z-index: 1; padding: 10px 24px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .3s; }
.bill input:checked + label { color: var(--ink); }
.bill em { margin-left: 4px; font-style: normal; font-size: 12px; color: var(--violet); }
.bill-ind { position: absolute; inset: 4px auto 4px 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--volt); transition: translate .5s var(--ease); }
.pricing:has(#b-y:checked) .bill-ind { translate: 100%; }
.bill:has(:focus-visible) { outline: 2px solid var(--volt); outline-offset: 3px; }
.py { display: none; }
.pricing:has(#b-y:checked) .py { display: inline-block; }
.pricing:has(#b-y:checked) .pm { display: none; }
.pm, .py { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; margin: 8px 0 40px; }
.plan { position: relative; display: grid; gap: 24px; padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: var(--ink-2); }
.plan.hot { border-color: transparent; background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--aurora) border-box; box-shadow: 0 40px 100px -40px rgb(123 97 255 / .7); }
.plan .badge { position: absolute; top: 28px; right: 28px; padding: 6px 10px; border-radius: 999px; background: var(--volt); color: var(--ink); font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.plan .muted { margin-top: 6px; font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.amt { font: 800 68px/1 var(--display); letter-spacing: -.06em; }
.per { color: var(--dim); font-size: 14px; }
.plan ul { display: grid; gap: 13px; padding: 0; list-style: none; font-size: 15px; color: #d6d6e0; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgb(212 255 58 / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5.5' fill='none' stroke='%23D4FF3A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; font: 600 19px/1.35 var(--display); letter-spacing: -.025em; transition: color .3s; }
.faq summary:hover { color: var(--volt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 300 30px/.8 var(--sans); color: var(--volt); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding-bottom: 26px; max-width: 640px; color: var(--muted); }

/* final */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 180px 0; text-align: center; }
.final .tunnel { --vy: 30%; }
.final .wrap { display: grid; justify-items: center; gap: 28px; }
.final .mark { margin-bottom: 12px; }

/* footer */
.foot { padding: 88px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { max-width: 320px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols h4 { margin-bottom: 16px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot-cols a { display: block; padding: 5px 0; color: var(--muted); font-size: 15px; transition: color .2s; }
.foot-cols a:hover { color: var(--text); }
.foot-giant { margin: 80px 0 28px; font: 900 clamp(48px, 14.4vw, 214px)/.82 var(--display); letter-spacing: -.065em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .16); user-select: none; transition: -webkit-text-stroke-color .6s; }
.foot-giant:hover { -webkit-text-stroke-color: rgb(255 255 255 / .4); }
.foot-giant b { font-weight: 900; -webkit-text-stroke: 0; background: var(--aurora); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 5s ease-in-out infinite alternate; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 12.5px var(--mono); color: var(--dim); }

/* ───────── journal */
.page-head { display: grid; justify-items: start; gap: 24px; padding: 168px 0 64px; }
.tabs { display: inline-flex; gap: 4px; margin-top: 16px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); }
.tabs a { display: inline-flex; gap: 6px; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: color .2s; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { background: var(--text); color: var(--ink); view-transition-name: tab-on; }
.tabs sup { font: 500 10px var(--mono); opacity: .6; }
.journal { padding-bottom: 140px; }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.feature > div { display: grid; gap: 20px; justify-items: start; }
.feature .h2 { transition: color .3s; }
.feature:hover .h2 { color: var(--volt); }
.read { display: inline-flex; gap: 8px; font-weight: 600; color: var(--volt); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.pcard { display: grid; gap: 14px; align-content: start; }
.pcard h3 { font: 600 21px/1.25 var(--display); letter-spacing: -.03em; transition: color .3s; }
.pcard:hover h3 { color: var(--volt); }
.excerpt { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.tag { color: var(--volt); }
.tag.news { color: var(--cyan); }

.cover { position: relative; isolation: isolate; aspect-ratio: 16 / 10; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.cover.big { aspect-ratio: 16 / 9; border-radius: 26px; }
.cover::before, .cover::after { content: ''; position: absolute; inset: 0; transition: scale 1.4s var(--ease); }
a:hover .cover::before { scale: 1.08; }
.cover-mark { position: absolute; z-index: 2; left: 18px; bottom: 16px; }
.cover-mark .mark { width: 30px; height: 30px; }
.cover.rings::before { background: radial-gradient(circle at 66% 40%, #fff 0 .7%, var(--b) 1.4%, transparent 9%), repeating-radial-gradient(circle at 66% 40%, transparent 0 20px, color-mix(in srgb, var(--a) 75%, transparent) 21px 23px, transparent 24px 34px), radial-gradient(circle at 66% 40%, color-mix(in srgb, var(--a) 40%, transparent), transparent 62%); }
.cover.rings::after { background: linear-gradient(transparent 50%, rgb(7 7 11 / .8)); }
.cover.grid::before { inset: 48% -40% -20%; background: linear-gradient(color-mix(in srgb, var(--a) 70%, transparent) 1.5px, transparent 1.5px) 0 0 / 100% 34px, linear-gradient(90deg, color-mix(in srgb, var(--a) 70%, transparent) 1.5px, transparent 1.5px) 0 0 / 34px 100%; transform: perspective(260px) rotateX(64deg); transform-origin: top; mask-image: linear-gradient(transparent, #000 55%); animation: gridmove 1.6s linear infinite; }
.cover.grid::after { background: radial-gradient(40% 30% at 50% 47%, var(--b), transparent), radial-gradient(70% 50% at 50% 48%, color-mix(in srgb, var(--a) 35%, transparent), transparent 70%); }
@keyframes gridmove { to { background-position: 0 34px, 0 0; } }
.cover.orb::before { background: radial-gradient(circle at 38% 42%, var(--a), transparent 38%), radial-gradient(circle at 64% 60%, var(--b), transparent 40%), radial-gradient(circle at 70% 25%, var(--violet), transparent 30%); filter: blur(34px) saturate(1.2); animation: orb 9s ease-in-out infinite alternate; }
.cover.orb::after { inset: 18% 34%; aspect-ratio: 1; margin: auto; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); box-shadow: inset 0 0 60px rgb(255 255 255 / .12); backdrop-filter: blur(6px); }
@keyframes orb { to { transform: rotate(50deg) scale(1.15); } }
.cover.beams::before { background: repeating-conic-gradient(from 270deg at 50% 120%, transparent 0 5deg, color-mix(in srgb, var(--a) 65%, transparent) 5deg 5.6deg, transparent 5.6deg 11deg, color-mix(in srgb, var(--b) 60%, transparent) 11deg 11.6deg); mask-image: linear-gradient(transparent 5%, #000 80%); animation: beams 8s ease-in-out infinite alternate; }
.cover.beams::after { background: radial-gradient(50% 40% at 50% 100%, var(--a), transparent 70%); opacity: .7; }
@keyframes beams { to { transform: skewX(8deg) scaleY(1.1); } }

.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--aurora); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { .progress { animation: prog linear both; animation-timeline: scroll(root); } }
@keyframes prog { to { transform: scaleX(1); } }
.post-head { display: grid; justify-items: start; gap: 22px; padding-top: 160px; }
.back { color: var(--muted); font-size: 14px; transition: color .2s; }
.back:hover { color: var(--volt); }
.byline { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--grad); color: var(--ink); font: 700 14px var(--display); }
.post-cover { margin-block: 56px 64px; }
.prose { font-size: 18px; line-height: 1.75; color: #d6d6e0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font: 700 27px/1.2 var(--display); letter-spacing: -.035em; color: var(--text); }
.prose strong { color: var(--text); }
.prose a { color: var(--volt); text-decoration: underline; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--volt); }
.prose blockquote { margin: 2em 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--volt); font: 600 23px/1.45 var(--display); letter-spacing: -.025em; color: var(--text); }
.prose.legal { padding-bottom: 140px; font-size: 16.5px; }
.prose.legal h2 { font-size: 21px; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 72px; padding: 24px 28px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(120% 140% at 0 0, rgb(123 97 255 / .18), transparent 60%), var(--ink-2); }
.post-cta > div { display: flex; align-items: center; gap: 16px; }
.post-cta .mark { width: 44px; height: 44px; }
.post-cta p { color: var(--muted); font-size: 15px; }
.post-cta b { color: var(--text); }

/* ───────── brand book */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.toc a { display: inline-flex; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); font-weight: 600; font-size: 14px; transition: border-color .3s, color .3s; }
.toc a:hover { border-color: var(--volt); color: var(--volt); }
.toc span { font: 500 11px var(--mono); color: var(--dim); align-self: center; }
.bsec { padding: 120px 0; border-top: 1px solid var(--line); }
.bhead { display: flex; align-items: baseline; gap: 20px; margin-bottom: 48px; }
.bnum { font: 500 14px var(--mono); color: var(--volt); }
.big { max-width: 1000px; font: 600 clamp(26px, 3.4vw, 44px)/1.2 var(--display); letter-spacing: -.035em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pillar { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.pillar p { color: var(--muted); font-size: 15px; }
.stage { position: relative; isolation: isolate; display: grid; place-items: center; height: clamp(320px, 46vw, 520px); border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 50%, rgb(123 97 255 / .16), transparent), var(--ink); overflow: hidden; }
.stage .tunnel { --vy: 50%; }
.stage-lockup { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.stage-lockup .mark { width: clamp(64px, 10vw, 128px); height: clamp(64px, 10vw, 128px); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.two > div { display: grid; gap: 16px; }
.specs { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 13px var(--mono); }
.specs span { color: var(--dim); }
.construct-box { padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--ink-2); }
.construct { width: 100%; }
.construct .guides { fill: none; stroke: rgb(255 255 255 / .16); stroke-width: .25; }
.construct .dash { stroke: var(--volt); stroke-dasharray: 1 1; }
.construct .pt { fill: var(--volt); }
.construct .lbl { font: 2.6px var(--mono); fill: var(--muted); }
.lockups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
figure { display: grid; gap: 12px; }
figcaption { font-size: 14px; color: var(--muted); }
figcaption b { color: var(--text); }
.lk { display: flex; align-items: center; justify-content: center; gap: 12px; height: 200px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.lk .mark { width: 48px; height: 48px; }
.lk .wm { font-size: 26px; }
.lk.stack { flex-direction: column; }
.lk.light { background: var(--text); color: var(--ink); }
.lk.light .core { fill: var(--ink); filter: none; }
.lk.violet { background: var(--violet); }
.lk.violet .ring, .lk.volt .ring { stroke: currentColor; }
.lk.violet .core { fill: var(--text); filter: none; }
.lk.violet .wm b, .lk.volt .wm b { background: none; color: inherit; }
.lk.volt { background: var(--volt); color: var(--ink); }
.lk.volt .core { fill: var(--ink); filter: none; }
.app-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 26px; background: radial-gradient(circle at 64% 36%, rgb(123 97 255 / .35), transparent 60%), var(--ink); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgb(123 97 255 / .7); }
.app-icon .mark { width: 60px; height: 60px; }
.clear-box { display: grid; place-items: center; height: 220px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.clear-in { display: flex; align-items: center; gap: 12px; padding: 24px; outline: 1.5px dashed rgb(212 255 58 / .5); outline-offset: 0; background: repeating-linear-gradient(45deg, rgb(212 255 58 / .05) 0 6px, transparent 6px 12px); }
.clear-in .mark { width: 48px; height: 48px; }
.clear-in .wm { font-size: 26px; }
.mins { display: flex; align-items: end; justify-content: center; gap: 36px; height: 220px; padding-bottom: 40px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.mins span { display: grid; justify-items: center; gap: 12px; }
.mins .mark { width: var(--sz); height: var(--sz); }
.mins small { font: 11px var(--mono); color: var(--dim); }
.donts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }
.dont > div { display: grid; place-items: center; height: 140px; border-radius: 18px; border: 1px solid rgb(255 92 58 / .3); background: var(--ink-2); overflow: hidden; }
.dont .mark { width: 56px; height: 56px; }
.dont figcaption { color: var(--ember); font-size: 13px; }
.dont.stretch .mark { transform: scaleX(1.7); }
.dont.rotate .mark { transform: rotate(35deg); }
.dont.recolor .ring { stroke: var(--ember); }
.dont.effects .mark { filter: drop-shadow(6px 8px 0 #ff00aa) drop-shadow(-4px -4px 0 #00ff66); }
.dont.busy > div { background: repeating-linear-gradient(45deg, #ff5c3a 0 10px, #2ee6d6 10px 20px, #d4ff3a 20px 30px); }
.fake { font: italic 700 22px Georgia, 'Times New Roman', serif; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.sw { position: relative; display: grid; gap: 6px; padding: 12px 12px 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); text-align: left; cursor: copy; transition: transform .4s var(--ease), border-color .3s; }
.sw:hover { transform: translateY(-4px); border-color: var(--line-2); }
.sw-chip { height: 120px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--c); }
.sw b, .sw code, .sw small, .sw em { padding-inline: 6px; }
.sw b { font: 600 16px var(--display); letter-spacing: -.02em; }
.sw code { color: var(--text); }
.sw small { font: 11.5px var(--mono); color: var(--dim); }
.sw em { font-style: normal; font-size: 13px; color: var(--muted); }
.copied-tag { position: absolute; top: 20px; right: 20px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--volt); font: 600 11px var(--mono); opacity: 0; transform: translateY(6px); transition: .3s var(--ease); }
.copied .copied-tag { opacity: 1; transform: none; }
.ratio { display: flex; height: 72px; margin-top: 24px; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.ratio span { background: var(--c); }
.ratio-legend { margin-top: 12px; font: 12px var(--mono); color: var(--dim); }
.grads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.g { height: 180px; border-radius: 22px; }
.g1 { background: var(--grad); }
.g2 { background: var(--aurora); background-size: 200% 100%; animation: sheen 5s ease-in-out infinite alternate; }
.g3 { background: radial-gradient(circle at 50% 55%, var(--volt) 0 4%, var(--violet) 22%, #2a1d66 42%, var(--ink) 70%); }
.fonts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.font { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.font p { color: var(--muted); font-size: 15px; }
.font .f-sample { font-size: 110px; line-height: 1; color: var(--text); letter-spacing: -.04em; }
.scale { margin-top: 48px; border-top: 1px solid var(--line); }
.scale-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.scale-row > div { display: grid; gap: 4px; }
.scale-row small { font: 12px var(--mono); color: var(--dim); }
.scale-row .display { font-size: clamp(44px, 8vw, 110px); }
.scale-row p { overflow: hidden; text-overflow: ellipsis; }
.curves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.curve { display: grid; gap: 8px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.curve code { color: var(--volt); }
.curve small { color: var(--dim); }
.lane { position: relative; height: 40px; margin-bottom: 12px; border-radius: 999px; background: rgb(255 255 255 / .04); }
.ball { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 20px rgb(123 97 255 / .7); animation: lane 2.4s infinite; }
@keyframes lane { 0% { left: 8px; } 70%, 100% { left: calc(100% - 32px); } }
.durs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; }
.durs div { display: grid; gap: 4px; padding: 20px 24px; border-left: 1px solid var(--line); }
.durs div:first-child { border-left: 0; }
.durs small { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.durs b { font: 700 26px var(--display); letter-spacing: -.04em; }
.saydont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.say, .nosay { display: grid; gap: 16px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.say { border-color: rgb(212 255 58 / .3); }
.nosay { border-color: rgb(255 92 58 / .3); }
.say ul, .nosay ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.say li::before { content: '✓  '; color: var(--volt); }
.nosay li { color: var(--muted); }
.nosay li::before { content: '✕  '; color: var(--ember); }
.naming { display: grid; gap: 12px; margin-top: 16px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); }
.naming .ok { font-family: var(--display); color: var(--volt); }
.naming .no { display: flex; gap: 20px; flex-wrap: wrap; font: 14px var(--mono); color: var(--ember); }
.assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset { position: relative; display: grid; justify-items: start; gap: 6px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2); text-align: left; cursor: pointer; transition: border-color .3s, transform .4s var(--ease); }
.asset:hover { border-color: var(--volt); transform: translateY(-4px); }
.asset > .mark, .asset > .app-icon, .asset-code { margin-bottom: 16px; }
.asset > .mark { width: 72px; height: 72px; }
.asset .app-icon { width: 72px; height: 72px; border-radius: 20px; }
.asset .app-icon .mark { width: 44px; height: 44px; }
.asset-code { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--ink-3); font: 700 24px var(--mono); color: var(--volt); }
.asset small { color: var(--dim); }
.tokens { margin-top: 16px; padding: 24px 28px; border-radius: 22px; border: 1px solid var(--line); background: #0a0a11; font: 13px/1.7 var(--mono); color: #cfd0ff; overflow: auto; }

/* ───────── auth */
.auth { display: grid; grid-template-columns: minmax(400px, 1fr) 1.15fr; min-height: 100vh; }
.auth-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px clamp(20px, 5vw, 72px); }
.auth-card { display: grid; gap: 16px; width: min(420px, 100%); margin: auto 0; animation: up 1s var(--ease) both; }
.auth-card .h2 { font-size: clamp(32px, 3.4vw, 44px); }
.form { display: grid; gap: 16px; margin-top: 12px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input { height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-2); font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.field input::placeholder { color: var(--dim); }
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgb(123 97 255 / .2); }
.form .btn { margin-top: 8px; }
.alert { padding: 12px 16px; border-radius: 12px; border: 1px solid rgb(255 92 58 / .4); background: rgb(255 92 58 / .1); color: #ffb4a3; font-size: 14.5px; animation: shake .5s var(--ease); }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.switch { color: var(--muted); font-size: 15px; }
.auth-art { position: relative; isolation: isolate; display: grid; place-items: center; align-content: center; gap: 48px; margin: 12px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(60% 50% at 50% 42%, rgb(123 97 255 / .25), transparent 70%), var(--ink-2); overflow: hidden; }
.auth-art .tunnel { --vy: 50%; }
.orbit { position: absolute; inset: 0; }
.orbit .chip { position: absolute; padding: 10px 16px; font-size: 14px; background: rgb(14 14 21 / .85); backdrop-filter: blur(8px); offset-path: ellipse(36% 28% at 50% 50%); offset-rotate: 0deg; offset-distance: calc(var(--i) * 12.5%); animation: orbit 48s linear infinite; animation-delay: calc(var(--i) * -6s); }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.auth-quote { position: absolute; bottom: 6%; font: 800 clamp(30px, 3.2vw, 46px)/1 var(--display); letter-spacing: -.05em; text-align: center; }

/* ───────── app */
.shell { display: grid; grid-template-columns: 272px 1fr; height: 100vh; }
.side { display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; border-right: 1px solid var(--line); background: var(--ink-2); overflow: auto; }
.side > .brand { padding: 4px 8px 16px; }
.side-new { margin-top: 4px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-weight: 600; font-size: 14px; }
.side-models { display: grid; gap: 2px; padding: 0; list-style: none; }
.side-models li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.side-models .ico { width: 14px; height: 14px; margin-left: auto; color: var(--dim); }
.side-user { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line); }
.who-u { display: grid; min-width: 0; flex: 1; font-size: 14px; }
.who-u small { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--volt); border-color: var(--volt); }
.work { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: auto; background: radial-gradient(50% 40% at 50% 30%, rgb(123 97 255 / .14), transparent 70%); }
.work-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.ea { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgb(212 255 58 / .3); color: var(--volt); font: 500 12px var(--mono); }
.work-center { flex: 1; display: grid; justify-items: center; align-content: center; gap: 24px; padding: 48px 24px; text-align: center; }
.work-center .lead { max-width: 580px; }
.work-center .lead b { color: var(--text); }
.queue { display: grid; gap: 0; width: min(420px, 100%); margin-top: 8px; padding: 8px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); list-style: none; text-align: left; }
.queue li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--dim); font-size: 15px; }
.queue li span { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); }
.queue li.done { color: var(--text); }
.queue li.done span { border-color: var(--volt); background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5.5' fill='none' stroke='%2307070B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.queue li.now { color: var(--text); }
.queue li.now span { border-color: var(--cyan); border-top-color: transparent; animation: turnspin 1s linear infinite; }
@keyframes turnspin { to { transform: rotate(360deg); } }
.starters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(620px, 100%); margin-top: 16px; }
.starters span { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgb(255 255 255 / .02); color: var(--dim); font-size: 14px; text-align: left; }
.composer.locked { justify-content: center; margin: 0 auto 24px; width: min(760px, 100% - 40px); padding: 18px; color: var(--dim); }

/* ───────── error */
.err { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; padding: 140px 0 80px; text-align: center; overflow: hidden; }
.err .wrap { display: grid; justify-items: center; gap: 24px; }
.err .tunnel { --vy: 40%; }

/* ───────── responsive */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .s2, .s3 { grid-column: span 1; } .s4 { grid-column: span 2; }
  .mcats, .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cmp, .plans, .steps, .posts, .pillars, .fonts, .curves, .grads, .assets { grid-template-columns: 1fr 1fr; }
  .feature, .two, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .donts { grid-template-columns: repeat(3, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 96px 0; }
  .bento, .cmp, .plans, .steps, .posts, .pillars, .fonts, .curves, .grads, .assets, .lockups, .saydont, .starters { grid-template-columns: 1fr; }
  .s4 { grid-column: span 1; }
  .mcats, .stats, .durs { grid-template-columns: 1fr 1fr; }
  .donts { grid-template-columns: 1fr 1fr; }
  .mock-wrap { margin-top: 56px; }
  .mock-body { height: 480px; }
  .msgs { padding: 18px; }
  .mock-tag { display: none; }
  .scale-row { grid-template-columns: 1fr; gap: 8px; }
  .shell { grid-template-columns: 1fr; height: auto; min-height: 100vh; }
  .side { display: none; }
  .mins { gap: 18px; }
  .durs div:nth-child(3) { border-left: 0; }
  .stat { padding: 32px 18px; }
}

/* Reduced motion: drop zoom, parallax, marquees and 3D entrances; keep the small brand loops and the chat demo. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tunnel i { animation: none; scale: calc(.12 + var(--i) * .1); opacity: .3; }
  .track, .mock, .hero-in > *, .display .line > span, .reveal, .sec-head, .cover::before, .hero-glow, .orbit .chip, .va-list, .vs-ind, .rp { animation: none !important; }
}
