/* Self-hosted type (SIL OFL 1.1, see assets/fonts) */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks keep layout stable while fonts load */
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 94%; descent-override: 25%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 99%; ascent-override: 96%; descent-override: 26%; }

/* Color and type tokens */
:root {
  --night: #17121a;
  --night-2: #241820;
  --wine-900: #3a1c28;
  --wine: #7a2e45;
  --wine-bright: #9b3556;
  --wine-hover: #63233a;
  --rose-glow: #efbfb8;
  --gold: #c9a36a;
  --paper: #faf7f1;
  --blush: #f4e9e4;
  --white: #fffdfa;
  --ink: #1f1a20;
  --muted: #4a4440;
  --line: #e0d2c8;
  --on-dark: #f7f1ea;
  --on-dark-muted: #ddd0c8;
  --serif: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --sans: 'Figtree', 'Figtree Fallback', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(31, 26, 32, .09), 0 2px 6px rgba(31, 26, 32, .05);
}

/* Foundation */
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--sans); -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 620; line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(40px, 11.4vw, 46px); }
h2 { font-size: clamp(30px, 8.4vw, 34px); line-height: 1.12; }
h3 { font: 700 21px/1.3 var(--sans); letter-spacing: -.01em; }
p { color: var(--muted); }
p + p { margin-top: 14px; }
strong { font-weight: 700; color: inherit; }
a { color: var(--wine); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; border-radius: 4px; }
img { display: block; width: 100%; height: auto; }
picture { display: block; overflow: hidden; background: #d8cabd; }
figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
::selection { background: #efd6d3; color: var(--ink); }
.skip-link { position: absolute; top: 12px; left: 20px; transform: translateY(-200%); background: var(--white); color: var(--ink); padding: 10px 18px; z-index: 10; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 64px; }
.split { display: grid; gap: 32px; }
.eyebrow { font: 700 14px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink); }
.section-copy h2 { margin-bottom: 20px; }
.section-heading { max-width: 720px; margin-inline: auto; text-align: center; }
.section-heading h2 + p { margin-top: 14px; font-size: 19px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header > .wrap, .site-header.wrap { min-height: 68px; display: flex; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 650 22px/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.wordmark small { display: block; margin-top: 3px; font: 600 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand-symbol { color: var(--wine); font: 30px/1 var(--serif); }
.site-header-dark { background: var(--night); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header-dark .wordmark { color: var(--on-dark); }
.site-header-dark .wordmark small { color: var(--on-dark-muted); }
.site-header-dark .brand-symbol { color: var(--rose-glow); }

/* Buttons: one primary style everywhere */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 16px 26px; border-radius: 12px; background: linear-gradient(180deg, var(--wine-bright), var(--wine)); color: #fff; text-decoration: none; font: 700 19px/1.3 var(--sans); letter-spacing: .005em; text-align: center; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 26px rgba(122, 46, 69, .34); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { background: linear-gradient(180deg, #a83b5e, var(--wine-hover)); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 14px 32px rgba(122, 46, 69, .45); transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button span { font-size: 24px; line-height: 1; transition: transform .15s ease; }
.button:hover span { transform: translateX(3px); }
.cta-note { margin-top: 12px; font-size: 15px; line-height: 1.5; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(90% 60% at 88% 8%, rgba(122, 46, 69, .5), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(122, 46, 69, .22), transparent 70%), linear-gradient(180deg, var(--night), var(--night-2)); color: var(--on-dark); }
.hero-grid { display: grid; gap: 36px; padding-block: 28px 48px; }
.chip { display: inline-block; margin-bottom: 18px; padding: 7px 14px; border: 1px solid rgba(239, 191, 184, .35); border-radius: 999px; background: rgba(239, 191, 184, .08); color: var(--rose-glow); font: 700 13px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--rose-glow); }
.hero-intro { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--on-dark-muted); max-width: 34em; }
.hero-intro strong { color: #fff; }
.hero .button { margin-top: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .22) inset, 0 12px 34px rgba(155, 53, 86, .55); }
.hero .cta-note { color: var(--on-dark-muted); }
.hero-art { width: 100%; max-width: 460px; margin-inline: auto; }
.hero-art picture { border-radius: 20px; background: #2a2127; box-shadow: 0 0 0 1px rgba(201, 163, 106, .28), 0 30px 70px rgba(0, 0, 0, .5), 0 0 90px rgba(155, 53, 86, .25); }
.hero-art img { aspect-ratio: 4/5; object-fit: cover; }
.hero-art figcaption { color: #bfb1a9; text-align: center; }
/* Smallest phones: keep CTA and chip on one line */
@media (max-width: 359px) {
  .button { font-size: 17px; padding-inline: 16px; gap: 10px; }
  .button span { font-size: 20px; }
  .chip { font-size: 13px; letter-spacing: .03em; padding-inline: 12px; }
}
.hero a:focus-visible { outline-color: var(--rose-glow); }

/* Hook */
.hook { background: var(--paper); }
.hook-photo picture { border-radius: var(--radius); box-shadow: var(--shadow); }
.hook-photo img { aspect-ratio: 3/2; object-fit: cover; }
.pull { margin-top: 22px; padding-left: 18px; border-left: 4px solid var(--wine); font: 620 23px/1.3 var(--serif); color: var(--ink); }

/* How it works */
.how { background: var(--blush); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 40px auto 0; max-width: 1000px; display: grid; gap: 28px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
/* Connector line between the numbered markers */
.step:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 60px; bottom: -24px; width: 2px; background: linear-gradient(var(--wine), rgba(201, 163, 106, .6)); opacity: .45; }
.step-number { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wine); color: #fff; font: 650 26px/1 var(--serif); box-shadow: 0 0 0 6px var(--blush), 0 0 0 7px rgba(122, 46, 69, .25), 0 10px 22px rgba(122, 46, 69, .3); }
.step h3 { padding-top: 12px; }
.step p { margin-top: 6px; max-width: 32ch; }
.transition { margin-top: 44px; text-align: center; font: 620 24px/1.3 var(--serif); color: var(--ink); text-wrap: balance; }
.transition span { display: block; margin-top: 6px; color: var(--wine); font-size: 28px; }

/* Emotional break */
.emotional { background: radial-gradient(60% 60% at 100% 100%, rgba(122, 46, 69, .35), transparent 70%), var(--night); color: var(--on-dark); }
.emotional h2 { color: #fff; }
.emotional .lead { color: var(--on-dark); }
.emotional .lead i { color: var(--rose-glow); }
.emotional p, .emotional figcaption { color: var(--on-dark-muted); }
.emotional-photo picture { border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(201, 163, 106, .22), 0 26px 60px rgba(0, 0, 0, .45); }
.emotional-photo img { aspect-ratio: 4/3; object-fit: cover; }
.checks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; font-size: 18px; line-height: 1.5; color: var(--on-dark-muted); }
.checks strong { color: #fff; }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--wine-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.emotional .button { margin-top: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 34px rgba(155, 53, 86, .5); }
.emotional a:focus-visible, .final a:focus-visible { outline-color: var(--rose-glow); }

/* FAQ */
.faq { background: var(--paper); }
.faq-layout { display: grid; gap: 28px; }
.faq-intro h2 { margin-bottom: 14px; }
.faq-items { display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 8px rgba(31, 26, 32, .04); }
details[open] { border-color: rgba(122, 46, 69, .35); }
summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 64px 16px 20px; font: 700 18px/1.4 var(--sans); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 16px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--wine); font: 600 24px/1 var(--sans); }
details[open] > summary::after { content: '−'; background: var(--wine); color: #fff; }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { max-width: 62ch; }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; padding-block: 80px; background: var(--wine-900); color: var(--on-dark); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -1; background: transparent; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .2; filter: grayscale(.3); }
.final::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 50% 50%, rgba(58, 28, 40, .55), rgba(29, 14, 21, .95)); }
.final-inner { max-width: 780px; }
.final h2 { color: #fff; font-size: clamp(32px, 9vw, 38px); }
.final p { margin-top: 18px; font-size: 19px; color: var(--on-dark); }
.final .button { margin-top: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 34px rgba(0, 0, 0, .35); }
.final .cta-note { font-size: 15px; color: var(--on-dark-muted); }

/* Footer */
.site-footer { background: var(--paper); padding: 40px 0 20px; border-top: 1px solid var(--line); }
.footer-top { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand { font: 650 22px/1.2 var(--serif); color: var(--ink); }
.footer-disclosure { max-width: 72ch; }
.footer-lead { font: 700 16px/1.5 var(--sans); color: var(--ink); }
.footer-notes { margin-top: 8px; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.footer-notes li::marker { color: var(--wine); }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; font-size: 15px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Supporting pages */
.legal-main { max-width: 760px; padding-block: 48px 64px; }
.legal-main h1 { font-size: clamp(36px, 5vw, 50px); margin-bottom: 22px; }
.legal-main h2 { font-size: 28px; margin: 36px 0 12px; }
.legal-main ul { padding-left: 24px; color: var(--muted); }
.legal-main .back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px; }

/* Tablet */
@media (min-width: 600px) {
  h1 { font-size: 58px; }
  h2 { font-size: 40px; }
  h3 { font-size: 22px; }
  .button { width: auto; min-width: 360px; }
  .hero-grid { padding-block: 44px 64px; }
  .hero-copy { max-width: 640px; }
  .hero-intro { font-size: 20px; }
  .hero-art { max-width: 520px; }
  .final h2 { font-size: 46px; }
}
@media (min-width: 768px) {
  .wrap { width: min(1180px, calc(100% - 64px)); }
  .section { padding-block: 88px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .step:not(:last-child)::before { left: calc(50% + 44px); right: calc(-50% + 12px); top: 28px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--wine), rgba(201, 163, 106, .6)); }
  .step h3 { padding-top: 0; }
  .step p { margin-inline: auto; }
  .transition { font-size: 28px; }
  .footer-top { grid-template-columns: .5fr 1.5fr; gap: 40px; align-items: start; }
  .final { padding-block: 104px; }
}

/* Desktop */
@media (min-width: 1024px) {
  body { font-size: 19px; }
  h1 { font-size: clamp(64px, 5.3vw, 76px); line-height: 1.02; }
  h2 { font-size: clamp(44px, 3.6vw, 52px); }
  h3 { font-size: 24px; }
  .site-header > .wrap, .site-header.wrap { min-height: 76px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; padding-block: 48px 72px; }
  .hero-intro { font-size: 22px; }
  .hero .button { margin-top: 32px; font-size: 20px; min-width: 400px; }
  .hero-art { max-width: 460px; margin-right: 0; }
  .section { padding-block: 112px; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .hook .section-copy { max-width: 520px; }
  .lead { font-size: 22px; }
  .pull { font-size: 26px; }
  .emotional .split { grid-template-columns: 1.1fr .9fr; }
  .emotional .button { font-size: 20px; }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
  .faq-intro { position: sticky; top: 32px; }
  .final h2 { font-size: 56px; }
  .final p { font-size: 21px; }
  .final .button { font-size: 20px; min-width: 400px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom nav { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .button:hover, .button:active, .button:hover span { transform: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .skip-link, .button, .cta-note, .final-bg { display: none; }
  .hero, .emotional, .final { background: #fff; color: #000; }
  .hero h1, .emotional h2, .final h2 { color: #000; }
  .hero p, .emotional p, .final p, .checks li { color: #333; }
  .section, .hero-grid, .final { padding-block: 20px; }
  details { display: block; }
  details::details-content { content-visibility: visible; }
  .hero-art { max-width: 250px; }
  .wrap { width: 100%; }
}
