/* Public landing: charcoal + tomato on warm paper, colours from tokens.css. */
.landing-page { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 system-ui, sans-serif; }
.landing-page * { box-sizing: border-box; }
.landing-page ::selection { background: var(--tomato-light); color: var(--ink); }
.landing-page a { color: var(--tomato-strong); text-underline-offset: 4px; }
.landing-page :is(a, button):focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2; padding: 12px; background: var(--surface); color: var(--ink); }
.skip-link:focus { top: 12px; }

.landing-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 16px max(20px, calc((100% - 1150px) / 2)); background: var(--band); color: var(--on-band); }
.landing-page .brand { font-size: 32px; font-weight: 750; letter-spacing: -.04em; color: var(--on-band); text-decoration: none; }
.brand span { color: var(--tomato); }
.landing-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.landing-header :focus-visible { outline-color: var(--on-band); }
.landing-page:not(:has(.rail)) .appearance-bar { padding-inline: max(20px, calc((100% - 1150px) / 2)); }
.language-switch { display: flex; margin: 0; border: 1px solid var(--band-line); border-radius: 8px; }
.language-switch button { min-width: 44px; min-height: 44px; padding: 6px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--on-band); font: inherit; font-size: 14px; letter-spacing: .04em; cursor: pointer; }
.language-switch button:hover { background: var(--band-hover); }
.language-switch button[aria-pressed=true] { background: var(--band-accent); text-decoration: underline 2px var(--on-band); text-underline-offset: 5px; } /* the pale light fill alone is not a 3:1 state */

.landing-page .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--field); border-radius: 8px; font-weight: 650; text-decoration: none; text-align: center; color: var(--ink); background: var(--surface); }
.landing-page .button:hover { background: var(--tomato-light); }
.landing-page .button.primary { background: var(--tomato-strong); border-color: var(--tomato-strong); color: var(--on-accent); }
.landing-page .button.primary:hover { background: var(--tomato-deep); }
.landing-header .button.ghost { background: transparent; border-color: var(--band-line); color: var(--on-band); }
.landing-header .button.ghost:hover { background: var(--band-hover); }
.landing-page .button.large { min-height: 52px; padding: 12px 24px; font-size: 18px; }
@media (max-width: 400px) { .landing-page .button.large { width: 100%; font-size: 16px; } }

main { max-width: 1198px; margin: auto; padding: 0 24px; }
main > section { padding: 56px 0; border-bottom: 1px solid var(--line); }
main > section:last-child { border-bottom: 0; }
.landing-page h1, .landing-page h2, .landing-page h3 { line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: balance; }
.landing-page h2 { font-size: 30px; margin: 0 0 12px; }
.landing-page h3 { font-size: 20px; margin: 0 0 8px; }
.landing-page p { margin: 0 0 12px; }
.section-intro, .landing-page .steps p, .fine-print { color: var(--muted); max-width: 62ch; }

.hero { padding-top: 72px; }
.eyebrow { font-size: 14px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--tomato-strong); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); max-width: 16ch; margin: 0 0 20px; }
.lede { font-size: 20px; color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .brand-intro { margin-top: 40px; }
.hero .fi-stage { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 3px solid var(--charcoal); }
.steps li::before { content: counter(step); display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--tomato-strong); }

/* The Foodie card (_plan_card.html, BUR-2139: one offering, Mat's 2026-10-20 card design). It answers to the room its section has
   (@container below), not the screen: the plan page loses 96px to the rail. Narrow: one stacked column, icon tile | name | price
   in one row. From 640px the tile and price share a row with the name under them. From 760px the card reads in two columns: price,
   terms and actions left, what it includes right. Feature list with round green checks; a coming-soon feature has an empty ring and
   an amber pill instead. Light cards in Light, near-black cards in Dark (card tokens). All text is AA on --price-card in both themes. */
section:has(> .plan-grid) { container-type: inline-size; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 24px 0 16px; }
.plan { --card: var(--price-card); --card-line: var(--price-line); --support: var(--price-support);
  display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--card-line); border-radius: 28px; background: var(--card); color: var(--price-ink); }
.plan.current { border-color: var(--price-ink); box-shadow: inset 0 0 0 1px var(--price-ink); }
.plan-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--card-line); }
.plan-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; }
.plan[data-plan=standard] .plan-icon { background: var(--price-green-soft); color: var(--price-green-ink); }
.plan-title { min-width: 0; }
.plan-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.landing-page .plan-head h3 { margin: 0; font-size: 22px; color: var(--price-ink); }
.landing-page .plan-subtitle { margin: 4px 0 0; color: var(--support); }
.landing-page .plan-price { margin: 0; text-align: right; white-space: nowrap; }
.price-amount { display: block; font-size: 30px; font-weight: 750; line-height: 1.1; letter-spacing: -.02em; }
.price-unit { display: block; font-size: 15px; color: var(--support); }
.plan-extra { font-weight: 650; }
.landing-page .plan-interval { color: var(--support); font-size: 15px; }
.landing-page .plan-includes { margin: 0 0 8px; font-weight: 650; }
.features { flex: 1; margin: 0 0 20px; padding: 0; list-style: none; }
.features > li { position: relative; padding: 8px 0 8px 34px; overflow-wrap: anywhere; }
.features > li::before { content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--price-check); }
.features > li::after { content: ""; position: absolute; left: 8px; top: 13px; width: 5px; height: 10px; border: solid var(--price-check-ink); border-width: 0 2px 2px 0; rotate: 45deg; }
/* Not included yet: no tick, so a held feature never reads as on. */
.features > li.feat-later::before { box-sizing: border-box; border: 2px solid var(--card-line); background: none; }
.features > li.feat-later::after { display: none; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; padding: 0; list-style: none; }
.plan-chip { padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; }
.plan-chip[data-provider=nomnoms] { background: var(--pf-2-bg); color: var(--pf-2); }
.plan-chip[data-provider=hungry_monkey] { background: var(--pf-1-bg); color: var(--pf-1); }
.plan-chip[data-provider=rock_hero] { background: var(--pf-3-bg); color: var(--pf-3); }
.plan-chips.is-soon .plan-chip { text-decoration: line-through; } /* BUR-1714 S1: platforms not switched on yet; the line says Coming soon */
.plan .feat-soon { display: inline-flex; align-items: center; height: 20px; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-text);
  font-size: 11.5px; font-weight: 800; white-space: nowrap; vertical-align: 1px; }
.plan .feat-later small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--support); }
/* Yearly first-month-free offer: the card's pale green tile, AA in both themes. */
.annual-offer { margin: 0 0 20px; padding: 12px 16px; border-radius: 16px; background: var(--price-green-soft); color: var(--price-green-ink); font-weight: 650; }
.annual-offer > p { margin: 0; }
.annual-offer > p + p { margin-top: 6px; }
.plan a { color: var(--price-ink); }
.plan :is(a, button):focus-visible { outline-color: var(--price-ink); }
.plan .button { align-self: flex-start; }
@container (min-width: 640px) {
  .plan { padding: 24px; }
  .plan-head { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon price" "title title"; align-items: start; gap: 16px; }
  .plan-icon { grid-area: icon; width: 56px; height: 56px; border-radius: 16px; }
  .plan-title { grid-area: title; }
  .landing-page .plan-price { grid-area: price; justify-self: end; }
}
@container (min-width: 760px) {
  .plan-grid.single .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 40px; align-items: start; padding: 32px; }
  .plan-grid.single .plan > * { grid-column: 1; }
  .plan-grid.single .plan > .plan-body { grid-column: 2; grid-row: 1 / span 2; }
  .plan-grid.single .features { margin-bottom: 0; }
}
.fine-print { font-size: 14px; }

.landing-footer { padding: 24px max(20px, calc((100% - 1150px) / 2)); background: var(--band); color: var(--on-band); font-size: 14px; }
.landing-footer p { margin: 0; }
.landing-footer a { color: var(--on-band); }
/* v2.7.0 S9 (BUR-7547): the footer email link's hit area reaches the 24 px WCAG 2.2 minimum; inline padding moves no text. */
.landing-footer p a { padding-block: 4px; }
.landing-footer :focus-visible { outline-color: var(--on-band); }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  main { padding: 0 16px; }
  main > section { padding: 40px 0; }
  .hero { padding-top: 40px; }
  .lede { font-size: 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 20px; border-radius: 24px; }
  .plan-head { gap: 12px; }
  .plan-icon { width: 56px; height: 56px; border-radius: 16px; }
  .landing-page .plan-head h3 { font-size: 20px; }
  .price-amount { font-size: 26px; }
  .plan .button, .hero-actions .button { width: 100%; align-self: stretch; }
}
@media (forced-colors: active) { :is(.plan-chip, .feat-soon) { border: 1px solid CanvasText; } }
@media (prefers-reduced-motion: reduce) { .landing-page * { transition: none !important; scroll-behavior: auto !important; } }
