:root {
  --bg: #0f1328;
  --bg-soft: #171b34;
  --panel: #202542;
  --panel-2: #f6f3ef;
  --text: #f7f2ff;
  --muted: #c9bfd7;
  --ink: #1f2538;
  --ink-muted: #687083;
  --accent: #c75a9a;
  --accent-2: #74c8bd;
  --accent-3: #eebf78;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(8, 10, 24, 0.36);
  --radius: 8px;
  color-scheme: dark light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

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

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

a:hover {
  color: #ffffff;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-dark {
  background: var(--bg);
}

.section-muted {
  background: var(--panel-2);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 19, 40, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img,
.footer-brand img {
  width: 110px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.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;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
  padding: 74px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-3);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.04;
  font-weight: 800;
}

h1 span,
h2 span {
  color: #f2a8ce;
}

h2 {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 760;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.store-actions a {
  display: inline-flex;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.store-actions a:focus-visible,
.text-cta:focus-visible,
.primary-button:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(116, 200, 189, 0.65);
  outline-offset: 3px;
}

.compact {
  margin-top: 22px;
}

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

.phone-frame {
  width: min(376px, 100%);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

.phone-frame img,
.device-main {
  border-radius: 28px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  padding: 92px 0;
}

.copy-stack p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #ffffff;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.feature-strip,
.testimonials,
.contact-band,
.legal-content {
  padding: 86px 0;
}

.feature-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid article,
.review-grid blockquote,
.stats-grid div,
.faq-list details {
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 250px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(31, 37, 56, 0.1);
  box-shadow: 0 18px 44px rgba(31, 37, 56, 0.08);
}

.feature-grid p,
.section-muted .section-heading p,
.legal-shell p,
.legal-shell li {
  color: var(--ink-muted);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e7f3ef;
  color: #22746b;
  font-weight: 800;
}

.how {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-grid,
.approach-grid,
.download-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.device-stack,
.image-panel {
  display: flex;
  justify-content: center;
}

.device-main {
  width: min(340px, 100%);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 112px;
  padding: 22px 22px 22px 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  color: var(--accent-2);
  font-weight: 800;
}

.steps p,
.faq-grid > div > p,
.download p {
  color: var(--muted);
}

.stats {
  padding: 46px 0;
}

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

.stats-grid div {
  padding: 24px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(31, 37, 56, 0.06);
}

.stats-grid strong {
  display: block;
  color: #3e4260;
  font-size: 42px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--ink-muted);
}

.approach,
.download {
  padding: 96px 0;
}

.approach-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.image-panel img {
  width: min(460px, 100%);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.progress-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.progress-list div {
  display: grid;
  gap: 8px;
}

.progress-list span {
  color: #ffffff;
  font-weight: 700;
}

.progress-list i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-list i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
}

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

.review-grid blockquote {
  margin: 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(31, 37, 56, 0.1);
}

.review-grid p {
  color: var(--ink);
}

.review-grid cite {
  color: #a14578;
  font-style: normal;
  font-weight: 800;
}

.faq {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.download-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
}

.sleep-panel img {
  width: min(360px, 100%);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-inner p {
  margin: 0;
  font-weight: 760;
}

.text-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.primary-button {
  margin-top: 18px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #0b0f20;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-hero {
  padding: 88px 0 54px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin-bottom: 0;
  font-size: 48px;
}

.legal-shell {
  max-width: 880px;
  padding: 40px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 37, 56, 0.08);
}

.legal-shell h2 {
  margin-top: 36px;
  color: var(--ink);
  font-size: 28px;
}

.legal-shell h3 {
  margin-top: 24px;
  color: var(--ink);
}

.legal-shell a {
  color: #a14578;
  font-weight: 800;
}

.legal-shell hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid rgba(31, 37, 56, 0.12);
}

.pdf-frame {
  width: 100%;
  height: 720px;
  margin-top: 20px;
  border: 1px solid rgba(31, 37, 56, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
}

@media (max-width: 960px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-grid,
  .two-column,
  .how-grid,
  .approach-grid,
  .download-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
    padding-top: 54px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 64px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #10152b;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-grid {
    padding: 42px 0 48px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .phone-frame {
    width: min(312px, 100%);
    border-radius: 30px;
  }

  .two-column,
  .feature-strip,
  .how,
  .approach,
  .testimonials,
  .faq,
  .download,
  .legal-content {
    padding: 60px 0;
  }

  .feature-grid,
  .review-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .steps li {
    min-height: 0;
    padding: 20px 18px 20px 62px;
  }

  .steps li::before {
    left: 18px;
    top: 20px;
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 62px 0 38px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .legal-shell {
    padding: 24px;
  }

  .pdf-frame {
    height: 520px;
  }
}

@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;
  }
}
