:root {
  color-scheme: light;
  --ink: #081019;
  --ink-soft: #182532;
  --cream: #f7f0df;
  --paper: #fffdf7;
  --teal: #42c6b1;
  --teal-dark: #0e7368;
  --cyan: #00d9ff;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --coral: #e87865;
  --gold: #d8b66a;
  --muted: #596671;
  --line: #d8dedc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 16, 25, 0.13);
  --radius: 26px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 900;
}

.skip-link:focus { top: 16px; }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 17, 28, 0.93);
  color: var(--cream);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.brand img,
.footer-brand img { border-radius: 12px; }

.site-header nav,
.site-footer nav { display: flex; align-items: center; gap: 26px; }

.site-header nav a,
.site-footer nav a { font-size: 14px; font-weight: 800; text-decoration: none; }

.site-header nav a:hover,
.site-footer nav a:hover { color: var(--teal-dark); }

.site-header nav a:hover { color: var(--cyan); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: start;
  gap: clamp(52px, 8vw, 118px);
  min-height: 760px;
  padding-block: 56px 80px;
  color: var(--cream);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background: #07111c url("hero-racing-v2.jpg") center / cover no-repeat;
}

.hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 73% 46%, rgba(0, 217, 255, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(7, 17, 28, 0.99) 0%, rgba(7, 17, 28, 0.93) 39%, rgba(7, 17, 28, 0.42) 70%, rgba(7, 17, 28, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 17, 28, 0.04), rgba(7, 17, 28, 0.38));
}

.hero-copy { max-width: 670px; padding-top: 0; }

.eyebrow,
.access-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.eyebrow.teal { color: var(--teal); }

.hero .eyebrow { color: var(--cyan); }

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

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(56px, 6.6vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  word-spacing: 0.025em;
  text-wrap: balance;
}

.gradient-text {
  color: var(--cyan);
  background: linear-gradient(100deg, var(--cyan), #58a8ff 42%, var(--violet) 72%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1;
  letter-spacing: -0.048em;
}

h3 { line-height: 1.18; letter-spacing: -0.025em; }

.hero-lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: #c7d2dc;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
}

.hero-lede strong { color: var(--cream); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary { background: linear-gradient(135deg, var(--cyan), #58a8ff 58%, var(--violet)); color: #031019; box-shadow: 0 12px 34px rgba(0, 217, 255, 0.2); }
.button.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button.secondary { border: 1px solid var(--line); background: var(--white); }
.button.secondary:hover { border-color: var(--teal-dark); }

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  background: #000000;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.appstore-badge svg { width: 25px; height: 25px; fill: currentColor; }
.appstore-badge-text { display: flex; flex-direction: column; line-height: 1.18; }
.appstore-badge-text small { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #c3ccd4; }
.appstore-badge-text strong { font-size: 19px; font-weight: 800; letter-spacing: 0.01em; }
.appstore-badge.is-soon { cursor: default; }
a.appstore-badge:hover { border-color: var(--cyan); transform: translateY(-1px); }

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 28, 0.62);
  color: var(--cream);
  backdrop-filter: blur(14px);
}

.hero .button.secondary:hover { border-color: var(--cyan); }

.free-note { max-width: 600px; color: #aebdca; font-size: 14px; line-height: 1.55; }
.free-note strong { color: var(--cream); }

.hero-visual { position: relative; justify-self: center; width: min(390px, 100%); }

.phone-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  border: 12px solid transparent;
  border-radius: 56px;
  /* Titanium-style frame: ink face over a brushed gradient band. */
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    linear-gradient(150deg, #5b6875 0%, #1a222c 34%, #0c1218 58%, #3d4a58 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    var(--shadow),
    0 0 0 1px rgba(0, 217, 255, 0.14),
    0 26px 90px rgba(0, 217, 255, 0.15),
    0 46px 110px rgba(8, 16, 25, 0.5);
}

/* Glass-edge highlight where the screen meets the bezel. */
.phone-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 44px;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -18px 34px rgba(0, 0, 0, 0.22);
}

.phone-shell img { width: 100%; height: auto; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -14% 3% -20%;
  z-index: 0;
  border-radius: 48%;
  background: radial-gradient(circle at 55% 38%, rgba(0, 217, 255, 0.26), rgba(139, 92, 246, 0.2) 44%, transparent 72%);
  filter: blur(12px);
}

.signal-band { border-block: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(100deg, #07111c, #10142c 52%, #1d1230); color: var(--cream); }

.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.signal-grid div {
  display: grid;
  gap: 2px;
  padding: 28px clamp(16px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-grid div:last-child { border-right: 0; }
.signal-grid strong { font-size: 31px; line-height: 1; }
.signal-grid span { color: #9fb0bf; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }

.section { padding-block: clamp(76px, 8vw, 108px); }
/* Hairline delineator for the one seam where two paper sections meet;
   every other section boundary is already delineated by a background change. */
.section-divider { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 56px; }
.narrow { max-width: 820px; }
.section-heading > p:last-child,
.access-grid > div > p:last-child { color: var(--muted); font-size: 20px; }

.analysis-section { display: grid; gap: 48px; }
.analysis-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr); align-items: end; gap: clamp(42px, 8vw, 110px); }
.analysis-heading h2 { max-width: 760px; margin-bottom: 0; }
.analysis-heading > p { margin-bottom: 6px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.analysis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.analysis-card { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.analysis-card:nth-child(1) { box-shadow: inset 0 4px 0 var(--cyan); }
.analysis-card:nth-child(2) { box-shadow: inset 0 4px 0 var(--violet); }
.analysis-card:nth-child(3) { box-shadow: inset 0 4px 0 var(--teal); }
.analysis-card:nth-child(4) { box-shadow: inset 0 4px 0 var(--coral); }
.data-tag { display: inline-block; margin-bottom: 54px; color: var(--teal-dark); font-size: 10px; font-weight: 950; letter-spacing: 0.15em; }
.analysis-card h3 { margin-bottom: 12px; font-size: 25px; }
.analysis-card p { margin-bottom: 0; color: var(--muted); }
.analysis-process { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; padding: 26px 30px; border-radius: var(--radius); background: var(--ink); color: var(--cream); }
.analysis-process div { display: flex; align-items: center; gap: 14px; }
.analysis-process span { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #354552; border-radius: 12px; color: var(--teal); font-size: 10px; font-weight: 950; }
.analysis-process strong { font-size: 15px; line-height: 1.35; }
.analysis-process i { color: var(--teal); font-size: 21px; font-style: normal; }
.analysis-note { max-width: 950px; margin: -4px 0 0; padding-left: 20px; border-left: 4px solid var(--teal); color: var(--muted); font-size: 14px; line-height: 1.75; }
.analysis-note strong { color: var(--ink); }

.steps-grid,
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.step-card,
.decision-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-card.accent-card { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-16px); }
.step-number { display: block; margin-bottom: 64px; color: var(--teal-dark); font-size: 12px; font-weight: 950; letter-spacing: 0.12em; }
.accent-card .step-number { color: var(--teal); }
.step-card h3 { margin-bottom: 12px; font-size: 25px; }
.step-card p { color: var(--muted); }
.accent-card p { color: #b6c1c9; }

.dark-section { overflow: hidden; background: var(--ink); color: var(--cream); }
.product-split { display: grid; grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1fr); align-items: center; gap: clamp(60px, 10vw, 140px); }
.screen-stack { position: relative; width: min(390px, 100%); justify-self: center; }
.detail-phone { max-height: 700px; }
.detail-phone img { transform: translateY(-1px); }
.screen-glow { position: absolute; inset: 5% -28% -5%; background: radial-gradient(circle, rgba(66, 198, 177, 0.28), transparent 68%); filter: blur(20px); pointer-events: none; }
.product-copy h2 { max-width: 640px; }
.feature-list { display: grid; gap: 26px; margin-top: 48px; }
.feature-list article { display: flex; gap: 18px; padding-top: 26px; border-top: 1px solid #2a3945; }
.feature-list h3 { margin-bottom: 5px; font-size: 20px; }
.feature-list p { margin-bottom: 0; color: #aab4bc; }
.feature-marker { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; background: var(--teal); color: var(--ink); font-weight: 950; }

.decision-card { min-height: 260px; }
.decision-card > span { display: inline-block; margin-bottom: 54px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 950; letter-spacing: 0.13em; }
.decision-card h3 { margin-bottom: 10px; font-size: 24px; }
.decision-card p { color: var(--muted); }
.decision-card.bet > span { background: var(--teal); }
.decision-card.wait > span { background: var(--gold); }
.decision-card.skip > span { background: var(--coral); }

.cream-section { background: var(--cream); }
.access-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr); align-items: center; gap: clamp(50px, 9vw, 120px); }
.access-card { padding: clamp(28px, 5vw, 52px); border: 1px solid rgba(8, 16, 25, 0.1); border-radius: 32px; background: var(--paper); box-shadow: 0 18px 45px rgba(8, 16, 25, 0.08); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 22px; }
.price-row strong { font-size: clamp(48px, 6vw, 74px); line-height: 1; letter-spacing: -0.05em; }
.price-row span { color: var(--muted); font-weight: 750; }
.access-card > p:not(.access-kicker) { color: var(--muted); }
.access-fine-print { font-size: 14px; line-height: 1.65; }

.faq-section { display: grid; grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 120px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 42px 25px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 20px; color: var(--teal-dark); font-size: 27px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding-right: 35px; color: var(--muted); }

.responsible { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr); gap: 48px; padding: 42px; margin-bottom: 90px; border-radius: 30px; background: var(--ink); color: var(--cream); }
.responsible h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.responsible > p { align-self: end; margin: 0; color: #b6c1c9; }
.responsible a { color: var(--teal); }

.site-footer { padding: 54px 0 30px; border-top: 1px solid var(--line); background: var(--cream); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand div { display: grid; }
.footer-brand span { color: var(--muted); font-size: 12px; }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-legal p { margin: 0; }

.legal-hero { padding-block: 76px 54px; }
.legal-hero h1 { max-width: 900px; font-size: clamp(50px, 7vw, 80px); }
.legal-hero > p:last-child { max-width: 750px; color: var(--muted); font-size: 20px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; padding-bottom: 120px; }
.legal-nav { position: sticky; top: 110px; align-self: start; display: grid; gap: 10px; }
.legal-nav a { color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.legal-nav a:hover { color: var(--teal-dark); }
.legal-content h2 { margin: 66px 0 18px; font-size: 34px; letter-spacing: -0.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 30px 0 8px; font-size: 20px; }
.legal-content p,
.legal-content li { color: #3e4b55; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--teal-dark); font-weight: 750; }
.legal-callout { padding: 24px; border-left: 5px solid var(--teal); border-radius: 0 18px 18px 0; background: var(--cream); }
.legal-callout p:last-child { margin-bottom: 0; }
.contact-card { display: grid; gap: 6px; margin: 28px 0; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.contact-card strong { font-size: 20px; }
.contact-card span { color: var(--muted); font-size: 14px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(410px, 84vw); }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid div:nth-child(2) { border-right: 0; }
  .signal-grid div:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .steps-grid,
  .decision-grid,
  .analysis-grid { grid-template-columns: 1fr; }
  .analysis-heading { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .analysis-process { grid-template-columns: 1fr; }
  .analysis-process i { transform: rotate(90deg); justify-self: center; }
  .step-card { min-height: auto; }
  .step-card.accent-card { transform: none; }
  .step-number { margin-bottom: 34px; }
  .product-split { grid-template-columns: 1fr; }
  .screen-stack { order: 2; }
  .access-grid,
  .faq-section { grid-template-columns: 1fr; }
  .responsible { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .site-header { min-height: 68px; padding-inline: 14px; }
  .brand span { display: none; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: 12px; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding-block: 46px 72px; gap: 44px; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: clamp(48px, 15vw, 68px); letter-spacing: -0.015em; word-spacing: 0.02em; }
  .hero-visual::before { inset-inline: 0; }
  .screen-glow { inset-inline: 0; }
  .signal-grid strong { font-size: 25px; }
  .signal-grid span { font-size: 10px; }
  .signal-grid div { padding: 22px 15px; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .step-card,
  .decision-card,
  .analysis-card { padding: 24px; }
  .analysis-card { min-height: auto; }
  .data-tag { margin-bottom: 34px; }
  .analysis-process { padding: 24px; }
  .responsible { width: calc(100% - 28px); padding: 28px; margin-bottom: 54px; }
  .footer-grid,
  .footer-legal { align-items: flex-start; flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; gap: 18px; }
  .legal-hero { padding-block: 54px 36px; }
  .legal-layout { padding-bottom: 80px; }
  .legal-content h2 { font-size: 29px; }
}

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

@media (prefers-contrast: more) {
  :root { --muted: #33404a; --line: #89949a; }
  .button.secondary,
  .step-card,
  .decision-card,
  .access-card { border-width: 2px; }
}
