:root {
  color-scheme: dark;
  --ink: #07090d;
  --ink-soft: #0e1219;
  --panel: #131922;
  --text: #f5f7fb;
  --muted: #a8b0bd;
  --line: rgba(255, 255, 255, 0.13);
  --blue: #168de2;
  --cyan: #65d8f3;
  --red: #eb344d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(calc(100% - 2.2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.86), rgba(5, 7, 11, 0.08));
}

.header-inner {
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wordmark {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark span {
  color: var(--cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2.2vw, 2rem);
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: #dbe1e9;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  position: relative;
  min-height: 46rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.78) 36%, rgba(5, 7, 11, 0.1) 70%),
    linear-gradient(0deg, var(--ink) 0%, transparent 34%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 4.5rem;
  z-index: -1;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--blue) 28%, var(--cyan) 48%, var(--red) 70%, transparent 92%);
  transform: rotate(-2.4deg);
  box-shadow: 0 0 28px rgba(66, 194, 239, 0.5);
}

.hero-content {
  padding: 11rem 0 8.5rem;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.25rem;
  max-width: 10ch;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.87;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

h1 em {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 247, 251, 0.92);
  font-style: normal;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: #d7dde6;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.button-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  background: var(--text);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--cyan);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(7, 9, 13, 0.48);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.button-disabled {
  cursor: default;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.button-disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.07);
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-soft {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 10%, rgba(22, 141, 226, 0.1), transparent 32%),
    var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2,
.legal-copy h1 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  min-height: 18rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.6rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--red));
}

.card-number {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.trackday-support {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 12%, rgba(22, 141, 226, 0.14), transparent 34%),
    linear-gradient(180deg, #0b0e13, #07090d);
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.support-intro {
  position: sticky;
  top: 2rem;
}

.support-intro h2 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.support-intro > p:not(.eyebrow) {
  max-width: 35rem;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.support-intro .experience-positioning {
  border-left: 3px solid var(--cyan);
  padding-left: 1rem;
  color: #d7dde6;
  font-size: 0.98rem;
}

.experience-actions {
  align-items: stretch;
}

.experience-actions .button {
  text-align: center;
}

.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.support-list li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 0;
}

.support-list > li > span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.support-list h3 {
  margin-bottom: 0.45rem;
  font-size: 1.3rem;
}

.support-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-note {
  margin: 1.25rem 0 0 4.5rem;
  color: #7f8997;
  font-size: 0.87rem;
}

.support-note strong {
  color: #c8d0db;
}

.guide-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  border: 1px solid rgba(101, 216, 243, 0.36);
  border-radius: 1rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 95% 10%, rgba(101, 216, 243, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.04);
}

.guide-download .eyebrow {
  margin-bottom: 0.5rem;
}

.guide-download h3 {
  margin-bottom: 0.45rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

.guide-download p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.guide-download .button {
  white-space: nowrap;
}

.group-offer {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(235, 52, 77, 0.08), rgba(255, 255, 255, 0.025));
}

.group-offer .eyebrow {
  margin-bottom: 0.55rem;
}

.group-offer h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.group-offer > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: 2rem;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #141c26, #0a0d12 62%);
}

.contact-panel::after {
  content: "S1R";
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(8rem, 27vw, 24rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.contact-copy,
.contact-actions {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.contact-copy p {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.contact-actions .button {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 3rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  text-underline-offset: 0.25em;
}

.legal-page .site-header {
  position: relative;
  background: var(--ink);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(115deg, rgba(22, 141, 226, 0.15), transparent 35%),
    radial-gradient(circle at 82% 35%, rgba(235, 52, 77, 0.11), transparent 27%);
}

.legal-copy {
  width: min(calc(100% - 2.2rem), 48rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.legal-copy h1 {
  margin-bottom: 1rem;
}

.legal-copy h2 {
  margin: 2.5rem 0 0.65rem;
  font-size: 1.25rem;
}

.legal-copy p,
.legal-copy address {
  color: #c3cad4;
}

.legal-copy address {
  font-style: normal;
}

.draft-field {
  display: inline-block;
  border: 1px dashed rgba(235, 52, 77, 0.8);
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  color: #ff9aaa;
  background: rgba(235, 52, 77, 0.08);
}

.legal-note {
  border-left: 3px solid var(--cyan);
  margin: 0 0 2.5rem;
  padding: 0.9rem 1.1rem;
  background: rgba(101, 216, 243, 0.06);
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    background: #080a0e;
  }

  .header-inner {
    min-height: auto;
    padding: 1.1rem 0;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.65rem 1rem;
  }

  .hero {
    min-height: 41rem;
  }

  .hero-content {
    padding: 6.5rem 0 7rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0.35)),
      linear-gradient(0deg, var(--ink) 1%, transparent 55%);
  }

  .hero-image {
    object-position: 62% center;
  }

  .section-heading,
  .contact-panel,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .support-intro {
    position: static;
  }

  .guide-download {
    grid-template-columns: 1fr;
  }

  .guide-download .button {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 2.2rem;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 39rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-lead {
    max-width: 24rem;
  }

  .support-list li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  .support-note {
    margin-left: 3.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
