:root {
  --bg: #0a0d0f;
  --surface: #121719;
  --surface-2: #18201a;
  --text: #f6f8f5;
  --muted: #9ca49f;
  --line: rgba(255,255,255,.11);
  --accent: #b7ef54;
  --accent-dark: #17210d;
  --warning: #ffd483;
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 20px; font-weight: 800; letter-spacing: .34em; }
.site-header nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 650; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent); }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0 100px;
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
.hero h1 { margin: 18px 0 24px; font-size: clamp(56px, 7vw, 96px); line-height: .94; letter-spacing: -.055em; }
.hero h1 span { color: var(--accent); }
.lead { max-width: 610px; color: var(--muted); font-size: 20px; line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 800; }
.button.primary { background: var(--accent); color: #0a0d0f; }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(183,239,84,.18); }
.availability { color: var(--muted); font-size: 13px; }

.phone-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .11; }
.phone { position: relative; width: 340px; min-height: 690px; padding: 24px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 54px; background: #06090a; box-shadow: 0 42px 100px rgba(0,0,0,.56), inset 0 0 0 7px #101415; transform: rotate(3deg); }
.phone-top { display: flex; justify-content: space-between; padding: 4px 16px 24px; font-size: 12px; font-weight: 800; }
.app-title { padding: 14px 12px 22px; font-size: 21px; font-weight: 800; border-bottom: 1px solid var(--line); }
.app-body { padding: 24px 8px; }
.hello { margin: 0; font-size: 34px; font-weight: 850; }
.muted { color: var(--muted); margin: 5px 0 22px; }
.workout-card, .week-card { border: 1px solid rgba(183,239,84,.28); border-radius: 24px; background: linear-gradient(135deg, rgba(183,239,84,.12), rgba(255,255,255,.035)); }
.workout-card { display: flex; gap: 14px; align-items: center; padding: 22px; }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; color: var(--bg); background: var(--accent); border-radius: 14px; font-size: 24px; font-weight: 900; }
.small-label { color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.workout-card h2 { margin: 3px 0 5px; font-size: 19px; }
.workout-card p { margin: 0; color: var(--muted); font-size: 12px; }
.week-card { margin-top: 14px; padding: 21px; }
.week-heading { display: flex; justify-content: space-between; }
.accent { color: var(--accent); }
.progress { height: 6px; margin: 20px 0; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 10px; }
.progress span { display: block; width: 75%; height: 100%; background: var(--accent); }
.metrics { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.metrics span { display: grid; gap: 3px; }
.metrics b { color: var(--text); font-size: 13px; }

.statement { padding: 110px 20px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement p { color: var(--muted); }
.statement h2 { margin: 18px auto 0; max-width: 900px; font-size: clamp(38px, 5vw, 68px); line-height: 1.06; letter-spacing: -.045em; }

.features { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 100px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { min-height: 420px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.feature-wide { grid-column: 1 / -1; min-height: 360px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 60px; }
.feature-number, .section-number { color: var(--accent); font-size: 11px; letter-spacing: .18em; font-weight: 850; }
.feature h2 { font-size: 31px; letter-spacing: -.03em; margin: 12px 0; }
.feature p { max-width: 540px; color: var(--muted); line-height: 1.6; margin: 0; }
.plan-demo { display: grid; grid-template-columns: 1fr auto; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.plan-demo span, .plan-demo b { padding: 17px 20px; background: #0e1213; }
.plan-demo b { color: var(--accent); text-align: right; }
.feature-symbol { margin-bottom: auto; color: var(--accent); font-size: clamp(64px, 9vw, 110px); line-height: 1; font-weight: 850; letter-spacing: -.07em; }
.sleep-line { height: 130px; margin-bottom: auto; display: flex; align-items: end; gap: 10px; }
.sleep-line i { flex: 1; background: var(--accent); border-radius: 6px 6px 0 0; opacity: .9; }
.sleep-line i:nth-child(1), .sleep-line i:nth-child(7) { height: 30%; opacity: .25; }
.sleep-line i:nth-child(2), .sleep-line i:nth-child(6) { height: 55%; opacity: .45; }
.sleep-line i:nth-child(3), .sleep-line i:nth-child(5) { height: 78%; opacity: .7; }
.sleep-line i:nth-child(4) { height: 100%; }

.privacy-callout { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 100px; padding: 54px; border-radius: var(--radius); background: var(--accent); color: var(--bg); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.privacy-callout .eyebrow { color: var(--bg); opacity: .65; }
.privacy-callout h2 { margin: 14px 0 0; font-size: 43px; line-height: 1.08; letter-spacing: -.04em; }
.privacy-callout p { line-height: 1.65; }
.text-link { display: inline-flex; gap: 10px; margin-top: 14px; font-weight: 850; border-bottom: 2px solid currentColor; padding-bottom: 5px; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 38px 0 50px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .brand { color: var(--text); }
footer p { text-align: center; }
footer div { display: flex; justify-content: flex-end; gap: 24px; }
footer a:hover { color: var(--accent); }

.policy-layout { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 80px 0 120px; display: grid; grid-template-columns: 300px minmax(0, 760px); justify-content: space-between; gap: 80px; }
.policy-index { position: sticky; top: 110px; align-self: start; }
.policy-index h1 { margin: 15px 0 18px; font-size: 56px; line-height: .98; letter-spacing: -.05em; }
.policy-index > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.policy-index nav { display: grid; gap: 11px; margin-top: 40px; color: var(--muted); font-size: 13px; }
.policy-index nav a:hover { color: var(--accent); }
.policy-content section { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.policy-content h2 { margin: 12px 0 22px; font-size: 36px; letter-spacing: -.035em; }
.policy-content h3 { margin: 0 0 8px; font-size: 17px; }
.policy-content p, .policy-content li { color: var(--muted); line-height: 1.75; }
.policy-content strong { color: var(--text); }
.policy-content li + li { margin-top: 12px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.policy-grid > div { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.policy-grid p { margin: 0; font-size: 14px; }
.contact-section { border-bottom: 0 !important; }

@media (max-width: 820px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); }
  .site-header nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .phone-stage { min-height: 720px; }
  .phone { transform: none; }
  .features { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; gap: 35px; }
  .privacy-callout { grid-template-columns: 1fr; gap: 24px; padding: 34px; }
  footer { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  footer p { text-align: center; }
  footer div { justify-content: center; }
  .policy-layout { grid-template-columns: 1fr; padding-top: 50px; }
  .policy-index { position: static; }
  .policy-index nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-header nav a:first-child { display: none; }
  .hero h1 { font-size: 49px; }
  .phone { width: 100%; min-height: 650px; }
  .statement { padding-block: 80px; }
  .features { padding-block: 70px; }
  .feature { padding: 25px; min-height: 370px; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-index h1 { font-size: 47px; }
  .policy-content h2 { font-size: 31px; }
  .policy-index nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .site-header a, .text-link { transition: .2s ease; }
  .phone { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
}
