/* Team 44 website. Dark only, Scuderia palette shared with the apps. */

@font-face {
  font-family: "Google Sans Flex";
  src: url("../assets/fonts/google-sans-flex.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("../assets/fonts/roboto-mono.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --bg: #0A0706;
  --bg-rail: #0E0908;
  --surface: #110E0D;
  --gold: #D6B478;
  --on-gold: #1A1008;
  --text: #F4EFEA;
  --text-2: rgba(244, 239, 234, 0.74);
  --text-3: rgba(244, 239, 234, 0.6);
  --border: rgba(214, 180, 120, 0.18);
  --border-strong: rgba(214, 180, 120, 0.5);
  --border-soft: rgba(255, 255, 255, 0.08);
  --red: #E11B2E;
  --red-glow: rgba(225, 27, 46, 0.22);
  --gold-glow: rgba(214, 180, 120, 0.2);
  --font: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: dark;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 640;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--on-gold);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 7, 6, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 64px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 680;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.975rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--border-soft);
}

.nav a.nav-cta {
  margin-left: 6px;
  padding-inline: 16px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 640;
}

.nav a.nav-cta:hover {
  background: var(--text);
  color: var(--on-gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

@media (max-width: 719px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav a {
    padding: 12px 14px;
  }

  .js .nav a.nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 40px;
  padding-block: 48px 0;
}

/* The race number is the one loud element on the page. */
.hero-number {
  position: absolute;
  right: -0.06em;
  top: -0.2em;
  z-index: 0;
  font-size: clamp(15rem, 52vw, 40rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(214, 180, 120, 0.075);
  user-select: none;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero h1 {
  text-wrap: pretty;
  font-size: clamp(2.4rem, 7.6vw, 4.1rem);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-lede {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 1.1875rem;
  max-width: 30rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.badge-appstore,
.badge-play {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 8px 22px;
  border-radius: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.badge-appstore {
  background: var(--gold);
  color: var(--on-gold);
  border: 1px solid var(--gold);
}

.badge-appstore:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--on-gold);
}

.badge-play {
  color: var(--text-2);
  border: 1px dashed var(--border-strong);
}

.badge-small {
  font-size: 0.78rem;
}

.badge-big {
  font-size: 1.2rem;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.hero-note {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 0.925rem;
}

.hero-shot {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(300px, 78vw);
  margin-bottom: -90px;
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    padding-block: 84px 0;
  }

  .hero-copy {
    padding-bottom: 84px;
  }

  .hero-shot {
    width: 330px;
    margin-bottom: -120px;
    align-self: end;
  }
}

/* Device frames */

.device {
  margin: 0;
  padding: 7px;
  background: #1c1817;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.device img {
  width: 100%;
}

.device--phone {
  border-radius: 34px;
}

.device--phone img {
  border-radius: 28px;
}

.device--tablet {
  padding: 10px;
  border-radius: 26px;
}

.device--tablet img {
  border-radius: 17px;
}

/* Sections */

.section {
  padding-block: 72px;
  border-bottom: 1px solid var(--border-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-stretch: 108%;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-2);
}

@media (min-width: 900px) {
  .section {
    padding-block: 104px;
  }
}

/* Features: a ruled list, not a card grid. */

.feature-grid {
  display: grid;
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  padding: 22px 0 26px;
  border-top: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.feature-card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Screenshot gallery */

.gallery-tabs {
  display: none;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.js .gallery-tabs {
  display: flex;
}

.gallery-tabs button {
  min-height: 44px;
  padding: 0 20px;
  background: transparent;
  color: var(--text-2);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 359px) {
  .gallery-tabs button {
    padding: 0 13px;
  }
}

.gallery-tabs button:hover {
  color: var(--text);
}

.gallery-tabs button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 640;
}

.gallery-panel + .gallery-panel {
  margin-top: 56px;
}

.gallery-panel h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.js .gallery-panel {
  display: none;
  margin-top: 0;
}

.js .gallery-panel.is-active {
  display: block;
}

.js .gallery-panel h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The row scrolls inside its own box so the page never scrolls sideways. */
.gallery {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 6px 2px 26px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--border-strong) transparent;
}

.gallery li {
  flex: 0 0 auto;
  width: min(250px, 66vw);
  scroll-snap-align: start;
}

.gallery--tablet li {
  width: min(560px, 86vw);
}

.gallery figure {
  margin: 0;
}

.gallery .device {
  box-shadow: none;
}

.gallery figcaption {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 0.95rem;
}

/* Platforms */

.platform-grid {
  display: grid;
  gap: 40px;
}

.platform h3 {
  font-size: 1.5rem;
}

.platform .status {
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.975rem;
}

.platform ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.platform li {
  padding: 13px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-2);
}

.platform li strong {
  color: var(--text);
  font-weight: 620;
}

@media (min-width: 800px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }
}

/* Closing call to action */

.closing h2 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  max-width: 22ch;
}

.closing p {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 34rem;
}

/* Text pages */

.page-head {
  padding-block: 56px 28px;
}

.page-head h1 {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  font-stretch: 110%;
  letter-spacing: -0.03em;
}

.page-head p {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 38rem;
}

.prose {
  max-width: 44rem;
  padding-bottom: 80px;
}

.prose h2 {
  margin-top: 44px;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.prose h3 {
  margin-top: 26px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.prose p,
.prose ul {
  margin-top: 14px;
  color: var(--text-2);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--text);
  font-weight: 620;
}

.contact-box {
  margin-top: 8px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.contact-box p:first-child {
  margin-top: 0;
}

.contact-box .contact-email {
  font-size: clamp(1rem, 4.6vw, 1.25rem);
  font-weight: 640;
  overflow-wrap: anywhere;
}

.faq {
  margin-top: 18px;
  border-bottom: 1px solid var(--border);
}

.faq details {
  border-top: 1px solid var(--border);
}

.faq summary {
  padding: 18px 34px 18px 0;
  position: relative;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
}

.page-head .updated {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--text-3);
}

/* Footer */

.site-footer {
  padding-block: 44px 56px;
  background: var(--bg-rail);
  color: var(--text-3);
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text-2);
}

.footer-links a:hover {
  color: var(--text);
}

.disclaimer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  max-width: 46rem;
}

.copyright {
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Screenshots of any pixel size fit their frame: the frame sets the shape. */
.device--phone img {
  aspect-ratio: 660 / 1434;
  object-fit: cover;
  object-position: top;
}

.device--tablet img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}


/* ---- Energy pass: glow, motion, icons ---- */

/* Racing stripe along the top of every page */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 38%, var(--gold) 38% 100%);
}

.hero {
  background:
    radial-gradient(60% 70% at 85% 20%, var(--gold-glow), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, var(--red-glow), transparent 70%),
    var(--bg);
}

.hero-number {
  color: transparent;
  background: linear-gradient(160deg, rgba(214, 180, 120, 0.22), rgba(214, 180, 120, 0.04) 70%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-opacity: 0.3;
  stroke-dasharray: 14 10;
  pointer-events: none;
}

/* Five start lights */
.lights {
  display: flex;
  gap: 10px;
  margin: 0 0 22px;
}

.lights span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-soft);
  animation: light-on 0.5s ease-out forwards;
}

.lights span:nth-child(1) { animation-delay: 0.3s; }
.lights span:nth-child(2) { animation-delay: 0.6s; }
.lights span:nth-child(3) { animation-delay: 0.9s; }
.lights span:nth-child(4) { animation-delay: 1.2s; }
.lights span:nth-child(5) { animation-delay: 1.5s; }

@keyframes light-on {
  to {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 14px 2px rgba(225, 27, 46, 0.55);
  }
}

.hero-copy,
.hero-shot {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-shot {
  animation-delay: 0.15s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-shot.device {
  box-shadow:
    0 0 0 1px rgba(214, 180, 120, 0.25),
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 120px var(--gold-glow);
}

.badge-appstore {
  box-shadow: 0 10px 30px rgba(214, 180, 120, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(214, 180, 120, 0.35);
}

/* Feature cards */
.feature-grid {
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(214, 180, 120, 0.07), rgba(214, 180, 120, 0) 55%),
    var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(214, 180, 120, 0.12);
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gallery */
.gallery .device {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery figure:hover .device {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 60px var(--gold-glow);
}

#screenshots {
  background: radial-gradient(50% 40% at 50% 100%, var(--gold-glow), transparent 70%);
}

/* Platforms */
.platform {
  padding: 28px 26px 30px;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  border-top: 3px solid var(--gold);
}

.platform + .platform {
  border-top-color: var(--red);
}

.platform + .platform .status {
  color: var(--red-on-dark);
}

/* Closing band */
.closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 90% 50%, var(--red-glow), transparent 70%),
    radial-gradient(60% 80% at 20% 0%, var(--gold-glow), transparent 70%),
    var(--bg);
}

.closing .wrap {
  position: relative;
}

.closing-number {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(10rem, 30vw, 22rem);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(214, 180, 120, 0.09);
  pointer-events: none;
  user-select: none;
}

.closing h2,
.closing p,
.closing .store-row {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  .lights span {
    animation: none;
    background: var(--red);
    border-color: var(--red);
  }

  .hero-copy,
  .hero-shot {
    animation: none;
  }
}


/* ---- Fan pass: two phones, ticker, numbers, race weekend ---- */

.hero-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 620;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 760;
  font-stretch: 118%;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-stage {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(380px, 92vw);
  height: clamp(420px, 110vw, 560px);
  margin-bottom: -60px;
}

.hero-stage .hero-shot {
  position: absolute;
  bottom: 0;
  width: 62%;
  margin: 0;
}

.hero-stage .hero-shot--back {
  left: 0;
  width: 56%;
  transform: rotate(-9deg) translateY(10px);
  opacity: 0.85;
  z-index: 0;
  animation-delay: 0.3s;
}

.hero-stage .hero-shot:not(.hero-shot--back) {
  right: 0;
  transform: rotate(5deg);
  z-index: 1;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 30px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }

  .hero-stage {
    width: 100%;
    max-width: 520px;
    height: 640px;
    margin-bottom: -40px;
    align-self: end;
  }

  .hero-stage .hero-shot {
    width: 58%;
  }

  .hero-stage .hero-shot--back {
    width: 52%;
    left: 2%;
  }
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-rail);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 48s linear infinite;
}

.ticker span {
  padding: 0 22px;
  color: var(--text-2);
  font-weight: 560;
  font-size: 0.98rem;
}

.ticker span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 22px;
  vertical-align: -1px;
  background:
    linear-gradient(45deg, var(--gold) 25%, transparent 25% 75%, var(--gold) 75%),
    linear-gradient(45deg, var(--gold) 25%, transparent 25% 75%, var(--gold) 75%);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Numbers band */
.numbers {
  background: linear-gradient(180deg, var(--bg-rail), var(--bg));
  border-bottom: 1px solid var(--border-soft);
}

.numbers-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 0;
  padding: 44px 0;
  list-style: none;
}

.numbers-list li {
  display: grid;
  gap: 4px;
}

.numbers-list strong {
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gold);
}

.numbers-list .x {
  font-size: 0.6em;
  font-weight: 600;
  margin-left: 2px;
}

.numbers-list li > span {
  color: var(--text-2);
  font-size: 0.98rem;
  max-width: 18rem;
}

@media (min-width: 800px) {
  .numbers-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 56px 0;
  }
}

/* Race weekend steps: a real sequence, so the days are the markers */
.weekend {
  background: radial-gradient(60% 50% at 100% 0%, var(--red-glow), transparent 70%);
}

.weekend-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.weekend-steps li {
  position: relative;
  padding: 26px 24px 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.weekend-steps .day {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(214, 180, 120, 0.14);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.weekend-steps .day--race {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px rgba(225, 27, 46, 0.45);
}

.weekend-steps h3 {
  font-size: 1.35rem;
}

.weekend-steps p {
  margin-top: 8px;
  color: var(--text-2);
}

@media (min-width: 800px) {
  .weekend-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weekend-steps li:nth-child(3) {
    border-color: rgba(225, 27, 46, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
