:root {
  --bg: #FFF8F3;
  --surface: #FFFFFF;
  --blush: #FCE8EF;
  --blush-2: #F8D6E2;
  --peach: #F0C2AE;
  --rose: #D9648F;
  --rose-deep: #B84A73;
  --plum: #5E2A46;
  --ink: #4C3742;
  --muted: #9C7C89;
  --gold: #C29A5B;
  --green: #7BA05B;
  --grit-bg: #120E13;
  --grit-accent: #FF3D6E;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --gutter: 16px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --radius-pill: 999px;
  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 1.9rem;
  --shadow: 0 24px 50px -28px rgba(94, 42, 70, .35);
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.has-sticky-cta { padding-bottom: 84px; }
@media (min-width: 800px) { body.has-sticky-cta { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--plum);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 144;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 4.4vw, 2.85rem); }
h3 { font-size: var(--step-2); line-height: 1.2; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section[id], .promise, .how, .guide, .final { scroll-margin-top: calc(var(--nav-h) + 14px); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.lede { font-size: var(--step-1); line-height: 1.55; max-width: 36rem; color: var(--ink); }
.quiet { color: var(--muted); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--rose);
  margin: 0 0 .75rem;
}
:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s); z-index: 100;
}
.skip:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; font-size: var(--step-0);
  padding: .9rem 1.5rem; border-radius: var(--radius-pill);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.2;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); color: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--rose-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--blush-2); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); }
.btn-sm { padding: .55rem 1.05rem; font-size: var(--step--1); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: var(--step-1); }
.btn-block { width: 100%; text-align: center; }
.text-link {
  font-weight: 700; color: var(--plum); text-decoration: underline;
  text-decoration-color: var(--blush-2); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: var(--rose); color: var(--rose-deep); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--blush-2) 70%, transparent); }
@supports not (color: color-mix(in srgb, red, blue)) { .nav { background: var(--bg); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--plum); }
.brand:hover { color: var(--plum); }
.brand img, .brand .mark { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand .word { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 1.35rem; margin: 0 auto 0 1.5rem; }
.nav-links a { color: var(--plum); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.nav-links a:hover { color: var(--rose-deep); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* Hero */
.hero { padding-top: clamp(2.2rem, 5vw, 4.2rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.75rem; align-items: center; max-width: 100%; min-width: 0; }
.hero-grid > * { min-width: 0; max-width: 100%; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}
.hero h1 { margin-bottom: 1.1rem; max-width: 10ch; }
.hero .lede { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-bottom: .85rem; }
.trust { font-size: var(--step--1); color: var(--muted); margin: 0 0 1.25rem; max-width: 38rem; }
.price-line { font-weight: 800; color: var(--plum); font-size: var(--step--1); margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; }
.pill {
  background: var(--blush); color: var(--plum); font-weight: 800; font-size: .78rem;
  padding: .35rem .7rem; border-radius: var(--radius-pill);
}

/* Phones */
.phone-stack { position: relative; min-height: 420px; display: flex; justify-content: center; align-items: flex-end; width: 100%; max-width: 100%; overflow: hidden; }
.phone-stack::before {
  content: ""; position: absolute; inset: 12% 8% -6% 8%;
  background: var(--blush); border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
  z-index: 0;
}
.device {
  position: relative; z-index: 1;
  width: min(46vw, 230px);
  background: #1c1418;
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(94,42,70,.12);
}
.device img { width: 100%; height: auto; border-radius: 21px; }
.device figcaption { position: absolute; left: 50%; transform: translateX(-50%); bottom: -1.8rem; white-space: nowrap; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.device-front { z-index: 2; }
.device-back { z-index: 1; margin-right: -18%; margin-bottom: 8%; transform: rotate(-6deg); }
.device-front { margin-left: -10%; transform: rotate(3deg); }
.stack-caption { text-align: center; margin: 2.4rem 0 0; font-size: var(--step--1); color: var(--muted); position: relative; z-index: 2; }
@media (max-width: 599px) {
  .phone-stack { min-height: 340px; }
  .device { width: min(42vw, 168px); border-radius: 22px; padding: 6px; }
  .device img { border-radius: 17px; }
  .device-back { margin-right: -10%; margin-bottom: 6%; transform: rotate(-5deg); }
  .device-front { margin-left: -6%; transform: rotate(2deg); }
  .stack-caption { margin-top: 2rem; }
}
@media (min-width: 600px) {
  .device { width: 250px; border-radius: 32px; padding: 9px; }
  .device img { border-radius: 24px; }
  .phone-stack { min-height: 500px; }
}

/* Promise */
.promise { padding-top: 0; }
.points { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 800px) { .points { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.point { background: var(--surface); border: 1px solid var(--blush-2); border-radius: var(--radius-l); padding: 1.4rem 1.35rem 1.5rem; height: 100%; }
.point h3 { margin-bottom: .4rem; }

/* Steps */
.how { background: var(--surface); }
.steps { display: grid; gap: 1.25rem; margin-top: 2rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.5rem 1.35rem 1.5rem; border-radius: var(--radius-l); background: var(--bg); border: 1px solid var(--blush-2); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 700;
  color: var(--rose); font-size: 1.1rem; letter-spacing: .04em; margin-bottom: .6rem;
}

/* Themes */
.themes-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 800px) { .themes-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.theme-card { border-radius: var(--radius-l); padding: 1.35rem 1.35rem 1.5rem; overflow: hidden; }
.theme-grace { background: #FFF8F3; border: 1px solid var(--blush-2); }
.theme-grit { background: var(--grit-bg); color: #ECE3E8; }
.theme-grit h3, .theme-grit .eyebrow { color: #fff; }
.theme-grit .eyebrow { color: var(--grit-accent); }
.theme-grit p { color: #d7cdd2; }
.theme-card .device { width: min(100%, 230px); margin: 1.1rem auto 0; transform: none; }
.theme-card figcaption { position: static; transform: none; text-align: center; margin-top: .7rem; bottom: auto; }
.theme-grit figcaption { color: #ECE3E8; }

/* Programs */
.programs-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 860px) { .programs-grid { grid-template-columns: 1fr 1fr; } }
.program { background: var(--surface); border: 1px solid var(--blush-2); border-radius: var(--radius-l); padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; }
.program .device { width: min(100%, 220px); margin: 1rem auto 1.2rem; transform: none; }
.program ul { margin: 0 0 1.25rem; padding-left: 1.1rem; list-style: disc; }
.program li { margin: 0 0 .35rem; }
.program .btn { margin-top: auto; }

/* Levels */
.level-block { margin-top: 2rem; }
.level-block h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.levels { display: grid; gap: .9rem; }
@media (min-width: 800px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level { background: var(--surface); border: 1px solid var(--blush-2); border-radius: var(--radius-l); padding: 1.2rem 1.15rem 1.3rem; }
.level .meta { font-weight: 800; font-size: .8rem; color: var(--rose-deep); margin: 0 0 .35rem; }
.level h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--plum); margin: 0 0 .45rem; }

/* Features */
.features { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 800px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--bg); border-radius: var(--radius-m); padding: 1.1rem 1.15rem; border: 1px solid var(--blush-2); }
.feature h3 { font-size: 1.15rem; }

/* Safety */
.safety { background: var(--blush); }
.safety .wrap { max-width: 760px; }
.safety ul { list-style: disc; padding-left: 1.2rem; margin: 1rem 0 0; }
.safety li { margin: 0 0 .4rem; }
.pt-line { font-weight: 700; margin-top: 1.25rem; }

/* Pricing */
.plans { display: grid; gap: 1.15rem; margin-top: 2rem; align-items: stretch; }
@media (min-width: 800px) { .plans { grid-template-columns: 1.08fr .92fr; } }
.plan { background: var(--surface); border: 2px solid var(--blush-2); border-radius: var(--radius-l); padding: 1.6rem 1.4rem 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan-pop { border-color: var(--rose); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -12px; left: 1.3rem;
  background: var(--rose); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .65rem; border-radius: var(--radius-pill);
}
.price { font-family: var(--font-display); font-size: 3rem; color: var(--plum); line-height: 1; margin: .3rem 0 .2rem; }
.price small { font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--muted); margin-left: .2rem; }
.plan .save { font-weight: 800; color: var(--rose-deep); margin: 0 0 1rem; }
.plan ul { list-style: disc; padding-left: 1.15rem; margin: 0 0 1.3rem; }
.plan li { margin: 0 0 .35rem; }
.plan .btn { margin-top: auto; }
.download { margin-top: 2.5rem; background: var(--surface); border: 1px solid var(--blush-2); border-radius: var(--radius-l); padding: 1.4rem 1.4rem 1.5rem; }
.download ol { list-style: decimal; padding-left: 1.2rem; margin: .8rem 0 1rem; }
.download li { margin: 0 0 .35rem; }
.coming { color: var(--muted); font-size: var(--step--1); }

/* FAQ */
#faq details { background: var(--surface); border: 1px solid var(--blush-2); border-radius: var(--radius-m); padding: 0; margin: 0 0 .7rem; }
#faq summary {
  cursor: pointer; font-weight: 800; color: var(--plum); padding: 1rem 1.15rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; font-size: 1.3rem; color: var(--rose); font-weight: 700; line-height: 1; }
#faq details[open] summary::after { content: "–"; }
#faq details p { padding: 0 1.15rem 1.1rem; margin: 0; max-width: 46rem; }

/* Guide + final */
.guide { background: var(--surface); }
.field-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .6rem; }
.field-row input { flex: 1 1 220px; min-width: 0; }
input[type="email"] {
  font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--blush-2);
  border-radius: var(--radius-pill); padding: .8rem 1.1rem; width: 100%;
}
input[type="email"]:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 2px; border-color: var(--rose); }
input::placeholder { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: var(--step--1); color: var(--muted); }
.final { text-align: center; }
.final .mark { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1.2rem; }
.final .lede { margin: 0 auto 1.5rem; }

/* Footer + sticky */
.site-footer { border-top: 1px solid var(--blush-2); padding: 1.6rem 0 2rem; color: var(--muted); font-size: var(--step--1); }
.footer-inner { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; }
.footer-links a { color: var(--plum); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--rose-deep); }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--blush-2);
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.sticky-cta p { margin: 0; font-weight: 800; font-size: .85rem; color: var(--plum); line-height: 1.25; }
.sticky-cta span { display: block; font-weight: 600; color: var(--muted); font-size: .75rem; }
@media (min-width: 800px) { .sticky-cta { display: none; } }

/* Inner pages */
.page { padding: 2.2rem 0 4rem; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: .4rem 0 .3rem; }
.eff { color: var(--muted); margin: 0 0 1.5rem; }
.legal-box { background: var(--blush); border: 1px solid var(--blush-2); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.page h2 { font-size: 1.3rem; margin: 1.8rem 0 .5rem; }
.page ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 1rem; }
.page li { margin: 0 0 .45rem; }
.support-card { background: var(--surface); border: 1px solid var(--blush-2); border-radius: var(--radius-l); padding: 1.3rem 1.3rem 1.4rem; margin: 0 0 1rem; }
.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; text-align: center; }
.thanks-card { max-width: 32rem; }
.thanks-card .mark { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 12px; }
