:root {
  color-scheme: dark;
  --bg-primary: #0a0a0a;
  --bg-elevated: #121212;
  --fg-primary: #f5f5f5;
  --fg-muted: #bfbfbf;
  --accent-gold: #d4af37;
  --accent-gold-glow: #f0e68c;
  --stroke-gold: rgba(212, 175, 55, 0.16);
  --max-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --transition: 300ms ease;
  --header-height: 88px;
}

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

body {
  margin: 0;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(10, 10, 10, 0.82)),
    radial-gradient(120% 120% at 18% 0%, rgba(212, 175, 55, 0.22), rgba(5, 5, 5, 0.95));
  color: var(--fg-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  background-attachment: fixed;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #f5f5f5;
  color: #050505;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition);
  z-index: 100;
}

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

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

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--stroke-gold);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
}

.nav-links a {
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--fg-primary);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #050505;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-glow));
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.35);
}

.store-badge {
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  transition: transform var(--transition), filter var(--transition);
}

.store-badge img {
  width: 180px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 16px 30px rgba(212, 175, 55, 0.45));
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 12vw, 6.5rem) 0;
}

.hero-copy {
  display: grid;
  gap: 1.6rem;
  max-width: 520px;
}

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin: 0 0 1.5rem;
}

.hero-copy h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.subtitle {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin: 0;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0.5rem 0 0;
  list-style: none;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.hero-meta li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(12px);
}

.download {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.25rem, 6vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.download-copy {
  display: grid;
  gap: 1.5rem;
  max-width: 520px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-points {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.download-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.download-points li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

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

.download-visual img {
  width: min(100%, 360px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 34px 60px rgba(0, 0, 0, 0.55);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--stroke-gold);
  color: var(--fg-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.ghost-link:hover,
.ghost-link:focus-visible {
  color: #050505;
  background: rgba(240, 230, 140, 0.85);
  border-color: rgba(240, 230, 140, 0.9);
}

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

.glass-panel {
  width: min(100%, 360px);
  padding: 2.75rem;
  border-radius: 32px;
  backdrop-filter: blur(24px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(15, 15, 15, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 1.25rem;
}

.glass-panel .badge {
  justify-self: start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.glass-panel .card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.glass-panel .card-title,
.streak .count {
  letter-spacing: -0.02em;
}

.streak {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.streak .count {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
}

.streak .label {
  color: var(--fg-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), var(--accent-gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.card-note {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin: 0;
}

section {
  padding-block: clamp(4.75rem, 12vw, 7.5rem);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.section-intro {
  margin-top: 1rem;
  max-width: 520px;
  color: var(--fg-muted);
}

.features-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.25rem;
}

.features {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-content: center;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

.feature-tile {
  background: rgba(18, 18, 18, 0.65);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 26px 48px rgba(0, 0, 0, 0.42);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.feature-tile:hover,
.feature-tile:focus-within {
  transform: translateY(-4px);
  background: rgba(24, 24, 24, 0.75);
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.15),
    0 34px 56px rgba(0, 0, 0, 0.5);
}

.feature-tile h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.feature-tile p {
  margin: 0;
  color: var(--fg-muted);
}

.experience {
  display: grid;
  gap: 3.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  align-content: center;
}

.experience-copy {
  display: grid;
  gap: 1.4rem;
  max-width: 520px;
}

.experience-copy p {
  margin: 0;
  color: var(--fg-muted);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--stroke-gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-tags .tag:nth-child(1) {
  background: rgba(212, 175, 55, 0.16);
}

.experience-tags .tag:nth-child(2) {
  background: rgba(255, 255, 255, 0.08);
}

.experience-tags .tag:nth-child(3) {
  background: rgba(212, 175, 55, 0.12);
}

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

.device-frame {
  position: relative;
  width: min(100%, 360px);
  padding: 1.5rem;
  border-radius: 36px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(10, 10, 10, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.55);
}

.device-status {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.device-status .pill {
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: rgba(240, 230, 140, 0.45);
}

.device-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.device-header {
  display: flex;
  justify-content: space-between;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.device-ritual {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.1);
  display: grid;
  gap: 0.75rem;
}

.device-ritual h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.device-ritual .muted {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.device-ritual button {
  justify-self: start;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-glow));
  color: #050505;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.device-ritual button:hover,
.device-ritual button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.35);
}

.device-heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.device-heatmap .dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.device-heatmap .dot.active {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.75), rgba(212, 175, 55, 0.25));
}

.waitlist {
  background: rgba(12, 12, 12, 0.88);
  padding: clamp(4rem, 12vw, 6rem) 0 clamp(5rem, 14vw, 7rem);
  margin: clamp(4rem, 9vw, 5.5rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.waitlist::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(212, 175, 55, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.waitlist-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 6vw, 2.75rem);
  text-align: center;
  max-width: 640px;
  z-index: 1;
}

.waitlist-copy p {
  margin: 1rem auto 0;
  color: var(--fg-muted);
}

.waitlist h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.waitlist-form input {
  width: min(280px, 100%);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.waitlist-form button {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-glow));
  color: #050505;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.35);
}

.waitlist-footnote {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin: 0;
}

.site-footer {
  padding: 2.5rem 0;
  background: rgba(7, 7, 7, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--stroke-gold);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--fg-primary);
}

.copyright {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

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

@media (max-width: 960px) {
  .nav {
    gap: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: 2;
    justify-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    order: 1;
    margin-bottom: 3rem;
  }

  .download {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-copy {
    justify-items: center;
  }

  .download-actions {
    justify-content: center;
  }

  .download-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .experience {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .experience-copy {
    justify-items: center;
  }

  .experience-tags {
    justify-content: center;
  }

  .experience-visual {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: clamp(1.25rem, 6vw, 1.75rem);
  }

  .nav {
    flex-direction: column;
  }

  .nav .cta {
    width: 100%;
  }

  .features-grid {
    gap: 1.35rem;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {

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

/* Policy pages */
.policy-page .site-header {
  position: static;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.policy {
  padding: clamp(3rem, 10vw, 5rem) clamp(1.5rem, 5vw, 3rem);
  display: grid;
  gap: clamp(1.75rem, 5vw, 2.75rem);
}

.policy-header {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.policy-header .section-intro {
  margin: 0;
}

.policy header p,
.policy section p,
.policy section ul {
  color: var(--fg-muted);
}

.policy section {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}

.policy section ul {
  padding-left: 1.2rem;
  margin: 0;
  list-style: disc;
}

.policy-updated {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-page .site-footer {
  margin-top: clamp(4rem, 12vw, 6rem);
}
