/* =========================================================================
   Elevation Sim Racing — public site styles
   Dark theme · vivid red accent · Space Grotesk + Inter
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --bg: #0b0b0d;
  --bg-2: #0f0f12;
  --surface: #16161a;
  --surface-2: #1c1c22;
  --border: #26262c;
  --border-strong: #34343c;

  --text: #f4f4f6;
  --muted: #9a9aa4;
  --muted-2: #6f6f78;

  --accent: #e10600;
  --accent-bright: #ff2b25;
  --accent-deep: #9c0400;
  --accent-glow: rgba(225, 6, 0, 0.35);

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 0 1px rgba(225, 6, 0, 0.25), 0 14px 40px -16px var(--accent-glow);

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --space: 1rem;
  --header-h: 66px;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-2); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-top: 0.7rem; }
.section-head p { color: var(--muted); margin-top: 0.85rem; font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lede { color: var(--muted); font-size: 1.1rem; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px var(--accent-bright), 0 18px 46px -14px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; background: rgba(225,6,0,0.06); }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ---- Announcement bar -------------------------------------------------- */
.announce {
  background: linear-gradient(90deg, rgba(225,6,0,0.18), rgba(225,6,0,0.06));
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.55rem 1rem;
  color: #ffd9d7;
}
.announce strong { color: #fff; }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.9);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
}
.brand .brand-mark {
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(0 100%, 60% 0, 100% 0, 40% 100%);
  box-shadow: 0 0 12px var(--accent-glow);
}
.brand .brand-name { color: var(--text); }
.brand .brand-sim { color: var(--accent-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 42px; height: 42px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -1px) rotate(-45deg); }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(70% 120% at 78% 10%, rgba(225,6,0,0.16), transparent 60%),
    radial-gradient(50% 80% at 10% 90%, rgba(225,6,0,0.08), transparent 60%),
    var(--bg);
}
/* animated diagonal speed streaks */
.hero__streaks {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0 38px,
    rgba(225,6,0,0.05) 38px 40px,
    transparent 40px 86px
  );
  mask-image: linear-gradient(100deg, transparent, #000 30%, #000 70%, transparent);
  animation: streak 14s linear infinite;
}
@keyframes streak { to { background-position: 600px 0; } }

.hero__inner { position: relative; z-index: 1; max-width: 740px; }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  margin-top: 1rem;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent-bright); }
.hero p.hero__sub {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 600px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero__meta strong { color: var(--text); display: block; font-family: var(--font-head); font-size: 1.5rem; }

/* ---- Placeholder boxes ------------------------------------------------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, #15151b 0 14px, #18181f 14px 28px);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted-2);
  aspect-ratio: 16 / 10;
  padding: 1rem;
}
.ph__label { font-family: var(--font-head); font-size: 0.85rem; color: var(--muted); }
.ph__dims { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.35rem; }
.ph--hero { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }

/* ---- Generic grids ----------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---- Cards ------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

.step-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-bright);
  border: 1px solid var(--accent-deep);
  background: rgba(225,6,0,0.08);
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
}

/* differentiator cards: emphasize the two key ones */
.diff-card { position: relative; overflow: hidden; }
.diff-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 1.1rem;
  color: var(--accent-bright);
}
.diff-card .icon svg { width: 26px; height: 26px; display: block; }
.diff-card.is-key {
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, rgba(225,6,0,0.10), var(--surface) 55%);
  box-shadow: var(--shadow-glow);
}
.diff-card.is-key .icon { background: rgba(225,6,0,0.12); border-color: var(--accent-deep); }
.diff-card .key-tag {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--font-head); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-bright);
}

/* included list */
.included-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.included-item .tick {
  flex: none; margin-top: 2px;
  width: 24px; height: 24px; border-radius: 7px;
  background: rgba(225,6,0,0.1); color: var(--accent-bright);
  border: 1px solid var(--accent-deep);
  display: grid; place-items: center; font-size: 0.8rem;
}

/* ---- Pricing ----------------------------------------------------------- */
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}
.price-card.is-featured {
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, rgba(225,6,0,0.08), var(--surface) 50%);
}
.price-card__badge {
  position: absolute; top: -0.8rem; left: 1.5rem;
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.price-card__name { font-family: var(--font-head); font-size: 1.3rem; }
.price-card__duration { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.price-card__price {
  font-family: var(--font-head); font-weight: 700;
  font-size: 2.1rem; margin: 1rem 0 0.25rem;
}
.price-card__tagline { color: var(--muted); font-size: 0.95rem; min-height: 2.8em; }
.price-card__features { margin: 1.3rem 0; display: grid; gap: 0.7rem; }
.price-card__features li { display: flex; gap: 0.6rem; font-size: 0.94rem; color: #d9d9df; }
.price-card__features li::before { content: "›"; color: var(--accent-bright); font-weight: 700; }
.price-card .btn { margin-top: auto; }

.note-banner {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Gallery ----------------------------------------------------------- */
#gallery-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
.gallery-tile {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.gallery-tile img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery-tile figcaption { padding: 0.7rem 0.9rem; font-size: 0.85rem; color: var(--muted); }
.gallery-tile--wide { grid-column: 1 / -1; }
.gallery-tile--wide img { aspect-ratio: 24 / 9; }

/* Reusable content image (rig photo, infographic) */
.media-img { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, rgba(225,6,0,0.16), rgba(225,6,0,0.04)), var(--surface);
  border: 1px solid var(--accent-deep);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0.9rem auto 1.8rem; }

/* ---- Forms ------------------------------------------------------------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 2.5rem; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.field-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-family: var(--font-head); letter-spacing: 0.01em; }
.field label .req { color: var(--accent-bright); }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--muted) 50%),
  linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 53%, calc(100% - 13px) 53%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field-error { color: var(--accent-bright); font-size: 0.78rem; min-height: 0; }

.form-status { margin-top: 1rem; font-size: 0.95rem; }
.form-status.is-success {
  color: #c6f6d5; background: rgba(35,134,54,0.16);
  border: 1px solid rgba(46,160,67,0.5); border-radius: var(--radius-sm); padding: 0.85rem 1rem;
}
.form-status.is-error {
  color: #ffd9d7; background: rgba(225,6,0,0.12);
  border: 1px solid var(--accent-deep); border-radius: var(--radius-sm); padding: 0.85rem 1rem;
}

.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.aside-steps { display: grid; gap: 0.9rem; }
.aside-steps li { display: flex; gap: 0.7rem; color: var(--muted); font-size: 0.92rem; }
.aside-steps b { color: var(--text); }
.contact-line { display: flex; align-items: center; gap: 0.65rem; color: var(--muted); }
.contact-line + .contact-line { margin-top: 0.6rem; }
.contact-line a:hover { color: var(--accent-bright); }
.contact-line svg { width: 18px; height: 18px; flex: none; color: var(--accent-bright); }

/* ---- About ------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.prose p { color: var(--muted); margin-top: 1rem; }
.prose p.lead { color: var(--text); font-size: 1.15rem; }

.stat-row { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.stat strong { font-family: var(--font-head); font-size: 1.7rem; display: block; color: var(--text); }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: 3rem 1.6rem;
  margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 0.9rem; }
.footer-grid a { color: var(--muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-grid ul { display: grid; gap: 0.55rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 0.8rem; max-width: 30ch; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  color: var(--muted-2); font-size: 0.82rem;
}

/* ---- Reveal-on-scroll -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  #gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a.is-active::after { display: none; }
  .nav-actions .btn { display: none; }
}

@media (max-width: 560px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  #gallery-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__streaks { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* =========================================================================
   Layout variety — timeline, bento, stat band, audience, trust strip
   ========================================================================= */

/* ---- Step timeline (How it works) ------------------------------------ */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tl-step { position: relative; text-align: center; padding: 0 0.5rem; }
.tl-node {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.2rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: var(--accent-bright); background: var(--surface);
  border: 1px solid var(--accent-deep); box-shadow: var(--shadow-glow);
  position: relative; z-index: 1;
}
.tl-step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); z-index: 0;
}
.tl-step h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.tl-step p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; margin: 0 auto; }

/* ---- Bento grid (differentiators) ------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
.bento-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.4rem; justify-content: space-between;
  min-height: 210px;
}
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-tile.is-key {
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, rgba(225,6,0,0.10), var(--surface) 60%);
  box-shadow: var(--shadow-glow);
}
.bento-tile .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--accent-bright);
}
.bento-tile.is-key .icon { background: rgba(225,6,0,0.12); border-color: var(--accent-deep); }
.bento-tile .icon svg { width: 26px; height: 26px; }
.bento-tile h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.bento-tile p { color: var(--muted); font-size: 0.97rem; }
.bento-key-tag {
  position: absolute; top: 1rem; right: 1.1rem;
  font-family: var(--font-head); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-bright);
}
.bento-feature { flex-direction: row; align-items: center; gap: 2.2rem; }
.bento-feature .bento-tile__bd { max-width: 46ch; }
.bento-art { flex: none; color: var(--accent); opacity: 0.16; line-height: 0; }
.bento-art svg { width: 124px; height: 124px; }

/* mini live-standings graphic inside the spectator-screen tile */
.leaderboard {
  display: grid; gap: 0.5rem; min-width: 240px; flex: none;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem;
}
.lb-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-size: 0.8rem; }
.lb-pos { color: var(--accent-bright); }
.lb-bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }
.lb-bar.is-dim { background: var(--border-strong); }
.lb-time { color: var(--muted); }

/* ---- Stat band ------------------------------------------------------- */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.statband .s { background: var(--surface); padding: 1.7rem 1.2rem; text-align: center; }
.statband .s strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--text); }
.statband .s span { color: var(--muted); font-size: 0.85rem; }

/* ---- Audience cards (indexed, top-accent) ---------------------------- */
.aud-card {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 2px solid var(--accent); border-radius: var(--radius);
  padding: 1.6rem;
}
.aud-card .aud-num { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--accent-bright); letter-spacing: 0.1em; }
.aud-card h3 { font-size: 1.2rem; margin: 0.5rem 0; }
.aud-card p { color: var(--muted); font-size: 0.96rem; }

/* ---- Trust strip (About) --------------------------------------------- */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.trust-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust-item .t-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(225,6,0,0.1); border: 1px solid var(--accent-deep); color: var(--accent-bright);
}
.trust-item .t-ico svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.trust-item p { color: var(--muted); font-size: 0.92rem; }

/* ---- Responsive for the new components -------------------------------- */
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-step { text-align: left; display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; row-gap: 0.3rem; padding: 0 0 1.7rem; }
  .tl-node { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .tl-step h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .tl-step p { grid-column: 2; grid-row: 2; margin: 0; max-width: none; }
  .tl-step:not(:last-child)::after { top: 54px; left: 26px; width: 2px; height: calc(100% - 54px + 1.7rem); background: linear-gradient(180deg, var(--accent), transparent); }

  .bento { grid-template-columns: 1fr; }
  .bento-tile { grid-column: 1 / -1 !important; min-height: 0; }
  .bento-feature { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .leaderboard { width: 100%; min-width: 0; }
  .bento-art { display: none; }

  .statband { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: 1fr; }
}
