:root {
  --bg: #0e0e10;
  --bg-2: #131317;
  --card: #18181d;
  --card-2: #1d1d23;
  --line: #26262d;
  --line-2: #34343d;
  --text: #ebebf0;
  --muted: #9a9aa6;
  --orange: #ff961e;
  --orange-2: #ff7a00;
  --red: #ff5d5d;
  --blue: #5aa2ff;
  --green: #6fd38c;
  --radius: 16px;
  --wrap: 1240px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; }
h3 { font-size: 1.08rem; font-weight: 700; }
em { font-style: normal; color: var(--orange); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #ffa53d, var(--orange)); color: #16100a; box-shadow: 0 8px 28px -10px rgba(255,150,30,.7); }
.btn-primary:hover { box-shadow: 0 12px 34px -10px rgba(255,150,30,.9); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--orange); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

.eyebrow {
  color: var(--orange); font-weight: 800; text-transform: uppercase;
  letter-spacing: .18em; font-size: .78rem; margin-bottom: 1em;
}
.lead { color: var(--muted); font-size: 1.12rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,14,16,.78); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand-mark { transform: rotate(60deg); }
.brand-word { width: 108px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .93rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 700 .76rem var(--font); padding: 6px 10px; cursor: pointer; }
.lang button.on { background: var(--orange); color: #16100a; }
.only-mobile { display: none; }
.burger { display: none; background: none; border: 0; width: 38px; height: 38px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 66px); min-height: calc(100svh - 66px);
  display: flex; align-items: center; overflow: hidden; padding: 56px 0 96px;
}
.hero-surface { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 38%, rgba(14,14,16,.2), rgba(14,14,16,.82) 70%), linear-gradient(transparent 70%, var(--bg));
}
.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }

.logo-anim {
  position: relative; display: block; width: min(1060px, 92vw); aspect-ratio: 3.251;
  background: none; border: 0; padding: 0; margin: 0 0 44px; cursor: pointer;
}
.logo-anim > * { position: absolute; }
.l-mark { z-index: 2; height: 100%; width: auto; transform-origin: 50% 50%; opacity: 0; filter: drop-shadow(0 0 30px rgba(255,150,30,.35)); }
.l-halo {
  z-index: 1; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,150,30,.42), rgba(255,122,0,.12) 55%, transparent 72%);
  filter: blur(8px);
}
.l-word { z-index: 2; overflow: hidden; clip-path: inset(0 100% 0 0); }
.l-word img { width: 100%; height: 100%; }
.l-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  mix-blend-mode: overlay; transform: translateX(-100%);
}
.logo-anim.settled .l-shine { opacity: 1; animation: shine 5.5s ease-in-out 0.4s infinite; }
@keyframes shine { 0% { transform: translateX(-100%); } 22%, 100% { transform: translateX(100%); } }
.l-chev { z-index: 2; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.l-chev polygon { filter: drop-shadow(0 0 6px rgba(255,150,30,.25)); }
.l-tag { z-index: 2; opacity: 0; }

.hero-title { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; max-width: 860px; margin-bottom: .45em; }
.hero-lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 720px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 26px 0 42px; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.hero-stats li {
  min-width: 150px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(24,24,29,.6); backdrop-filter: blur(6px);
}
.hero-stats b { display: block; font: 700 1.6rem var(--mono); color: var(--text); white-space: nowrap; }
.hero-stats span { color: var(--muted); font-size: .82rem; }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid var(--line-2); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ECU ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker-track > div { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.ticker span { font: 600 .9rem var(--mono); color: var(--muted); white-space: nowrap; }
.ticker b { color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head > p:last-child { color: var(--muted); font-size: 1.1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

.window {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #111114;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,150,30,.06), 0 0 80px -40px rgba(255,150,30,.35);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #16161a; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c33; }
.window-bar i:first-child { background: var(--orange); }
.window-bar span { margin-left: 8px; color: var(--muted); font: 500 .78rem var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Showcase ---------- */
.sc { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.sc-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; }
.sc-tabs button {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left; overflow: hidden;
  padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  color: var(--muted); font: 600 .98rem var(--font); cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.sc-tabs button b { font: 700 .78rem var(--mono); color: var(--line-2); transition: color .2s; }
.sc-tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.sc-tabs button:hover { color: var(--text); }
.sc-tabs button.on { color: var(--text); border-color: rgba(255,150,30,.55); background: linear-gradient(90deg, rgba(255,150,30,.12), var(--card) 70%); }
.sc-tabs button.on b { color: var(--orange); }
.sc-window .window-bar span { transition: opacity .2s; }
.sc-view { position: relative; height: clamp(380px, 46vw, 600px); overflow: hidden; background: radial-gradient(ellipse at 70% 0%, rgba(255,150,30,.06), transparent 60%), #111114; }
.sc-caption { margin-top: 22px; display: flex; gap: 20px; align-items: baseline; }
.sc-caption h3 { margin: 0; font-size: 1.25rem; white-space: nowrap; }
.sc-caption p { margin: 0; color: var(--muted); }

.scene { position: absolute; inset: 0; padding: 26px; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.scene.in { opacity: 1; transform: none; }
.s-status {
  position: absolute; left: 26px; right: 26px; bottom: 22px; padding: 12px 16px; border-radius: 10px;
  background: rgba(111,211,140,.1); border: 1px solid rgba(111,211,140,.35); color: var(--green);
  font: 600 .92rem var(--mono); opacity: 0; transform: translateY(8px); transition: all .4s;
}
.s-status.on { opacity: 1; transform: none; }
.s-status b { margin-right: 6px; }

/* hex */
.s-hex { display: grid; grid-template-columns: 1fr 230px; gap: 22px; height: calc(100% - 64px); }
.hx-grid { display: grid; grid-template-columns: auto repeat(16, 1fr) auto; gap: 5px 6px; align-content: start; font: 500 clamp(.62rem, 1.02vw, .98rem)/1.5 var(--mono); }
.hx-addr { color: #5e5e68; padding-right: 8px; }
.hx-ascii { color: #55555e; padding-left: 10px; letter-spacing: .05em; white-space: pre; }
.hx-b { color: #b9b9c3; text-align: center; border-radius: 3px; transition: background .4s, color .3s, box-shadow .3s; }
.show-map .hx-b.in-map { background: rgba(255,150,30,.1); color: #ffd3a1; }
.hx-b.edited { color: #16100a; background: var(--orange) !important; }
.hx-b.cursor { box-shadow: 0 0 0 2px #fff, 0 0 16px rgba(255,150,30,.9); }
.hx-side { display: flex; flex-direction: column; gap: 12px; }
.hx-card { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 4px; }
.hx-card small { font: 700 .7rem var(--mono); color: var(--orange); letter-spacing: .12em; }
.hx-card b { font-size: 1.15rem; }
.hx-card span { color: var(--muted); font: .8rem var(--mono); }
.hx-delta { font-family: var(--mono); color: var(--orange); font-size: 1.6rem !important; }

/* map */
.s-map { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; height: 100%; }
.mp-canvas { width: 100%; height: 100%; }
.mp-table { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; align-content: center; font: 600 clamp(.6rem, .85vw, .82rem) var(--mono); }
.mp-table span { padding: 7px 0; text-align: center; border-radius: 4px; color: #fff; transition: background .25s, box-shadow .3s; }
.mp-table.selecting span.sel { box-shadow: inset 0 0 0 1.5px #fff; }
.mp-label { position: absolute; left: 0; top: 0; display: grid; gap: 4px; }
.mp-label b { font-size: 1.05rem; }
.mp-sel { color: var(--muted); font: .85rem var(--mono); }
.mp-sel em { font-weight: 700; }

/* compare */
.s-cmp { display: grid; grid-template-columns: 1fr 190px 1fr; gap: 18px; height: 100%; align-items: center; }
.cmp-pane { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; transition: box-shadow .4s; }
.cmp-pane.receiving { box-shadow: 0 0 0 1px var(--orange), 0 0 40px -10px rgba(255,150,30,.5); }
.cmp-head { padding: 10px 14px; border-bottom: 1px solid var(--line); font: 700 .8rem var(--mono); color: var(--muted); }
.cmp-grid { display: grid; grid-template-columns: auto repeat(8, 1fr); gap: 4px 6px; padding: 12px 14px; font: 500 clamp(.62rem, .9vw, .88rem) var(--mono); }
.cmp-grid .hx-b.up { background: rgba(255,93,93,.22); color: #ff9c9c; }
.cmp-grid .hx-b.down { background: rgba(90,162,255,.22); color: #a8ccff; }
.cmp-grid .hx-b.got { background: rgba(255,150,30,.25); color: #ffd3a1; }
.cmp-grid .hx-b.same { color: #b9b9c3; }
.cmp-mid { display: grid; gap: 18px; justify-items: center; text-align: center; }
.cmp-count b { display: block; font: 800 3rem var(--mono); color: var(--orange); line-height: 1; transition: color .3s; }
.cmp-count span { color: var(--muted); font-size: .85rem; }
.cmp-mid.done .cmp-count b { color: var(--green); }
.cmp-btn { border: 1px solid var(--orange); background: rgba(255,150,30,.1); color: var(--orange); font: 700 .85rem var(--font); padding: 10px 14px; border-radius: 9px; }
.press { animation: press .5s ease; }
@keyframes press { 40% { transform: scale(.92); background: var(--orange); color: #16100a; } }

/* dtc */
.s-dtc { display: grid; grid-template-columns: 1fr 210px; gap: 22px; height: calc(100% - 64px); }
.dtc-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); align-self: start; }
.dtc-row { display: grid; grid-template-columns: 90px 1fr 80px; gap: 12px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); font-size: clamp(.8rem, 1vw, .95rem); transition: background .4s, color .4s; }
.dtc-h { border-top: 0; color: var(--muted); font-size: .75rem !important; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.dtc-row .mono { color: var(--orange); font-weight: 700; }
.dtc-row.off { color: #6d6d78; background: rgba(255,255,255,.015); }
.dtc-row.off .mono { color: #6d6d78; text-decoration: line-through; }
.tog { position: relative; display: inline-block; width: 40px; height: 22px; border-radius: 11px; background: #33333c; transition: background .3s; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #9a9aa6; transition: transform .3s, background .3s; }
.tog.on { background: rgba(255,150,30,.35); }
.tog.on::after { transform: translateX(18px); background: var(--orange); }
.dtc-badges { display: grid; gap: 12px; align-content: start; }
.dtc-badges span {
  padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  font: 800 1.1rem var(--mono); text-align: center; color: #44444c; transition: all .5s;
}
.dtc-badges span.show { color: var(--orange); border-color: rgba(255,150,30,.5); box-shadow: 0 0 40px -14px rgba(255,150,30,.7); }

/* tune */
.s-tune { display: grid; grid-template-columns: 300px 1fr; gap: 26px; height: 100%; align-items: center; }
.tn-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.tn-steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: #5e5e68; transition: all .35s; }
.tn-steps li i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; flex: none; position: relative; }
.tn-steps li em { margin-left: auto; font: 600 .78rem var(--mono); color: var(--muted); }
.tn-steps li.run { color: var(--text); border-color: rgba(255,150,30,.5); }
.tn-steps li.run i { border-color: var(--orange); border-right-color: transparent; animation: spin .8s linear infinite; }
.tn-steps li.ok i { animation: none; background: var(--orange); border-color: var(--orange); }
.tn-steps li.ok i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #16100a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.tn-panel { display: grid; gap: 14px; }
.tn-panel > div { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: all .4s; }
.tn-panel small { display: block; font: 700 .7rem var(--mono); color: var(--orange); letter-spacing: .12em; margin-bottom: 4px; }
.tn-id b { font-size: 1.3rem; min-height: 1.4em; display: block; }
.tn-pack, .tn-progress, .tn-done { opacity: .25; }
.tn-pack { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tn-pack b { font-size: 1.2rem; }
.tn-pack button { border: 0; background: var(--orange); color: #16100a; font: 800 .9rem var(--font); padding: 11px 18px; border-radius: 9px; }
.tn-panel.pack .tn-pack { opacity: 1; border-color: rgba(255,150,30,.55); box-shadow: 0 0 40px -16px rgba(255,150,30,.7); }
.tn-panel.prog .tn-progress { opacity: 1; }
.tn-bar { height: 10px; border-radius: 6px; background: #26262d; overflow: hidden; }
.tn-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange-2), var(--orange)); transition: width .17s linear; }
.tn-map { display: block; margin-top: 10px; color: var(--muted); font: .85rem var(--mono); min-height: 1.3em; }
.tn-done { color: var(--green); font: 600 .95rem var(--mono); }
.tn-panel.done .tn-done { opacity: 1; border-color: rgba(111,211,140,.4); background: rgba(111,211,140,.08); }

/* ai */
.s-ai { height: calc(100% - 64px); display: flex; align-items: flex-start; justify-content: center; }
.ai-chat { width: min(760px, 100%); display: grid; gap: 16px; }
.ai-msg { padding: 16px 20px; border-radius: 16px; font-size: clamp(.9rem, 1.15vw, 1.05rem); }
.ai-user { justify-self: end; max-width: 80%; background: var(--orange); color: #16100a; font-weight: 600; border-bottom-right-radius: 4px; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #16100a; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-bot { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; opacity: 0; transform: translateY(8px); transition: all .4s; }
.ai-bot.show { opacity: 1; transform: none; }
.ai-who { display: flex; align-items: center; gap: 8px; font: 700 .8rem var(--mono); color: var(--orange); margin-bottom: 8px; }
.ai-who img { width: 16px; }
.ai-bot p { margin: 0; min-height: 3em; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; opacity: 0; transition: opacity .4s; }
.ai-chips.show { opacity: 1; }
.ai-chips span { font: 600 .78rem var(--mono); padding: 5px 10px; border-radius: 7px; background: rgba(255,150,30,.1); color: #ffc58a; border: 1px solid rgba(255,150,30,.3); }
.ai-fix { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(255,150,30,.5); opacity: 0; transition: all .4s; }
.ai-fix.show { opacity: 1; }
.ai-fix p { margin: 0; flex: 1; font-size: .92rem; min-height: 0; }
.ai-fix button { border: 0; background: var(--orange); color: #16100a; font: 800 .85rem var(--font); padding: 9px 16px; border-radius: 8px; }
.ai-fix.applied { border-style: solid; border-color: rgba(111,211,140,.5); background: rgba(111,211,140,.06); }
.ai-fix.applied button { background: var(--green); }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { padding: 28px 24px; transition: border-color .25s, transform .25s, background .25s; }
.feat:hover { border-color: rgba(255,150,30,.5); transform: translateY(-3px); background: var(--card-2); }
.feat p { color: var(--muted); font-size: .93rem; margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px; display: grid; place-items: center; background: rgba(255,150,30,.1); border: 1px solid rgba(255,150,30,.22); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #111; cursor: zoom-in; color: var(--text); font: inherit; text-align: left; }
.shot-wide { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: left top; transition: transform .4s; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-height: 90vh; border-radius: 10px; }
.lightbox button { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* ---------- Pricing ---------- */
.billing { display: flex; width: max-content; margin: 0 auto 44px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.billing button { background: none; border: 0; color: var(--muted); font: 600 .9rem var(--font); padding: 9px 18px; border-radius: 9px; cursor: pointer; }
.billing button small { color: var(--orange); font-weight: 700; margin-left: 4px; }
.billing button.on { background: var(--orange); color: #16100a; }
.billing button.on small { color: #16100a; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: transform .25s; }
.plan:hover { transform: translateY(-3px); }
.plan.featured { border-color: var(--orange); background: linear-gradient(180deg, rgba(255,150,30,.08), var(--card) 40%); box-shadow: 0 0 0 1px var(--orange), 0 30px 70px -30px rgba(255,150,30,.5); }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--orange); color: #16100a; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 6px; }
.plan h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: .2em; }
.plan .tag { color: var(--muted); font-size: .93rem; min-height: 3em; }
.plan .price { font-size: 2.6rem; font-weight: 800; margin: 8px 0 2px; font-family: var(--mono); letter-spacing: -.03em; }
.plan .price small { font: 500 .9rem var(--font); color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .85rem; margin: 0; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); font-size: .93rem; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

.sub-head { text-align: center; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; margin: 72px 0 10px; }
.sub-lead { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 640px; }
.matrix-wrap .sub-head { margin-bottom: 24px; }
.matrix-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; }
.matrix th, .matrix td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: .93rem; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix thead th { font-size: 1rem; font-weight: 800; background: #16161b; }
.matrix thead th.featured { color: var(--orange); }
.matrix td:first-child, .matrix th:first-child { text-align: left; color: var(--muted); font-weight: 500; width: 34%; }
.matrix td.featured { background: rgba(255,150,30,.05); }
.matrix .yes { color: var(--orange); font-weight: 800; font-size: 1.1rem; }
.matrix .no { color: #4a4a54; }

.credits { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: center; margin-top: 64px; padding: 32px; border-radius: var(--radius); border: 1px solid rgba(255,150,30,.3); background: linear-gradient(120deg, rgba(255,150,30,.1), rgba(255,150,30,.02)); }
.credits h3 { font-size: 1.4rem; font-weight: 800; }
.credits p { color: var(--muted); margin: 0; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.extra { padding: 20px; }
.extra h4, .pack h4 { margin: 0 0 4px; font-size: 1rem; }
.extra p { color: var(--muted); font-size: .86rem; margin: 0 0 12px; }
.extra b { font-family: var(--mono); font-size: 1.15rem; color: var(--orange); }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack { padding: 22px; }
.pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pack-head span { color: var(--orange); font: 600 .76rem var(--mono); white-space: nowrap; }
.pack-sub { color: var(--muted); font-size: .86rem; margin: 0 0 14px; }
.pack.soon { border-style: dashed; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.chips span { font: 500 .78rem var(--mono); padding: 4px 9px; border-radius: 7px; background: #101014; border: 1px solid var(--line); }
.partner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; margin-top: 40px; }
.partner p { color: var(--muted); margin: 0; max-width: 700px; font-size: .95rem; }
.fine { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 28px; }

/* News */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-item { padding: 26px; transition: border-color .2s; }
.news-item:hover { border-color: rgba(255,150,30,.45); }
.news-item time { color: var(--orange); font: 600 .78rem var(--mono); }
.news-item h3 { margin-top: 8px; font-size: 1.15rem; }
.news-item p { color: var(--muted); font-size: .93rem; margin: 0; }

/* CTA */
.cta-band { padding: 80px 0; background: radial-gradient(ellipse at 15% 50%, rgba(255,150,30,.2), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-row p { color: var(--muted); margin: 0; max-width: 660px; }

/* Contact */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.hero-grid > *, .split > * { min-width: 0; }
.form { padding: 30px; display: grid; gap: 16px; }
.form label span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form input, .form textarea { width: 100%; background: #101014; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; padding: 12px 14px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form-status { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* Footer */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(255,150,30,.07), transparent 60%); }
.foot-logo { width: min(560px, 80vw); margin: 0 auto 40px; opacity: .9; }
.foot-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.foot-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row nav a { color: var(--muted); font-size: .9rem; }
.foot-row nav a:hover { color: var(--text); }
.copy { margin: 0 0 0 auto; color: var(--muted); font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .sc { grid-template-columns: 1fr; }
  .sc-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .sc-tabs button { flex: none; padding: 12px 16px; }
  .plans, .news { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .credits { grid-template-columns: 1fr; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .only-mobile { display: block; color: var(--orange); }
  .nav-actions { margin-left: auto; }
  .burger { display: block; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-row, .partner { flex-direction: column; align-items: flex-start; }
  .sc-view { height: 520px; }
  .s-hex, .s-dtc { grid-template-columns: 1fr; }
  .hx-side, .dtc-badges { grid-template-columns: repeat(3, 1fr); display: grid; }
  .hx-side { grid-template-columns: 1fr 1fr; }
  .s-hex { grid-template-rows: auto auto; height: auto; }
  .s-map { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .mp-label { position: static; }
  .s-cmp { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .cmp-mid { grid-column: 1 / -1; grid-row: 1; grid-template-columns: auto auto; align-items: center; }
  .s-tune { grid-template-columns: 1fr; align-content: start; }
  .tn-steps { grid-template-columns: 1fr 1fr; }
  .sc-caption { flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding: 76px 0; }
  .hero { padding: 36px 0 84px; }
  .logo-anim { margin-bottom: 30px; }
  .feat-grid, .gallery, .extras, .packs { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; grid-row: auto; }
  .nav-actions .btn-sm { display: none; }
  .hero-stats li { min-width: 0; flex: 1 1 40%; padding: 12px; }
  .copy { margin-left: 0; }
  .sc-view { height: 560px; }
  .scene { padding: 16px; }
  .hx-grid { grid-template-columns: auto repeat(8, 1fr); }
  /* Each row is address + 16 bytes + ASCII (18 children): keep the first 8 bytes. */
  .hx-grid > :nth-child(18n+10), .hx-grid > :nth-child(18n+11), .hx-grid > :nth-child(18n+12), .hx-grid > :nth-child(18n+13),
  .hx-grid > :nth-child(18n+14), .hx-grid > :nth-child(18n+15), .hx-grid > :nth-child(18n+16), .hx-grid > :nth-child(18n+17), .hx-ascii { display: none; }
  .s-cmp .cmp-grid { grid-template-columns: auto repeat(4, 1fr); }
  .s-cmp .cmp-grid .hx-b:nth-child(9n+6), .s-cmp .cmp-grid .hx-b:nth-child(9n+7), .s-cmp .cmp-grid .hx-b:nth-child(9n+8), .s-cmp .cmp-grid .hx-b:nth-child(9n) { display: none; }
  .dtc-row { grid-template-columns: 64px 1fr 48px; padding: 11px 12px; }
  .tn-steps { grid-template-columns: 1fr; }
  .tn-steps li { padding: 10px 12px; }
  .s-status { left: 16px; right: 16px; bottom: 14px; font-size: .8rem; }
  .matrix { min-width: 520px; }
  .matrix th, .matrix td { padding: 12px 10px; font-size: .84rem; }
  .matrix td:first-child, .matrix th:first-child { width: 30%; position: sticky; left: 0; background: var(--card); z-index: 1; }
  .matrix thead th:first-child { background: #16161b; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
