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

:root {
  color-scheme: dark;
  --bg: #06101c;
  --bg-deep: #0c1a2c;
  --surface: rgba(11, 22, 38, 0.72);
  --surface-strong: rgba(12, 24, 41, 0.9);
  --surface-soft: rgba(14, 29, 47, 0.62);
  --surface-ghost: rgba(8, 17, 29, 0.44);
  --line: rgba(110, 170, 255, 0.18);
  --line-strong: rgba(110, 170, 255, 0.34);
  --text: #e8f2ff;
  --text-soft: rgba(232, 242, 255, 0.74);
  --text-faint: rgba(232, 242, 255, 0.34);
  --muted: #8ea8c8;
  --accent: #53a9ff;
  --accent-strong: #9dd6ff;
  --accent-soft: #2f76ec;
  --highlight: rgba(83, 169, 255, 0.14);
  --accent-glow: rgba(83, 169, 255, 0.18);
  --button-text: #f7fbff;
  --shadow-soft: rgba(2, 9, 18, 0.36);
  --shadow-strong: rgba(1, 7, 16, 0.58);
  --max-width: 1240px;
  --section-gap: clamp(5rem, 10vw, 8rem);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 14%, rgba(63, 126, 218, 0.24), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(39, 101, 206, 0.22), transparent 24%),
    radial-gradient(circle at 50% 120%, rgba(41, 92, 177, 0.2), transparent 34%),
    linear-gradient(180deg, #07111c 0%, #091523 42%, #050b14 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 154, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 154, 224, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 88%);
  pointer-events: none;
}

.page-shell {
  position: relative;
  overflow-x: clip;
}

.site-header,
.hero,
.setup-section,
.daily-track-section,
.systems-section,
.site-footer {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.85rem;
  position: sticky;
  top: 0;
  z-index: 12;
  background: linear-gradient(180deg, rgba(7, 15, 26, 0.92), rgba(7, 15, 26, 0.68));
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 1.35rem 1.35rem;
  box-shadow: 0 24px 40px rgba(2, 8, 18, 0.24);
  backdrop-filter: blur(12px);
}

.site-header-panel {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  object-fit: contain;
  box-shadow: none;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong,
.site-nav a,
.button,
h1,
h2,
h3,
.setup-point,
.track-day strong {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: var(--surface-soft);
  color: var(--text);
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-lines {
  display: grid;
  gap: 0.28rem;
}

.nav-toggle-lines span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-ghost);
}

.locale-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 2.2rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.locale-button.is-active {
  background: var(--highlight);
  color: var(--text);
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(157, 214, 255, 0.26);
  background: linear-gradient(135deg, rgba(83, 169, 255, 0.96), rgba(157, 214, 255, 0.92));
  color: #06101c;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(22, 79, 180, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.site-nav-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 20px 34px rgba(22, 79, 180, 0.3);
}

.hero {
  min-height: calc(100svh - 4rem);
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(360px, 1.14fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) 0 2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1 {
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: 0.94;
  max-width: 9ch;
}

.hero-body,
.iphone-preview-copy p,
.section-intro p,
.systems-copy p,
.system-item p,
.footer-summary,
#detail-body,
#track-description,
.iphone-shot figcaption span {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.05rem;
}

.hero-body {
  max-width: 33rem;
  margin-top: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--button-text);
  box-shadow: 0 18px 40px rgba(22, 79, 180, 0.28);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-soft);
}

.hero-notes {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-notes span::before,
.hero-stage-caption span::before,
.detail-preset-label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 5px var(--accent-glow);
}

.hero-stage {
  position: relative;
  height: clamp(28rem, 52vw, 42rem);
  min-height: 28rem;
}

.hero-stage-overlay {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  right: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.9rem;
  pointer-events: none;
}

.hero-stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.2;
}

.hero-stage-kicker::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 10px var(--accent-glow);
}

.hero-stage-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 40rem;
  pointer-events: auto;
}

.hero-feature-button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text-soft);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    color 160ms ease,
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.hero-feature-button:hover,
.hero-feature-button.is-active {
  color: var(--text);
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface-strong);
  box-shadow: 0 18px 36px var(--shadow-soft);
}

.hero-stage-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop-ring,
.track-arc {
  position: absolute;
  border-radius: 50%;
}

.backdrop-ring {
  border: 1px solid rgba(83, 169, 255, 0.18);
}

.ring-a {
  inset: 7% 10% 16% 7%;
}

.ring-b {
  inset: 18% 2% 8% 22%;
}

.track-arc {
  border: 2px solid rgba(93, 176, 255, 0.28);
  border-color: rgba(93, 176, 255, 0.28) transparent transparent transparent;
}

.track-arc-a {
  width: 22rem;
  height: 22rem;
  top: 6%;
  right: 9%;
  transform: rotate(18deg);
}

.track-arc-b {
  width: 17rem;
  height: 17rem;
  right: 25%;
  bottom: 8%;
  transform: rotate(-35deg);
}

.car-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  mask-image: radial-gradient(
    ellipse at 58% 56%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 52%,
    rgba(0, 0, 0, 0.94) 66%,
    rgba(0, 0, 0, 0.62) 80%,
    rgba(0, 0, 0, 0) 96%
  );
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hotspot-card {
  position: absolute;
  min-width: 8.5rem;
  max-width: 12rem;
  padding: 0.68rem 0.82rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(9, 20, 35, 0.84);
  box-shadow: 0 18px 34px var(--shadow-strong);
  backdrop-filter: blur(16px);
  color: var(--text);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hotspot-card strong {
  display: block;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: 0.96rem;
  line-height: 1;
}

.hotspot-card small {
  display: block;
  margin-top: 0.34rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hotspot-card::before {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  left: 0.95rem;
  top: -0.38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 6px var(--accent-glow);
}

.hotspot-card.is-visible {
  opacity: 0.82;
}

.hotspot-card.is-active {
  opacity: 1;
  border-color: var(--line-strong);
  box-shadow: 0 24px 42px var(--shadow-strong);
  transform: translate(-50%, -50%) translateY(-0.2rem);
}

.setup-section,
.daily-track-section,
.systems-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.setup-section::before,
.daily-track-section::before,
.systems-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-intro {
  max-width: 44rem;
}

.setup-section .section-intro,
.setup-section h2 {
  max-width: none;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
  line-height: 1;
  max-width: 11ch;
}

.section-intro p:last-child {
  margin-top: 1.25rem;
}

.setup-layout {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}

.store-cta-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 3.2rem;
  padding: clamp(1.6rem, 2.8vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(84, 151, 255, 0.14), rgba(14, 29, 47, 0.38)),
    var(--surface-soft);
  box-shadow: 0 22px 40px var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.store-cta-section::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(83, 169, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.store-cta-copy {
  position: relative;
  z-index: 1;
  max-width: none;
}

.store-cta-copy h2 {
  max-width: none;
  font-size: clamp(2.4rem, 5.3vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.store-cta-copy p:last-child {
  margin-top: 1.2rem;
  max-width: 56rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
}

.store-cta-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  position: relative;
  z-index: 1;
}

.store-cta-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  min-height: 7.4rem;
  padding: 1.35rem 1.45rem;
  border-radius: 1.55rem;
  border: 1px solid var(--line);
  background: rgba(8, 17, 29, 0.6);
  color: var(--text);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.store-cta-link:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(10, 22, 37, 0.82);
  box-shadow: 0 24px 38px rgba(1, 7, 16, 0.34);
}

.store-cta-link--pending {
  border-color: rgba(255, 216, 77, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.1), rgba(8, 17, 29, 0.66)),
    rgba(8, 17, 29, 0.6);
  cursor: default;
}

.store-cta-link--pending:hover {
  transform: none;
  border-color: rgba(255, 216, 77, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.1), rgba(8, 17, 29, 0.66)),
    rgba(8, 17, 29, 0.6);
  box-shadow: none;
}

.store-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.store-cta-icon svg {
  width: 2.15rem;
  height: 2.15rem;
  display: block;
}

.store-cta-text {
  display: grid;
  gap: 0.28rem;
}

.store-cta-text strong {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.02;
}

.store-cta-text span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.25;
}

.store-cta-text .store-cta-status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 0.18rem;
  padding: 0.32rem 0.56rem;
  border: 1px solid rgba(255, 216, 77, 0.34);
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.12);
  color: #ffe794;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.iphone-preview-section {
  margin-bottom: var(--section-gap);
}

.iphone-preview-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: start;
}

.iphone-preview-copy {
  padding-top: 0.25rem;
}

.iphone-preview-copy h2 {
  max-width: 10ch;
}

.iphone-preview-copy p:last-child {
  margin-top: 1.25rem;
  max-width: 32rem;
}

.iphone-shotrail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15.5rem, 20vw);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding: 0.2rem 0.1rem 1rem;
}

.iphone-shot {
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
}

.iphone-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  border-radius: 1.65rem;
  background: #0a1320;
  box-shadow: 0 22px 46px rgba(1, 7, 16, 0.42);
}

.iphone-shot figcaption {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.95rem;
}

.iphone-shot figcaption strong,
.system-item h3 {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

.iphone-shot figcaption strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.iphone-shot figcaption span {
  font-size: 0.94rem;
  line-height: 1.45;
}

.setup-points {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

.setup-point {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  text-align: left;
  padding: 0.55rem 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.setup-point:hover,
.setup-point.is-active {
  color: var(--text);
  transform: translateX(0.2rem);
}

.setup-detail {
  max-width: 35rem;
}

.detail-kicker,
.detail-preset-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent-strong);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.setup-detail h3 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

#detail-body,
#track-description {
  margin-top: 1rem;
  max-width: 34rem;
}

.detail-meter {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.detail-meter span {
  font-size: 0.92rem;
  color: var(--muted);
}

.meter-line {
  height: 0.55rem;
  background: linear-gradient(90deg, rgba(67, 136, 232, 0.2), rgba(67, 136, 232, 0.06));
  border-radius: 999px;
  overflow: hidden;
}

.meter-line i {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, #63b0ff, #1c79f2);
  transition: width 260ms ease;
}

.detail-preset-label {
  margin-top: 1.8rem;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}

.preset-chip strong {
  font-weight: 800;
}

.track-week {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
}

.track-day {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.8rem 0;
  cursor: pointer;
  color: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
  opacity: 0.65;
}

.track-day:hover,
.track-day.is-active {
  opacity: 1;
  transform: translateY(-0.18rem);
}

.track-day span {
  display: block;
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.track-day strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.04rem;
  line-height: 1.1;
}

.track-day svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
}

.track-day path {
  fill: none;
  stroke: rgba(91, 176, 255, 0.9);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.systems-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.systems-copy h2 {
  max-width: 11ch;
}

.systems-copy p:last-of-type {
  margin-top: 1.25rem;
  max-width: 36rem;
}

.systems-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.system-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.system-index {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  color: var(--text-faint);
  font-size: 1.35rem;
  line-height: 1;
}

.system-item h3 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.06;
}

.system-item p {
  margin-top: 0.65rem;
  max-width: 43rem;
}

.site-footer {
  margin-top: var(--section-gap);
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.footer-brand {
  width: fit-content;
}

.footer-summary,
.footer-bottom p {
  color: var(--muted);
}

.footer-summary {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-column {
  display: grid;
  gap: 0.8rem;
}

.footer-label {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-column a {
  width: fit-content;
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.3;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.footer-column a:hover {
  color: var(--accent-strong);
  border-color: var(--line-strong);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .hero,
  .systems-section,
  .setup-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-stage {
    height: clamp(24rem, 68vw, 34rem);
    min-height: 24rem;
  }

  h1 {
    max-width: 11ch;
  }

  .track-week {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .store-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iphone-preview-layout {
    grid-template-columns: 1fr;
  }

  .iphone-preview-copy h2 {
    max-width: 13ch;
  }

  .iphone-shotrail {
    grid-auto-columns: minmax(14rem, 31vw);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 0.8rem;
    gap: 0.85rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header-panel {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-header.is-nav-open .site-header-panel {
    max-height: 20rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-nav-open .nav-toggle-lines span:nth-child(1) {
    transform: translateY(0.41rem) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle-lines span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle-lines span:nth-child(3) {
    transform: translateY(-0.41rem) rotate(-45deg);
  }

  .site-nav {
    display: grid;
    gap: 0.4rem;
    padding: 0.55rem;
    border-radius: 1.15rem;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    backdrop-filter: blur(14px);
  }

  .site-nav a {
    display: block;
    padding: 0.78rem 0.95rem;
    border-radius: 0.9rem;
    background: var(--surface-soft);
  }

  .site-nav-cta {
    min-height: 3.1rem;
    color: #06101c;
    background: linear-gradient(135deg, rgba(83, 169, 255, 0.98), rgba(157, 214, 255, 0.96));
    border-color: transparent;
    box-shadow: 0 18px 32px rgba(22, 79, 180, 0.22);
  }

  .locale-switcher {
    align-self: flex-start;
  }

  .site-header,
  .hero,
  .setup-section,
  .daily-track-section,
  .systems-section,
  .site-footer {
    width: auto;
    max-width: var(--max-width);
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-stage {
    height: clamp(21rem, 82vw, 27rem);
    min-height: 21rem;
  }

  .hero-stage-overlay {
    top: 0.8rem;
    left: 0.75rem;
    right: 0.75rem;
    gap: 0.7rem;
  }

  .hero-stage-parts {
    gap: 0.55rem;
    max-width: 100%;
  }

  .hero-feature-button {
    padding: 0.62rem 0.82rem;
    font-size: 0.92rem;
  }

  .footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-cta-actions {
    grid-template-columns: 1fr;
  }

  .store-cta-copy h2 {
    font-size: clamp(2.7rem, 9vw, 4.6rem);
  }

  .iphone-shotrail {
    grid-auto-columns: minmax(14rem, 74vw);
  }

  .system-item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .footer-actions .button {
    justify-content: center;
  }

  .hotspot-card {
    min-width: 7rem;
    max-width: 9.5rem;
    padding: 0.55rem 0.68rem 0.6rem;
  }

  .hotspot-card small {
    display: none;
  }

  .track-week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-meter {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-stage {
    height: clamp(19rem, 76vw, 22rem);
    min-height: 19rem;
  }

  .store-cta-link {
    min-height: auto;
    padding: 1.15rem 1.2rem;
  }

  .store-cta-icon {
    width: 3.7rem;
    height: 3.7rem;
  }

  .store-cta-icon svg {
    width: 1.9rem;
    height: 1.9rem;
  }

  .store-cta-text strong {
    font-size: 1.15rem;
  }

  .store-cta-text span {
    font-size: 0.96rem;
  }

  .iphone-shotrail {
    grid-auto-columns: minmax(13rem, 78vw);
  }

  .hero-stage-overlay {
    position: static;
    margin-bottom: 0.9rem;
  }

  .track-week {
    grid-template-columns: 1fr;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .site-footer {
    margin-bottom: 1.5rem;
  }
}
