:root {
  /* midnight (default) */
  --bg: #0a1530;
  --bg-deep: #060d21;
  --bg-panel: #0f1d3d;
  --fg: #f4f4f2;
  --fg-dim: #a3adc4;
  --fg-mute: #636b82;
  --line: #1c2a4f;
  --accent: #22d34c;
  --accent-deep: #17a93a;
  --brand-navy: #0a1a3e;
  --warn: #ffb347;

  --ff-display: 'Space Grotesk', system-ui, sans-serif;
  --ff-text: 'Inter', system-ui, sans-serif;
  --ff-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 4px;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 64px);
}

[data-palette="light"] {
  --bg: #f4f4f2;
  --bg-deep: #e8e8e4;
  --bg-panel: #ffffff;
  --fg: #0a1530;
  --fg-dim: #444a5c;
  --fg-mute: #8890a3;
  --line: #dcdcd6;
}

[data-palette="mono"] {
  --bg: #0a0a0a;
  --bg-deep: #000;
  --bg-panel: #111;
  --fg: #f4f4f2;
  --fg-dim: #a8a8a8;
  --fg-mute: #5a5a5a;
  --line: #222;
  --accent: #22d34c;
}

[data-type="inter"] { --ff-display: 'Inter', sans-serif; }
[data-type="mono"] { --ff-display: 'IBM Plex Mono', monospace; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-text);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--accent);
  color: var(--brand-navy);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--ff-mono);
  font-size: 12px;
}
.skip-link:focus-visible { top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mono { font-family: var(--ff-mono); letter-spacing: 0.02em; }
.display { font-family: var(--ff-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
.eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 1px; background: var(--accent);
}

.container {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
section { position: relative; padding: clamp(80px, 12vh, 140px) 0; }
section + section { border-top: 1px solid var(--line); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 700; font-size: 20px; }
.nav__logo-img {
  height: 40px; width: auto; display: block;
  background: #fff; padding: 4px 8px; border-radius: 4px;
  mix-blend-mode: normal;
}
.nav__toggle { display: none; }
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.nav__logo-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--accent); color: var(--brand-navy);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  transform: skewX(-8deg);
}
.nav__logo-mark span { transform: skewX(8deg); display: block; }
.nav__links { display: flex; gap: 28px; font-size: 13px; color: var(--fg-dim); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  padding: 10px 18px; border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.05em;
  border-radius: 2px; transition: all 0.2s;
}
.nav__cta:hover { background: var(--accent); color: var(--brand-navy); }
@media (max-width: 720px) { .nav__links { display: none; } }
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px;
  }
  .nav__links {
    width: 100%; display: none; flex-direction: column; gap: 16px;
    padding: 16px; border: 1px solid var(--line); background: var(--bg-panel); border-radius: 8px;
  }
  .nav__links.is-open { display: flex; }
  .nav__cta { margin-left: auto; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh; padding-top: 100px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 40%),
    radial-gradient(circle at 15% 80%, color-mix(in srgb, var(--brand-navy) 40%, transparent), transparent 50%);
}
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; } }

.hero__left { padding-left: var(--pad); }
.hero__right { padding-right: var(--pad); }
@media (max-width: 960px) { .hero__left, .hero__right { padding: 0 var(--pad); } }

.hero__title {
  font-size: clamp(44px, 7.2vw, 104px);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 20px 0 28px;
  font-family: var(--ff-display);
}
.hero__title em {
  font-style: normal; position: relative; display: inline-block;
  color: var(--accent);
}
.hero__title em::after {
  content: ''; position: absolute; left: 0; right: -4px; bottom: 6%;
  height: 14%; background: var(--accent); opacity: 0.18; z-index: -1;
  transform: skewX(-12deg);
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 18px); color: var(--fg-dim);
  max-width: 520px; margin-bottom: 32px;
}
.hero__meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase;
}
.hero__meta span { display: flex; align-items: center; gap: 8px; }
.hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* calculator card */
.calc {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.calc__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.calc__title {
  font-family: var(--ff-display); font-size: 15px; font-weight: 600;
}
.calc__tag {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.calc__tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.calc__row { margin-bottom: 20px; }
.calc__label {
  font-family: var(--ff-mono); font-size: 11px; color: var(--fg-mute);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
  display: flex; justify-content: space-between;
}
.calc__label b { color: var(--fg); font-weight: 500; }

.calc__slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: var(--line); border-radius: 2px;
  outline: none;
}
.calc__slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform 0.15s;
}
.calc__slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc__slider::-moz-range-thumb {
  width: 20px; height: 20px; border: none; border-radius: 50%;
  background: var(--accent); cursor: pointer;
}

.calc__result {
  margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--line);
}
.calc__result-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.calc__result-row:last-child { border: none; padding-bottom: 0; }
.calc__result-label { font-size: 13px; color: var(--fg-dim); }
.calc__result-value {
  font-family: var(--ff-display); font-weight: 600; font-size: 20px;
}
.calc__result-value.big {
  font-size: clamp(30px, 3.5vw, 44px); color: var(--accent);
  letter-spacing: -0.02em;
}
.calc__result-value .cents { font-size: 0.6em; opacity: 0.6; }

/* ============ SCROLL TICKER ============ */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; overflow: hidden;
  background: var(--bg-deep);
  display: flex;
}
.ticker__track {
  display: flex; gap: 48px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  padding-left: 24px;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.ticker__item {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--fg-dim); letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 12px;
}
.ticker__item::after { content: '●'; color: var(--accent); font-size: 8px; }

/* ============ STATS ROW ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--bg); padding: 40px 28px;
  transition: background 0.3s;
}
.stat:hover { background: var(--bg-panel); }
.stat__num {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 12px;
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__unit { font-size: 0.5em; color: var(--fg-mute); margin-left: 4px; }
.stat__label {
  font-family: var(--ff-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-dim);
}

/* ============ SECTION HEADERS ============ */
.sh {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  margin-bottom: 64px; align-items: end;
}
@media (max-width: 880px) { .sh { grid-template-columns: 1fr; gap: 24px; } }
.sh__num {
  font-family: var(--ff-mono); font-size: 12px; color: var(--fg-mute);
  letter-spacing: 0.15em;
}
.sh__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.025em;
  line-height: 1.02;
}
.sh__title em {
  font-style: normal; color: var(--accent);
}
.sh__kicker {
  font-family: var(--ff-mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px;
}

/* ============ COMPARE ============ */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  position: relative;
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare__vs {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--ff-mono); font-size: 11px; color: var(--fg-mute);
  z-index: 2;
}
@media (max-width: 760px) { .compare__vs { display: none; } }
.compare__card {
  padding: 32px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg-panel);
  position: relative;
}
.compare__card--bad { opacity: 0.75; }
.compare__card--good { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.compare__card--good::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
  background: var(--accent); border-radius: 6px 6px 0 0;
}
.compare__tag {
  font-family: var(--ff-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.compare__card--bad .compare__tag { color: var(--fg-mute); }
.compare__card--good .compare__tag { color: var(--accent); }
.compare__big {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 8px;
}
.compare__big em { font-style: normal; color: var(--accent); }
.compare__unit { font-size: 0.5em; color: var(--fg-mute); }
.compare__desc { color: var(--fg-dim); font-size: 14px; line-height: 1.5; }
.compare__bar {
  margin-top: 24px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden;
}
.compare__bar-fill {
  height: 100%; background: var(--accent);
  transition: width 1s cubic-bezier(.25,.8,.25,1);
}
.compare__card--bad .compare__bar-fill { background: var(--fg-mute); }

/* ============ BENEFITS ============ */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  background: var(--bg); padding: 40px; position: relative;
  transition: background 0.3s; cursor: default;
}
.benefit:hover { background: var(--bg-panel); }
.benefit:hover .benefit__icon { transform: rotate(12deg) scale(1.1); }
.benefit__num {
  font-family: var(--ff-mono); font-size: 11px; color: var(--fg-mute);
  letter-spacing: 0.1em; margin-bottom: 24px;
}
.benefit__icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  display: grid; place-items: center;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}
.benefit__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em;
}
.benefit__desc { color: var(--fg-dim); font-size: 14px; line-height: 1.55; }
.benefit__highlight {
  display: inline-block; margin-top: 16px;
  font-family: var(--ff-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ VALOR SECTION ============ */
.valor {
  background: var(--bg-deep);
  padding: clamp(100px, 15vh, 160px) 0;
  position: relative; overflow: hidden;
}
.valor::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
  pointer-events: none;
}
.valor__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 880px) { .valor__grid { grid-template-columns: 1fr; } }

.valor__left h2 {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1;
  margin: 16px 0 24px;
}
.valor__left h2 em { font-style: normal; color: var(--accent); }
.valor__left p { color: var(--fg-dim); font-size: 16px; max-width: 460px; }

/* valor simulator */
.vsim { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 8px; padding: 32px; }
.vsim__title {
  font-family: var(--ff-mono); font-size: 11px; color: var(--fg-mute);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
}
.vsim__price {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.03em; line-height: 1;
}
.vsim__price em { font-style: normal; color: var(--accent); }
.vsim__currency { font-size: 0.4em; vertical-align: middle; color: var(--fg-mute); margin-right: 4px; }
.vsim__sub {
  font-family: var(--ff-mono); font-size: 12px; color: var(--fg-dim);
  margin-top: 8px; letter-spacing: 0.02em;
}
.vsim__arrow { display: flex; align-items: center; gap: 8px; color: var(--accent); margin: 24px 0 8px; font-family: var(--ff-mono); font-size: 12px; }
.vsim__bar { display: flex; height: 10px; border-radius: 2px; overflow: hidden; margin-top: 16px; }
.vsim__bar-old { background: var(--fg-mute); }
.vsim__bar-new { background: var(--accent); position: relative; }
.vsim__bar-new::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 2s infinite;
}
@keyframes shine { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }

/* ============ FLOW ============ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }
.flow__step {
  border: 1px solid var(--line); border-radius: 6px; padding: 28px;
  position: relative; background: var(--bg-panel);
  transition: transform 0.3s, border-color 0.3s;
}
.flow__step:hover { transform: translateY(-4px); border-color: var(--accent); }
.flow__step-num {
  font-family: var(--ff-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.flow__step-title {
  font-family: var(--ff-display); font-weight: 600; font-size: 18px;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.flow__step-desc { color: var(--fg-dim); font-size: 13px; line-height: 1.5; }
.flow__step-icon { width: 32px; height: 32px; margin-bottom: 12px; color: var(--accent); }

/* ============ HERO WATERMARK ============ */
.hero { position: relative; }
.hero__watermark {
  position: absolute;
  top: 50%; right: -8%;
  width: 90vh; height: 90vh; max-width: 900px; max-height: 900px;
  transform: translateY(-50%);
  background: url('assets/logo.png') center/contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero__left, .hero__right { position: relative; z-index: 1; }

/* ============ BRAND BAND ============ */
.brandband {
  background: var(--bg-deep);
  padding: 0 !important; border: none !important;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brandband__hero {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 48px;
  padding: 56px var(--pad);
  position: relative;
}
.brandband__hero::before, .brandband__hero::after {
  content: ''; position: absolute; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  width: 25%;
}
.brandband__hero::before { left: 0; }
.brandband__hero::after { right: 0; transform: translateY(-50%); }
.brandband__side {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  font-size: 11px; color: var(--fg-mute); letter-spacing: 0.15em;
}
.brandband__side--right { align-items: flex-end; text-align: right; }
.brandband__pill {
  padding: 6px 12px; border: 1px solid var(--accent);
  color: var(--accent); border-radius: 2px;
  font-size: 10px; letter-spacing: 0.18em;
}
.brandband__sidetxt {
  font-family: var(--ff-display); font-size: 18px;
  color: var(--fg); letter-spacing: -0.01em; line-height: 1.1;
  text-transform: none;
}
.brandband__center {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.brandband__logo {
  height: clamp(80px, 12vw, 140px); width: auto; display: block;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(34,211,76,0.15), 0 2px 8px rgba(0,0,0,0.4);
}
.brandband__tagline {
  font-size: 11px; color: var(--accent); letter-spacing: 0.25em;
}
.brandband__marquee {
  background: var(--accent); color: var(--brand-navy);
  overflow: hidden; padding: 18px 0;
  position: relative;
}
.brandband__marquee::before, .brandband__marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.brandband__marquee::before { left: 0; background: linear-gradient(90deg, var(--accent), transparent); }
.brandband__marquee::after { right: 0; background: linear-gradient(-90deg, var(--accent), transparent); }
.brandband__track {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap; width: max-content;
  animation: marquee 40s linear infinite;
}
.brandband__word {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(22px, 3.2vw, 38px); letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brandband__star {
  color: var(--brand-navy); font-size: 18px; opacity: 0.6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .brandband__hero { grid-template-columns: 1fr; gap: 28px; padding: 40px var(--pad); }
  .brandband__side, .brandband__side--right { align-items: center; text-align: center; }
  .brandband__hero::before, .brandband__hero::after { display: none; }
}

/* ============ CTA LOGO ============ */
.cta { position: relative; }
.cta__logo {
  position: absolute; top: 32px; left: 50%; transform: translateX(-50%);
  height: 70px; width: auto; opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ============ FOOTER LOGO ============ */
.footer { flex-direction: column; gap: 20px; align-items: stretch; }
.footer__brand { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.footer__logo { height: 40px; width: auto; opacity: 0.85; }
.footer__cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============ UNIT FACTS ============ */
.unit-facts {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-panel);
  overflow: hidden;
}
.unit-facts__chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.18em;
}
.unit-facts__tag { color: var(--accent); }
.unit-facts__meta { color: var(--fg-mute); }
.unit-facts__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
@media (max-width: 680px) { .unit-facts__grid { grid-template-columns: 1fr; } }
.unit-facts__row {
  display: grid; grid-template-columns: 180px 1fr; gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.2s;
}
.unit-facts__row:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.unit-facts__grid > :nth-child(2n) { border-right: none; }
.unit-facts__grid > :nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 680px) {
  .unit-facts__grid > * { border-right: none; border-bottom: 1px solid var(--line) !important; }
  .unit-facts__grid > :last-child { border-bottom: none !important; }
  .unit-facts__row { grid-template-columns: 1fr; gap: 6px; }
}
.unit-facts__k {
  font-size: 10px; color: var(--fg-mute);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.unit-facts__v {
  font-size: 15px; color: var(--fg); line-height: 1.45;
}
.unit-facts__note {
  padding: 16px 28px; font-size: 11px; letter-spacing: 0.08em;
  color: var(--accent); border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

/* legacy (hidden) */
.unit-scene, .unit { display: none; }
.unit-scene {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-navy) 55%, var(--bg-deep)) 0%, var(--bg-deep) 100%);
  overflow: hidden;
  position: relative;
}
.unit-scene__chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 0.18em;
}
.unit-scene__tag { color: var(--accent); }
.unit-scene__meta { display: flex; gap: 20px; color: var(--fg-mute); }
.unit-scene__meta span { display: flex; align-items: center; gap: 6px; }
.unit-scene__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }
.unit-scene__svg {
  width: 100%; height: auto; display: block;
  max-height: 640px;
}
@keyframes drumSpin { to { transform: rotate(360deg); } }
@media (max-width: 680px) {
  .unit-scene__meta span:not(:first-child) { display: none; }
}

/* Legacy .unit — kept in case of fallback, hidden */
.unit { display: none; }

.unit {
  aspect-ratio: 16/9;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand-navy) 60%, var(--bg-deep)) 0%, var(--bg-deep) 55%, #0d1a34 55%, #0d1a34 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative; overflow: hidden;
  padding: 32px 40px 0;
}
.unit__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--fg-mute); letter-spacing: 0.18em;
  margin-bottom: 24px; z-index: 3; position: relative;
}
.unit__tag { color: var(--accent); }
.unit__stage {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative; z-index: 2;
  padding: 0 4%;
}
.unit__floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 2%, transparent) 0 40px, transparent 40px 41px),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-navy) 40%, transparent));
  pointer-events: none;
}
.unit__bench {
  position: absolute; bottom: 28px; right: 40px;
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--fg-mute); letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 2px;
  z-index: 3;
}
.unit__machine {
  aspect-ratio: 0.82;
  background: linear-gradient(180deg, #1a2a4e 0%, #0f1d3d 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 4px 4px 2px 2px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding-top: 18%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.unit__machine::before {
  content: ''; position: absolute; top: 8%; left: 8%; right: 8%; height: 8%;
  background: color-mix(in srgb, var(--bg-deep) 80%, black);
  border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.unit__machine::after {
  content: ''; position: absolute; top: 10%; right: 12%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}
.unit__door {
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  background:
    radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 20%, #0a1530) 0%, #060d21 70%);
  position: relative; overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
}
.unit__door::before {
  content: ''; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%);
}
.unit__door.spin::after {
  content: ''; position: absolute; inset: 22%; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: color-mix(in srgb, var(--accent) 40%, transparent);
  animation: spin 3s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.unit__status { display: none; }
.unit__label {
  position: absolute; bottom: 8%; left: 0; right: 0;
  text-align: center;
  font-family: var(--ff-mono); font-size: 9px;
  color: var(--accent); letter-spacing: 0.14em;
}
@media (max-width: 760px) {
  .unit { aspect-ratio: 4/3; padding: 24px 20px 0; }
  .unit__stage { gap: 10px; padding: 0; }
  .unit__bench { display: none; }
}

/* ============ FAQ / OBJECTIONS ============ */
.faq { display: grid; gap: 0; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start;
  transition: padding 0.3s;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item[data-open="true"] { padding-bottom: 40px; }
.faq__item { display: block; cursor: default; }
.faq__button {
  width: 100%;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start;
  text-align: left;
}
.faq__q {
  font-family: var(--ff-display); font-weight: 500; font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
}
.faq__a {
  color: var(--fg-dim); font-size: 15px; margin-top: 16px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.25,.8,.25,1), margin 0.3s;
}
.faq__item[data-open="true"] .faq__a { max-height: 300px; }
.faq__icon {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s;
  color: var(--fg-dim);
}
.faq__button:hover .faq__icon { border-color: var(--accent); color: var(--accent); }
.faq__item:hover .faq__icon { border-color: var(--accent); color: var(--accent); }
.faq__item[data-open="true"] .faq__icon { background: var(--accent); color: var(--brand-navy); border-color: var(--accent); transform: rotate(45deg); }

/* ============ CTA ============ */
.cta {
  background: var(--accent); color: var(--brand-navy);
  text-align: center; padding: clamp(80px, 14vh, 140px) var(--pad);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(10,26,62,0.04) 40px 41px);
  pointer-events: none;
}
.cta__eyebrow {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 20px;
}
.cta__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(44px, 7vw, 108px); letter-spacing: -0.035em; line-height: 0.95;
  margin-bottom: 32px;
}
.cta__title em { font-style: normal; font-family: var(--ff-mono); font-weight: 400; font-size: 0.5em; display: block; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 12px; }
.cta__sub {
  max-width: 780px; margin: 0 auto;
  color: color-mix(in srgb, var(--brand-navy) 80%, transparent);
  font-size: 18px; line-height: 1.6;
}
.cta__contacts {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(10,26,62,0.2);
}
.cta__person { text-align: left; }
.cta__role { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin-bottom: 6px; }
.cta__name { font-family: var(--ff-display); font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.cta__phone { font-family: var(--ff-mono); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cta__phone:hover { text-decoration: underline; }

/* ============ FOOTER ============ */
.footer {
  padding: 48px var(--pad);
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--fg-mute); letter-spacing: 0.05em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  border-top: 1px solid var(--line);
}

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: 8px; padding: 20px; width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-family: var(--ff-text);
}
.tweaks-panel__title {
  font-family: var(--ff-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel__close { font-size: 18px; cursor: pointer; color: var(--fg-mute); }
.tweaks-panel__row { margin-bottom: 14px; }
.tweaks-panel__label { font-size: 11px; color: var(--fg-dim); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--ff-mono); }
.tweaks-panel__opts { display: flex; gap: 4px; }
.tweaks-panel__opt {
  flex: 1; padding: 8px; border: 1px solid var(--line); border-radius: 3px;
  font-size: 11px; color: var(--fg-dim); background: transparent; cursor: pointer;
  font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.2s;
}
.tweaks-panel__opt[data-active="true"] {
  background: var(--accent); color: var(--brand-navy); border-color: var(--accent);
}
.tweaks-panel__opt:hover:not([data-active="true"]) { border-color: var(--fg-dim); color: var(--fg); }

/* fade in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(.25,.8,.25,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* selection */
::selection { background: var(--accent); color: var(--brand-navy); }

.ticker__item::after { content: '-'; color: var(--accent); font-size: 8px; }

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