/* ============================================================
   Oqio Nexus — design system
   Theme: "signal on ink" — deep navy telemetry surface with a
   blue radar sweep (primary) and amber alert accent (secondary).
   ============================================================ */

:root {
  /* Surfaces */
  --ink:       #0A0E1A;
  --ink-2:     #0C1120;
  --panel:     #121A2B;
  --panel-2:   #162138;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  /* Text */
  --text:      #E8EDF7;
  --muted:     #97A3C0;
  --faint:     #5E6A8A;

  /* Signal accents */
  --blue:      #4D7CFE;
  --blue-2:    #6D95FF;
  --blue-soft: rgba(77, 124, 254, 0.14);
  --amber:     #FFB454;
  --amber-2:   #FFC978;
  --amber-soft:rgba(255, 180, 84, 0.14);
  --good:      #3FCF8E;
  --good-soft: rgba(63, 207, 142, 0.14);

  /* Type */
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Shape */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);

  --maxw: 1180px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 60px 0; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blue); display: inline-block; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.lead { color: var(--muted); font-size: 18px; }
.mono { font-family: var(--f-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(77,124,254,.32); }
.btn--primary:hover { background: var(--blue-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue-2); color: #fff; background: var(--blue-soft); }
.btn--amber { background: var(--amber); color: #221604; box-shadow: 0 8px 24px rgba(255,180,84,.28); }
.btn--amber:hover { background: var(--amber-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn svg { flex: none; }

/* ---------- Badges / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); background: rgba(255,255,255,.02);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.chip--blue { color: var(--blue-2); border-color: rgba(77,124,254,.4); }
.chip--amber { color: var(--amber-2); border-color: rgba(255,180,84,.4); }

/* ============================================================
   Header / nav
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; margin-right: 6px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__logo { display: block; flex: 0 0 auto; width: 162px; max-width: none; height: auto; aspect-ratio: 1701 / 358; object-fit: contain; }
.brand__word { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.brand__sub {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); border-left: 1px solid var(--line-2); padding-left: 11px; margin-left: 4px;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-size: 14.5px; color: var(--muted); padding: 8px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.05); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.nav__actions .btn { padding: 9px 16px; font-size: 14px; }
.burger {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-2);
  border-radius: 8px; width: 42px; height: 40px; color: var(--text); align-items: center; justify-content: center;
}

/* ============================================================
   Hero + radar signature
   ============================================================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(77,124,254,.18), transparent 60%),
    radial-gradient(700px 480px at 8% 110%, rgba(255,180,84,.10), transparent 55%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(75% 65% at 60% 20%, #000 40%, transparent 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 92px 0 100px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--blue-2); }
.hero__lead { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Radar visual */
.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin-left: auto; }
.radar__disc {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--line), var(--line)) center / 1px 84% no-repeat,
    linear-gradient(var(--line), var(--line)) center / 84% 1px no-repeat,
    radial-gradient(circle at center, rgba(77,124,254,.10), rgba(10,14,26,0) 70%);
}
.radar__ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.radar__ring.r1 { inset: 14%; } .radar__ring.r2 { inset: 30%; } .radar__ring.r3 { inset: 46%; }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(77,124,254,.42), rgba(77,124,254,0) 42%);
  mask: radial-gradient(circle, transparent 8%, #000 9%);
  animation: sweep 4.4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.blip.b1 { left: 63%; top: 34%; animation: pulse 2.6s ease-in-out infinite; }
.blip.b2 { left: 39%; top: 60%; background: var(--blue-2); box-shadow: 0 0 0 4px var(--blue-soft); animation: pulse 3.1s ease-in-out .6s infinite; }
.blip.b3 { left: 57%; top: 66%; animation: pulse 2.9s ease-in-out 1.1s infinite; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
.radar__ticker {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 11px; color: var(--faint); white-space: nowrap;
  background: var(--ink-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}

/* ---------- Logo strip ---------- */
.strip { border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 30px 0; }
.strip__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.strip__logos { display: flex; gap: 34px; flex-wrap: wrap; }
.strip__logos span { color: var(--faint); font-weight: 600; letter-spacing: .04em; font-size: 15px; opacity: .8; }

/* ============================================================
   Cards & feature grids
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Pipeline (responsive 4 -> 2 -> 1) */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pipeline > div { padding: 26px; border-right: 1px solid var(--line); }
.pipeline > div:last-child { border-right: 0; }
.pipeline h3 { font-size: 18px; margin: 10px 0 8px; }
.pipeline p { color: var(--muted); font-size: 14px; }
.pipeline .step-n { font-family: var(--f-mono); font-size: 13px; color: var(--blue-2); }
.pipeline .step-n.amber { color: var(--amber-2); }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .pipeline > div:nth-child(even) { border-right: 0; }
  .pipeline > div:nth-child(1), .pipeline > div:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .pipeline > div:last-child { border-bottom: 0; }
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: border-color .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__ico {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-2); margin-bottom: 18px; border: 1px solid rgba(77,124,254,.28);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__link { margin-top: 18px; color: var(--blue-2); font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.card__link:hover { gap: 10px; }
.card--amber .card__ico { background: var(--amber-soft); color: var(--amber-2); border-color: rgba(255,180,84,.28); }
.card--amber .card__link { color: var(--amber-2); }

/* ============================================================
   Downloads (Class 9)
   ============================================================ */
.panel {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
}
.panel__title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 6px; }
.panel__title .pill { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--faint); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 999px; margin-left: auto; }
.panel__desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.os-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.os-btn {
  display: flex; align-items: center; gap: 13px; text-align: left;
  padding: 16px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02); color: var(--text);
  transition: border-color .18s ease, background .18s ease, transform .12s ease;
}
.os-btn:hover { border-color: var(--blue-2); background: var(--blue-soft); transform: translateY(-2px); }
.os-btn__ico { width: 30px; flex: none; color: var(--muted); }
.os-btn b { display: block; font-size: 15px; }
.os-btn small { color: var(--faint); font-family: var(--f-mono); font-size: 11.5px; }

.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: #05070E; color: #fff; min-width: 190px;
  transition: border-color .18s ease, transform .12s ease;
}
.store-badge:hover { border-color: var(--blue-2); transform: translateY(-2px); }
.store-badge small { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.store-badge b { font-size: 17px; line-height: 1.1; font-family: var(--f-display); }

.dl-list { display: flex; flex-direction: column; gap: 12px; }
.dl-item {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.015);
}
.dl-item__ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); color: var(--blue-2); flex: none; }
.dl-item__body { flex: 1 1 auto; min-width: 0; }
.dl-item__body b { font-size: 15.5px; }
.dl-item__body p { color: var(--faint); font-size: 13px; font-family: var(--f-mono); }
.dl-item .btn { flex: none; }

/* ============================================================
   Secure telemetry & alerts (Class 38)
   ============================================================ */
.enc-badge {
  display: flex; gap: 16px; align-items: center; padding: 22px 24px;
  border: 1px solid rgba(63,207,142,.32); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(63,207,142,.06), transparent);
}
.enc-badge__ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); flex: none; }
.enc-badge b { font-size: 17px; display: block; }
.enc-badge p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.alert-card { background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.input {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  background: #05070E; border: 1px solid var(--line-2); color: var(--text); font-size: 15px; font-family: inherit;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px var(--blue-soft); }
.check-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 18px; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: 14px; font-family: var(--f-mono); }
.form-ok {
  display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 13px 15px;
  border-radius: var(--r-sm); border: 1px solid rgba(63,207,142,.35); background: var(--good-soft); color: var(--good); font-size: 14px;
}
.form-ok.show { display: flex; }

.forum {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
}
.forum__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.forum__bar .chip { margin-left: auto; }
.thread { display: flex; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.thread:last-child { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; font-size: 13px; background: var(--panel-2); color: var(--blue-2); }
.thread__body b { font-size: 14.5px; }
.thread__body p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.thread__meta { font-family: var(--f-mono); font-size: 11px; color: var(--faint); margin-top: 6px; }

/* ============================================================
   Academy (Class 41)
   ============================================================ */
.course-card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column;
}
.course-card__tag { align-self: flex-start; margin-bottom: 16px; }
.course-card h3 { font-size: 22px; margin-bottom: 12px; }
.course-card p { color: var(--muted); font-size: 15px; flex: 1 1 auto; }
.course-card__foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.course-card__meta { font-family: var(--f-mono); font-size: 12px; color: var(--faint); margin-left: auto; }

.deck { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-2); transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile__media {
  position: relative; aspect-ratio: 16/9;
  background: #05070E;
  display: grid; place-items: center;
}
.tile__media::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(77,124,254,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(77,124,254,.10) 1px, transparent 1px);
  background-size: 26px 26px;
}
.tile__scan { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 22px; }
.tile__scan .bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.06); }
.tile__scan .bar.a { width: 70%; background: rgba(77,124,254,.35); }
.tile__scan .bar.b { width: 44%; background: rgba(255,180,84,.35); }
.tile__scan .bar.c { width: 58%; }
.play {
  position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(10,14,26,.72); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: transform .15s ease, background .18s ease;
}
.tile:hover .play { transform: scale(1.06); background: var(--blue); border-color: var(--blue); }
.tile__badge {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px;
  background: rgba(10,14,26,.78); border: 1px solid var(--line-2); color: var(--muted);
}
.tile__dur { position: absolute; z-index: 2; bottom: 12px; right: 12px; font-family: var(--f-mono); font-size: 11px; padding: 4px 9px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; }
.tile__body { padding: 18px 20px; }
.tile__body b { font-size: 16px; }
.tile__body p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.tile__body .btn { margin-top: 14px; }

/* Event banner */
.event {
  display: grid; grid-template-columns: 128px 1fr auto; gap: 26px; align-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px 30px;
  background:
    radial-gradient(500px 200px at 90% 120%, rgba(255,180,84,.12), transparent),
    linear-gradient(180deg, var(--panel), var(--ink-2));
}
.event__date {
  text-align: center; border-right: 1px solid var(--line); padding-right: 24px;
}
.event__date .mo { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--amber-2); text-transform: uppercase; }
.event__date .num { font-family: var(--f-display); font-size: 34px; font-weight: 700; color: #fff; line-height: 1; margin-top: 4px; }
.event__date .yr { font-family: var(--f-mono); font-size: 12px; color: var(--faint); margin-top: 6px; }
.event__body h3 { font-size: 22px; margin-bottom: 8px; }
.event__body p { color: var(--muted); font-size: 14.5px; max-width: 620px; }
.event__cta { display: flex; flex-direction: column; gap: 10px; }

/* Awards */
.awards {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
}
.awards__ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-2); border: 1px solid rgba(255,180,84,.3); }
.awards__body h2 { font-size: 26px; margin-bottom: 10px; }
.awards__body p { color: var(--muted); font-size: 15px; max-width: 640px; }

/* ============================================================
   Modal (video)
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(4, 6, 12, 0.82); backdrop-filter: blur(6px);
}
.modal.show { display: flex; }
.modal__card { width: 100%; max-width: 880px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.modal__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal__head b { font-size: 16px; }
.modal__close { margin-left: auto; background: transparent; border: 1px solid var(--line-2); color: var(--text); width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; }
.modal__close:hover { border-color: var(--blue-2); }
.modal video, .modal__frame { width: 100%; display: block; background: #000; aspect-ratio: 16/9; }

/* ============================================================
   CTA band + footer
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 50% 130%, rgba(77,124,254,.20), transparent); }
.cta-band__inner { position: relative; text-align: center; padding: 84px 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: var(--muted); font-size: 18px; margin: 16px auto 30px; max-width: 560px; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 64px 0 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer__col h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; }
.footer__col a:hover { color: #fff; }
.footer__bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bot p { color: var(--faint); font-size: 13px; }
.footer__bot .mono { font-size: 12px; }

/* ============================================================
   Auth pages
   ============================================================ */
.auth { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 60px 24px; position: relative; }
.auth::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% -10%, rgba(77,124,254,.14), transparent); pointer-events: none; }
.auth__card { position: relative; width: 100%; max-width: 420px; background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); }
.auth__card h1 { font-size: 26px; margin-bottom: 6px; }
.auth__card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.auth__alt { text-align: center; margin-top: 20px; color: var(--muted); font-size: 14px; }
.auth__alt a { color: var(--blue-2); font-weight: 600; }
.auth__enc { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 22px; font-family: var(--f-mono); font-size: 11.5px; color: var(--faint); }

/* Utility */
.stack-lg > * + * { margin-top: 20px; }
.center { text-align: center; }
.hide { display: none !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .radar { max-width: 340px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .event { grid-template-columns: 1fr; text-align: left; }
  .event__date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; display: flex; gap: 12px; align-items: baseline; }
  .event__cta { flex-direction: row; }
  .awards { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .brand__logo { width: 150px; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 66px; left: 0; right: 0; padding: 16px 24px 22px;
    background: var(--ink-2); border-bottom: 1px solid var(--line-2);
  }
  .nav.open .nav__actions { flex-direction: column; margin: 12px 0 0; }
  .nav.open .nav__actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .os-row, .deck { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
