/* ==========================================================================
   PERIGEE CAPITAL — Orbital / space theme
   Deep space navy-black · glowing accent #7aa7ff · thin futuristic sans
   ========================================================================== */

/* ---------- Custom properties ---------- */
:root {
  /* Palette */
  --space-black: #05070f;
  --space-deep:  #070b18;
  --space-navy:  #0b1226;
  --panel:       #0e1730;
  --panel-2:     #111b38;
  --line:        rgba(122, 167, 255, 0.18);
  --line-strong: rgba(122, 167, 255, 0.38);
  --accent:      #7aa7ff;
  --accent-soft: #a8c4ff;
  --accent-deep: #4a78d8;
  --ink:         #e8efff;
  --ink-dim:     #b7c5e4;
  --ink-faint:   #8a99bf;
  --warn:        #ffb38a;
  --safe:        #8af0c6;

  /* Type — thin futuristic sans w/ FULL system fallback (site must look right offline) */
  --font-display: "Exo 2", "Space Grotesk", "Avenir Next", Avenir, "Segoe UI",
                  Futura, "Trebuchet MS", -apple-system, BlinkMacSystemFont,
                  Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Space Grotesk", "Exo 2", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --fs-hero:    clamp(2.3rem, 5.5vw + 0.5rem, 4.4rem);
  --fs-title:   clamp(1.7rem, 3vw + 0.5rem, 2.7rem);
  --fs-sub:     clamp(1rem, 0.6vw + 0.85rem, 1.2rem);
  --fs-body:    clamp(0.96rem, 0.3vw + 0.88rem, 1.05rem);
  --fs-small:   0.85rem;

  /* Layout tokens */
  --container: 1180px;
  --container-narrow: 860px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --speed: 0.5s;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(74, 120, 216, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 35%, rgba(122, 167, 255, 0.08), transparent 55%),
    var(--space-black);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--ink);
}

p { color: var(--ink-dim); }

a { color: var(--accent-soft); }

ul, ol { list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--space-black);
  font-weight: 500;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Starfield & nebula ---------- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(560px 380px at 85% 12%, rgba(122, 167, 255, 0.07), transparent 70%),
    radial-gradient(680px 460px at 8% 78%, rgba(74, 120, 216, 0.06), transparent 70%);
}

/* CSS-only star fallback if canvas/JS unavailable */
.no-js-stars,
#starfield:not([data-active]) {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(232,239,255,0.8), transparent 100%),
    radial-gradient(1px 1px at 33% 64%, rgba(232,239,255,0.6), transparent 100%),
    radial-gradient(2px 2px at 58% 18%, rgba(168,196,255,0.7), transparent 100%),
    radial-gradient(1px 1px at 71% 47%, rgba(232,239,255,0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 76%, rgba(232,239,255,0.65), transparent 100%),
    radial-gradient(1px 1px at 22% 88%, rgba(168,196,255,0.55), transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 38%, rgba(232,239,255,0.5), transparent 100%),
    radial-gradient(1px 1px at 92% 30%, rgba(232,239,255,0.6), transparent 100%);
}

/* ---------- Layout primitives ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-pad); position: relative; }

.section-alt {
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.0), rgba(14, 23, 48, 0.55) 18%, rgba(14, 23, 48, 0.55) 82%, rgba(14, 23, 48, 0));
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: var(--fs-title);
  margin-bottom: 1rem;
  max-width: 30ch;
}

.section-sub {
  font-size: var(--fs-sub);
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #060a16;
  box-shadow: 0 0 22px rgba(122, 167, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(122, 167, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--accent-soft);
  background: rgba(122, 167, 255, 0.05);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(122, 167, 255, 0.12);
  transform: translateY(-2px);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-accent { color: var(--accent); font-weight: 300; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: right 0.3s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.btn-nav { padding: 0.6rem 1.3rem; font-size: 0.84rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  border-radius: 8px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.4rem;
  background: rgba(14, 23, 48, 0.6);
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 10px var(--safe);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 200;
  letter-spacing: 0.005em;
  margin-bottom: 1.3rem;
}

.glow-text {
  color: var(--accent);
  font-weight: 400;
  text-shadow: 0 0 26px rgba(122, 167, 255, 0.55);
}

.hero-sub {
  font-size: var(--fs-sub);
  max-width: 56ch;
  margin-bottom: 1.8rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: rgba(11, 18, 38, 0.85);
  padding: 1rem 1.1rem;
}

.stat dt {
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.stat dd {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--accent-soft);
  line-height: 1.1;
}

.stat-note {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

.hero-footnote {
  font-size: 0.78rem;
  color: var(--ink-faint);
  max-width: 62ch;
  margin-top: 1rem;
}

/* Orbit figure */
.hero-orbit { display: flex; justify-content: center; }

.orbit-figure { width: min(520px, 100%); }

#orbit-svg { width: 100%; height: auto; overflow: visible; }

.orbit-ring {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.orbit-core-label,
.orbit-core-sub {
  font-family: var(--font-display);
  fill: var(--ink);
  font-size: 11px;
  letter-spacing: 2.5px;
}
.orbit-core-sub { fill: var(--accent); font-size: 8px; letter-spacing: 3px; }

.planet { stroke-width: 1.5; }
.planet-one   { fill: #0e1730; stroke: var(--accent); filter: drop-shadow(0 0 8px rgba(122,167,255,0.7)); }
.planet-two   { fill: #15224a; stroke: var(--accent-soft); filter: drop-shadow(0 0 10px rgba(122,167,255,0.55)); }
.planet-three { fill: #0c1430; stroke: var(--safe); filter: drop-shadow(0 0 8px rgba(138,240,198,0.5)); }

.planet-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.8px;
  fill: var(--ink-dim);
  paint-order: stroke;
  stroke: rgba(5, 7, 15, 0.85);
  stroke-width: 3px;
}

/* CSS fallback rotation when JS is off; JS takes over positioning */
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.orbit-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

/* ---------- Fact strip ---------- */
.fact-strip {
  border-block: 1px solid var(--line);
  background: rgba(11, 18, 38, 0.65);
  padding-block: 0.85rem;
}

.fact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
}

.fact-strip-inner span[aria-hidden] { color: var(--accent); }

/* ---------- Launch sequence ---------- */
.launch-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  counter-reset: step;
  position: relative;
}

.launch-steps::before {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  z-index: -1;
}

.launch-step {
  background: linear-gradient(180deg, var(--panel), rgba(14, 23, 48, 0.4));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.7rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.launch-step:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(122, 167, 255, 0.08);
}

.tminus {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(122, 167, 255, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  background: rgba(5, 7, 15, 0.6);
}

.tminus.liftoff {
  color: var(--safe);
  text-shadow: 0 0 16px rgba(138, 240, 198, 0.55);
  border-color: rgba(138, 240, 198, 0.4);
  font-size: 1.02rem;
  padding-block: 0.5rem;
}

.launch-step h3 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.launch-step p { font-size: 0.93rem; }

/* ---------- Plan tabs ---------- */
.plan-tabs {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 15, 0.6);
  margin-bottom: 2rem;
}

.plan-tab {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--ink-dim);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan-tab:hover { color: var(--ink); }

.plan-tab.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #060a16;
  box-shadow: 0 0 18px rgba(122, 167, 255, 0.4);
}

.plan-panel { display: none; }
.plan-panel.is-active { display: block; animation: panel-in 0.45s var(--ease); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--panel-2), rgba(11, 18, 38, 0.55));
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.plan-head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.plan-head h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.plan-head p { max-width: 62ch; font-size: 0.97rem; }

.plan-orbit-badge {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  position: relative;
  margin-top: 0.2rem;
}

.plan-orbit-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.badge-one::after   { background: var(--accent);     box-shadow: 0 0 14px rgba(122, 167, 255, 0.8); }
.badge-two::after   { background: var(--accent-soft); box-shadow: 0 0 14px rgba(168, 196, 255, 0.8); }
.badge-three::after { background: var(--safe);        box-shadow: 0 0 14px rgba(138, 240, 198, 0.7); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.8rem;
}

.plan-cell {
  background: rgba(7, 11, 24, 0.85);
  padding: 1.15rem 1.2rem 1.25rem;
}

.plan-cell dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}

.plan-cell dd {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.plan-cell p { font-size: 0.82rem; color: var(--ink-faint); }

.plan-cta { width: fit-content; }

.plan-footnote {
  margin-top: 1.6rem;
  font-size: var(--fs-small);
  color: var(--ink-faint);
  max-width: 78ch;
}

/* ---------- Rules ---------- */
.breach-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}

.breach-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.breach-soft { border-left: 3px solid var(--safe); }
.breach-hard { border-left: 3px solid var(--warn); }

.breach-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.status-pill {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.pill-soft { background: rgba(138, 240, 198, 0.14); color: var(--safe);  border: 1px solid rgba(138, 240, 198, 0.4); }
.pill-hard { background: rgba(255, 179, 138, 0.14); color: var(--warn);  border: 1px solid rgba(255, 179, 138, 0.4); }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.rule-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), rgba(14, 23, 48, 0.35));
  padding: 1.6rem 1.7rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.rule-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 28px rgba(122, 167, 255, 0.08);
}

.rule-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  color: var(--accent-soft);
}

.rule-card p + p { margin-top: 0.8rem; }
.rule-card p { font-size: 0.94rem; }

.rule-example {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--accent);
  background: rgba(122, 167, 255, 0.06);
  border-radius: 0 10px 10px 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

.rule-list {
  margin: 0.4rem 0 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.rule-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
}

.rule-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ---------- Add-ons ---------- */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  max-width: 920px;
}

.addon-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--panel-2), rgba(11, 18, 38, 0.5));
  padding: 2rem 1.9rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.addon-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(122, 167, 255, 0.1);
}

.addon-icon { color: var(--line-strong); margin-bottom: 1.1rem; }

.addon-card h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.3rem; }

.addon-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.addon-card > p:last-child { font-size: 0.95rem; }

/* ---------- Payouts ---------- */
.payout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
  margin-bottom: 1.6rem;
}

.payout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 1.5rem 1.4rem;
  text-align: left;
}

.payout-figure {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 200;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(122, 167, 255, 0.45);
  margin-bottom: 0.55rem;
  line-height: 1.05;
}

.payout-card h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 0.45rem; }
.payout-card p  { font-size: 0.88rem; }

.payout-detail {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(122, 167, 255, 0.07), rgba(11, 18, 38, 0.6));
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

.payout-detail h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 0.7rem;
}

.payout-detail p { max-width: 90ch; }

.payout-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- Platforms & markets ---------- */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.platform-chip {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(5, 7, 15, 0.65);
  color: var(--ink);
  box-shadow: inset 0 0 18px rgba(122, 167, 255, 0.06);
}

.chip-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.market-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.market-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.market-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 0.55rem;
}

.market-card p { font-size: 0.88rem; }

.market-note {
  margin-top: 1.7rem;
  font-size: var(--fs-small);
  color: var(--ink-faint);
  max-width: 80ch;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  background: linear-gradient(180deg, rgba(14, 23, 48, 0.7), rgba(7, 11, 24, 0.45));
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.why-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.why-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 100;
  color: rgba(122, 167, 255, 0.28);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.why-card h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial-disclaimer {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--warn);
  border: 1px dashed rgba(255, 179, 138, 0.45);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  display: inline-block;
  margin-bottom: 2.2rem;
  background: rgba(255, 179, 138, 0.05);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.crew-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.crew-card blockquote p {
  font-size: 0.97rem;
  color: var(--ink-dim);
  font-style: italic;
}

.crew-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.crew-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent-deep));
  color: #060a16;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 16px rgba(122, 167, 255, 0.35);
}

.crew-meta { display: flex; flex-direction: column; line-height: 1.35; }
.crew-meta strong { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.crew-meta span span,
.crew-meta > span:not(strong) { font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  border-color: var(--line-strong);
  box-shadow: 0 0 24px rgba(122, 167, 255, 0.08);
}

.faq-q { font-size: 1rem; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.faq-trigger:hover { color: var(--accent-soft); }

.faq-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }

.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-trigger[aria-expanded="true"] .faq-icon::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq-a { padding: 0 1.3rem 1.25rem; }
.faq-a p { font-size: 0.94rem; max-width: 75ch; }
.faq-a p + p { margin-top: 0.7rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(122, 167, 255, 0.12), transparent 70%),
    rgba(11, 18, 38, 0.6);
}

.cta-inner { text-align: center; }

.cta-inner h2 {
  font-size: var(--fs-title);
  font-weight: 200;
  margin-bottom: 0.8rem;
}

.cta-inner p {
  max-width: 56ch;
  margin: 0 auto 1.8rem;
  font-size: var(--fs-sub);
}

.cta-inner .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.2rem;
  background: rgba(4, 6, 12, 0.92);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover { color: var(--accent-soft); }

.disclosures-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.disclosures p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--ink-faint);
  margin-bottom: 0.85rem;
  max-width: 110ch;
}

.disclosures strong { color: var(--ink-dim); font-weight: 500; }

.disclosures a { color: var(--accent-soft); }

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* No-JS / reduced motion safety: show everything */
.no-observer .reveal,
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive: tablet ≤1024 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-orbit { order: -1; }
  .orbit-figure { width: min(420px, 90%); margin-inline: auto; }

  .launch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-steps::before { display: none; }

  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Responsive: mobile ≤640 + collapsed nav ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 7, 15, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--gutter) 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .nav-links a::after { display: none; }

  .btn-nav { margin-top: 1.1rem; justify-content: center; }
}

@media (max-width: 640px) {
  .launch-steps { grid-template-columns: 1fr; }
  .breach-duo { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .payout-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .plan-tabs {
    display: flex;
    width: 100%;
  }

  .plan-tab {
    flex: 1;
    padding-inline: 0.4rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .plan-cta { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .fact-strip-inner span[aria-hidden] { display: none; }
}

/* ---------- Reduced motion ---------- */
@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; }
  .signal-dot { animation: none; }
}
