/* Marketing site + public recipe pages. No framework, no web fonts: fast first paint. */
:root {
  --bg: #fbfaf6; --surface: #fff; --surface-2: #f1eee6; --text: #1c211e; --muted: #5f6a63; --border: #e3ded2;
  --accent: #2f7d4f; --accent-ink: #fff; --accent-soft: #e3f2e8; --warm: #f28c38;
  --radius: 16px; --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 10px 30px rgb(0 0 0 / .08);
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111513; --surface: #1a1f1c; --surface-2: #232a26; --text: #eaeeeb; --muted: #9fa9a3; --border: #2d3530; --accent: #5cbf83; --accent-ink: #0d1a12; --accent-soft: #1d3326; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .8rem; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.fine { font-size: .85rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--surface); padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 650; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.06); }
.btn-lg { min-height: 52px; padding: .8rem 1.4rem; font-size: 1.05rem; }

.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; padding: .7rem 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 750; color: var(--text); text-decoration: none; }
.site-header nav { display: flex; gap: 1.2rem; margin-left: auto; }
.site-header nav a { color: var(--text); text-decoration: none; font-weight: 550; }
.site-header nav a:hover { color: var(--accent); }
@media (max-width: 640px) { .site-header nav { display: none; } .site-header .btn { margin-left: auto; } }

.hero { padding: clamp(2rem, 6vw, 5rem) 0 2rem; }
.hero-grid, .feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.phone { width: 100%; max-width: 330px; justify-self: center; border-radius: 36px; border: 8px solid #1c211e; box-shadow: var(--shadow); background: var(--surface); }
.badges { display: flex; gap: .6rem; flex-wrap: wrap; margin: .75rem 0; }
.store-badge { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-weight: 650; font-size: .9rem; }
@media (max-width: 820px) { .hero-grid, .feature-grid { grid-template-columns: 1fr; } .phone { max-width: 280px; } }

.strip { padding: 1.5rem 0; background: var(--surface); border-block: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-grid div { display: flex; flex-direction: column; }
.strip-grid span { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }

.feature { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.feature.flip .feature-grid > div { order: 2; }
@media (max-width: 820px) { .feature.flip .feature-grid > div { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.8rem; margin: .45rem 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.two-col { columns: 2; column-gap: 2rem; }
@media (max-width: 640px) { .two-col { columns: 1; } }

.how { padding: 4rem 0; background: var(--accent-soft); text-align: center; }
.steps3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; counter-reset: s; text-align: left; }
.steps3 li { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; counter-increment: s; display: flex; flex-direction: column; gap: .3rem; }
.steps3 li::before { content: counter(s); width: 32px; height: 32px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
@media (max-width: 720px) { .steps3 { grid-template-columns: 1fr; } }

.pricing { padding: 4rem 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 860px; margin: 2rem auto 0; }
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.plan-card .btn { margin-top: auto; }
.plan-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price { font-size: 2.4rem; font-weight: 800; margin: .2rem 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.pricing h2 { text-align: center; }

.faq { padding: 3rem 0; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1.1rem; margin: .6rem 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }

.final-cta { padding: 4rem 0; text-align: center; background: var(--surface); border-top: 1px solid var(--border); }
.page-head { padding: 3rem 0 1rem; }
.prose { padding: 3rem 20px; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.more { padding: 3rem 20px; }

.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1.5rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-grid nav a { color: var(--muted); text-decoration: none; }
.footer-grid nav a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Public recipe pages (/r/…) */
.recipe-page .site-header .btn { margin-left: auto; }
.recipe-page article { padding: 1.5rem 0; }
.recipe-page .hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); padding: 0; }
.recipe-page .facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; }
.recipe-page .facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .4rem .8rem; }
.recipe-page .ingredients li, .recipe-page .steps li { margin: .35rem 0; }
.recipe-page .muted { color: var(--muted); }
.recipe-page .callout, .recipe-page .cta { background: var(--accent-soft); border-radius: var(--radius); padding: 1.25rem; }
.recipe-page .cta { margin: 2rem 0 3rem; }
.recipe-page .site-footer { text-align: center; color: var(--muted); }
