/* NOX Rewards — marketing landing page (v3, rebuilt to the NOX Landing design).
   Tokens lifted 1:1 from the mini app's design system (src/theme.css) so site
   and product never feel like two different brands. Background stays #05060a
   (founder call) even though the design file used #070A0E. */

:root {
  --bg: #05060a;
  --bg-alt: #070a0e;
  --card: #0a0d12;
  --card-hover: #0c1016;
  --card-2: #161b22;
  --border: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.16);

  --gold: #e9c463;
  --gold-soft: rgba(233, 196, 99, 0.28);
  --gold-grad-a: #f0ce74;
  --gold-grad-b: #d9af4e;
  --gold-muted: #b99b54;

  --text: #eaecef;
  --text-nav: #b7bdc6;
  --text-secondary: #848e9c;
  --text-tertiary: #5e6673;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(24px, 6vw, 64px);
  --section-y: clamp(96px, 10vw, 128px);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #1a1405;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 300;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------- Keyframes required by the exported Ascent art (ascent-art.js)
   and the showcase scan sweep. Names must match the app's art engine. ---------- */
@keyframes ascentScan { 0% { top: -2%; } 100% { top: 102%; } }
@keyframes nxPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes nxFlicker { 0%, 100% { opacity: 1; } 7% { opacity: 0.6; } 11% { opacity: 1; } 38% { opacity: 0.85; } 52% { opacity: 1; } 71% { opacity: 0.55; } 76% { opacity: 1; } }
@keyframes nxSpin { to { transform: rotate(360deg); } }
@keyframes nxSpinR { to { transform: rotate(-360deg); } }
@keyframes nxDie { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes nxFloat { to { transform: translateY(-16px); } }
@keyframes nxRise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.65; } 100% { transform: translateY(-92px); opacity: 0; } }
@keyframes nxFlow { to { stroke-dashoffset: -46; } }
@keyframes nxSweep { to { transform: rotate(-7deg); } }
@keyframes nxHover { to { transform: translateY(-12px); } }
@keyframes nxGlint { 0%, 86%, 100% { opacity: 0.1; } 93% { opacity: 0.4; } }
@keyframes nxFall { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.5; } 100% { transform: translateY(80px); opacity: 0; } }
@keyframes nxScan { 0% { transform: translateY(-200px); } 100% { transform: translateY(200px); } }
@keyframes nxFlow2 { to { stroke-dashoffset: -60; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 14px;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-grad-a), var(--gold-grad-b));
  color: #1a1405;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(233, 196, 99, 0.2);
}

.btn--gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold);
}

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.wordmark__letters {
  display: inline-flex;
}

.wordmark__n,
.wordmark__x {
  color: #e8eaed;
}

.wordmark__o {
  color: var(--gold);
}

.wordmark__bar {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.wordmark--sm {
  font-size: 17px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav__links a:not(.btn) {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-nav);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav__links a:not(.btn):hover {
  color: #f0ce74;
}

.nav__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  flex: none;
}

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* Mobile fullscreen menu */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: none;
  flex-direction: column;
  padding: 22px var(--gutter) 32px;
}

.mnav.open { display: flex; }

.mnav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mnav__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.mnav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--text);
}

.mnav .btn { margin-top: auto; }

/* ---------- Hero (kept from v2 — founder likes it) ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero__bloom {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(233, 196, 99, 0.06), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 2.1rem + 3vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__sub {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--text-secondary);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Keyword strip (design: mono keywords with gold ticks over a hairline) */
.hero__keys {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 24px;
}

.hero__key-tick {
  width: 16px;
  height: 2px;
  background: rgba(233, 196, 99, 0.5);
}

.hero__key-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  margin-top: 8px;
}

.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
}

.hero__glow {
  position: absolute;
  inset: -12% -20%;
  z-index: -1;
  background: radial-gradient(60% 55% at 50% 32%, rgba(233, 196, 99, 0.22), transparent 70%);
  filter: blur(10px);
}

/* CSS phone mock — dark splash with the real NOX wordmark */
.phone {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  aspect-ratio: 300 / 610;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #1b1f27, #0a0c11 60%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(233, 196, 99, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 16px;
  background: #05060a;
  z-index: 2;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: radial-gradient(70% 45% at 50% 34%, rgba(233, 196, 99, 0.10), transparent 70%), #070a0e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}
.phone__logo {
  position: relative;
  padding-bottom: 16px;
}
.phone__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}
.phone__bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 68px;
  height: 4px;
  border-radius: 3px;
  background: var(--gold);
}
.phone__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold-muted);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }
  .hero__art {
    justify-self: end;
    width: 100%;
    max-width: 420px;
  }
}

/* ---------- Editorial sections (the design's numbered-rail layout) ---------- */
.sec {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--border);
}

.sec--flush { border-top: 0; }

.sec__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.rail {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.rail__aside {
  flex: 0 0 180px;
}

.rail__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-muted);
}

.rail__label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  margin-top: 8px;
  text-transform: uppercase;
}

.rail__main {
  flex: 1 1 560px;
  min-width: 280px;
  max-width: 996px;
}

.sec__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

.sec__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 16px 0 0;
  max-width: 588px;
  text-wrap: pretty;
}

/* Gold-tick divider between major acts */
.divider {
  max-width: var(--container);
  margin: 0 auto;
  height: 1px;
  background: var(--border);
  position: relative;
}

.divider__tick {
  position: absolute;
  top: -1px;
  left: calc(50% - 16px);
  width: 32px;
  height: 3px;
  background: var(--gold);
}

/* ---------- Cards (shared by stats / ways / paths) ---------- */
.cardgrid {
  display: grid;
  gap: 14px;
  margin-top: 64px;
}

.cardgrid--ways  { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.cardgrid--paths { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: background-color 0.25s, border-color 0.25s;
  scroll-margin-top: 100px;
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(233, 196, 99, 0.28);
}

.card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card__idx {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.card__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.card--path .card__icon {
  border-color: rgba(233, 196, 99, 0.3);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  margin-top: 24px;
}

.card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 8px;
}

.card__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}

/* ---------- Problem: industries line + receipt ---------- */
.industries {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin: 48px 0 0;
  text-wrap: pretty;
}

.receipt {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.receipt__label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.receipt__leader {
  flex: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.22);
  transform: translateY(-8px);
}

.receipt__total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--gold);
  white-space: nowrap;
}

.receipt__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---------- Ascent showcase ---------- */
.stage {
  margin-top: 64px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stage__cols {
  display: flex;
  flex-wrap: wrap;
}

.stage__meta {
  flex: 1 1 320px;
  min-width: 280px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid var(--border);
}

.stage__live {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}

.stage__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(233, 196, 99, 0.08);
  border: 1px solid var(--gold-soft);
  padding: 6px 10px;
  margin-top: -18px;
  width: fit-content;
}

.stage__lv {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-muted);
}

.stage__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--text);
  margin-top: 10px;
}

.stage__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stage__stat {
  background: var(--card-hover);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 16px;
}

.stage__stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stage__stat-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  margin-top: 6px;
}

.stage__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: auto;
}

.stage__art-wrap {
  flex: 1 1 380px;
  min-width: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
}

.stage__ring {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.stage__ring--outer {
  width: min(540px, 115%);
  border: 1px solid rgba(233, 196, 99, 0.07);
}

.stage__ring--inner {
  width: min(410px, 88%);
  border: 1px solid rgba(233, 196, 99, 0.12);
}

.stage__viewport {
  width: min(400px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.stage__frame {
  width: 100%;
  height: 100%;
}

.stage__anim {
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.stage__anim.out {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(10px);
}

.stage__anim svg {
  width: 100%;
  height: 100%;
}

.stage__sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: -2%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(233, 196, 99, 0.9), transparent);
  box-shadow: 0 0 28px 6px rgba(233, 196, 99, 0.35);
  animation: ascentScan 1s ease-in-out;
  pointer-events: none;
}

.stage__ticks {
  display: flex;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.stage__tick {
  flex: 1 0 44px;
  padding: 14px 0;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 0.2s, background-color 0.2s;
}

.stage__tick:hover { color: #f0ce74; }

.stage__tick.active {
  background: rgba(233, 196, 99, 0.08);
  color: var(--gold);
}

/* ---------- Trust strip ---------- */
.truststrip__label {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.truststrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
}

.trustcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 16px 24px;
}

.trustcard__icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.trustcard__icon svg {
  width: 16px;
  height: 16px;
}

.trustcard__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-nav);
}

/* ---------- Live today / at TGE micro-list ---------- */
.realnow {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.realnow__caption {
  font-size: 13px;
  color: var(--text-tertiary);
}

.realnow__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 48px;
  margin-top: 18px;
}

@media (min-width: 720px) {
  .realnow__cols { grid-template-columns: 1fr 1fr; }
}

.realnow__label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
}

.realnow__label--gold { color: var(--gold-muted); }

.realnow__items {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  padding: clamp(96px, 9vw, 128px) var(--gutter);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-final__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(233, 196, 99, 0.1);
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.cta-final__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
  margin: 0;
}

.cta-final__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 16px 0 0;
}

.cta-final .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px var(--gutter) 32px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer__brand {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin-top: 12px;
  max-width: 220px;
}

.footer__col {
  flex: 1 1 140px;
  min-width: 140px;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.footer__col-links a {
  font-size: 13px;
  color: var(--text-nav);
  transition: color 0.15s ease;
  width: fit-content;
}

.footer__col-links a:hover { color: #f0ce74; }

.footer__lang {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.footer__lang-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lang-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.lang-pill[aria-current="true"] {
  color: var(--gold);
  background: rgba(233, 196, 99, 0.1);
  border-color: var(--gold-soft);
}

.footer__bottom {
  max-width: var(--container);
  margin: 32px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-tertiary);
}

.footer__legal { max-width: 640px; }

/* ---------- Reveal-on-scroll (IntersectionObserver driven, see copy.js) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Mobile tightening ---------- */
@media (max-width: 520px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .rail__aside {
    flex-basis: 100%;
  }
  .receipt { gap: 10px; }
}
