:root {
  --color-bg: #000000;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-strong: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.68);
  --color-text-soft: rgba(255, 255, 255, 0.42);
  --color-shadow: rgba(0, 0, 0, 0.45);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;
  --max-width: 74rem;
  --transition-fast: 160ms ease;
  --transition-medium: 260ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.11), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, #050505 0%, #000000 25%, #020202 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -3rem;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  transition: top var(--transition-fast);
}

.skip-link:focus-visible {
  top: var(--space-md);
}

.site-shell {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header,
.site-footer,
.section {
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 1.25rem 0;
}

.brand-lockup {
  display: grid;
  gap: var(--space-2xs);
}

.brand-lockup > * {
  display: block;
}

.brand-kicker,
.eyebrow,
.phone-kicker,
.waiting-label,
.step-index,
.footer-meta,
.footer-title {
  color: var(--color-text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.store-status {
  color: var(--color-text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-wordmark {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand-kicker {
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-md);
}

.site-nav a,
.legal-links a,
.footer-links a {
  color: var(--color-text-muted);
  text-decoration-color: rgba(255, 255, 255, 0.24);
  text-underline-offset: 0.2em;
  transition:
    color var(--transition-fast),
    text-decoration-color var(--transition-fast);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.legal-links a:hover,
.legal-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-text);
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.section {
  padding: var(--space-3xl) 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: calc(100vh - 5.5rem);
}

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

h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-copy,
.body-copy,
.section-heading,
.download-actions {
  display: grid;
  gap: var(--space-lg);
}

.section-grid > :first-child,
.download-section > :first-child {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
}

.lead,
.body-copy p,
.step-card p:last-child,
.footer-copy {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.hero-actions,
.legal-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

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

.button-primary {
  background: #ffffff;
  color: #000000;
}

.button-primary[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  cursor: not-allowed;
  pointer-events: none;
}

.button-primary.is-disabled {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  cursor: not-allowed;
  pointer-events: none;
}

.button-secondary {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-text);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: 0;
  list-style: none;
}

.hero-notes li,
.step-card,
.quote-block,
.download-section,
.site-footer,
.phone-screen {
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 1.5rem 3rem -2rem var(--color-shadow);
  backdrop-filter: blur(12px);
}

.hero-notes li {
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  width: fit-content;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
}

.launch-badge__label {
  color: var(--color-text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.launch-badge strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 25rem);
  padding: 0.8rem;
  border-radius: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 2rem 4rem -2rem rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-height: 40rem;
  padding: 2.2rem 1.65rem 1.6rem;
  border-radius: 2.15rem;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.96), rgba(0, 0, 0, 0.98));
}

.screen-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 3px, 3px 100%;
  opacity: 0.15;
  pointer-events: none;
}

.app-icon {
  margin: 0 auto;
  border-radius: 1.7rem;
  box-shadow: 0 1rem 3rem -1rem rgba(255, 255, 255, 0.18);
}

.phone-title {
  font-size: clamp(2.8rem, 8vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  text-align: center;
}

.waiting-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.waiting-time {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.circle-demo {
  position: relative;
  width: 11rem;
  height: 11rem;
  margin: 1.5rem auto;
}

.circle-ring,
.circle-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.circle-ring {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.circle-dot {
  width: 3.75rem;
  height: 3.75rem;
  background: #ffffff;
  box-shadow:
    0 0 0 0 rgba(255, 255, 255, 0.16),
    0 0 2.5rem rgba(255, 255, 255, 0.2);
  animation: pulse 5s ease-in-out infinite;
}

.phone-footer {
  margin-top: auto;
  color: var(--color-text-soft);
  text-align: center;
  line-height: 1.7;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-2xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.step-card,
.quote-block,
.download-section,
.site-footer {
  border-radius: var(--radius-lg);
}

.step-card {
  display: grid;
  gap: var(--space-sm);
  padding: 1.25rem;
}

.quote-block {
  display: grid;
  gap: var(--space-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.quote-block blockquote {
  max-width: 24ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.download-section,
.site-footer {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.download-actions {
  margin-top: var(--space-sm);
}

.store-status code {
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 0.9em;
}

.quote-block,
.download-section {
  margin-top: var(--space-2xl);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-lg);
  align-items: end;
  margin: var(--space-2xl) 0 var(--space-xl);
}

.site-footer > div:first-child {
  display: grid;
  gap: var(--space-xs);
}

.footer-title {
  margin-bottom: var(--space-xs);
}

.footer-title a,
.footer-copy a {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0.25rem;
}

@keyframes pulse {
  0%,
  48%,
  100% {
    transform: scale(0.92);
    opacity: 0.2;
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0),
      0 0 2.5rem rgba(255, 255, 255, 0.12);
  }

  58% {
    transform: scale(1);
    opacity: 1;
    box-shadow:
      0 0 0 1rem rgba(255, 255, 255, 0),
      0 0 2.5rem rgba(255, 255, 255, 0.24);
  }
}

@media (max-width: 72rem) {
  .hero,
  .section-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 48rem) {
  .site-shell {
    width: min(100% - 2.5rem, var(--max-width));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 1.25rem 0 0.75rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.75rem 1rem;
    width: 100%;
  }

  .brand-wordmark {
    font-size: clamp(1.5rem, 2vw, 1.9rem);
  }

  .section:not(.quote-block):not(.download-section) {
    padding: 2.5rem 0;
  }

  #about {
    padding-bottom: 1.5rem;
  }

  #how-it-works {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .hero {
    min-height: auto;
    gap: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .hero-copy,
  .body-copy,
  .section-heading,
  .download-actions {
    gap: 1.125rem;
  }

  .section-grid > :first-child,
  .download-section > :first-child {
    gap: 0.625rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.9rem, 14vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 0.92;
  }

  h2 {
    max-width: none;
  }

  .lead,
  .body-copy p,
  .step-card p:last-child,
  .footer-copy {
    line-height: 1.65;
  }

  .hero-actions,
  .legal-links {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-links {
    gap: 0.625rem;
  }

  .hero-visual,
  .section-grid,
  .steps,
  .site-footer {
    gap: var(--space-lg);
  }

  .hero-copy {
    padding-bottom: 0.25rem;
  }

  .hero-notes {
    display: none;
  }

  .button {
    width: 100%;
  }

  .phone-frame {
    width: 100%;
    max-width: 21rem;
  }

  .phone-screen {
    min-height: 28rem;
    padding: 1.75rem 1.25rem 1.25rem;
    gap: var(--space-md);
  }

  .phone-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .waiting-panel,
  .step-card,
  .quote-block,
  .download-section,
  .site-footer {
    padding: 1.25rem;
  }

  .quote-block {
    gap: var(--space-md);
  }

  .quote-block blockquote {
    max-width: none;
  }

  .circle-demo {
    width: 8.5rem;
    height: 8.5rem;
    margin: 1rem auto;
  }

  .circle-dot {
    width: 3rem;
    height: 3rem;
  }

  .launch-badge {
    width: auto;
    justify-content: flex-start;
    padding: 0.75rem 0.9rem;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 0.875rem;
  }

  .store-status {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.5;
  }

  .quote-block,
  .download-section {
    margin-top: var(--space-xl);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-copy {
    max-width: 24ch;
  }
}

@media (max-width: 30rem) {
  .site-shell {
    width: min(100% - 2rem, var(--max-width));
  }

  .brand-kicker,
  .eyebrow,
  .phone-kicker,
  .waiting-label,
  .step-index,
  .footer-meta,
  .footer-title,
  .launch-badge__label {
    letter-spacing: 0.18em;
  }

  .store-status {
    letter-spacing: 0.08em;
  }

  .hero-notes {
    flex-direction: column;
  }

  .brand-wordmark {
    font-size: 1.65rem;
  }

  .hero-notes li {
    width: 100%;
    text-align: center;
  }

  .hero-copy,
  .body-copy,
  .section-heading,
  .download-actions,
  .site-footer > div:first-child {
    gap: 1rem;
  }

  .section-grid,
  .hero,
  .steps,
  .site-footer {
    gap: 1rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2.6rem, 13vw, 3.4rem);
  }

  .phone-screen {
    min-height: 26rem;
    padding: 1.5rem 1rem 1rem;
    border-radius: 1.75rem;
  }

  .section:not(.quote-block):not(.download-section) {
    padding: 2rem 0;
  }

  #how-it-works {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .waiting-panel,
  .step-card,
  .quote-block,
  .download-section,
  .site-footer {
    padding: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
