:root {
  color-scheme: dark;
  --page: #07080a;
  --text: #f6f7f3;
  --muted: #a7aaa6;
  --line: rgba(255, 255, 255, .14);
  --cyan: #00d9ff;
  --pink: #ff2aa1;
  --lime: #c8ff2e;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 95, 181, .44), transparent 31rem),
    radial-gradient(circle at 12% 42%, rgba(54, 39, 164, .6), transparent 36rem),
    linear-gradient(180deg, #210c4b 0, #11072d 42%, var(--page) 100%);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 47vh;
  left: -30%;
  width: 160%;
  height: 63vh;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: top;
  background-image:
    linear-gradient(rgba(255, 42, 161, .62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, .55) 1px, transparent 1px);
  background-size: 70px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  opacity: .52;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  top: 84px;
  left: 50%;
  width: min(62vw, 680px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: repeating-linear-gradient(to bottom, #ffb449 0 9px, #f368a8 9px 14px);
  clip-path: inset(0 0 49% 0);
  opacity: .2;
}

a { color: inherit; }

.choice-header,
.choice-main,
footer {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.choice-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-inline: max(24px, calc((100% - 1400px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(10, 6, 29, .42);
  box-shadow: 0 12px 38px rgba(4, 2, 14, .18);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.choice-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  box-shadow: 4px 4px 0 var(--pink);
  font: 800 15px/1 Consolas, monospace;
}

.choice-brand > span:last-child { display: grid; gap: 2px; }
.choice-brand strong { font-size: 19px; }
.choice-brand small,
.choice-header p {
  color: var(--muted);
  font: 700 10px/1.3 Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.choice-header p { margin: 0; }

.choice-main {
  padding: calc(90px + clamp(44px, 7vw, 96px)) 0 24px;
}

.ecosystem-intro {
  max-width: 800px;
  margin-bottom: clamp(38px, 6vw, 76px);
}

.ecosystem-eyebrow,
.ecosystem-connection {
  margin: 0;
  color: var(--cyan);
  font: 800 11px/1.4 Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ecosystem-intro h1 {
  max-width: 680px;
  margin: 17px 0 20px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .88;
}

.ecosystem-statement {
  max-width: 670px;
  margin: 0 0 20px;
  color: #c1c5c0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.ecosystem-connection { color: var(--muted); }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.choice {
  position: relative;
  min-width: 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 4vw, 62px);
  border: 1px solid rgba(190, 179, 255, .2);
  background: rgba(12, 8, 32, .9);
  box-shadow: 0 18px 50px rgba(2, 1, 10, .22);
  backdrop-filter: blur(12px) saturate(120%);
  text-decoration: none;
  isolation: isolate;
}

.choice::before,
.choice::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.choice::before {
  inset: 0;
  opacity: .58;
  background-size: 64px 64px;
  transition: opacity .25s ease;
}

.choice::after {
  width: 460px;
  height: 460px;
  border-radius: 50%;
  right: -170px;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(3px);
  opacity: .16;
  transition: opacity .25s ease, transform .25s ease;
}

.choice-engineering::before {
  background-image:
    linear-gradient(rgba(0, 217, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, .07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(47, 55, 159, .48), transparent 64%);
}

.choice-engineering::after { background: linear-gradient(180deg, #00d9ff, #746cff); }

.choice-racing::before {
  background-image:
    linear-gradient(rgba(200, 255, 46, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 46, .055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(91, 101, 22, .3), transparent 64%);
}

.choice-racing::after { background: linear-gradient(180deg, #c8ff2e, #ff8a45); }

.choice-analytics::before {
  background-image:
    linear-gradient(rgba(85, 225, 198, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 225, 198, .065) 1px, transparent 1px),
    linear-gradient(135deg, rgba(32, 116, 121, .38), transparent 64%);
}

.choice-analytics::after { background: linear-gradient(180deg, #55e1c6, #ffb454); }

.choice:hover::before { opacity: .86; }
.choice:hover::after { opacity: .26; transform: translateY(-50%) scale(1.08); }

.choice-number,
.choice-kicker,
.choice-action {
  font-family: Consolas, monospace;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.choice-number { color: var(--muted); font-size: 11px; }
.choice-engineering .choice-kicker, .choice-engineering .choice-action { color: var(--cyan); }
.choice-racing .choice-kicker, .choice-racing .choice-action { color: var(--lime); }
.choice-analytics .choice-kicker, .choice-analytics .choice-action { color: #73ead4; }
.choice-kicker { margin: 0 0 22px; font-size: 11px; }

.choice h2 {
  margin: 0;
  font-size: clamp(40px, 3.5vw, 56px);
  line-height: .92;
  letter-spacing: -.065em;
}

.choice-description {
  max-width: 570px;
  margin: 30px 0 0;
  color: #c1c5c0;
  font-size: 17px;
  line-height: 1.65;
}

.choice-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.choice-action b { font-size: 25px; transition: transform .2s ease; }
.choice:hover .choice-action b { transform: translateX(7px); }

footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}

footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 1280px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice-analytics { grid-column: 1 / -1; min-height: 440px; }
}

@media (max-width: 820px) {
  .choice-main, footer { width: calc(100% - 24px); }
  .choice-header { padding-inline: 12px; }
  .choice-header p { display: none; }
  .choice-main { padding-top: 134px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-analytics { grid-column: auto; }
  .choice { min-height: 520px; }
  .choice::after { right: -260px; }
}

@media (max-width: 480px) {
  .ecosystem-intro h1 { font-size: 52px; }
  .choice { min-height: 480px; padding: 28px 24px; }
  .choice-description { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .choice::before, .choice::after, .choice-action b { transition: none; }
}
