/* ==========================================================================
   Mach Groove — mach-groove.app
   Brand tokens mirror the iOS app (Colors+Ext.swift / AppTheme.deepSpace).
   ========================================================================== */

:root {
  /* Brand */
  --deep-space:   #101026;
  --deep-space-2: #161636;
  --panel:        rgba(255, 255, 255, 0.04);
  --panel-border: rgba(100, 210, 255, 0.18);

  --mach-blue:    rgb(100, 210, 255);
  --mach-blue-a:  rgba(100, 210, 255, 0.35);
  --mach-pink:    rgb(255, 45, 255);
  --mach-purple:  rgb(175, 82, 222);
  --mach-green:   rgb(0, 255, 120);
  --mach-flame:   rgb(254, 134, 56);
  --mach-amber:   rgb(255, 196, 61);
  --mach-red:     rgb(255, 69, 58);

  /* Text */
  --text:         #eef0ff;
  --text-dim:     #a9adc9;
  --text-faint:   #6e7291;

  /* Type */
  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--deep-space);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mach-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }

.mono { font-family: var(--font-mono); letter-spacing: 0.06em; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--mach-blue); color: var(--deep-space);
  padding: .5rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--mach-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Starfield background
   -------------------------------------------------------------------------- */
.starfield {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 33%, rgba(100,210,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 77% 55%, rgba(255,45,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 27%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 78%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 58%, #fff 50%, transparent 51%),
    radial-gradient(1200px 600px at 80% -10%, rgba(175, 82, 222, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 90%, rgba(100, 210, 255, 0.14), transparent 60%),
    var(--deep-space);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%;
  opacity: .9;
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(16, 16, 38, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand:hover .brand__word { color: var(--mach-blue); }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; }
/* Dom (2026-09-06): one colour — the two-tone read like a gradient. Blue on hover only. */
.brand__word { font-weight: 700; letter-spacing: .12em; font-size: .95rem; transition: color .2s; }

.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }

.nav__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(1rem, 3vw, 2rem);
}
.nav__links a {
  position: relative;
  color: var(--text-dim); font-weight: 500; font-size: .95rem;
  padding: .4rem 0;
  transition: color .2s;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }
/* Active-section highlight (set by js/main.js) and current-page marker. */
.nav__links a.is-active,
.nav__links a[aria-current="page"] { color: var(--mach-blue); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--mach-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a.is-active::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta {
  font-size: .72rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--mach-blue);
  color: var(--mach-blue);
  background: rgba(100,210,255,.06);
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav__cta:hover {
  text-decoration: none;
  background: var(--mach-blue); color: var(--deep-space);
  box-shadow: 0 0 20px var(--mach-blue-a);
}

/* Hamburger — hidden on desktop */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  border-radius: 8px;
}
.nav__toggle-bar {
  display: block; height: 2px; width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.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); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--mach-blue);
  font-size: .78rem;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mach-green);
  box-shadow: 0 0 0 0 rgba(0,255,120,.6);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(0,255,120,.6); }
  100% { box-shadow: 0 0 0 10px rgba(0,255,120,0); }
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  max-width: 36ch;   /* wide enough that a two-beat line doesn't orphan its last word */
  text-wrap: balance;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 46ch;
  margin: 1.25rem 0 2rem;
}

.hero__cta { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; margin-bottom: 2rem; }
.hero__eta { color: var(--text-faint); font-size: .75rem; margin: 0; }

/* Coming-soon chip — text only, no Apple mark (see index.html note). Swap for
   Apple's official badge at launch. */
.badge-soon {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .6rem 1.15rem .6rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--panel-border);
  color: var(--text);
  box-shadow: 0 0 24px -8px var(--mach-blue-a);
}
.badge-soon__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mach-blue);
  box-shadow: 0 0 0 0 var(--mach-blue-a);
  animation: ping 2s ease-out infinite;
}
.badge-soon__text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-soon__small { font-size: .62rem; color: var(--mach-blue); }
.badge-soon__big { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.service-strip {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.service {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--panel);
  font-size: .85rem; font-weight: 500;
  color: var(--text-dim);
}
/* Official service marks, unmodified, on a glow in each service's brand colour. */
.service__logo { width: 22px; height: 22px; object-fit: contain; }   /* Spotify min 21px */
.service__logo--yt { width: 24px; height: 24px; }                      /* YouTube min 24px digital */
.service--spotify .service__logo { filter: drop-shadow(0 0 6px rgba(0, 255, 120, .55)); }
.service--apple   .service__logo { filter: drop-shadow(0 0 6px rgba(255, 45, 255, .55)); }
.service--youtube .service__logo { filter: drop-shadow(0 0 6px rgba(255, 69, 58, .6)); }

/* Hero visual --------------------------------------------------------------- */
.hero__visual { position: relative; }

.hero__logo {
  position: absolute;
  width: clamp(110px, 12vw, 150px);
  right: -2.5rem; top: -2.75rem;
  z-index: 2;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.6));
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}

/* Terminal ------------------------------------------------------------------ */
.terminal {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,22,54,.95), rgba(12,12,30,.98));
  border: 1px solid var(--panel-border);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.4),
    0 30px 60px -20px rgba(0,0,0,.7),
    0 0 60px -10px var(--mach-blue-a);
  overflow: hidden;
}

.terminal__bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.terminal__light { width: 10px; height: 10px; border-radius: 50%; }
.terminal__light--red   { background: #ff5f57; }
.terminal__light--amber { background: #febc2e; }
.terminal__light--green { background: #28c840; }
.terminal__title { margin-left: .5rem; font-size: .68rem; color: var(--text-faint); }

.terminal__log {
  margin: 0;
  padding: 1rem 1.1rem 1.25rem;
  /* B-0039: FIXED height, not min-height — the box never grows as lines type
     in or shrinks when the loop restarts, so the hero stops bobbing. Sized
     for ~11 rendered rows: 9 kept lines plus two that wrap on desktop. New
     lines push old ones up like a real terminal. */
  height: 17.5em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: .8rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-dim);
  letter-spacing: .02em;
}
.terminal__log .log-line { flex: none; }
.log-line { display: block; }
.log-line--info    { color: var(--mach-blue); }
.log-line--success { color: var(--mach-green); }
.log-line--warning { color: var(--mach-amber); }
.log-line--pilot   { color: var(--mach-pink); }
.log-line--dim     { color: var(--text-faint); }

.cursor {
  display: inline-block;
  width: .6em; height: 1.05em;
  background: var(--mach-blue);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Beam diagram -------------------------------------------------------------- */
.beam {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: 1.1rem 6.5rem .4rem 1.1rem; /* right gap clears the floating logo */
}
.beam__node { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
/* Dom (2026-09-05): no rings — the official icon carries the service glow, like the app. */
.beam__logo { width: 34px; height: 34px; object-fit: contain; }
.beam__node--origin { color: var(--mach-green); }
.beam__node--dest   { color: var(--mach-pink); }
.beam__node--origin .beam__logo { filter: drop-shadow(0 0 6px rgba(0, 255, 120, .9)) drop-shadow(0 0 16px rgba(0, 255, 120, .45)); }
.beam__node--dest   .beam__logo { filter: drop-shadow(0 0 6px rgba(255, 45, 255, .9)) drop-shadow(0 0 16px rgba(255, 45, 255, .45)); }
.beam__label { font-size: .58rem; color: var(--text-dim); }

.beam__track { position: relative; height: 34px; }
.beam__line {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, var(--mach-green), var(--mach-blue), var(--mach-pink));
  opacity: .45;
}
.beam__pulse {
  position: absolute; top: 50%; left: 0;
  width: 44px; height: 4px; border-radius: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--mach-blue), transparent);
  box-shadow: 0 0 12px var(--mach-blue);
  animation: pulse-travel 2.4s linear infinite;
}
.beam__pulse--2 { animation-delay: 1.2s; }
@keyframes pulse-travel {
  from { left: -44px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  to   { left: 100%; opacity: 0; }
}
.beam__rocket {
  position: absolute; top: 50%; left: 0;
  width: 39px; height: 26px;               /* 14×7 cells → 2:1-ish, matches the app's 20pt glyph */
  transform: translate(-50%, -50%);
  animation: rocket-travel 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 5px var(--mach-flame));
}
/* Sprite-style exhaust flicker: the two tip frames alternate every 120 ms. */
.beam__flame--short { animation: flame-a .24s steps(1) infinite; }
.beam__flame--long  { animation: flame-b .24s steps(1) infinite; }
@keyframes flame-a { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes flame-b { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes rocket-travel {
  0%   { left: 0;    opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.features { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--panel-border);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7), 0 0 30px -12px var(--mach-blue-a);
}
.card__icon { font-size: 1.6rem; margin-bottom: .9rem; }
.card__title { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.card p { color: var(--text-dim); font-size: .97rem; margin: 0; }
.card p + p { margin-top: 1.55rem; }   /* one full line of air between beats */

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.how {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step { position: relative; padding-top: .5rem; }
.step__num {
  display: block;
  color: var(--mach-blue);
  font-size: .8rem;
  margin-bottom: .75rem;
}
.step__num::after {
  content: "";
  display: block;
  height: 1px; margin-top: .75rem;
  background: linear-gradient(90deg, var(--mach-blue), transparent);
}
.step__title { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--text-dim); font-size: .97rem; margin: 0; }

/* --------------------------------------------------------------------------
   Socials + launch alerts
   -------------------------------------------------------------------------- */
.socials {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.socials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.socials .section-title { margin-bottom: 1.5rem; }

.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--panel);
  color: var(--text);
  font-size: .8rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.social .mono { font-size: .7rem; letter-spacing: .1em; }
.social__handle { color: var(--text-faint); font-size: .8rem; }
.social__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mach-blue); box-shadow: 0 0 8px var(--mach-blue); }
.social:hover { text-decoration: none; border-color: var(--panel-border); box-shadow: 0 0 18px -6px var(--mach-blue-a); transform: translateY(-1px); }
/* Not wired yet: dim it and kill the hand cursor so nobody thinks it's broken. */
.social[aria-disabled="true"] { opacity: .55; cursor: default; }
.social[aria-disabled="true"]:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,.1); }
.social[data-platform="instagram"] .social__dot { background: var(--mach-pink); box-shadow: 0 0 8px var(--mach-pink); }
.social[data-platform="youtube"]   .social__dot { background: var(--mach-red);  box-shadow: 0 0 8px var(--mach-red); }
.social[data-platform="tiktok"]    .social__dot { background: var(--mach-green); box-shadow: 0 0 8px var(--mach-green); }
.social[data-platform="threads"]   .social__dot { background: var(--text);      box-shadow: 0 0 8px var(--text); }
.social[data-platform="facebook"]  .social__dot { background: var(--mach-blue); box-shadow: 0 0 8px var(--mach-blue); }
.social[data-platform="fanbase"]   .social__dot { background: var(--mach-purple); box-shadow: 0 0 8px var(--mach-purple); }

.alerts {
  position: relative;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 0 40px -16px var(--mach-blue-a);
}
.alerts .eyebrow { margin-bottom: .6rem; }
.alerts__title { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.alerts__lede { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.1rem; }
.alerts__row { display: flex; gap: .6rem; }
.alerts__input {
  flex: 1; min-width: 0;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(16,16,38,.7);
  color: var(--text);
  font-size: .85rem;
}
.alerts__input::placeholder { color: var(--text-faint); }
.alerts__input:focus { border-color: var(--mach-blue); outline: none; box-shadow: 0 0 0 3px var(--mach-blue-a); }
.alerts__btn {
  padding: .75rem 1.1rem;
  border-radius: 10px;
  border: 0;
  background: var(--mach-blue);
  color: var(--deep-space);
  font-weight: 700; font-size: .75rem;
  cursor: pointer;
  transition: box-shadow .2s, transform .1s;
}
.alerts__btn:hover { box-shadow: 0 0 22px var(--mach-blue-a); }
.alerts__btn:active { transform: scale(.97); }
.alerts__check {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .9rem;
  font-size: .85rem; color: var(--text-dim);
  cursor: pointer;
}
.alerts__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.alerts__checkbox {
  width: 16px; height: 16px; flex: none;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(16,16,38,.7);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.alerts__check input:checked + .alerts__checkbox {
  background: var(--mach-green); border-color: var(--mach-green);
  box-shadow: 0 0 10px rgba(0,255,120,.5);
}
.alerts__check input:focus-visible + .alerts__checkbox { outline: 2px solid var(--mach-blue); outline-offset: 2px; }
.alerts__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alerts__status { min-height: 1.2em; margin: .8rem 0 0; font-size: .7rem; color: var(--text-faint); }
.alerts__status.is-ok { color: var(--mach-green); }
.alerts__status.is-err { color: var(--mach-amber); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2rem 0 2.5rem;
  font-size: .9rem;
}
.footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
}
.footer__brand { display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; color: var(--text-dim); }
.footer__brand img { border-radius: 50%; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.footer__links a { color: var(--text-dim); }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin-left: auto; margin-bottom: 0; color: var(--text-faint); font-size: .72rem; }
.footer__legal {
  flex-basis: 100%;
  margin: .75rem 0 0;
  color: var(--text-faint);
  font-size: .72rem;
  line-height: 1.5;
  max-width: 78ch;
}

/* --------------------------------------------------------------------------
   Privacy page
   -------------------------------------------------------------------------- */
.page { padding: clamp(3rem, 7vw, 5rem) 0; }
.page .container { max-width: 72ch; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.page h3 { font-size: 1.02rem; font-weight: 600; margin: 1.4rem 0 .35rem; color: var(--text); }
.page p, .page li { color: var(--text-dim); }
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--mach-amber);
  background: rgba(255, 196, 61, 0.08);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .socials__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 2; }
  .hero__logo { right: -.75rem; top: -2.25rem; }
  .beam { padding-right: 6.75rem; }
  .footer__copy { margin-left: 0; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .75rem var(--gutter) 1rem;
    background: rgba(16,16,38,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: .7rem 0; font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .nav__cta { align-self: flex-start; margin-top: .5rem; }
}

@media (max-width: 480px) {
  .brand__word { display: none; }
  .terminal__log { font-size: .72rem; }
  .alerts__row { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Reduced motion — kill the animations, keep the content
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot, .badge-soon__dot, .hero__logo, .beam__pulse, .beam__rocket, .beam__flame, .cursor { animation: none; }
  .terminal__log { height: auto; }   /* static full log — never clip it */
  .beam__rocket { left: 50%; opacity: 1; }
  .beam__flame--long { opacity: 0; }
  .card, .card:hover { transform: none; transition: none; }
}
