/* Landing-only styles for nyro.ink. Loaded after style.css and used by index.html
   alone — the legal pages stay on the shared shell. No external asset here either:
   every glow, line and animation is CSS on system fonts. */

/* --- Scroll reveal ------------------------------------------------------------
   Elements start hidden only when JS is there to reveal them: the `js` class is
   set by landing.js on <html>, so a browser with JS off shows everything. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
              filter 0.7s ease;
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
section > .shell > h2 { margin-top: 0; }

.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head h2 { margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }

/* Hairline divider between sections, brightest in the middle. */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, rgba(0, 234, 255, 0.45) 50%, var(--line-2) 80%, transparent);
}

/* --- Hero -------------------------------------------------------------------- */
.hero {
  padding-top: clamp(44px, 7vw, 78px);
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 234, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-badge b { color: var(--text); font-weight: 600; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(47, 231, 160, 0.65);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(47, 231, 160, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(47, 231, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 231, 160, 0); }
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero h1 .hl {
  background: linear-gradient(100deg, #00eaff 0%, #7b5cff 48%, #ff2fb3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(0, 234, 255, 0.25);
}

/* Glitch: two coloured copies of the same text, clipped in slices. The cycle is
   long and the glitch window short, so the page reads as calm, not seizing. */
.glitch { position: relative; display: inline-block; }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.glitch::before {
  color: #00eaff;
  animation: glitch-a 7s steps(1) infinite;
}

.glitch::after {
  color: #ff2fb3;
  animation: glitch-b 7s steps(1) infinite;
}

@keyframes glitch-a {
  0%, 92%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  93% { clip-path: inset(8% 0 74% 0); transform: translate(-3px, -1px); }
  95% { clip-path: inset(52% 0 32% 0); transform: translate(3px, 1px); }
  97% { clip-path: inset(24% 0 58% 0); transform: translate(-2px, 1px); }
  99% { clip-path: inset(78% 0 6% 0); transform: translate(2px, -1px); }
}

@keyframes glitch-b {
  0%, 92%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  93.5% { clip-path: inset(66% 0 18% 0); transform: translate(3px, 1px); }
  95.5% { clip-path: inset(14% 0 66% 0); transform: translate(-3px, -1px); }
  97.5% { clip-path: inset(40% 0 44% 0); transform: translate(2px, 1px); }
  99.5% { clip-path: inset(4% 0 84% 0); transform: translate(-2px, 0); }
}

.hero .lead { font-size: clamp(15.5px, 1.6vw, 18px); margin-bottom: 26px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* --- Activation-key form ----------------------------------------------------- */
.keyform {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.keyfield {
  position: relative;
  flex: 1 1 300px;
  min-width: 0;
}

.keyfield input {
  width: 100%;
  height: 100%;
  min-height: 50px;
  padding: 13px 15px;
  background: rgba(4, 8, 16, 0.86);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--text);
  font: 15px/1.3 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.keyfield input::placeholder { color: #4d5872; letter-spacing: 0.1em; }

.keyfield input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 234, 255, 0.05);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 26px -8px rgba(0, 234, 255, 0.9);
}

.keyfield.is-valid input {
  border-color: rgba(47, 231, 160, 0.7);
  box-shadow: 0 0 0 1px rgba(47, 231, 160, 0.5), 0 0 24px -10px rgba(47, 231, 160, 0.9);
}

.keyform .btn { flex: 0 0 auto; min-height: 50px; }

.keyhint {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin: 0;
}

/* --- Hero HUD card ----------------------------------------------------------- */
.hud {
  position: relative;
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.9), rgba(6, 9, 16, 0.86));
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 234, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hud::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0, 234, 255, 0.09), transparent);
  animation: sweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 0.35; }
  100% { transform: translateY(360%); opacity: 0; }
}

.hud-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 234, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-bar .lamp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #29344a;
}

.hud-bar .lamp.on { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hud-bar .lamp.hot { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.hud-bar .spacer { margin-left: auto; }

.hud-body { padding: 18px 18px 20px; }

.term {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
  word-break: break-word;
}

.term b { color: var(--text); font-weight: 600; }
.term .ok { color: var(--ok); }
.term .cy { color: var(--cyan); }
.term .mg { color: var(--magenta); }
.term .pfx { color: #3c4a66; }

.caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  vertical-align: -2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Signal bars: pure decoration, but it reads as "many routes, one is chosen". */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin-top: 4px; }

.bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 234, 255, 0.12));
  border-radius: 1px;
  transform-origin: bottom;
  animation: bar 2.8s ease-in-out infinite;
  opacity: 0.75;
}

.bars i:nth-child(3n) { background: linear-gradient(180deg, var(--magenta), rgba(255, 47, 179, 0.12)); }
.bars i:nth-child(4n) { background: linear-gradient(180deg, var(--violet), rgba(123, 92, 255, 0.12)); }

@keyframes bar {
  0%, 100% { height: 22%; }
  30%      { height: 78%; }
  60%      { height: 42%; }
  80%      { height: 92%; }
}

/* --- Ticker ------------------------------------------------------------------ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 234, 255, 0.03);
  overflow: hidden;
  padding: 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: rotate(45deg);
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Stats ------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.stat {
  background: rgba(7, 11, 19, 0.86);
  padding: 22px 20px;
  transition: background 0.25s ease;
}

.stat:hover { background: rgba(0, 234, 255, 0.05); }

.stat .num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(120deg, #ffffff, #8ff3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .num small { font-size: 0.5em; font-weight: 600; letter-spacing: 0; }

.stat .cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* --- Route diagram ----------------------------------------------------------- */
.route {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 8px 0 18px;
}

.node {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 16px;
  background: rgba(8, 12, 20, 0.82);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.node:hover {
  transform: translateY(-3px);
  border-color: var(--line-hot);
  box-shadow: 0 20px 44px -30px rgba(0, 234, 255, 0.9);
}

.node .ico {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-hot);
  color: var(--cyan);
  background: rgba(0, 234, 255, 0.08);
}

.node .ttl { font-weight: 650; font-size: 15px; }

.node .sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 5px;
}

.node.exit .ico { border-color: rgba(255, 47, 179, 0.6); color: var(--magenta); background: rgba(255, 47, 179, 0.08); }

/* Flowing link between nodes: a gradient that scrolls, so packets look in motion. */
.link {
  flex: 0 0 clamp(28px, 5vw, 74px);
  position: relative;
  align-self: center;
  height: 2px;
  background-image: linear-gradient(90deg, var(--cyan) 0 46%, transparent 46% 100%);
  background-size: 16px 2px;
  background-repeat: repeat-x;
  animation: flow 0.9s linear infinite;
  opacity: 0.8;
}

.link.hot { background-image: linear-gradient(90deg, var(--magenta) 0 46%, transparent 46% 100%); }

.link::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border-left: 7px solid var(--cyan);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.link.hot::after { border-left-color: var(--magenta); }

@keyframes flow { from { background-position: 0 0; } to { background-position: 16px 0; } }

.route-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 14px;
}

.route-legend b { color: var(--muted); font-weight: 500; }

.route-legend i {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--cyan);
}

.route-legend i.mg { background: var(--magenta); }
.route-legend i.dim { background: #3d4a66; }

/* --- Feature cards ----------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  padding: 22px 20px 24px;
  background: linear-gradient(165deg, rgba(13, 18, 29, 0.82), rgba(7, 10, 17, 0.82));
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* Neon wash that follows the pointer; --mx/--my are set by landing.js. */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(220px 180px at var(--mx, 50%) var(--my, 0%), rgba(0, 234, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-hot);
  box-shadow: 0 28px 60px -40px rgba(0, 234, 255, 0.95);
}

.card:hover::before { opacity: 1; }

.card .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  opacity: 0.75;
}

.card h3 { margin: 10px 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.card-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: rgba(0, 234, 255, 0.06);
  color: var(--cyan);
  margin-bottom: 14px;
}

/* --- Pricing ----------------------------------------------------------------- */
.price-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: rgba(6, 10, 18, 0.8);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 9px 15px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.switch button:hover { color: var(--text); }

.switch button[aria-pressed="true"] {
  color: #03060c;
  background: linear-gradient(112deg, #00eaff, #49b6ff);
  box-shadow: 0 0 20px -6px rgba(0, 234, 255, 0.9);
  font-weight: 700;
}

.price-card { padding: 26px 24px 28px; }

.price-main {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.price-main .val {
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(115deg, #ffffff 20%, #8ff3ff 60%, #ff8fdc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-main .per { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 8px; }

/* `hidden` has to beat the display below, or the empty badge still paints a chip. */
.save[hidden] { display: none; }

.save {
  display: inline-block;
  margin-left: 2px;
  padding: 5px 10px;
  border: 1px solid rgba(182, 255, 60, 0.45);
  color: var(--lime);
  background: rgba(182, 255, 60, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.price-sub { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }

.price-list { list-style: none; padding: 0; margin: 0 0 24px; }

.price-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
  box-shadow: -1px 1px 8px -1px rgba(0, 234, 255, 0.9);
}

.side-card { padding: 22px 20px; }
.side-card h3 { margin-top: 0; }
.side-card p { color: var(--muted); font-size: 14.5px; }
.side-card + .side-card { margin-top: 16px; }

/* --- Key section ------------------------------------------------------------- */
.keyzone {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 47, 179, 0.12), transparent 60%),
    linear-gradient(150deg, rgba(13, 18, 30, 0.92), rgba(6, 9, 16, 0.9));
  border: 1px solid var(--line-2);
  border-radius: 5px;
  overflow: hidden;
}

.keyzone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.keyzone h2 { margin: 0 0 10px; }
.keyzone p { color: var(--muted); }

.keycard {
  position: relative;
  padding: 18px;
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  background: rgba(4, 7, 13, 0.7);
}

.keycard .stamp {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.keycard .code {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.4vw, 21px);
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 234, 255, 0.6);
}

/* --- Two paths --------------------------------------------------------------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.path { padding: 24px 22px; }
.path h3 { margin: 0 0 4px; font-size: 18px; }

.path .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}

.path .tag.cy { color: var(--cyan); }
.path ol { margin: 0; }

/* --- Platforms --------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(8, 12, 20, 0.7);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--line-hot);
  background: rgba(0, 234, 255, 0.07);
  transform: translateY(-2px);
}

.chip svg { color: var(--cyan); }

/* --- FAQ --------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(8, 12, 20, 0.7);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq details[open] { border-color: var(--line-hot); background: rgba(0, 234, 255, 0.035); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  position: relative;
  font-weight: 600;
  font-size: 15.5px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.8);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); opacity: 0; }

.faq .answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  animation: fade-down 0.35s ease;
}

.faq .answer p:last-child { margin-bottom: 0; }

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* --- Contacts ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.contact-grid .panel { padding: 22px 20px; }

.contact-grid .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.contact-grid .v { font-size: 16px; font-weight: 600; }

/* --- Final call -------------------------------------------------------------- */
.final {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 48px);
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(0, 234, 255, 0.12), transparent 62%),
    linear-gradient(160deg, rgba(13, 18, 30, 0.9), rgba(6, 9, 16, 0.9));
  border: 1px solid var(--line-2);
  border-radius: 5px;
}

.final h2 { margin-top: 0; }
.final .lead { margin: 0 auto 26px; }
.final .cta-row { justify-content: center; }

/* --- Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hud { order: 2; }
  .price-wrap { grid-template-columns: minmax(0, 1fr); }
  .keyzone-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .route { flex-direction: column; align-items: stretch; }
  .link {
    flex: 0 0 30px;
    width: 2px;
    height: 30px;
    margin: 0 auto;
    background-image: linear-gradient(180deg, var(--cyan) 0 46%, transparent 46% 100%);
    background-size: 2px 16px;
    background-repeat: repeat-y;
    animation-name: flow-y;
  }
  .link.hot { background-image: linear-gradient(180deg, var(--magenta) 0 46%, transparent 46% 100%); }
  .link::after {
    right: auto;
    left: -3px;
    top: auto;
    bottom: -1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 7px solid var(--cyan);
    border-bottom: 0;
  }
  .link.hot::after { border-top-color: var(--magenta); border-left-color: transparent; }
}

@keyframes flow-y { from { background-position: 0 0; } to { background-position: 0 16px; } }

@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .keyform .btn { width: 100%; }
  .hero-badge { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .ticker-track { animation: none; }
  .glitch::before, .glitch::after { display: none; }
  .hud::after { display: none; }
}

/* --- Terminal line reveal (driven by landing.js) ------------------------------ */
.term .line { display: block; margin-bottom: 7px; }

.js .term .line {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.js .term .line.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .term .line { opacity: 1; transform: none; }
}
