/* ReciBot marketing site. Tokens mirror the app: lib/ui/themes.dart (green, light) and lib/ui/styles.dart. */
:root {
  color-scheme: light; /* the site has no dark theme yet; stops browsers' forced dark from repainting it */
  --bg: #f2ebe4;          /* bg1 */
  --bg-2: #e3d8cc;        /* bg2 */
  --surface: #ffffff;
  --surface-2: #eadfd2;
  --fg: #23302c;
  --fg-2: #7a5c30;
  --grey: #56625d;
  --accent: #0a705d;
  --accent-dark: #0a5e4e;
  --accent-tint: #e1ede5;
  --accent-tint-strong: #d3e6da;
  --amber: #e3a33b;
  --peach: #fce7d2;

  /* Section tints: the page colour drifts between these as you scroll (home page, site.js). Pastel on purpose:
     every one keeps --fg and --grey text above 4.5:1 and leaves white cards standing out. */
  --tint-cream: #f2ebe4;
  --tint-mint: #d5ecdc;
  --tint-lilac: #e6ddf5;
  --tint-butter: #f8e4ae;
  --tint-blush: #f9dacb;
  --page-bg: var(--tint-cream);
  --focus: #0a705d;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r-med: 18px;
  --r-large: 22px;
  --r-xl: 26px;
  --r-pill: 99px;
  /* The leaf: two soft corners, two tight ones. */
  --r-leaf: 40px 12px 40px 12px;

  --shadow-card: 0 18px 44px rgba(35, 48, 44, .14), 0 2px 6px rgba(35, 48, 44, .06);
  --shadow-btn: 0 8px 20px rgba(10, 112, 93, .24);

  --gutter: 16px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background-color: var(--page-bg); }
html.tint-anim { transition: background-color .9s cubic-bezier(.4, 0, .2, 1); }
html[data-tint="mint"] { --page-bg: var(--tint-mint); }
html[data-tint="lilac"] { --page-bg: var(--tint-lilac); }
html[data-tint="butter"] { --page-bg: var(--tint-butter); }
html[data-tint="blush"] { --page-bg: var(--tint-blush); }
body {
  margin: 0;
  background: transparent; /* the page colour lives on <html> so it can animate */
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Kitchen doodles: a faint line pattern (leaf, sparkle, spoon, squiggle, dots) fixed behind every page. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200' fill='none' stroke='%2323302c' stroke-opacity='.06' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 52c0-16 11-27 27-27 0 16-11 27-27 27zM22 52l15-15'/%3E%3Cpath d='M140 22c1.6 7.5 4.4 10.4 12 12-7.6 1.6-10.4 4.4-12 12-1.6-7.6-4.4-10.4-12-12 7.6-1.6 10.4-4.5 12-12z'/%3E%3Cellipse cx='150' cy='122' rx='7' ry='10'/%3E%3Cpath d='M150 132v32'/%3E%3Cpath d='M18 122q9-11 18 0t18 0t18 0'/%3E%3Ccircle cx='96' cy='84' r='2'/%3E%3Ccircle cx='186' cy='76' r='2'/%3E%3Ccircle cx='60' cy='176' r='2'/%3E%3Ccircle cx='104' cy='160' r='3.5'/%3E%3C/svg%3E") 0 0 / 200px 200px;
}
@media (min-width: 880px) { body::before { background-size: 240px 240px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Pre-launch switch: store-only content stays hidden until <body data-store-live="true">. */
body[data-store-live="false"] [data-store-only] { display: none !important; }
/* The launch signup shows only until the app is on the store. */
body[data-store-live="true"] [data-prelaunch-only] { display: none !important; }
/* Launch banner, top of every page (launch plan 3.2). Dismissed once, it stays hidden (site.js). Not on iPhone or iPad:
   Safari shows Apple's Smart App Banner there (the apple-itunes-app meta), and two banners would stack. */
.top-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 44px 8px 16px; position: relative;
  background: var(--accent-tint); color: var(--accent-dark); font-size: .9375rem; line-height: 1.35; text-align: center; }
.top-banner p { margin: 0; }
.top-banner a { font-weight: 600; color: var(--accent-dark); }
.top-banner-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: transparent; color: var(--accent-dark); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.top-banner-close:hover { background: var(--accent-tint-strong); }
.top-banner-close:active { opacity: .6; }
@media (max-width: 480px) { .top-banner-more { display: none; } }
html.no-top-banner .top-banner { display: none; }
@supports (-webkit-touch-callout: none) { .top-banner { display: none; } }
/* Desktop store card (#5705): on a window wide enough for it to sit in the page margin, with a mouse, site.js adds a
   small QR card in the bottom corner and html.has-qr-card, and the card takes the top banner's place, so one store
   prompt shows at a time and it covers no content (the .wrap column is 1120px; 1400px leaves a 140px margin). The QR is
   the App Store link tagged ct=web-qr (img/qr-app-store.svg); the banner's close hides it for good too. */
.qr-card { display: none; }
@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
  html.has-qr-card .top-banner { display: none; }
  .qr-card { display: block; position: fixed; right: 12px; bottom: 16px; z-index: 20; width: 128px; padding: 10px 10px 12px;
    background: var(--surface); color: var(--fg); border-radius: var(--r-med); box-shadow: var(--shadow-card);
    font-size: .75rem; line-height: 1.35; text-align: center; }
  html.no-top-banner .qr-card { display: none; }
}
@supports (-webkit-touch-callout: none) { .qr-card { display: none !important; } }
.qr-card img { display: block; width: 108px; height: 108px; margin: 0 auto 8px; padding: 8px; background: #fff;
  border-radius: 10px; box-shadow: inset 0 0 0 1px var(--bg-2); }
.qr-card p { margin: 0; }
.qr-card strong { display: block; margin-bottom: 2px; font-size: .8125rem; font-weight: 600; }
.qr-card a { font-weight: 600; color: var(--accent-dark); }
.qr-card .qr-card-close { top: -10px; right: -10px; transform: none; width: 28px; height: 28px; font-size: 1.125rem;
  background: var(--surface); box-shadow: 0 2px 6px rgba(35, 48, 44, .18); }
.qr-card .qr-card-close:hover { background: var(--accent-tint); }
/* Same switch for the web app: links to /app/ stay hidden until <body data-webapp-live="true">. */
body[data-webapp-live="false"] [data-webapp-only] { display: none !important; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 10;
  background: var(--fg); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; color: var(--fg); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 7.5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.375rem; letter-spacing: -.01em; }
p { margin: 0; }
.why-sub h2 { margin-bottom: 12px; }
.why-sub p { max-width: 40rem; }
.why-sub p + p { margin-top: 10px; }
.lede { font-size: 1.0625rem; color: var(--grey); max-width: 34rem; }
.small { font-size: .875rem; color: var(--grey); }

/* Header */
.site-header { padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex-shrink: 0;
  color: var(--fg); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; white-space: nowrap;
  color: var(--fg); text-decoration: none; font-weight: 500; font-size: .875rem; border-radius: var(--r-pill);
}
.nav a:hover { background: var(--surface-2); color: var(--fg); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-home { display: none; }
.nav .nav-app { background: var(--fg); color: #fff; padding: 0 14px; margin-left: 4px; }
.nav .nav-app:hover { background: #33413c; color: #fff; }
/* Small phones: the menu fits beside the logo without a sideways scroll. */
@media (max-width: 479px) {
  .site-header .wrap { gap: 6px; }
  .nav a { padding: 0 6px; font-size: .8125rem; }
  .nav .nav-app { padding: 0 10px; margin-left: 2px; }
  .brand { font-size: 1.15rem; gap: 6px; }
  .brand img { width: 28px; height: 28px; border-radius: 8px; }
}
/* Below 420px the logo shows without its wordmark, so Pricing, Blog, Support and Open the app fit beside it
   (at 375px the wordmark pushed Open the app 28px off the screen). The link keeps its name: aria-label "ReciBot home". */
@media (max-width: 419px) { .brand:has(img) { font-size: 0; gap: 0; } }
@media (max-width: 359px) { .nav a { padding: 0 4px; } .nav .nav-app { padding: 0 8px; } }
@media (min-width: 600px) {
  .nav .nav-home { display: inline-flex; }
  .nav a { font-size: .9375rem; padding: 0 12px; }
  .brand { font-size: 1.5rem; gap: 10px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
}

/* Buttons: press-scale feedback, no ripples */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-pill);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-quiet { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--bg-2); }
.btn-quiet:hover { background: var(--surface-2); color: var(--fg); }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--accent-tint); color: var(--accent-dark); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-note { font-size: .875rem; color: var(--grey); margin-top: 10px; }
.store-badge { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--grey); font-size: .8125rem; }
.store-badge img { height: 52px; width: auto; }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero .lede { margin: 18px 0 26px; }
.hero-shot { justify-self: center; width: min(270px, 72vw); position: relative; }
.hero-shot::before {
  content: ""; position: absolute; inset: 8% -12% -4% -12%; z-index: -1;
  background: var(--accent-tint-strong); border-radius: var(--r-leaf);
}
.shot { border-radius: var(--r-xl); box-shadow: var(--shadow-card); background: var(--surface); }
@media (min-width: 880px) {
  .hero { padding: 56px 0 88px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero h1 { max-width: 12ch; }
  .hero-shot { width: 330px; }
}

/* Features */
.features { padding-block: 24px 32px; }
.feature { display: grid; gap: 28px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid rgba(35, 48, 44, .1); }
.feature-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 14px 4px 14px 4px; background: rgba(255, 255, 255, .7); color: var(--accent-dark);
  font: 600 .875rem/1 var(--font-body);
}
.feature h2 { margin-bottom: 14px; }
/* Each feature: the familiar feature in plain words, then "Even better with AI" and the AI bullets (Shawn, 2026-10-18). */
.feature-classic { font-size: 1.125rem; line-height: 1.55; color: var(--fg); max-width: 32rem; text-wrap: pretty; }
.ai-label {
  display: inline-flex; align-items: center; gap: 6px; margin: 22px 0 14px; padding: 6px 14px 6px 12px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .72); color: var(--accent-dark);
  font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
.ai-label::before { content: "\2726"; font-size: .9rem; letter-spacing: 0; }
/* Bullets: 18px on phones, 19px on desktop, roomy line height and spacing, full-strength text (Shawn, 2026-10-18). */
.ticks {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 34rem;
  font-size: 1.125rem; line-height: 1.55; color: var(--fg);
}
.ticks li { position: relative; padding-left: 36px; text-wrap: pretty; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 10px 3px 10px 3px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
@media (min-width: 880px) {
  .ticks { font-size: 1.1875rem; gap: 18px; }
  .feature-classic { font-size: 1.1875rem; }
}
.feature-media { justify-self: center; width: min(250px, 68vw); }
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; }
  .feature-media { width: 300px; }
  .feature:nth-child(even) .feature-media { order: -1; }
}

/* App cards drawn in HTML (cook step, grocery list): one family */
.feature-media:has(.mini-card) { width: min(320px, 100%); }
.mini-card {
  background: var(--surface); border-radius: var(--r-leaf); box-shadow: var(--shadow-card);
  padding: 26px 24px 22px; width: 100%;
}
.card-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }

/* Cook mode card, to match the app's cook step */
.cook-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cook-progress { display: flex; gap: 4px; }
.cook-progress span { width: 18px; height: 4px; border-radius: 2px; background: var(--bg-2); }
.cook-progress span.on { background: var(--accent); }
.cook-step { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; letter-spacing: -.015em; margin: 18px 0 22px; }
.cook-step mark { background: var(--peach); color: inherit; border-radius: 6px; padding: 0 .15em; white-space: nowrap; }
.servings {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border-radius: var(--r-pill); padding: 6px; margin-bottom: 14px;
}
.servings span { font-weight: 500; font-size: .9375rem; }
.servings i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); font-style: normal; font-weight: 600; color: var(--accent-dark);
}
.macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.macros div { background: var(--accent-tint); border-radius: var(--r-sm); padding: 8px 2px; }
.macros b { display: block; font-size: .9375rem; font-weight: 600; color: var(--accent-dark); }
.macros small { font-size: .6875rem; color: var(--grey); }

/* Grocery list card, to match the app's list */
.grocery-card .aisle { margin: 16px 0 4px; font-weight: 600; font-size: .9375rem; color: var(--accent-dark); }
.grocery-card ul { list-style: none; margin: 0; padding: 0; }
.grocery-card li {
  display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .9375rem; line-height: 1.3;
  border-bottom: 1px solid var(--bg);
}
.grocery-card li:last-child { border-bottom: 0; }
.grocery-card li i { flex: none; width: 20px; height: 20px; border-radius: 8px 2px 8px 2px; box-shadow: inset 0 0 0 2px var(--bg-2); }
.grocery-card li small { margin-left: auto; color: var(--grey); font-size: .8125rem; text-align: right; }
.grocery-card li.done { color: var(--grey); text-decoration: line-through; }
.grocery-card li.done i {
  box-shadow: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Text sections */
.section { padding-block: 56px; }
.about { background: var(--surface); border-radius: var(--r-leaf); padding: 32px 24px; box-shadow: 0 1px 0 var(--bg-2); }
.about h2 { margin-bottom: 14px; }
.about p { font-size: 1.0625rem; max-width: 46rem; }
.plan-card {
  margin-top: 20px; display: grid; gap: 14px;
  background: var(--accent-tint); border-radius: var(--r-leaf); padding: 32px 24px;
}
.plan-card p { max-width: 42rem; }
@media (min-width: 880px) {
  .about, .plan-card { padding: 48px 56px; }
}

.closing {
  margin: 24px 0 64px; padding: 48px 24px; text-align: center; color: #fff;
  border-radius: var(--r-leaf);
  background: linear-gradient(160deg, #14876f 0%, #0a705d 52%, #075c4c 100%);
}
.closing h2 { color: #fff; max-width: 18ch; margin: 0 auto 10px; }
.closing p { font-size: 1.125rem; margin-bottom: 26px; color: #e1ede5; }
.closing .cta-row { justify-content: center; }
.closing .store-badge { color: #e1ede5; }

/* "Get notified at launch" signup: one field, one button (home page and /go) */
.go.lost { padding: 32px var(--gutter) 96px; } /* .lost's shorthand would drop the gutter */
.go .store-badge { margin-top: 6px; }
.waitlist { max-width: 30rem; margin-top: 22px; }
.closing .waitlist { margin-inline: auto; text-align: left; }
.waitlist-label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: var(--fg); }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist-row input[type="email"] {
  flex: 1 1 14rem; min-width: 0; min-height: 52px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  background: var(--surface); color: var(--fg); font: 400 1rem/1.2 var(--font-body); /* 16px: iOS doesn't zoom */
  box-shadow: inset 0 0 0 1.5px #b9aa98;
}
.waitlist-row input::placeholder { color: #6b6f6b; }
.waitlist-row input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.waitlist-row .btn { flex: 0 0 auto; }
@media (max-width: 479px) { .waitlist-row .btn { flex: 1 1 100%; } }
.waitlist-row .btn[disabled] { opacity: .7; cursor: progress; }
.waitlist-note, .waitlist-msg { font-size: .875rem; color: var(--grey); margin-top: 10px; }
.waitlist-msg { min-height: 1.4em; margin-top: 6px; color: #8a2a1c; font-weight: 500; }
.waitlist-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-done { background: var(--accent-tint); border-radius: var(--r-med); padding: 18px 20px; color: var(--fg); }
.waitlist-done-title { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; margin-bottom: 4px; }
.closing .waitlist-label { color: #fff; }
.closing .waitlist-note { color: #e1ede5; margin-bottom: 0; font-size: .875rem; }
.closing .waitlist-note a { color: #fff; }
.closing .waitlist-msg { color: #ffd9d2; }
.closing .waitlist-done p { color: var(--fg); font-size: 1rem; margin-bottom: 0; }

/* Inner pages */
.page-head { padding: 32px 0 8px; }
.page-head h1 { font-size: clamp(2.1rem, 6.5vw, 3.25rem); }
.page-head .lede { margin-top: 14px; }
.page-head .cta-row { margin-top: 22px; }
.prose { max-width: 44rem; padding-bottom: 64px; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose .steps + p { margin-top: 12px; }
.prose p + p { margin-top: 12px; }

.faq { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; }
.faq details {
  background: var(--surface); border-radius: var(--r-large);
  transition: box-shadow .15s ease;
}
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 16px 52px 16px 20px; position: relative;
  font-weight: 600; font-size: 1rem; line-height: 1.4; border-radius: var(--r-large);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 20px; color: var(--fg); }
.faq .answer p + p { margin-top: 8px; }

.panel { background: var(--surface); border-radius: var(--r-leaf); padding: 28px 24px; margin-top: 40px; }
.panel h2 { font-size: 1.625rem; margin: 0 0 10px; }
.panel .cta-row { margin-top: 18px; }
.bookmarklet {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pill); background: var(--fg); color: #fff; font-weight: 600; text-decoration: none; cursor: grab;
}
.bookmarklet:hover { background: #33413c; color: #fff; }
.bookmarklet-hint { min-height: 1.5em; font-size: .875rem; color: var(--fg-2); }

/* 404 */
.lost { padding: 48px 0 96px; }
.lost .lede { margin: 16px 0 28px; }
.join-steps { margin: 0 0 24px; padding-left: 1.4em; display: grid; gap: 16px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(35, 48, 44, .1); padding: 24px 0 40px; font-size: .9375rem; color: var(--grey); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -10px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--grey); }
.site-footer a:hover { color: var(--fg); }
/* Save recipes from: one link per import guide, on every page (scripts/save_from.py, #5704) */
.site-footer .save-from { display: block; margin: 0 auto 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(35, 48, 44, .08); }
.save-from h2 { margin: 0 0 2px; font-family: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: var(--fg); }
.save-from ul { list-style: none; margin: 0 0 0 -10px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.save-from li { margin: 0; }

/* Guides and comparisons (hubs and article pages; template: scripts/templates/guide.html) */
.crumbs { padding-top: 8px; font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; color: var(--grey); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 4px; color: var(--grey); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-dark); }
.crumbs [aria-current] { color: var(--grey); }
.guide .page-head { padding-top: 12px; }
.guide .page-head h1 { max-width: 20ch; }
.updated { margin-top: 12px; font-size: .875rem; color: var(--grey); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; font-size: 1.125rem; line-height: 1.55; }
.steps li { position: relative; padding-left: 48px; counter-increment: step; text-wrap: pretty; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 12px 4px 12px 4px; background: var(--accent); color: #fff; font: 600 .9375rem/1 var(--font-body);
}
.guide .prose .ticks { max-width: none; }
.related { margin-top: 40px; }
.related h2 { margin-top: 0; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.guide-cta { margin-top: 40px; }
.guide-group { margin-top: 40px; }
.guide-group h2 { font-size: 1.5rem; margin-bottom: 12px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-list li { background: var(--surface); border-radius: var(--r-large); padding: 18px 20px; }
.guide-list a { font-weight: 600; font-size: 1.0625rem; }
.guide-list p { margin-top: 4px; color: var(--grey); }
.empty-state { margin-top: 32px; max-width: 44rem; background: var(--surface); border-radius: var(--r-leaf); padding: 32px 24px; }
.empty-state h2 { font-size: 1.625rem; margin-bottom: 10px; }
.empty-state .cta-row { margin-top: 22px; }
.hub-other { margin: 28px 0 64px; }
.hub-other a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
@media (min-width: 880px) { .empty-state { padding: 40px 44px; } }

/* Blog articles (website/blog/): HeyCatch's article HTML in the guides' type and spacing. */
.blog-list .guide-list .updated { margin-top: 4px; }
.blog-today { margin-top: 10px; font-size: 1rem; color: var(--grey); max-width: 34rem; }
.blog-today a { font-weight: 500; }
.byline { margin-top: 12px; font-size: .875rem; color: var(--grey); }
.blog-maker { margin-top: 40px; }
.blog-maker h2 { font-size: 1.125rem; }
.blog-maker p { margin-top: 8px; color: var(--grey); }
.blog-end { margin-top: 28px; }
.blog-body { padding-bottom: 8px; line-height: 1.6; }
.blog-body > :first-child { margin-top: 24px; }
.blog-body p, .blog-body ul, .blog-body ol, .blog-body blockquote, .blog-body pre, .blog-body figure { margin: 12px 0 0; }
.blog-body ul, .blog-body ol { padding-left: 1.4em; }
.blog-body li + li { margin-top: 6px; }
.blog-body h2 { scroll-margin-top: 16px; }
.blog-body h4 { font-size: 1.0625rem; font-weight: 600; margin: 24px 0 8px; }
.blog-body blockquote { padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--fg-2); }
.blog-body code { font-size: .9em; background: var(--surface-2); border-radius: 6px; padding: 1px 5px; }
.blog-body pre { overflow-x: auto; background: var(--surface); border-radius: 12px; padding: 14px 16px; }
.blog-body pre code { background: none; padding: 0; }
.blog-body table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 16px 0 0; background: var(--surface); border-radius: 12px; }
.blog-body th, .blog-body td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(35, 48, 44, .08); }
.blog-body th { font-weight: 600; }
.toc { margin-top: 24px; background: var(--surface); border-radius: var(--r-large); padding: 18px 20px; }
.prose .toc h2 { font-size: 1.2rem; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc summary { list-style: none; cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; position: relative; padding-right: 32px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .15s ease; }
.toc details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.toc details[open] summary { margin-bottom: 6px; }
.toc li + li { margin-top: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 500; }

/* Comparison tables: apps are rows, scrolls sideways on a phone with the app name pinned. */
.prose.wide { max-width: none; }
.prose.wide > p, .prose.wide > ul, .prose.wide > ol, .prose.wide > .faq, .prose.wide > .note { max-width: 44rem; }
.compare-wrap { overflow-x: auto; margin: 16px 0 8px; border-radius: var(--r-med); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 880px; font-size: .9375rem; line-height: 1.45; }
.compare caption { position: sticky; left: 0; width: min(100%, calc(100vw - 32px)); box-sizing: border-box; text-align: left; padding: 14px 16px 6px; font-weight: 600; color: var(--fg); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--bg-2); }
.compare thead th { background: var(--accent-tint); font-weight: 600; font-size: .875rem; border-top: 0; }
.compare tbody th { font-weight: 600; background: var(--surface); position: sticky; left: 0; min-width: 8.5rem; box-shadow: 1px 0 0 var(--bg-2); }
.compare tr.us th, .compare tr.us td { background: var(--accent-tint); }
.compare tr.us th { box-shadow: inset 4px 0 0 var(--accent), 1px 0 0 var(--bg-2); }
.compare thead th:first-child { position: sticky; left: 0; z-index: 1; }
@media (max-width: 600px) { .compare tbody th { min-width: 6.25rem; padding-inline: 10px; } }
.compare td { color: var(--fg); }
.compare .sub { display: block; margin-top: 2px; font-size: .8125rem; color: var(--grey); }
.scroll-hint { font-size: .875rem; color: var(--grey); margin: 0 0 4px; }
.sources { font-size: .9375rem; color: var(--grey); padding-left: 1.2em; display: grid; gap: 6px; }
.sources a { color: var(--accent-dark); overflow-wrap: anywhere; display: inline-block; padding-block: 6px; }
.facts { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.facts li { background: var(--surface); border-radius: var(--r-med); padding: 14px 18px; }
.facts li .pick { display: block; font-size: 1.0625rem; margin-bottom: 4px; color: var(--fg); }
@media (min-width: 960px) { .scroll-hint { display: none; } }
/* The ranking's cards and the review line under a rival's cell (site readers, 2026-11-22: the cards ran together as
   grey text, and the review counts inside the cells read as a wall). */
.ranklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.ranklist li { display: grid; grid-template-columns: 2.25rem 1fr auto; column-gap: 10px; row-gap: 4px; align-items: baseline;
  background: var(--surface); border-radius: var(--r-med); padding: 14px 16px; }
.ranklist li.us { background: var(--accent-tint); }
.ranklist .pos { font-family: var(--font-display); font-size: 1.375rem; color: var(--accent-dark); }
.ranklist .app { font-weight: 700; font-size: 1.125rem; }
.ranklist .pts { font-size: .9375rem; color: var(--grey); white-space: nowrap; }
.ranklist .why { grid-column: 1 / -1; color: var(--fg); }
.ranklist .why.short { color: var(--grey); font-size: .9375rem; }
.ranklist .why:empty { display: none; }
.ranklist .facts-lines { display: grid; gap: 2px; }
.ranklist .why.falls { margin-top: 6px; }
.ranklist .why b { color: var(--fg); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ranklist .fact b { color: var(--fg); font-weight: 600; }
.weights { list-style: none; padding: 0; margin: 12px 0 4px; display: grid; gap: 0; max-width: 32rem; }
.weights li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(35, 48, 44, .12); }
.weights .w { font-weight: 700; font-variant-numeric: tabular-nums; }
.fold { margin-top: 12px; }
.fold > summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); padding: 12px 16px; background: var(--surface);
  border-radius: var(--r-med); list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: " ▾"; content: " ▾" / ""; }
.fold[open] > summary::after { content: " ▴"; content: " ▴" / ""; }
.compare .rv { display: block; margin-top: 6px; font-size: .8125rem; color: var(--grey); }
.table-note { font-size: .9375rem; color: var(--grey); }

/* Pricing page: three plan cards, stacked on a phone (HeyCatch D4.1, D4.2). */
.compare.compare-fit { min-width: 0; }
/* Phone: a comparison table read as one card per row, each cell under its column's name, instead of a sideways swipe
   (site readers round one, 2026-11-22: all three readers lost the clipped columns). */
@media (max-width: 600px) {
  .compare.stack { min-width: 0 !important; }
  .compare.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare.stack tbody tr { display: block; border-top: 1px solid var(--bg-2); padding: 6px 0 10px; }
  .compare.stack tbody th, .compare.stack tbody td { display: block; position: static; min-width: 0; border-top: 0; box-shadow: none; padding: 6px 16px 0; }
  .compare.stack tbody th { font-size: 1.0625rem; padding-top: 10px; }
  .compare.stack td[data-label]::before { content: attr(data-label); display: block; font-size: .875rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 2px; }
  .compare.stack td + td { margin: 10px 16px 0; padding: 10px 0 0; border-top: 1px dashed var(--bg-2); }
  .scroll-hint.stack-hint { display: none; }
}
.tiers { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 880px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.tier { background: var(--surface); border-radius: var(--r-leaf); padding: 28px 24px; box-shadow: 0 1px 0 var(--bg-2); }
.tier h2 { font-size: 1.375rem; }
.tier-pick { background: var(--accent-tint); box-shadow: inset 0 0 0 2px var(--accent); }
.tier-tag { display: inline-block; margin-bottom: 8px; font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.tier-price { margin: 8px 0 4px; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--fg); }
.tier-price span { font-family: var(--font-body); font-size: 1rem; color: var(--grey); }
.tier-note { font-size: .9375rem; color: var(--fg); }
.tier .ticks { margin-top: 14px; }
.tier-foot { margin-top: 14px; max-width: 46rem; }
