:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-elevated: rgba(255, 255, 255, 0.76);
  --surface: #ffffff;
  --surface-strong: #0b0b0f;
  --surface-soft: rgba(255, 255, 255, 0.68);
  --text: #111114;
  --text-soft: rgba(17, 17, 20, 0.68);
  --line: rgba(17, 17, 20, 0.08);
  --line-strong: rgba(17, 17, 20, 0.14);
  --shadow-soft: 0 18px 48px rgba(17, 17, 20, 0.08);
  --shadow-strong: 0 32px 90px rgba(17, 17, 20, 0.18);
  --accent: #111114;
  --accent-contrast: #ffffff;
  --hero-top: rgba(255, 255, 255, 0.92);
  --hero-bottom: rgba(228, 231, 239, 0.82);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050507;
  --bg-elevated: rgba(17, 17, 22, 0.72);
  --surface: #0f1014;
  --surface-strong: #f5f5f7;
  --surface-soft: rgba(19, 20, 25, 0.8);
  --text: #f5f5f7;
  --text-soft: rgba(245, 245, 247, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 20px 48px rgba(0, 0, 0, 0.26);
  --shadow-strong: 0 36px 110px rgba(0, 0, 0, 0.44);
  --accent: #ffffff;
  --accent-contrast: #050507;
  --hero-top: rgba(9, 9, 12, 0.95);
  --hero-bottom: rgba(18, 20, 27, 0.84);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(126, 135, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(119, 232, 255, 0.1), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  transition: background 240ms ease, color 240ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.shell {
  width: min(1220px, calc(100vw - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner,
.topbar-actions,
.brand,
.hero-actions,
.hero-meta,
.stat-grid,
.device-pill-row,
.section-heading,
.wizard-panel-header,
.wizard-footer,
.wizard-footer-actions,
.footer-inner,
.footer-links,
.summary-tags,
.topnav {
  display: flex;
}

.topbar-inner {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.brand-kicker,
.surface-label,
.floating-label,
.summary-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 44%, transparent);
}

.brand-label {
  margin: 4px 0 0;
  font-size: 0.94rem;
  color: color-mix(in srgb, var(--text) 82%, transparent);
}

.topnav {
  align-items: center;
  gap: 26px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

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

.topbar-actions {
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  position: relative;
  min-width: 124px;
  min-height: 44px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 6px auto 6px 6px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: var(--accent);
  transition: transform 180ms ease, background 180ms ease;
}

html[data-theme="dark"] .theme-toggle::before {
  transform: translateX(100%);
}

.theme-toggle-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}

.theme-toggle-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  font-size: 0.82rem;
  font-weight: 700;
}

html[data-theme="dark"] .theme-toggle-label:first-child,
:root .theme-toggle-label:last-child {
  color: color-mix(in srgb, var(--accent-contrast) 74%, transparent);
}

:root .theme-toggle-label:first-child,
html[data-theme="dark"] .theme-toggle-label:last-child {
  color: color-mix(in srgb, var(--text) 60%, transparent);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease,
    color 180ms ease, border-color 180ms ease;
}

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

.cta-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.cta-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
}

.cta[disabled] {
  opacity: 0.46;
  transform: none;
  cursor: not-allowed;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top, var(--hero-top), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--hero-top) 72%, transparent), var(--hero-bottom));
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.8;
}

.hero-orb-a {
  width: 26rem;
  height: 26rem;
  top: 48px;
  left: 8%;
  background: rgba(87, 97, 255, 0.18);
}

.hero-orb-b {
  width: 20rem;
  height: 20rem;
  top: 160px;
  right: 8%;
  background: rgba(0, 200, 255, 0.14);
}

.hero-grid,
.showcase-grid,
.wizard-frame,
.terms-section,
.download-catalog,
.platform-lane-grid,
.terms-grid,
.stat-grid {
  display: grid;
}

.hero-grid {
  position: relative;
  gap: 44px;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  padding: 92px 0 88px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-kicker {
  margin: 28px 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 50%, transparent);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(3.6rem, 9vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.hero-body,
.surface-card p,
.showcase-card p,
.section-copy,
.wizard-description,
.summary-card p,
.wizard-footer-note,
.info-card p,
.download-card p,
.platform-lane p,
.floating-card p,
.device-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.hero-body {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-meta,
.hero-actions,
.summary-tags,
.footer-links {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 24px;
}

.meta-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-actions {
  margin-top: 28px;
}

.stat-grid {
  margin-top: 34px;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-card,
.showcase-card,
.download-card,
.platform-lane,
.wizard-frame,
.summary-card,
.info-card,
.terms-lead {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.surface-card,
.showcase-card,
.download-card,
.platform-lane,
.info-card,
.terms-lead {
  padding: 26px;
  border-radius: 30px;
}

.surface-card h2,
.showcase-card h2,
.terms-lead h2,
.wizard-sidebar h2,
.wizard-panel h2,
.download-section h2,
.device-screen h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.device-frame {
  position: absolute;
  inset: 0 0 74px 0;
  padding: 22px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(15, 15, 20, 0.98), rgba(8, 8, 12, 0.96));
  box-shadow: var(--shadow-strong);
}

.device-topline {
  display: flex;
  gap: 8px;
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.device-screen {
  margin-top: 18px;
  padding: 34px;
  min-height: calc(100% - 28px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(77, 103, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(20, 21, 31, 0.96), rgba(9, 9, 14, 0.92));
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(245, 245, 247, 0.52);
}

.device-screen h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.device-body {
  max-width: 420px;
  color: rgba(245, 245, 247, 0.72);
}

.device-pill-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.device-pill {
  display: inline-flex;
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  font-size: 0.86rem;
  font-weight: 600;
}

.floating-card {
  position: absolute;
  width: min(300px, 72%);
  padding: 22px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.floating-card-dark {
  right: 18px;
  bottom: 0;
  background: #0d0d12;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-card-light {
  left: 10px;
  top: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] .floating-card-light {
  background: rgba(17, 17, 24, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
}

.floating-card h3 {
  margin: 8px 0 0;
  font-size: 1.5rem;
}

.showcase-band {
  padding: 28px 0 12px;
}

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

.showcase-card-dark {
  background: linear-gradient(180deg, #0d0e13, #06070a);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.08);
}

.showcase-card-dark p {
  color: rgba(245, 245, 247, 0.72);
}

.download-section {
  padding: 60px 0 22px;
}

.section-heading {
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-copy {
  max-width: 520px;
  margin: 0;
}

.download-catalog {
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.download-card {
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: auto -24px -44px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 124, 255, 0.16), transparent 70%);
}

.download-card-topline,
.download-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-card h3,
.platform-lane h3,
.info-card h3 {
  margin: 10px 0 0;
  font-size: 1.28rem;
}

.download-card p,
.platform-lane p,
.info-card p,
.showcase-card p,
.surface-card p,
.terms-lead p {
  margin: 12px 0 0;
}

.download-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: color-mix(in srgb, var(--text) 84%, transparent);
  font-size: 0.8rem;
  font-weight: 700;
}

.download-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.download-card-actions .cta {
  min-height: 42px;
  padding-inline: 18px;
}

.platform-lane-grid,
.terms-grid {
  gap: 16px;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-lane-available {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #76d3ff 8%), var(--surface));
}

.platform-lane-pending {
  opacity: 0.88;
}

.status-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.status-pill.available {
  background: rgba(62, 199, 132, 0.12);
  color: #1e8f61;
  border-color: rgba(62, 199, 132, 0.2);
}

.status-pill.pending {
  background: rgba(255, 179, 36, 0.12);
  color: #d48806;
  border-color: rgba(255, 179, 36, 0.22);
}

html[data-theme="dark"] .status-pill.available {
  color: #90f0c3;
}

html[data-theme="dark"] .status-pill.pending {
  color: #ffd27f;
}

.wizard-section {
  padding: 42px 0 24px;
}

.wizard-frame {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  padding: 32px;
  border-radius: 40px;
}

.wizard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step-list,
.card-stack,
.platform-grid,
.download-option-list,
.checklist-stack {
  display: grid;
  gap: 14px;
}

.step-item {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border-radius: 26px;
  text-align: left;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, var(--bg) 8%);
  color: var(--text);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

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

.step-item.active,
.step-item.complete {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}

.step-item-badge,
.checklist-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
}

.step-item.active .step-item-badge,
.step-item.complete .step-item-badge {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-contrast);
}

.step-item-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, currentColor 58%, transparent);
}

.step-item-title {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.step-item-detail {
  margin: 8px 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: color-mix(in srgb, currentColor 74%, transparent);
}

.summary-card {
  padding: 24px;
  border-radius: 30px;
}

.summary-card h3 {
  margin: 12px 0 0;
  font-size: 2rem;
  line-height: 1;
}

.tag.active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
}

.wizard-panel {
  padding: 28px;
  border-radius: 32px;
  background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
  border: 1px solid var(--line);
}

.wizard-panel-header,
.wizard-footer {
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.step-counter {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

#wizard-body {
  margin-top: 28px;
}

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

.platform-card,
.panel-card,
.consent-card,
.download-option,
.download-disabled {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.platform-card {
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

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

.platform-card.selected {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}

.platform-card.pending {
  opacity: 0.8;
}

.platform-head,
.download-option-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.platform-card h3,
.panel-card h3,
.download-option h3 {
  margin: 0;
  font-size: 1.18rem;
}

.platform-card p,
.panel-card p,
.download-option p,
.download-disabled p {
  margin: 12px 0 0;
  color: color-mix(in srgb, currentColor 76%, transparent);
}

.format-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
}

.platform-card.selected .format-pill,
.panel-card.dark .format-pill {
  border-color: rgba(255, 255, 255, 0.14);
}

.panel-card.dark {
  background: linear-gradient(180deg, #0d0e12, #07080b);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.08);
}

.consent-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.consent-card input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.download-option-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.download-option h3 {
  margin-top: 10px;
}

.download-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.download-option-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: color-mix(in srgb, var(--text) 78%, transparent);
  font-size: 0.76rem;
  font-weight: 700;
}

.download-option-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.download-disabled {
  background: color-mix(in srgb, var(--surface) 86%, var(--bg) 14%);
}

.checklist-stack {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.checklist-index {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.wizard-footer {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.terms-section {
  gap: 20px;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  padding: 24px 0 64px;
}

.terms-lead {
  padding: 28px;
  border-radius: 32px;
}

.terms-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, var(--bg) 12%);
}

.footer-inner {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0;
  color: var(--text-soft);
}

@media (max-width: 1080px) {
  .hero-grid,
  .showcase-grid,
  .wizard-frame,
  .terms-section,
  .platform-grid,
  .platform-lane-grid,
  .terms-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 520px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100vw - 28px, 1220px);
  }

  .topbar-inner,
  .topbar-actions,
  .wizard-panel-header,
  .wizard-footer,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    display: none;
  }

  .hero-grid {
    padding: 62px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .device-frame,
  .wizard-frame,
  .wizard-panel,
  .summary-card,
  .surface-card,
  .showcase-card,
  .download-card,
  .platform-lane,
  .info-card,
  .terms-lead {
    padding: 22px;
  }

  .hero-stage {
    min-height: 460px;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .device-frame {
    position: static;
  }
}
