/* ============================================================
   TOTES OF LOVE — site theme (landing, onboarding, checkout)
   support/, admin/ and corporate/ still use style.css.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --cream: #FAF6EE;
  --cream-2: #F4EDE0;
  --linen: #EDE4D3;
  --paper: #FFFDF9;
  --rose: #C2305F;
  --terracotta: #C96B5A;
  --terracotta-2: #B95E4E;
  --sage-ink: #5E8560;
  --gold: #C9A84C;
  --ink: #2C2825;
  --ink-soft: #57504A;
  --taupe: #9E9189;
  --line: rgba(44, 40, 37, .12);
  --plum: #3A1826;
  --error: #B3261E;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-accent: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --section-y: clamp(64px, 8vw, 120px);
  --gutter: clamp(20px, 5vw, 72px);
  --container: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font: 400 1rem / 1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 3px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.label { display: inline-block; font: 500 11px / 1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.label-rose { color: var(--rose); }
.h2 { font: 500 clamp(2rem, 3.8vw, 3.2rem) / 1.12 var(--font-display); color: var(--ink); letter-spacing: -.015em; text-wrap: balance; margin: 16px 0 18px; }
.lede { color: var(--ink-soft); max-width: 56ch; font-size: 1.05rem; line-height: 1.65; }
.center { text-align: center; }
.center .lede, .center .h2 { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 6px; border: 1px solid transparent; font: 500 15px / 1 var(--font-body); letter-spacing: .01em; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-2); transform: translateY(-1px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(44, 40, 37, .25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { height: 58px; padding: 0 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.text-link { font: 500 14px var(--font-body); color: var(--rose); text-decoration: none; border-bottom: 1px solid rgba(194, 48, 95, .3); padding-bottom: 2px; transition: border-color .25s; }
.text-link:hover { border-color: var(--rose); }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; font: 500 13px var(--font-body); color: var(--rose); text-decoration: none; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion ---------- */
/* Reveals. Nothing is hidden until site.js marks an element .pre right before
   observing it, so a script failure can never leave content invisible. The clip
   lives on the image, not on the observed box: a fully clipped target never
   intersects, so the old version never revealed the box and founder photos. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.pre > * { opacity: 0; transform: translateY(18px); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .2s; }
.mask { position: relative; overflow: hidden; background: var(--linen); }
.mask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease); }
.mask.pre img { clip-path: inset(0 0 100% 0); transform: scale(1.12); }
.mask.in img { clip-path: inset(0); transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============================================================
   LANDING
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); color: var(--cream); transition: background .4s, color .3s, box-shadow .4s; }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.nav-logo { flex: none; }
.nav-logo img { height: 76px; width: auto; margin: 0; transition: filter .3s; filter: brightness(0) invert(1); }
.nav.is-stuck { background: rgba(250, 246, 238, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-stuck .nav-logo img { filter: none; }
.nav-links { margin-left: auto; display: flex; gap: 30px; }
.nav-links a { font: 500 13.5px var(--font-body); letter-spacing: .02em; text-decoration: none; opacity: .9; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .btn { height: 44px; padding: 0 20px; font-size: 13.5px; white-space: nowrap; }
.nav-cta .short { display: none; }
.nav.is-stuck .nav-cta { background: var(--terracotta); color: #fff; }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; place-items: center; }
.nav-burger .icon { width: 26px; height: 26px; }
.menu { position: fixed; inset: 0; z-index: 60; background: rgba(58, 24, 38, .97); color: var(--cream); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: var(--gutter); }
.menu.is-open { display: flex; }
.menu a { font: 500 2rem var(--font-display); color: var(--cream); text-decoration: none; }
.menu .btn { margin-top: 12px; font: 500 15px var(--font-body); }
.menu-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; background: none; border: 0; color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.menu-close .icon { width: 26px; height: 26px; }

.hero { position: relative; min-height: min(92vh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: var(--plum); }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); animation: heroZoom 2.6s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58, 24, 38, .5) 0%, rgba(58, 24, 38, .18) 42%, rgba(58, 24, 38, 0) 68%), linear-gradient(180deg, rgba(58, 24, 38, .36) 0%, rgba(58, 24, 38, 0) 30%, rgba(58, 24, 38, 0) 50%, rgba(58, 24, 38, .66) 100%); }
.hero-leaves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: calc(var(--nav-h) + 40px) clamp(48px, 6vw, 84px); color: var(--cream); }
.hero-inner > * { animation: rise 1s var(--ease) both; }
.hero-inner > :nth-child(1) { animation-delay: .35s; }
.hero-inner > :nth-child(2) { animation-delay: .45s; }
.hero-inner > :nth-child(3) { animation-delay: .58s; }
.hero-inner > :nth-child(4) { animation-delay: .72s; }
.hero .label { color: rgba(250, 246, 238, .78); }
.hero h1 { font: 500 clamp(2.6rem, 5.2vw, 4.7rem) / 1.05 var(--font-display); letter-spacing: -.02em; max-width: 11ch; margin: 18px 0 18px; text-wrap: balance; }
.hero p { font: italic 500 clamp(1.2rem, 1.8vw, 1.5rem) / 1.4 var(--font-accent); max-width: 34ch; color: rgba(250, 246, 238, .9); margin-bottom: 30px; }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-ctas small { font-size: 13px; color: rgba(250, 246, 238, .72); }

.facts { border-bottom: 1px solid var(--line); }
.facts-inner { display: flex; justify-content: center; flex-wrap: wrap; padding-block: 16px; }
.facts span { font: 500 11.5px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); padding: 6px 22px; border-left: 1px solid var(--line); }
.facts span:first-child { border-left: 0; }

.box { padding-block: var(--section-y); }
.box-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.box .mask { aspect-ratio: 1 / 1; border-radius: 4px; }
.box-month { font: 500 clamp(3rem, 6vw, 5.2rem) / 1 var(--font-display); color: var(--ink); letter-spacing: -.025em; margin: 14px 0 8px; }
.box-name { font: italic 500 clamp(1.3rem, 2vw, 1.7rem) / 1.2 var(--font-accent); color: var(--rose); margin-bottom: 22px; }
.box-body { color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.contents { list-style: none; border-top: 1px solid var(--line); margin-bottom: 14px; }
.contents li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.box-cap { font-size: 13.5px; color: var(--taupe); margin-bottom: 30px; }
.box-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.band { position: relative; height: min(72vh, 660px); overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--cream); background: var(--plum); }
.band-img { position: absolute; left: 0; right: 0; top: -12%; bottom: -12%; will-change: transform; }
.band-img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(58, 24, 38, .42); }
.band-inner { position: relative; z-index: 2; max-width: 780px; padding-inline: var(--gutter); }
.band-inner p { font: italic 500 clamp(1.7rem, 3.4vw, 2.8rem) / 1.25 var(--font-accent); text-wrap: balance; }
.band-inner small { display: block; margin-top: 22px; font: 500 11.5px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(250, 246, 238, .78); }

.how { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 56px; }
.how-step .num { display: block; font: 500 3rem / 1 var(--font-accent); color: var(--rose); opacity: .6; margin-bottom: 18px; }
.how-step h3 { font: 500 1.35rem / 1.25 var(--font-display); color: var(--ink); margin-bottom: 10px; }
.how-step p { color: var(--ink-soft); font-size: 15px; max-width: 32ch; }

.story { padding-block: var(--section-y); background: var(--cream-2); }
.story-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.story .mask { max-width: 400px; aspect-ratio: 4 / 5; border-radius: 4px; }
.story blockquote { font: italic 500 clamp(1.5rem, 2.6vw, 2.1rem) / 1.3 var(--font-accent); color: var(--ink); margin: 16px 0 22px; text-wrap: balance; }
.story p { color: var(--ink-soft); max-width: 54ch; line-height: 1.75; }
.story .sig { display: block; margin-top: 24px; }

.faq { padding-block: var(--section-y); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 500 1.05rem / 1.35 var(--font-body); color: var(--ink); }
.faq-q .icon { color: var(--rose); width: 18px; height: 18px; transition: transform .35s var(--ease); }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-bottom: 22px; color: var(--ink-soft); line-height: 1.65; max-width: 66ch; }
.faq-a a { color: var(--rose); }
.faq-contact { margin-top: 28px; font-size: 14px; color: var(--taupe); text-align: center; }
.faq-contact a { color: var(--rose); }

.cta { padding-block: var(--section-y); border-top: 1px solid var(--line); text-align: center; }
.cta .h2 { max-width: 18ch; }
.cta .btn { margin-top: 12px; }
.cta small { display: block; margin-top: 16px; font-size: 13px; color: var(--taupe); }

.footer { background: var(--plum); color: rgba(250, 246, 238, .72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.wordmark { font: 500 1.4rem var(--font-display); color: var(--cream); text-decoration: none; }
.footer-tag { font: italic 500 1.1rem var(--font-accent); color: rgba(250, 246, 238, .65); margin: 10px 0 0; }
.footer h4 { font: 500 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: rgba(250, 246, 238, .78); text-decoration: none; font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(250, 246, 238, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(250, 246, 238, .45); }
.footer-bottom a { color: inherit; text-decoration: none; }

/* ============================================================
   FLOW PAGES (onboarding, checkout)
   ============================================================ */
.flow-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--cream); }
.flow-nav img { height: 56px; width: auto; margin: 0; }
.flow-nav .label { display: inline-flex; align-items: center; gap: 8px; }
.flow-nav .label .icon { color: var(--sage-ink); }

.form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { grid-template-columns: 2fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 12.5px var(--font-body); color: var(--ink-soft); }
.field label .opt-l { color: var(--taupe); font-weight: 400; }
.input, .co-input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid rgba(44, 40, 37, .2); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 15px; transition: border-color .25s, box-shadow .25s; }
.co-input { height: auto; min-height: 50px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239E9189' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
select.input.error { border-color: var(--error); }
.co-input.StripeElement--focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 40, 37, .08); }
.co-input.StripeElement--invalid { border-color: var(--error); }
.input::placeholder { color: #B8AEA6; }
.input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 40, 37, .08); }
.input.is-error, .input.error { border-color: var(--error); }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field-err { font-size: 12.5px; color: var(--error); }
.field-err:empty { display: none; }
.field-hint { font-size: 12.5px; color: var(--taupe); }
.field-count { font-size: 12px; color: var(--taupe); text-align: right; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; user-select: none; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); }

/* Onboarding */
.ob { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); min-height: 100vh; }
.ob-visual { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--plum); color: var(--cream); }
.ob-visual img { width: 100%; height: 100%; object-fit: cover; }
.ob-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 24, 38, .25), rgba(58, 24, 38, 0) 35%, rgba(58, 24, 38, 0) 60%, rgba(58, 24, 38, .6)); }
.ob-visual-logo { position: absolute; top: 12px; left: clamp(20px, 3vw, 40px); z-index: 2; }
.ob-visual-logo img { height: 72px; width: auto; margin: 0; filter: brightness(0) invert(1); }
.ob-visual-text { position: absolute; left: clamp(24px, 4vw, 52px); right: clamp(24px, 4vw, 52px); bottom: clamp(28px, 4vw, 52px); z-index: 2; }
.ob-visual-text .label { color: rgba(250, 246, 238, .7); }
.ob-visual-text b { display: block; font: 500 clamp(1.6rem, 2.4vw, 2.1rem) / 1.15 var(--font-display); margin-top: 10px; max-width: 16ch; text-wrap: balance; }
.ob-panel { padding: clamp(14px, 2.5vh, 36px) clamp(24px, 6vw, 96px) 24px; }
.ob-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ob-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 8px 0; font: 500 11.5px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.ob-back:hover { color: var(--ink); }
.ob-back.is-hidden { visibility: hidden; }
.ob-progress { height: 2px; background: var(--line); margin-bottom: clamp(20px, 4vh, 44px); }
.ob-progress i { display: block; height: 100%; background: var(--rose); width: 20%; transition: width .6s var(--ease); }
.ob-stage { max-width: 560px; }
.ob-step { display: none; }
.ob-step.is-active { display: block; animation: stepIn .55s var(--ease) both; }
.ob-step.is-leaving { animation: stepOut .26s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateX(-22px); } }
.ob-h1 { font: 500 clamp(1.6rem, 2.5vw, 2.15rem) / 1.12 var(--font-display); color: var(--ink); letter-spacing: -.015em; margin-bottom: 8px; text-wrap: balance; }
.ob-h1:focus, .co-h1:focus, .sc-h1:focus { outline: none; }
.ob-sub { color: var(--ink-soft); margin-bottom: 18px; }
.ob-panel .form { gap: 12px; }
.ob-panel .input { height: 46px; }
.ob-panel textarea.input { min-height: 76px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts-1 { grid-template-columns: 1fr; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; text-align: left; font: 500 15.5px / 1.3 var(--font-body); color: var(--ink); transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.opt small { display: block; font-size: 13px; color: var(--taupe); font-weight: 400; margin-top: 3px; }
.opt:hover { border-color: rgba(44, 40, 37, .35); transform: translateY(-1px); }
.opt[aria-pressed="true"] { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); background: #fff; }
.opt .tick { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; flex: none; transition: background .25s, border-color .25s; }
.opt .tick .icon { width: 12px; height: 12px; stroke-width: 3; opacity: 0; transition: opacity .2s; }
.opt[aria-pressed="true"] .tick { background: var(--rose); border-color: var(--rose); }
.opt[aria-pressed="true"] .tick .icon { opacity: 1; }
.opt .price { text-align: right; flex: none; }
.opt .price b { display: block; font: 500 1.35rem / 1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.opt .price span { display: block; font-size: 12px; color: var(--taupe); margin-top: 5px; }
.opt .price .save { color: var(--sage-ink); }
.opt-plan { padding: 14px 16px 14px 18px; }
.ob-note { display: flex; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--taupe); }
.ob-note .icon { color: var(--sage-ink); margin-top: 3px; }
.ob-actions { display: flex; justify-content: flex-end; margin-top: 16px; position: sticky; bottom: 0; z-index: 2; padding: 10px 0 12px; background: linear-gradient(to bottom, rgba(250, 246, 238, 0), var(--cream) 35%); }
.review { border-top: 1px solid var(--line); }
.review-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-row .label { padding-top: 4px; }
.review-row .val { color: var(--ink); line-height: 1.5; font-size: 15px; }
.review-row .val small { display: block; color: var(--taupe); font-size: 13.5px; }
.review-row .val em { font: italic 500 1.15rem / 1.35 var(--font-accent); color: var(--ink); }
.review-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 0; }
.review-total b { font: 500 1.8rem / 1 var(--font-display); font-variant-numeric: tabular-nums; }
.review-total span { font-size: 13px; color: var(--taupe); }

/* Review card (onboarding step 5) */
.rv-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 18px 50px -30px rgba(58, 24, 38, .45); }
.rv-media { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--linen); }
.rv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.rv-body { padding: 14px 8px 4px; }
.rv-title { font: 500 1.75rem / 1.05 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.rv-kicker { font: italic 500 1.05rem / 1.3 var(--font-accent); color: var(--rose); margin-top: 3px; }
.rv-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font: 500 14px var(--font-body); color: var(--ink); }
.rv-meta li { display: inline-flex; align-items: center; gap: 8px; }
.rv-meta .icon { width: 17px; height: 17px; color: var(--taupe); }
.rv-rows { border-top: 1px solid var(--line); margin-top: 14px; }
.rv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rv-row .val { font-size: 15px; line-height: 1.45; color: var(--ink); }
.rv-row .val b { font-weight: 500; }
.rv-row .val small { display: block; color: var(--taupe); font-size: 13px; }
.rv-row .val em { display: block; margin-top: 6px; font: italic 500 1.05rem / 1.35 var(--font-accent); color: var(--ink); }
.rv-row .text-btn { padding-top: 2px; }
.rv-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 12px 0 2px; }
.rv-total span { font-size: 13px; color: var(--taupe); }
.rv-total span small { display: block; font-size: 12px; color: var(--taupe); }
.rv-total span small:empty { display: none; }
.rv-total b { font: 500 1.7rem / 1 var(--font-display); font-variant-numeric: tabular-nums; }
.rv-card .ob-actions { margin: 10px 0 0; padding: 8px 0 max(2px, env(safe-area-inset-bottom)); background: linear-gradient(to bottom, rgba(255, 253, 249, 0), var(--paper) 35%); }
.rv-card .ob-actions .btn { width: 100%; }
@media (min-width: 901px) {
  .rv-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .rv-media { aspect-ratio: auto; min-height: 240px; height: 100%; }
  .rv-body { padding: 6px 8px 2px 0; }
  .rv-card .ob-actions { justify-content: flex-end; }
  .rv-card .ob-actions .btn { width: auto; }
}
@media (max-width: 900px) {
  .ob-step[data-step="5"] .ob-sub { display: none; }
  .ob-step[data-step="5"] .ob-h1 { font-size: 1.3rem; }
  .rv-media { aspect-ratio: 2.2 / 1; }
  .rv-body { padding: 10px 6px 2px; }
  .rv-title { font-size: 1.5rem; }
  .rv-meta { margin-top: 8px; }
  .rv-rows { margin-top: 10px; }
  .rv-row { padding: 8px 0; }
  .rv-row .val > small:not(.rv-sig) { display: inline; margin-left: 6px; }
  .rv-row .val em { margin-top: 4px; }
  .rv-total { padding: 10px 0 0; }
  .rv-total span small { display: none; }
  .rv-card .btn-lg { height: 52px; }
}

/* Checkout */
.co-shell { max-width: 1120px; margin: 0 auto; padding: 44px var(--gutter) 120px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.co-h1 { font: 500 2.2rem / 1.1 var(--font-display); color: var(--ink); letter-spacing: -.015em; margin: 8px 0 6px; }
.co-sub { color: var(--taupe); font-size: 14px; margin-bottom: 30px; }
.co-sec { padding: 28px 0; border-top: 1px solid var(--line); }
.co-sec-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.co-sec-hd h2 { font: 500 1.2rem var(--font-display); color: var(--ink); }
.co-sending { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.co-sending b { color: var(--ink); font-weight: 500; }
.co-sending em { font: italic 500 1.1rem var(--font-accent); color: var(--ink); }
.co-card { position: relative; }
.co-card > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--taupe); z-index: 1; }
.co-card .input { padding-left: 44px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.co-stripe-placeholder { display: flex; align-items: center; gap: 10px; }
.co-stripe-placeholder .input { padding-left: 14px; }
.co-secure { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--taupe); margin-top: 4px; }
.co-secure .icon { color: var(--sage-ink); }
.co-billing { margin-top: 4px; }
.co-billing-fields { margin-top: 16px; }
.co-sum { position: sticky; top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.co-sum-box { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.co-sum-box img { width: 68px; height: 68px; border-radius: 8px; object-fit: cover; flex: none; }
.co-sum-box b { display: block; font: 500 1.1rem var(--font-display); color: var(--ink); margin-top: 4px; }
.co-sum-box .sub { display: block; font: italic 500 .95rem var(--font-accent); color: var(--taupe); }
.co-lines { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); }
.co-line b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.co-line.save, .co-line.save b { color: var(--sage-ink); }
.co-promo { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.co-promo-row { display: flex; gap: 8px; }
.co-promo-row .input { height: 44px; text-transform: uppercase; }
.co-promo-row .btn { height: 44px; padding: 0 16px; font-size: 13px; }
.co-promo-msg { display: none; margin-top: 8px; font-size: 12.5px; color: var(--taupe); line-height: 1.45; }
.co-promo-msg.is-visible { display: block; }
.co-promo-msg.is-error { color: var(--error); }
.co-promo-msg.is-ok { color: var(--sage-ink); }
.co-promo-applied { display: none; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 13px; background: rgba(139, 175, 138, .14); border: 1px dashed rgba(139, 175, 138, .6); }
.co-promo-applied.is-visible { display: flex; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; }
.co-total > div { margin-left: auto; text-align: right; }
.co-total span { font-weight: 500; }
.co-total b { font: 500 1.9rem / 1 var(--font-display); font-variant-numeric: tabular-nums; }
.co-total small { display: block; font-size: 12px; color: var(--taupe); text-align: right; margin-top: 6px; font-weight: 400; }
.co-fine { margin-top: 14px; font-size: 12.5px; color: var(--taupe); line-height: 1.5; text-align: center; }
.co-err { display: none; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #FBEBE9; color: #8A2A22; font-size: 13.5px; line-height: 1.45; }
.co-err.visible { display: flex; }
.co-err .icon { flex: none; margin-top: 2px; }

/* Confirmation (checkout success overlay) */
.sc-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: var(--cream); overflow: auto; }
.sc-overlay.visible { display: block; }
.sc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); min-height: 100vh; }
.sc-main { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 80px) clamp(24px, 7vw, 110px) 100px; max-width: 720px; }
.sc-check { width: 52px; height: 52px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; margin-bottom: 26px; animation: pop .6s var(--ease) both; }
.sc-check .icon { width: 24px; height: 24px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.sc-h1 { font: 500 clamp(2.2rem, 4vw, 3.4rem) / 1.08 var(--font-display); color: var(--ink); letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.sc-lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }
.sc-rows { margin: 34px 0 30px; border-top: 1px solid var(--line); }
.sc-rows .review-row { grid-template-columns: 110px 1fr; }
.sc-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.sc-visual { position: relative; background: var(--plum); min-height: 40vh; }
.sc-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) { .ob { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); } }
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav-inner { gap: 10px; }
  .nav-logo img { height: 60px; margin: 0; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; height: 40px; padding: 0 14px; font-size: 13px; }
  .nav-cta .long { display: none; }
  .nav-cta .short { display: inline; }
  .nav-burger { display: grid; flex: none; margin-right: -8px; }
  .hero { min-height: min(88vh, 760px); }
  .box-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-inner { grid-template-columns: 1fr; gap: 36px; }
  .story .mask { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ob { grid-template-columns: 1fr; min-height: 0; }
  .ob-visual { position: static; height: auto; min-height: 0; overflow: visible; background: var(--cream); color: var(--ink); padding: 6px 20px 0; }
  .ob-visual > img, .ob-visual::after, .ob-visual-text { display: none; }
  .ob-visual-logo { position: static; display: inline-block; }
  .ob-visual-logo img { display: block; height: 48px; margin: 4px 0 0; filter: none; }
  .ob-panel { padding: 6px 20px 16px; }
  .ob-top { margin-bottom: 8px; }
  .ob-progress { margin-bottom: 16px; }
  .ob-h1 { font-size: 1.5rem; }
  .ob-sub { font-size: 14.5px; margin-bottom: 14px; }
  .opts { gap: 8px; }
  .opt { padding: 12px 14px; font-size: 14.5px; }
  .opt small { font-size: 12.5px; }
  .opt-plan { padding: 11px 14px; }
  .ob-panel .form { gap: 10px; }
  .ob-panel .row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ob-panel .input { height: 44px; }
  .ob-panel textarea.input { min-height: 68px; }
  .ob-panel .field-count { display: none; }
  .ob-note { display: none; }
  .ob-actions { margin: 10px -20px 0; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); }
  .ob-actions .btn { width: 100%; }
  .review-row { grid-template-columns: 90px 1fr auto; gap: 10px; padding: 11px 0; }
  .review-row .val em { font-size: 1.05rem; }
  .co-shell { grid-template-columns: 1fr; }
  .co-sum { position: static; }
  .sc { grid-template-columns: 1fr; }
  .sc-visual { order: -1; min-height: 34vh; }
}
@media (max-width: 640px) {
  .facts-inner { padding-block: 10px; }
  .facts span { border: 0; padding: 3px 0; font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
  .facts span:not(:last-child)::after { content: "·"; margin: 0 9px; }
  .row, .row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .flow-nav img { height: 48px; margin: 0; }
}
@media (max-width: 900px) and (max-height: 600px) {
  .ob-sub { display: none; }
  .ob-h1 { font-size: 1.35rem; margin-bottom: 12px; }
  .ob-progress { margin-bottom: 12px; }
  .opt { padding: 10px 12px; }
  .opt-plan { padding: 8px 12px; }
  .review-row { padding: 9px 0; }
  .review-total { padding-top: 10px; }
  .rv-media { aspect-ratio: 2.8 / 1; }
  .rv-row { padding: 6px 0; }
  .rv-title { font-size: 1.35rem; }
}
@media (max-width: 420px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal.pre, .reveal-stagger.pre > * { opacity: 1 !important; transform: none !important; }
  .mask.pre img { clip-path: none !important; transform: none !important; }
  .hero-img img { transform: none !important; }
}
