/* ─────────────────────────────────────────────────────────────────────────────
   Voidride — the landing page (index.html), on top of site.css.
   Variant A "Lockup" of the 11-10 redesign: the app's login lockup as the hero,
   then one band per feature, each with a chamfered slot for its store shot.
   A band or card picks its colour with an .a-* class from site.css.
   ───────────────────────────────────────────────────────────────────────────── */

/* ── hero ──────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--void) url('../img/night-map.jpg') 50% 60% / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 60% at 50% 48%, rgba(5, 7, 13, .94) 0%, rgba(5, 7, 13, .78) 46%, rgba(5, 7, 13, .2) 100%);
}
.hero-in {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) clamp(4rem, 9vw, 7.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  text-align: center;
}
.hero-mark { width: clamp(180px, 22vw, 290px); filter: drop-shadow(0 0 22px rgba(255, 42, 42, .45)); }

.wordmark { position: relative; display: grid; place-items: center; }
.wordmark::before {
  content: '';
  position: absolute;
  inset: -46% -14%;
  background: radial-gradient(closest-side, rgba(255, 42, 42, .40), rgba(255, 42, 42, .15) 50%, rgba(255, 42, 42, 0));
}
.wordmark h1 {
  position: relative;
  padding-left: .14em;   /* balances the tracking after the last letter */
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.625rem, 10vw, 8rem);
  line-height: .92;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.44rem, 2.7vw, 2.125rem);
  line-height: 1.12;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-lede {
  max-width: 54ch;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.6;
  color: var(--dim);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .875rem; margin-top: .625rem; }
.hero-fine {
  margin-top: .25rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The email's ghost button: a chamfered red edge, a dark red fill, and two
   corner brackets standing 1px off the square corners. The brackets are the
   element's own background, so they sit outside the clipped layers. */
.hud-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 3px 31px;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 12px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 0 / 2px 12px no-repeat,
    linear-gradient(var(--red), var(--red)) 100% 100% / 12px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 100% 100% / 2px 12px no-repeat;
  filter: drop-shadow(0 0 10px rgba(255, 42, 42, .35));
  transition: filter .2s ease;
}
.hud-btn::before,
.hud-btn::after { content: ''; position: absolute; }
.hud-btn::before {
  inset: 3px;
  background: var(--red);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}
.hud-btn::after {
  inset: 4px;
  background: var(--red-ink);
  clip-path: polygon(0 0, calc(100% - 10.6px) 0, 100% 10.6px, 100% 100%, 10.6px 100%, 0 calc(100% - 10.6px));
}
.hud-btn > span {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red-text);
  transition: color .2s ease;
}
.hud-btn:hover { text-decoration: none; filter: drop-shadow(0 0 16px rgba(255, 42, 42, .6)); }
.hud-btn:hover > span { color: var(--text); }

/* Where the official App Store and Google Play badges go at launch. Two at 160px sit side by side on a 375px phone. */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }
.badge-slot {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 160px;
  height: 54px;
  border: 1px dashed var(--border-hi);
  border-radius: 8px;
  background: rgba(10, 13, 21, .75);
  line-height: 1.3;
}
.badge-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--dim);
}
.badge-note { font-size: .6875rem; color: var(--muted); }

/* ── feature bands ─────────────────────────────────────────────────────────── */

.band { border-top: 1px solid var(--border); padding-block: clamp(4rem, 9vw, 7.5rem); }
.band-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
/* Text on the right on wide screens. Plain wrap, never wrap-reverse: on a
   phone the text must still come first, with the shot under it. */
.band-in.flip { flex-direction: row-reverse; }
/* nowrap: in a wrapping column flexbox Chrome sizes a grid's height before its width
   is final, and the ability cards came out twice as tall as their text. */
.band-in.stack { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: clamp(2rem, 4vw, 3rem); }

.band-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.band-text.wide { flex-basis: 520px; }
.band-head { display: flex; flex-direction: column; gap: 1.25rem; max-width: 760px; }
.band-head .lede,
.band-head .more { max-width: 60ch; }
.more { max-width: 56ch; font-size: 1rem; line-height: 1.65; color: var(--muted); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(var(--accent-rgb), .4);
  border-radius: 6px;
  background: rgba(var(--accent-rgb), .1);
  font-family: var(--display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* ── screenshot slots ──────────────────────────────────────────────────────── */
/* A 9:16 HUD frame per store shot. Until the shots are public it shows a
   placeholder; then an <img> replaces .shot-ph and the frame stays as it is. */

.shot { flex: 0 1 290px; width: min(290px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.shot-frame { position: relative; isolation: isolate; width: 100%; aspect-ratio: 9 / 16; }
.shot-frame::before,
.shot-frame::after { content: ''; position: absolute; }
.shot-frame::before {
  inset: 0;
  background: rgba(var(--accent-rgb), .5);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.shot-frame::after {
  inset: 1px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 12px), var(--panel);
  clip-path: polygon(0 0, calc(100% - 15.6px) 0, 100% 15.6px, 100% 100%, 15.6px 100%, 0 calc(100% - 15.6px));
}
.shot-frame > img {
  position: absolute;
  inset: 1px;
  z-index: 1;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 15.6px) 0, 100% 15.6px, 100% 100%, 15.6px 100%, 0 calc(100% - 15.6px));
}
.shot-ph {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: 1.75rem;
  text-align: center;
}
.shot-no {
  font-family: var(--display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.shot-soon {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dim);
}
/* Square corners get an L bracket; the two chamfers get a stroke either side.
   The top pair takes the accent and the bottom pair --accent-2, so a shot
   that shows two modes can carry both. */
.shot-marks {
  --m1: var(--accent);
  --m2: var(--accent-2, var(--accent));
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--m1), var(--m1)) left 0 top 0 / 18px 2px,
    linear-gradient(var(--m1), var(--m1)) left 0 top 0 / 2px 18px,
    linear-gradient(var(--m1), var(--m1)) right 16px top 0 / 18px 2px,
    linear-gradient(var(--m1), var(--m1)) right 0 top 16px / 2px 18px,
    linear-gradient(var(--m2), var(--m2)) right 0 bottom 0 / 18px 2px,
    linear-gradient(var(--m2), var(--m2)) right 0 bottom 0 / 2px 18px,
    linear-gradient(var(--m2), var(--m2)) left 16px bottom 0 / 18px 2px,
    linear-gradient(var(--m2), var(--m2)) left 0 bottom 16px / 2px 18px;
  background-repeat: no-repeat;
}
.shot.to-purple { --accent-2: var(--purple); }
.shot figcaption { font-size: .84375rem; line-height: 1.5; color: var(--muted); text-align: center; }

.shot-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 5vw, 4.5rem); }
.shot-row .shot { margin: 0; }

/* ── fog: three numbers ────────────────────────────────────────────────────── */

.stats {
  margin: .375rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stats > div {
  min-width: 0;
  padding: .875rem clamp(.625rem, 2.5vw, 1rem);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--void);
}
.stats dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: .6875rem;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 4.6vw, 1.625rem);
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stats dd.good { color: var(--reward); }

/* ── abilities ─────────────────────────────────────────────────────────────── */

.abilities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: .875rem;
}
.ability {
  padding: 1.25rem 1.25rem 1.375rem;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ability-head { display: flex; align-items: center; justify-content: space-between; gap: .625rem; }
.ability h3 { font-size: 1.3125rem; letter-spacing: .05em; }
.role {
  padding: 2px 8px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text);
  white-space: nowrap;
}
.ability-meta {
  font-family: var(--display);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ability p:last-child { font-size: .9375rem; line-height: 1.55; color: var(--dim); }

/* ── ride modes ────────────────────────────────────────────────────────────── */

.modes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));   /* 2 × 2, never 3 + 1 */
  gap: .75rem;
}
.mode {
  padding: 1rem 1.125rem;
  background: var(--panel);
  border: 1px solid rgba(var(--accent-rgb), .35);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mode::before { content: ''; height: 4px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .7); }
.mode h3 { font-size: 1.125rem; letter-spacing: .11em; color: var(--accent-text); }
.mode p { font-size: .90625rem; line-height: 1.5; color: var(--muted); }

/* ── safety ────────────────────────────────────────────────────────────────── */

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 0 3rem;
}
.facts > div { padding: 1.125rem 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .375rem; }
.facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .125em;
  text-transform: uppercase;
  color: var(--text);
}
.facts dd { margin: 0; font-size: .96875rem; line-height: 1.6; color: var(--muted); }

/* The email's danger callout: a red-edged panel with brackets on its two
   square corners. */
.alert { --notch: 18px; --edge: rgba(218, 55, 60, .6); max-width: 820px; }
.alert > .panel-in {
  padding: clamp(1.375rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .625rem;
  background: var(--danger-ink);
}
.alert::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--danger), var(--danger)) 0 0 / 18px 2px no-repeat,
    linear-gradient(var(--danger), var(--danger)) 0 0 / 2px 18px no-repeat,
    linear-gradient(var(--danger), var(--danger)) 100% 100% / 18px 2px no-repeat,
    linear-gradient(var(--danger), var(--danger)) 100% 100% / 2px 18px no-repeat;
}
.alert h3 { font-size: 1.25rem; letter-spacing: .1em; color: var(--red-text); }
.alert p { font-size: 1rem; line-height: 1.65; color: var(--dim); }
.alert p + p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }

/* ── closing call ──────────────────────────────────────────────────────────── */

.close-in {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  text-align: center;
}
.close-in .lede { max-width: 52ch; }
