@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 560;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3eee6;
  --paper: #fbf7f2;
  --ink: #1c1916;
  --muted: #5e564e;
  --line: #e4dbd1;
  --oak: #8a6240;
  --card: #fffcf8;
  --shadow: 0 18px 50px rgba(48, 32, 16, 0.08);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --max: 1120px;
  --pad: 16px;
  color-scheme: light only;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
h1, h2, h3 { margin: 0; font-weight: 560; }

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 200;
}
.skip:focus { transform: none; }

.inapp-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.inapp-banner.show { display: block; }
.inapp-banner .dots {
  display: inline-block;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(251, 247, 242, 0.16);
  font-weight: 600;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
@supports not (backdrop-filter: blur(12px)) {
  .topbar { background: var(--bg); }
}
.topbar-inner, .wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}
.topbar-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.topbar-meta {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.hero, .quiz-hero { padding: 18px 0 8px; }
.hero-grid {
  display: grid;
  gap: 0;
}
.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #e7dfd4;
}
.quiz-hero .frame { aspect-ratio: 16 / 11; max-height: 280px; }
.frame picture, .frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame img {
  object-fit: cover;
  object-position: center 28%;
}
.frame img.pos-sit { object-position: center 42%; }
.frame img.pos-yoga { object-position: center 72%; }
.hero-copy {
  position: relative;
  margin-top: -36px;
  background: var(--paper);
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
}
.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.byline img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.byline-note { margin: 16px 0 8px; }
h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 560;
  font-size: clamp(2.15rem, 8.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.dek, .hero__sub {
  margin: 14px 0 0;
  font-size: 1.05rem;
  color: #3c352f;
  max-width: 42ch;
}
.fine, .hero__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oak);
}
h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.prose p, .meaning p, .faq-item p, .phase-card p, .dana-note p {
  margin: 14px 0 0;
  color: #3a342e;
  max-width: 62ch;
}

.section { padding: 36px 0 8px; }

.progress {
  margin: 18px 0 14px;
}
.progress__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress__bar, .loading__bar {
  height: 4px;
  background: #e7dfd4;
  border-radius: 99px;
  overflow: hidden;
}
.progress__fill, .loading__fill {
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: 99px;
  transition: width 0.28s ease;
}

.stage {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
  display: none;
}
.stage.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .stage.is-active { animation: rise 0.28s ease both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.q-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oak);
}
.q-prompt, .interstitial h2, .loading h2, .email h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 560;
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.q-sub, .loading__sub, .email__sub {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}
.q-options { display: grid; gap: 10px; }
.q-opt {
  width: 100%;
  min-height: 52px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (hover: hover) {
  .q-opt:hover { border-color: #cbbbaa; background: #f7f1ea; }
}
.q-opt.is-selected {
  border-color: var(--ink);
  background: #efe7dc;
}
.q-opt__check {
  width: 20px;
  height: 20px;
  color: var(--ink);
  opacity: 0;
  flex-shrink: 0;
}
.q-opt.is-selected .q-opt__check { opacity: 1; }

.interstitial p {
  margin: 14px 0 0;
  color: #3a342e;
  max-width: 48ch;
}
.interstitial .note, .callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 2px solid #ddcfc0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #2a251f;
}
.stage-photo {
  margin: 0 0 16px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: #e7dfd4;
}
.stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.loading__steps { list-style: none; margin: 8px 0 0; padding: 0; }
.loading__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #b7aea3;
}
.loading__steps li.lit { color: var(--ink); }
.loading__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ddcfc0;
  background: var(--card);
  flex-shrink: 0;
}
.loading__steps li.lit .loading__dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.loading__steps li.lit .loading__dot::after { content: "✓"; }

.email__input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.email__input:focus { border-color: var(--ink); outline: none; }
.email__input.is-error { border-color: #8d3a32; }
.email__error {
  color: #8d3a32;
  font-size: 0.9rem;
  min-height: 1.2em;
  margin-top: 8px;
}
.email__note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.btn, .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fbf7f2;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
}
@media (hover: hover) {
  .btn:hover, .cta-button:hover { background: #322c27; }
}
.btn:disabled {
  background: #b7aea3;
  cursor: not-allowed;
}

.score-grid {
  display: grid;
  gap: 12px;
}
.score-card, .order-card, .offer, .quote, .faq-item, .guarantee, .bump {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.score-card { padding: 18px 18px 16px; }
.score-num {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.score-num span, .price s, .value-was {
  color: var(--muted);
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
}
.score-card .value {
  margin: 4px 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.score-card .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe7dc;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.bars { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.bar-name { font-weight: 600; letter-spacing: -0.02em; }
.bar-name span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.bar-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.bar-track {
  grid-column: 1 / -1;
  height: 6px;
  background: #efe7dc;
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill { height: 100%; background: var(--oak); border-radius: 99px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
}

.offer { margin-top: 28px; padding: 18px 16px 20px; box-shadow: var(--shadow); }
.mock {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}
.mock-phone {
  background: #1c1916;
  border-radius: 26px;
  padding: 10px 8px 12px;
  box-shadow: 0 16px 30px rgba(48, 32, 16, 0.16);
}
.mock-speaker {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: #3a342e;
  margin: 2px auto 8px;
}
.mock-screen {
  background: var(--paper);
  border-radius: 16px;
  min-height: 210px;
  padding: 16px 12px 14px;
}
.mock-doc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 168px;
  padding: 16px 14px;
  box-shadow: 8px 10px 0 #e7dfd4;
}
.mock-brand {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--oak);
}
.mock-phase {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.mock-screen h3, .mock-doc h3 {
  margin: 6px 0 0;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.mock-lines { display: grid; gap: 6px; margin-top: 14px; }
.mock-lines i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: #efe7dc;
}
.mock-lines i:nth-child(1) { width: 92%; }
.mock-lines i:nth-child(2) { width: 76%; }
.mock-lines i:nth-child(3) { width: 84%; }
.mock-lines i:nth-child(4) { width: 58%; }
.mock-foot { margin: 14px 0 0; font-size: 11px; color: var(--muted); }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}
.price {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.value-was { text-decoration: line-through; }
.save { margin: 6px 0 0; color: var(--oak); font-size: 14px; font-weight: 600; }

.stack { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.stack li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.stack strong { display: block; letter-spacing: -0.02em; }
.stack span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efe7dc;
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-top: 2px;
}

.guarantee { padding: 16px 16px 14px; margin-top: 16px; background: #efe7dc; }
.guarantee p { margin: 6px 0 0; }
.guarantee a { font-weight: 600; }

.bump {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 14px;
  cursor: pointer;
}
.bump input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.bump strong { letter-spacing: -0.02em; }
.bump span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.safety {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.quotes { display: grid; gap: 12px; }
.quote {
  margin: 0;
  padding: 16px 16px 14px;
  border-left: 2px solid #ddcfc0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.quote footer {
  margin-top: 10px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}

.order-grid { display: grid; gap: 12px; }
.order-card { padding: 20px 18px 22px; }
.order-card.is-you { background: #efe7dc; }
.order-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--oak);
  line-height: 1;
}
.order-card h3 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
}
.you-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oak);
}

.faq-item { padding: 16px 16px 14px; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item h3 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.final {
  margin-top: 28px;
  background: #efe7dc;
  border-radius: 28px;
  padding: 22px 18px 18px;
}
.final .cta-button { margin-top: 8px; }

.disclaimer {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer, footer.site-footer {
  margin-top: 28px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.footer-grid { display: grid; gap: 22px; margin-bottom: 18px; }
.footer-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4e463f;
  margin-bottom: 8px;
}
.footer-links, .site-footer ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .site-footer a { color: var(--muted); }

.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  background: rgba(251, 247, 242, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(40, 28, 16, 0.12);
  border-radius: 18px;
  padding: 8px;
  align-items: center;
  gap: 10px;
}
.sticky-cta .cta-button { margin: 0; flex: 1; }
.sticky-cta span { font-size: 12px; color: var(--muted); padding-right: 6px; white-space: nowrap; }

#offer, #checkout, #stage-root { scroll-margin-top: 76px; }

.page-quiz main.wrap { min-height: calc(100vh - 88px); }
.page-quiz { padding-bottom: 28px; }
.page-result { padding-bottom: 28px; }

@media (max-width: 899px) {
  .page-result { padding-bottom: 108px; }
  .sticky-cta { display: flex; }
  .sticky-cta[hidden] { display: none; }
}

@media (min-width: 700px) {
  :root { --pad: 24px; }
  .quiz-hero .frame { max-height: 360px; }
  .score-grid { grid-template-columns: repeat(3, 1fr); }
  .order-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero, .quiz-hero { padding: 28px 0 10px; }
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
  }
  .hero-copy {
    margin-top: 0;
    background: transparent;
    box-shadow: none;
    padding: 8px 8px 8px 0;
  }
  .quiz-hero .hero-grid { grid-template-columns: 0.72fr 1.28fr; }
  .quiz-hero .frame { max-height: none; aspect-ratio: 4 / 5; }
  .offer-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 28px;
    align-items: center;
  }
  .mock { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1.3fr 0.7fr 0.7fr; }
  .final {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: center;
    padding: 28px;
  }
  .final .cta-button { margin-top: 0; }
  .stage { padding: 28px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress__fill, .loading__fill { transition: none; }
}
