/* RosemaryEats marketing site. Retro 70s print look, same tokens as the app (apps/mobile/src/theme.ts).
   Single theme on purpose: the brand looks the same in light and dark mode. */
/* Fonts are self-hosted (no Google Fonts request). */
@font-face { font-family: 'Shrikhand'; font-weight: 400; font-display: swap; src: url(assets/fonts/shrikhand-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url(assets/fonts/figtree-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 500; font-display: swap; src: url(assets/fonts/figtree-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url(assets/fonts/figtree-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-display: swap; src: url(assets/fonts/figtree-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 800; font-display: swap; src: url(assets/fonts/figtree-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 400; font-display: swap; src: url(assets/fonts/dm-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 500; font-display: swap; src: url(assets/fonts/dm-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --butter: #FFF3D6; --paper: #FFFBF1; --plum: #3A1F5C; --plum-soft: #6E5A8C;
  --lilac: #CDB9F5; --apricot: #FFB892; --tangerine: #F07A45; --lemon: #FFE07A; --line: #E7D6B8;
  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --r: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--butter); color: var(--plum); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--tangerine); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #8E6CD8; outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--lemon); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(32px, 4.6vw, 50px); }
h3 { font-size: 20px; font-weight: 800; line-height: 1.25; }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-soft); }
.hint { color: var(--plum-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 8px; border: 2px solid var(--plum); border-radius: 999px; padding: 11px 22px; font-weight: 800; text-decoration: none; background: var(--paper); box-shadow: 4px 4px 0 var(--plum); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--plum); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--plum); }
.btn.primary { background: var(--tangerine); color: var(--plum); }
.btn.big { font-size: 18px; padding: 15px 28px; }
.btn.small { min-height: 40px; padding: 7px 16px; font-size: 15px; box-shadow: 3px 3px 0 var(--plum); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta.center { justify-content: center; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--butter) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 2px solid var(--plum); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 26px; line-height: 1; }
.top nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; }
.btn { white-space: nowrap; }
@media (max-width: 760px) { .hide-sm { display: none; } .logo span { font-size: 22px; } }
@media (max-width: 480px) { .logo { gap: 7px; } .logo img { width: 40px; height: 29px; } .logo span { font-size: 19px; } .top .btn.small { padding: 6px 12px; font-size: 14px; } }
@media (max-width: 350px) { .logo span { display: none; } }

/* hero */
.hero { border-bottom: 2px solid var(--plum); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: clamp(44px, 7vw, 82px); margin-top: 12px; }
.hero h1 .hl { display: block; color: var(--tangerine); -webkit-text-stroke: 2px var(--plum); paint-order: stroke fill; }
.lede { margin-top: 20px; font-size: 20px; max-width: 36ch; }
.fine { margin-top: 16px; font-size: 15px; color: var(--plum-soft); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; padding-block: 40px 56px; } }
.band { height: 34px; background: linear-gradient(var(--lilac) 0 25%, var(--lemon) 0 50%, var(--apricot) 0 75%, var(--tangerine) 0); border-top: 2px solid var(--plum); }

/* phone mock */
.phone { background: var(--butter); border: 3px solid var(--plum); border-radius: 36px; box-shadow: 10px 10px 0 var(--plum); padding: 16px; max-width: 420px; justify-self: center; width: 100%; min-width: 0; }
.phone-bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; border-bottom: 2px solid var(--plum); font-family: var(--display); font-size: 20px; }
.chat { display: grid; gap: 12px; padding: 16px 2px; }
.msg { border: 2px solid var(--plum); border-radius: 18px; padding: 10px 14px; font-size: 15px; line-height: 1.45; max-width: 92%; }
.msg.me { justify-self: end; background: var(--plum); color: var(--butter); border-bottom-right-radius: 6px; }
.msg.bot { background: var(--paper); border-bottom-left-radius: 6px; display: grid; gap: 8px; }
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: d; }
.week li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.week li span::before { counter-increment: d; content: counter(d) "  "; font-family: var(--mono); font-size: 12px; color: var(--plum-soft); }
.week b, .total b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total { display: flex; justify-content: space-between; font-weight: 800; border-top: 2px dashed var(--line); padding-top: 6px; }
.phone-input { border: 2px solid var(--plum); border-radius: 999px; padding: 10px 16px; background: var(--paper); color: var(--plum-soft); font-size: 15px; }
.phone-note { margin-top: 10px; font-size: 12.5px; color: var(--plum-soft); text-align: center; }

/* sections */
section { padding-block: 80px; }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 680px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { border-top: 3px solid var(--plum); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lemon); border: 2px solid var(--plum); font-family: var(--display); font-size: 19px; }
.steps li:nth-child(2)::before { background: var(--apricot); }
.steps li:nth-child(3)::before { background: var(--lilac); }
.steps li:nth-child(4)::before { background: var(--tangerine); }
.steps p { color: var(--plum-soft); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.features-bg { background: var(--paper); border-block: 2px solid var(--plum); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature { border: 2px solid var(--plum); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; box-shadow: 5px 5px 0 var(--plum); }
.feature h3 { font-family: var(--display); font-weight: 400; font-size: 30px; }
.feature.lemon { background: var(--lemon); } .feature.lilac { background: var(--lilac); }
.feature.apricot { background: var(--apricot); } .feature.paper { background: var(--butter); }
@media (max-width: 680px) { .features { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 820px; }
.plan { background: var(--paper); border: 2px solid var(--plum); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; }
.plan.pick { background: var(--lemon); box-shadow: 6px 6px 0 var(--plum); }
.price { font-family: var(--display); font-size: 58px; line-height: 1; }
.price small { font-family: var(--body); font-size: 17px; font-weight: 600; color: var(--plum-soft); }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq details { background: var(--paper); border: 2px solid var(--plum); border-radius: 14px; padding: 14px 18px; }
.faq summary { font-weight: 800; cursor: pointer; min-height: 28px; }
.faq details p { margin-top: 8px; color: var(--plum-soft); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

.final { background: var(--lilac); border-top: 2px solid var(--plum); }
.final-in { display: grid; justify-items: center; gap: 18px; text-align: center; }

footer { border-top: 2px solid var(--plum); padding-block: 28px calc(28px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--plum-soft); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* simple pages (app/, privacy/) */
.page { max-width: 760px; margin: 0 auto; padding: 56px max(20px, env(safe-area-inset-left)) 80px; display: grid; gap: 22px; }
.page h1 { font-size: clamp(38px, 6vw, 58px); }
.card { background: var(--paper); border: 2px solid var(--plum); border-radius: var(--r); padding: 26px; box-shadow: 6px 6px 0 var(--plum); display: grid; gap: 14px; }
.card ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
