/* web.tapplab.dev · style.css · v1.01 */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --bg: #05060c; --bg-1: #090b15; --bg-2: #0e1120; --bg-3: #141831;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --ink: #f3f4fa; --ink-2: #c9ccdf; --muted: #9aa0b8; --dim: #6a7089;
  --blue: #4b74ff; --violet: #9b5cff; --purple: #c46cff; --teal: #2fe3c0; --mint: #5ff59a;
  --minus: #ff6f86; --plus: #5ff59a;
  --grad: linear-gradient(90deg, #3f6dff 0%, #6d6bff 22%, #9b5cff 42%, #c46cff 60%, #36d6d0 80%, #5ff59a 100%);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --g: clamp(16px, 3.4vw, 48px);
  --wrap: 1480px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --zone: clamp(232px, 31vh, 292px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
::selection { background: rgba(155,92,255,.45); color: #fff; }
:focus-visible { outline: 2px solid #a88bff; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #05060c; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 550 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-light { background: #f4f5fb; color: #07080f; }
.btn-light:hover { background: #fff; box-shadow: 0 0 0 4px rgba(155,92,255,.18), 0 12px 32px -10px rgba(120,90,255,.6); }
.btn-line { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.02); color: var(--ink); padding-left: 10px; }
.btn-line:hover { border-color: rgba(168,139,255,.7); background: rgba(155,92,255,.08); }
.btn-line .play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
.btn-line .play .ic { width: 12px; height: 12px; }
.btn-line:hover .play .ic { transform: none; }
.btn-violet { height: 42px; padding: 0 18px; font-size: 14px; color: #fff; background: linear-gradient(180deg, rgba(40,26,92,.9), rgba(22,16,58,.9)); border-color: rgba(160,120,255,.75); box-shadow: 0 0 0 1px rgba(110,70,255,.15), 0 0 26px -6px rgba(130,90,255,.55), inset 0 1px rgba(255,255,255,.12); }
.btn-violet:hover { border-color: #b79bff; box-shadow: 0 0 0 4px rgba(130,90,255,.18), 0 0 30px -4px rgba(130,90,255,.7), inset 0 1px rgba(255,255,255,.16); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); cursor: pointer; transition: border-color .2s, background .2s; }
.round:hover { border-color: rgba(168,139,255,.7); background: rgba(155,92,255,.1); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(5,6,12,.72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 84px; transition: height .35s var(--ease); }
.nav.is-solid .nav-in { height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img { width: 26px; height: 26px; border-radius: 7px; }
.logo-t { font: 700 24px/1 var(--sans); letter-spacing: -.035em; }
.logo-d { width: 6px; height: 6px; border-radius: 50%; background: #5b7cff; box-shadow: 0 0 10px #5b7cff; align-self: flex-end; margin: 0 0 3px -4px; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 46px); position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size: 15px; color: #d8dbea; text-decoration: none; position: relative; padding: 6px 0; transition: color .2s; }
.nav-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); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; }
.lang button { border: 0; background: none; padding: 5px 8px; border-radius: 7px; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--dim); cursor: pointer; }
.lang button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 26px;
  background:
    radial-gradient(55% 60% at 50% 46%, rgba(92,64,220,.17), transparent 70%),
    radial-gradient(38% 55% at 12% 42%, rgba(48,92,255,.12), transparent 72%),
    radial-gradient(36% 55% at 88% 42%, rgba(40,210,180,.09), transparent 72%),
    var(--bg); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-cv, .hero-glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-glow { z-index: -1; filter: blur(9px) saturate(1.35); mix-blend-mode: screen; opacity: .95; }
.hero-in { position: relative; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 30px; }
.hero-path, .hero-impact, .hero-steps, .hero-kicker { font: 500 11.5px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: #a8acc4; }
.hero-path i, .hero-impact i { font-style: normal; margin: 0 .9em; letter-spacing: 0; color: #d7d9ea; }
.amb { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #c9ccdf; }
.amb-code { font-family: var(--mono); color: #d7d9ea; margin-right: 4px; }
.amb-eq { display: flex; align-items: center; gap: 2px; height: 16px; }
.amb-eq i { width: 2px; height: 5px; border-radius: 1px; background: #c9ccdf; opacity: .75; transition: height .3s; }
.amb-eq i:nth-child(2) { height: 10px; } .amb-eq i:nth-child(3) { height: 14px; } .amb-eq i:nth-child(4) { height: 8px; } .amb-eq i:nth-child(5) { height: 11px; }
.amb.is-on .amb-eq i { animation: eq .9s ease-in-out infinite alternate; background: #b9a6ff; opacity: 1; }
.amb.is-on .amb-eq i:nth-child(2) { animation-delay: -.3s; } .amb.is-on .amb-eq i:nth-child(3) { animation-delay: -.6s; } .amb.is-on .amb-eq i:nth-child(4) { animation-delay: -.15s; } .amb.is-on .amb-eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { from { height: 3px; } to { height: 15px; } }
.sw { position: relative; width: 38px; height: 22px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); background: #1b1e30; cursor: pointer; padding: 0; transition: background .3s, border-color .3s; }
.sw span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #e9eaf3; box-shadow: 0 1px 3px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.sw[aria-checked="true"] { background: linear-gradient(90deg, #3f6dff, #8f5cff); border-color: rgba(170,150,255,.8); }
.sw[aria-checked="true"] span { transform: translateX(16px); }
.sw.is-hint { animation: hint 1.6s ease-in-out 3; }
@keyframes hint { 50% { box-shadow: 0 0 0 6px rgba(140,110,255,.25); } }
.replay { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; color: #c9ccdf; }
.replay:hover { border-color: rgba(168,139,255,.7); color: #fff; }

.zone { position: relative; height: var(--zone); margin-top: 8px; }
.lockup { margin: 0; height: 100%; display: grid; place-items: center; font-weight: 800; font-size: clamp(40px, 7vw, 112px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.lk { display: inline-block; padding: .06em .02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: radial-gradient(circle, #000 0 1.15px, transparent 1.55px); mask-image: radial-gradient(circle, #000 0 1.15px, transparent 1.55px);
  -webkit-mask-size: 3.4px 3.4px; mask-size: 3.4px 3.4px; }
.lockup { filter: drop-shadow(0 0 22px rgba(120,95,255,.4)); }
.is-anim .lockup { filter: none; }
.is-anim .lk { opacity: 0; }
.intro-go { white-space: nowrap; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px 0 18px; border-radius: 99px; cursor: pointer; font: 500 14px/1 var(--mono); letter-spacing: .08em; color: #fff;
  border: 1px solid rgba(170,150,255,.55); background: rgba(14,12,34,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 40px -8px rgba(120,90,255,.6); transition: opacity .4s, transform .4s var(--ease), border-color .2s; }
.intro-go:hover { border-color: #c2b0ff; }
.intro-go .ic { width: 14px; height: 14px; }
.intro-go.is-out { opacity: 0; transform: translate(-50%, -50%) scale(.94); pointer-events: none; }
.intro-ring { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: conic-gradient(from 0deg, rgba(160,140,255,.95) var(--p, 0%), transparent 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1.5px; }

.hero-sub { text-align: center; margin-top: 6px; }
.hero-kicker { font-size: 13px; letter-spacing: .5em; color: #c3c6db; margin-right: -.5em; }
.hero-claim { margin-top: 14px; font: 400 14px/1.4 var(--mono); letter-spacing: .16em; color: #b5b9d0; }
.hero-ctas { display: flex; justify-content: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.hero-steps { position: absolute; left: var(--g); bottom: 4px; display: flex; flex-direction: column; gap: 7px; font-size: 10.5px; letter-spacing: .3em; color: #8d92ab; }
.hero-impact { position: absolute; right: var(--g); bottom: 6px; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; font-size: 10.5px; color: #8d92ab; }
.hl { display: block; width: 28px; height: 1px; background: #8d92ab; margin-bottom: 14px; }
.hero-impact .hl { margin: 0; }

/* ---------- compare panel ---------- */
.block { margin-top: 18px; }
.panel { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(15,17,33,.92), rgba(9,10,20,.92)); box-shadow: 0 30px 80px -40px rgba(0,0,0,.9), inset 0 1px rgba(255,255,255,.03); }
.cmp-panel { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) 150px; gap: 26px; align-items: center; padding: 26px 26px 26px 34px; }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: #b3b7cd; margin-bottom: 16px; }
.cmp-h { margin: 0 0 16px; font: 600 clamp(28px, 2.6vw, 38px)/1.07 var(--sans); letter-spacing: -.03em; }
.cmp-p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }
.cmp-cap { margin-top: 16px; min-height: 4.6em; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 32ch; }
.cmp-cap b { color: #fff; font-weight: 600; }
.cmp-cap i { font-style: normal; font-family: var(--mono); color: #b9a6ff; margin-right: 6px; }
.cmp-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.cmp-count { margin-left: 14px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.cmp-count i { font-style: normal; color: var(--dim); margin: 0 4px; }

.cmp { --x: 50%; --xn: 50; position: relative; height: var(--ch, 300px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); background: #0a0b16; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; isolation: isolate; box-shadow: 0 24px 60px -30px rgba(70,50,200,.6); }
.cmp-layer { position: absolute; inset: 0; overflow: hidden; }
.cmp-old { clip-path: inset(0 calc(100% - var(--x)) 0 0); z-index: 1; }
.cmp-inner { position: absolute; left: 50%; top: 0; width: 900px; height: var(--ih, 300px); transform: translateX(-50%) scale(var(--cs, 1)); transform-origin: 50% 0; }
.slide { position: absolute; left: 0; right: 0; top: calc(50% - 150px); height: 300px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; z-index: 3; pointer-events: none; }
.cmp-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(#fff0, #fff 14%, #fff 86%, #fff0); box-shadow: 0 0 14px rgba(110,140,255,.9), 0 0 2px #fff; }
.cmp-knob { position: absolute; top: 50%; left: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; display: grid; place-items: center; background: #f3f4fa; color: #10121c; box-shadow: 0 6px 22px rgba(0,0,0,.55), 0 0 0 5px rgba(120,100,255,.18); pointer-events: auto; cursor: grab; transition: transform .2s var(--ease); }
.cmp.is-drag .cmp-knob { transform: scale(1.08); cursor: grabbing; }
.cmp-knob .ic { width: 16px; height: 16px; stroke-width: 2; }
.cmp-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; z-index: -1; }
.cmp-range:focus-visible ~ .cmp-line .cmp-knob { outline: 2px solid #b79bff; outline-offset: 4px; }
.cmp-tag { position: absolute; top: 12px; z-index: 4; padding: 6px 13px; border-radius: 99px; font: 500 12.5px/1 var(--sans); pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .2s; }
.cmp-tag-old { left: 14px; color: #ececf1; background: rgba(36,36,42,.7); border: 1px solid rgba(255,255,255,.22); opacity: clamp(0, calc((var(--xn) - 14) / 10), 1); }
.cmp-tag-new { right: 14px; color: #fff; background: linear-gradient(180deg, rgba(70,50,170,.75), rgba(44,30,120,.75)); border: 1px solid rgba(160,130,255,.85); opacity: clamp(0, calc((86 - var(--xn)) / 10), 1); }

.cmp-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp-chips button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.015); color: var(--ink-2); font-size: 13px; text-align: left; cursor: pointer; transition: border-color .25s, background .25s, color .25s, box-shadow .25s; }
.cmp-chips button:hover { border-color: rgba(168,139,255,.55); color: #fff; }
.cmp-chips button[aria-pressed="true"] { border-color: rgba(160,120,255,.8); background: rgba(110,80,255,.14); color: #fff; box-shadow: 0 0 0 3px rgba(120,90,255,.1), 0 0 22px -8px rgba(130,90,255,.8); }

/* scene svg */
.scene { width: 100%; height: 100%; }
.scene .sky { fill: url(#skyN); }
.scene .far { fill: url(#farN); }
.scene .mid { fill: url(#midN); }
.scene .near { fill: #0b0a24; }
.scene .snow { fill: #d9ccff; opacity: .9; }
.scene .moon { fill: url(#moonN); opacity: .55; }
.scene .planet { fill: url(#planetN); }
.scene .planet-sh { fill: url(#planetSh); }
.scene .planet-ring { fill: none; stroke: #b9a6ff; stroke-width: 1.2; opacity: .55; stroke-dasharray: 2 4; }
.scene .st { fill: #fff; }
.scene .haze { fill: #8f63ff; opacity: .16; }
.scene.old .sky { fill: url(#skyO); }
.scene.old .far { fill: #9c9c9c; }
.scene.old .mid { fill: #6c6c6c; }
.scene.old .near { fill: #3e3e3e; }
.scene.old .snow { fill: #f1f1f1; }
.scene.old .moon, .scene.old .st, .scene.old .haze, .scene.old .planet, .scene.old .planet-sh, .scene.old .planet-ring { display: none; }

/* new layer mocks */
.space { position: absolute; inset: -260px 0; background:
  radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 32% 72%, #cfc6ff, transparent), radial-gradient(1.4px 1.4px at 58% 26%, #fff, transparent),
  radial-gradient(1px 1px at 78% 64%, #fff, transparent), radial-gradient(1.2px 1.2px at 90% 14%, #bfe9ff, transparent), radial-gradient(1px 1px at 4% 86%, #fff, transparent),
  radial-gradient(60% 50% at 70% 40%, rgba(110,70,255,.35), transparent 70%), radial-gradient(50% 60% at 20% 70%, rgba(40,90,255,.25), transparent 70%),
  linear-gradient(180deg, #07071c, #140c3a 60%, #0b0820); background-size: 140px 120px, 160px 140px, 190px 170px, 120px 150px, 210px 160px, 130px 110px, auto, auto, auto; }
.n-card { position: absolute; left: 165px; top: 20px; width: 610px; height: 262px; border-radius: 14px; overflow: hidden; transform: perspective(1000px) rotateY(-10deg) rotateX(3deg); transform-origin: 40% 50%; box-shadow: 0 0 0 1px rgba(170,150,255,.45), 0 30px 70px rgba(10,5,40,.8), 0 0 60px -10px rgba(120,80,255,.55); background: #0b0a24; }
.n-card .scene { position: absolute; inset: 0; }
.n-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,28,.0) 30%, rgba(7,7,28,.55) 70%); pointer-events: none; }
.n-nav { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 22px; padding: 0 18px; font: 500 9px/1 var(--sans); color: #d9d6f5; }
.n-nav b { font: 700 13px/1 var(--sans); letter-spacing: -.03em; color: #fff; margin-right: 26px; }
.n-nav b i { color: #7d8dff; font-style: normal; }
.n-nav em { margin-left: auto; font-style: normal; padding: 6px 10px; border-radius: 7px; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.n-txt { position: absolute; z-index: 2; left: 312px; top: 70px; width: 280px; }
.n-h { font: 600 31px/1.04 var(--sans); letter-spacing: -.035em; color: #fff; }
.g { background: linear-gradient(90deg, #6f8bff, #b46cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.n-p { margin-top: 10px; font-size: 9.5px; color: #cfcaf0; }
.n-btns { display: flex; gap: 8px; margin-top: 14px; font: 600 8.5px/1 var(--sans); }
.nb1 { padding: 8px 12px; border-radius: 7px; background: #f4f5fb; color: #0b0b1a; }
.nb2 { padding: 7px 11px; border-radius: 7px; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.n-perf { position: absolute; z-index: 2; left: 312px; top: 172px; display: flex; align-items: center; gap: 8px; }
.gauge { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#5ff59a 0 98%, rgba(255,255,255,.14) 0); position: relative; }
.gauge::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #0d0b26; }
.gauge b { position: relative; font: 700 15px/1 var(--sans); color: #5ff59a; }
.n-met { display: grid; gap: 3px; padding: 7px 9px; border-radius: 8px; background: rgba(10,8,30,.75); border: 1px solid rgba(160,140,255,.35); font: 600 10px/1 var(--sans); color: #fff; white-space: nowrap; }
.n-met i { font: 500 7.5px/1 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #a9a3d8; }

/* old layer mocks */
.o-bgscene { position: absolute; left: 0; top: -260px; width: 100%; height: calc(100% + 520px); filter: grayscale(1) brightness(.42) blur(2px); }
.o-box { position: absolute; left: 200px; top: 22px; width: 500px; height: 300px; background: #e8e8e8; box-shadow: 0 0 0 1px #b9b9b9, 0 20px 40px rgba(0,0,0,.45); font-family: Arial, Helvetica, sans-serif; color: #555; }
.o-nav { height: 30px; display: flex; align-items: center; gap: 16px; padding: 0 16px; font-size: 7.5px; letter-spacing: .1em; color: #6b6b6b; background: #f1f1f1; border-bottom: 1px solid #c8c8c8; }
.o-logo { width: 64px; height: 10px; background: #bcbcbc; margin-right: auto; }
.o-hero { position: relative; height: 150px; margin: 12px 14px 14px; overflow: hidden; border: 1px solid #b3b3b3; background: #cfcfcf; }
.o-hero .scene { position: absolute; inset: 0; filter: grayscale(1) contrast(.92); }
.o-txt { position: absolute; left: 20px; top: 30px; width: 210px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.o-h { font: 400 23px/1.1 Georgia, "Times New Roman", Times, serif; }
.o-p { margin-top: 7px; font: 8.5px/1.45 Georgia, "Times New Roman", serif; color: #f0f0f0; }
.o-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 14px; }
.o-cols span { height: 76px; background: repeating-linear-gradient(#cdcdcd 0 5px, transparent 5px 12px); }
.o-loading .scene { clip-path: inset(0 0 100% 0); animation: interlace 7s steps(12, end) infinite; }
@keyframes interlace { 0% { clip-path: inset(0 0 100% 0); } 85%, 100% { clip-path: inset(0 0 12% 0); } }
.o-load { position: absolute; left: 16px; top: 22px; width: 196px; padding: 10px 12px; background: #efefef; border: 1px solid #9d9d9d; box-shadow: 2px 2px 0 #7a7a7a; font-size: 9px; color: #333; display: grid; gap: 7px; }
.o-load b { font-size: 10px; }
.o-load small { font-size: 8px; color: #666; }
.hourglass { position: absolute; right: 12px; top: 10px; width: 12px; height: 16px; border: 2px solid #555; border-left: 0; border-right: 0; background: linear-gradient(#999, #999) top / 100% 30% no-repeat, linear-gradient(#999, #999) bottom / 100% 30% no-repeat; animation: hg 1.6s steps(2) infinite; }
@keyframes hg { to { transform: rotate(180deg); } }
.o-bar { display: block; height: 10px; background: #fff; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; padding: 2px; }
.o-bar i { display: block; height: 100%; width: 10%; background: repeating-linear-gradient(90deg, #4a4a8a 0 6px, transparent 6px 8px); animation: bar 7s steps(12, end) infinite; }
@keyframes bar { 0% { width: 6%; } 85%, 100% { width: 58%; } }
.o-cols-wait span { opacity: .35; }

/* phone (slide 3) */
.phone { position: absolute; left: 363px; top: 6px; width: 174px; height: 300px; border-radius: 28px; background: #0c0d13; box-shadow: 0 0 0 2px #2c2f3c, 0 0 0 6px #10111a, 0 24px 50px rgba(0,0,0,.6); }
.ph-scr { position: absolute; inset: 9px 9px 0; border-radius: 20px 20px 0 0; overflow: hidden; }
.ph-old { background: #e8e8e8; }
.po-page { width: 500px; transform: scale(.31); transform-origin: 0 0; }
.po-page .o-hero { height: 150px; }
.po-scroll { position: absolute; left: 6px; right: 6px; bottom: 10px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.12); }
.po-scroll i { display: block; width: 32%; height: 100%; border-radius: 3px; background: rgba(0,0,0,.45); }
.po-pinch { position: absolute; left: 24px; top: 150px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font: 600 18px/1 var(--sans); }
.ph-new { background: #0a0a1f; padding: 12px 12px 0; color: #fff; }
.pn-bar { display: flex; justify-content: space-between; align-items: center; height: 22px; }
.pn-bar b { font: 700 12px/1 var(--sans); letter-spacing: -.03em; }
.pn-bar b i { color: #7d8dff; font-style: normal; }
.burger { display: grid; gap: 3px; }
.burger i { display: block; width: 14px; height: 1.5px; background: #fff; }
.pn-h { margin-top: 16px; font: 650 21px/1.06 var(--sans); letter-spacing: -.035em; }
.pn-p { margin-top: 8px; font-size: 9.5px; line-height: 1.4; color: #c9c6ea; }
.pn-btn { display: flex; align-items: center; justify-content: center; height: 32px; margin-top: 12px; border-radius: 9px; background: #f4f5fb; color: #0b0b1a; font: 600 10px/1 var(--sans); }
.pn-img { width: 100%; height: 86px; margin-top: 12px; border-radius: 10px; }
.side-note { position: absolute; top: 126px; font: 500 10px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sn-old { left: 150px; color: #d5d5d5; }
.sn-new { left: 590px; color: #cbbfff; }

/* accessibility (slide 4) */
.a-card { position: absolute; left: 175px; top: 34px; width: 550px; height: 236px; border-radius: 12px; display: grid; grid-template-columns: 1fr 210px; gap: 20px; padding: 26px 24px 22px; }
.a-col { display: flex; flex-direction: column; align-items: flex-start; }
.a-fig { margin: 0; position: relative; border-radius: 10px; overflow: hidden; }
.a-badge { position: absolute; top: -12px; padding: 5px 10px; border-radius: 7px; font: 600 10px/1 var(--mono); letter-spacing: .04em; }
.a-old { background: #dcdcdc; color: #a9a9a9; font-family: Arial, Helvetica, sans-serif; }
.a-old .a-h { font-size: 13px; font-weight: 700; }
.a-old .a-t { font-size: 9.5px; margin-top: 8px; }
.a-old .a-status { margin-top: 12px; }
.a-old .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e7a3a3; box-shadow: 12px 0 0 #a3d9a3; }
.a-old .a-link { margin-top: 12px; font-size: 9.5px; color: #9fb4c9; text-decoration: underline; }
.a-old .a-btn { margin-top: auto; padding: 6px 12px; background: #cbcbcb; color: #e3e3e3; font-size: 9px; border: 1px solid #c4c4c4; }
.a-broken { display: grid; place-items: center; border: 1px dashed #b9b9b9; border-radius: 0; color: #c9c9c9; font: 18px/1 Arial, sans-serif; }
.a-badge.bad { left: 18px; background: #3c1c22; color: #ff8fa0; border: 1px solid #ff6f86; }
.a-new { background: #0e1120; color: #e9ebf5; border: 1px solid rgba(160,150,255,.28); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.a-new .a-h { font: 650 21px/1.1 var(--sans); letter-spacing: -.02em; color: #fff; }
.a-new .a-t { font-size: 12.5px; margin-top: 8px; line-height: 1.4; }
.a-new .a-status { margin-top: 10px; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.a-new .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ff59a; box-shadow: 0 0 8px #5ff59a; }
.a-new .a-link { margin-top: 10px; font-size: 12px; color: #c8b8ff; text-decoration: underline; text-underline-offset: 3px; }
.a-new .a-btn { margin-top: auto; padding: 9px 14px; border-radius: 8px; background: #f4f5fb; color: #0b0b1a; font: 600 11.5px/1 var(--sans); outline: 2px solid #a88bff; outline-offset: 3px; }
.a-kbd { position: absolute; left: 140px; bottom: 26px; padding: 4px 7px; border-radius: 5px; border: 1px solid rgba(255,255,255,.3); font: 500 9px/1 var(--mono); color: #c9ccdf; }
.a-new .a-fig .scene { position: absolute; inset: 0; }
.a-new figcaption { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 5px 7px; border-radius: 6px; background: rgba(5,6,16,.78); font: 500 8.5px/1.35 var(--mono); color: #e9ebf5; }
.a-badge.ok { right: 18px; background: #0f2a1d; color: #7dffb0; border: 1px solid #3fd681; }

/* ---------- feature cards ---------- */
.feats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.feat { height: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 20px 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16,18,35,.9), rgba(10,11,22,.9)); text-decoration: none; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.feat:hover { border-color: rgba(160,120,255,.5); transform: translateY(-2px); box-shadow: 0 16px 40px -20px rgba(120,90,255,.6); }
.feat-i svg { width: 34px; height: 34px; fill: none; stroke: #9d8cff; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(130,100,255,.45)); }
.feat-t { flex: 1; min-width: 0; display: grid; gap: 5px; }
.feat-t b { font: 600 15px/1.25 var(--sans); color: #fff; }
.feat-t span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.feat-a { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.feat:hover .feat-a { transform: translateX(4px); color: #fff; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(96px, 11vw, 150px); }
.sec-tight { padding-top: clamp(64px, 7vw, 96px); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2, .contact h2 { margin: 0 0 16px; font: 600 clamp(30px, 3.8vw, 50px)/1.06 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--muted); max-width: 62ch; text-wrap: pretty; }

/* diff */
.diff { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--bg-1); }
.diff-head { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); font: 500 12.5px/1.2 var(--mono); color: var(--muted); }
.diff-head i { font-style: normal; color: var(--dim); margin: 0 6px; }
.diff .m { color: var(--minus); } .diff .p { color: var(--plus); }
.diff table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.diff thead th { text-align: left; padding: 11px 18px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.diff thead th:first-child { width: 190px; }
.diff tbody tr { border-bottom: 1px solid var(--line); transition: background .2s; }
.diff tbody tr:last-child { border-bottom: 0; }
.diff tbody tr:hover { background: rgba(255,255,255,.015); }
.diff th[scope="row"] { padding: 17px 18px; text-align: left; vertical-align: top; font: 600 14.5px/1.4 var(--sans); color: #fff; }
.ln { display: inline-block; width: 30px; font: 500 11px/1 var(--mono); color: var(--dim); }
.diff td { position: relative; padding: 17px 18px 17px 42px; vertical-align: top; font-size: 15px; line-height: 1.5; }
.diff td.o { background: rgba(255,111,134,.045); color: #d9bcc2; }
.diff td.n { background: rgba(95,245,154,.04); color: #e4f5ea; }
.diff tr:hover td.o { background: rgba(255,111,134,.08); }
.diff tr:hover td.n { background: rgba(95,245,154,.07); }
.sg { position: absolute; left: 18px; top: 17px; font: 600 14px/1.5 var(--mono); }
td.o .sg { color: var(--minus); } td.n .sg { color: var(--plus); }

/* metrics */
.metrics { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { margin: 0; padding: 24px 24px 22px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16,18,35,.85), rgba(10,11,22,.85)); }
.metric dt { font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.metric dd { margin: 16px 0 10px; display: flex; align-items: baseline; gap: 8px; }
.num { font: 600 clamp(40px, 4vw, 54px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #fff, #cfc7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.unit { font-size: 18px; color: var(--muted); font-weight: 500; }
.m-note { font-size: 13.5px; line-height: 1.5; color: var(--dim); min-height: 1.5em; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.step { position: relative; padding: 26px 24px 26px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16,18,35,.85), rgba(10,11,22,.85)); overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .85; }
.step:nth-child(1)::before { background: linear-gradient(90deg, #3f6dff, #6d6bff); } .step:nth-child(2)::before { background: linear-gradient(90deg, #6d6bff, #9b5cff); }
.step:nth-child(3)::before { background: linear-gradient(90deg, #9b5cff, #c46cff); } .step:nth-child(4)::before { background: linear-gradient(90deg, #36d6d0, #5ff59a); }
.step-n { font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--muted); }
.step h3 { margin: 18px 0 10px; font: 600 22px/1.2 var(--sans); letter-spacing: -.02em; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* work */
.work { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 16px; }
.proj { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(16,18,35,.9), rgba(10,11,22,.9)); overflow: hidden; text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.proj:hover { border-color: rgba(160,120,255,.55); box-shadow: 0 24px 60px -30px rgba(120,90,255,.7); }
.proj-vis { display: flex; gap: 6px; padding: 16px; min-height: 300px; background: #070814; }
.pv { --b: #eef7f7; --a: #0be3ec; --i: #12303a; flex: 1; position: relative; border-radius: 10px; background: var(--b); overflow: hidden; transition: flex .5s var(--ease); }
.pv:hover { flex: 2.3; }
.pv i { position: absolute; left: 12%; right: 12%; border-radius: 3px; background: var(--a); }
.pv i:nth-child(1) { top: 10%; height: 4%; right: 50%; background: var(--i); opacity: .7; }
.pv i:nth-child(2) { top: 22%; height: 22%; opacity: .9; }
.pv i:nth-child(3) { top: 50%; height: 3%; background: var(--i); opacity: .35; box-shadow: 0 10px 0 color-mix(in srgb, var(--i) 35%, transparent), 0 20px 0 color-mix(in srgb, var(--i) 35%, transparent); }
.pv b { position: absolute; left: 10px; right: 6px; bottom: 12px; font: 500 10px/1.3 var(--mono); letter-spacing: .04em; color: var(--i); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv::before { content: attr(data-n); position: absolute; left: 10px; bottom: 30px; font: 600 12px/1 var(--mono); color: var(--i); opacity: .6; }
.pv:nth-child(2) { --b: #f2ece2; --a: #512b34; --i: #2a1a1e; }
.pv:nth-child(3) { --b: #101b23; --a: #e4ba92; --i: #f1e3d3; }
.pv:nth-child(4) { --b: #f7f6f2; --a: #263cc5; --i: #15171d; }
.pv:nth-child(5) { --b: #ece7dc; --a: #343e2f; --i: #262b22; }
.pv:nth-child(5) i:nth-child(2) { background: linear-gradient(135deg, #b07a45, #343e2f); }
.proj-body { padding: 28px 28px 26px; display: flex; flex-direction: column; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.proj-meta span { padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line-2); }
.proj-meta .live { color: #7dffb0; border-color: rgba(95,245,154,.5); background: rgba(95,245,154,.07); }
.proj h3 { margin: 22px 0 10px; font: 600 28px/1.15 var(--sans); letter-spacing: -.03em; }
.proj-body > p:not(.proj-meta) { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.proj-cta { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.proj:hover .proj-cta .ic { transform: translate(2px, -2px); }
.proj-cta .ic { transition: transform .3s var(--ease); }
.proj-next { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.01); }
.pn-plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 22px; color: var(--muted); }
.pn-t { font: 600 18px/1.3 var(--sans); margin-top: 6px; }
.pn-d { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.proj-next code { margin-top: 6px; font: 500 12px/1 var(--mono); color: #b9a6ff; }

/* contact */
.contact { text-align: center; padding: clamp(48px, 7vw, 88px) var(--g); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(110,80,255,.22), transparent 70%); pointer-events: none; }
.contact .lede { margin: 0 auto; }
.ct-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; }
.ct-mail { font: 500 14px/1 var(--mono); color: var(--muted); text-decoration: none; }
.ct-mail:hover { color: #fff; }

/* footer */
.foot { margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--line); padding: 28px 0 36px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--sans); }
.foot-brand img { border-radius: 6px; }
.foot-ver { font: 500 11.5px/1 var(--mono); color: var(--dim); margin-left: 4px; }
.foot-note { color: var(--dim); font-size: 13.5px; flex: 1; min-width: 240px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: #fff; }

/* reveal */
.is-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .cmp-panel { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .cmp-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; align-items: end; }
  .cmp-text .eyebrow, .cmp-text .cmp-h { grid-column: 1; }
  .cmp-p { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: none; }
  .cmp-cap { grid-column: 1 / -1; max-width: none; min-height: 0; }
  .cmp-nav { grid-column: 1 / -1; margin-top: 14px; }
  .cmp-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .feats li { flex: 0 0 min(280px, 78vw); scroll-snap-align: start; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-steps, .hero-impact { display: none; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --zone: 270px; }
  .hero { padding-top: 104px; }
  .nav-in { height: 68px; }
  .logo-t { font-size: 21px; }
  .nav-tools .btn-violet { padding: 0 14px; }
  .nav-tools .btn-violet span { display: none; }
  .hero-path { display: none; }
  .hero-top { justify-content: flex-end; }
  .hero-kicker { font-size: 11.5px; letter-spacing: .38em; margin-right: -.38em; }
  .hero-claim { font-size: 12.5px; letter-spacing: .08em; }
  .hero-ctas .btn { flex: 1 1 200px; }
  .cmp-text { display: block; }
  .cmp-chips { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .cmp-chips li { flex: 0 0 auto; }
  .cmp-chips button { white-space: nowrap; }
  .diff thead { display: none; }
  .diff table, .diff tbody, .diff tr, .diff th[scope="row"], .diff td { display: block; width: auto; }
  .diff th[scope="row"] { padding: 16px 16px 8px; }
  .diff td { padding: 9px 16px 9px 40px; font-size: 14.5px; }
  .diff td.n { padding-bottom: 14px; }
  .sg { left: 16px; top: 9px; }
  .metrics, .steps { grid-template-columns: minmax(0, 1fr); }
  .proj { grid-template-columns: minmax(0, 1fr); }
  .proj-vis { min-height: 200px; }
  .feats li { flex-basis: 78vw; }
}
@media (max-width: 420px) {
  .amb-l { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .is-js [data-reveal] { opacity: 1; transform: none; }
}
