/* A que sí puedo: one stylesheet for the whole site. Colors are the app's tokens (SPEC "Design tokens");
   dark mode uses the cook-mode palette. No external resources: the CSP only allows 'self'. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --tomate: #c8341c;
  --accent-text: #b42f18;
  --saffron: #f4b740;
  --ink: #221a15;
  --bg: #fbf8f4;
  --surface: #ffffff;
  --text: #221a15;
  --secondary: #6b5d53;
  --line: #eae2d9;
  --tint: #fbe6de;
  --on-accent: #ffffff;
  /* Category families (shared/tokens/tokens.json); the dark values are the website's own until the apps
     get dark family tokens. */
  --savory-bg: #fbe6de; --savory-fg: #b42f18;
  --greens-bg: #e4eedd; --greens-fg: #3b6a47;
  --baked-bg: #fbefd2; --baked-fg: #8a5e06;
  --drinks-bg: #dfebee; --drinks-fg: #2c6170;
  --shadow: 0 18px 50px rgb(34 26 21 / 0.16);
  /* Cook mode (the landing's cook card and timers band): dark in both themes, darker still on a dark page. */
  --cook-bg: #1c1511; --cook-surface: #2e241e; --cook-line: #4a3b31; --cook-text: #fbf8f4; --cook-muted: #b8a89b;
  /* Keyboard focus ring: at least 3:1 against the page and the cards (WCAG 1.4.11). */
  --focus: #b42f18;
  --radius-card: 20px;
  --radius-large: 24px;
  --gutter: 16px;
  --heading: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1511;
    --surface: #2e241e;
    --text: #fbf8f4;
    --secondary: #b8a89b;
    --line: #4a3b31;
    --accent-text: #f4b740;
    --tint: #3a2a20;
    --focus: #f4b740;
    --savory-bg: #3e231a; --savory-fg: #f5a48f;
    --greens-bg: #213226; --greens-fg: #a6d1ae;
    --baked-bg: #3a2e14; --baked-fg: #f4cf7a;
    --drinks-bg: #182d33; --drinks-fg: #93c9d6;
    --shadow: 0 18px 50px rgb(0 0 0 / 0.45);
    --cook-bg: #120d0a; --cook-surface: #261d18;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--body);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-text); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--heading); font-weight: 800; line-height: 1.15; margin: 1.6em 0 0.5em; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin-top: 0.4em; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p, ul { margin: 0 0 1em; }
li + li { margin-top: 0.35em; }

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

/* Header: brand and language switcher. */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand img { border-radius: 10px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px; }
.langs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.langs a:hover { color: var(--text); }

/* Language sections. Without :has() every language shows, one after another. With it, one shows:
   Spanish by default, or the one the URL fragment names or points inside (#en, #pt, #fr, #it). lang.js picks the
   visitor's browser language when the URL has no fragment. */
.lang + .lang { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
.lang { scroll-margin-top: 100vh; } /* Jumping to #en keeps the page at the top. */

@supports selector(:has(*)) {
  .lang:not(:first-of-type) { display: none; }
  /* A fragment can also name a heading inside a language (/privacy#delete-account): that language shows. */
  main:has(> .lang:target, > .lang :target) > .lang { display: none; }
  main:has(> .lang:target, > .lang :target) > .lang:is(:target, :has(:target)) { display: block; border-top: 0; margin-top: 0; padding-top: 0; }
  :root:not(:has(.lang:target, .lang :target)) .langs a[href="#es"],
  :root:has(#es:target, #es :target) .langs a[href="#es"],
  :root:has(#en:target, #en :target) .langs a[href="#en"],
  :root:has(#pt:target, #pt :target) .langs a[href="#pt"],
  :root:has(#fr:target, #fr :target) .langs a[href="#fr"],
  :root:has(#it:target, #it :target) .langs a[href="#it"] { background: var(--tint); color: var(--text); }
}


/* Landing (cocinaNow). A warm kitchen page whose hero is a working cook-mode card over a dish; the dark cook palette
   returns once, for timers, and a tomato band closes the page. Every section is full width and centers its content
   in .wrap.wide. */
.wrap.wide { max-width: 1160px; }
.landing main { overflow-x: clip; } /* The tilted photo and sticker never widen the page. */
.landing .lang + .lang { border-top: 0; }
.landing section[id] { scroll-margin-top: 12px; }

/* The wordmark: always "cocinaNow", "Now" in tomato (saffron on dark and on the tomato band). */
.wm { font-family: var(--heading); font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
.wm b { color: var(--tomate); font-weight: 800; }
@media (prefers-color-scheme: dark) {
  .wm b, .landing .hero h1 em { color: var(--saffron); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:focus-visible, .landing button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn-ink { min-height: 44px; padding: 0 18px; background: var(--text); color: var(--bg); }
.btn-primary { min-height: 54px; padding: 0 26px; background: var(--tomate); color: var(--on-accent); font-size: 1.05rem; box-shadow: 0 8px 22px rgb(200 52 28 / 0.28); }
.btn-primary:hover { filter: brightness(1.06); }
.btn .icon { flex: none; }

/* Header: brand, the section links (desktop), languages and sign-in. One set of section links and one sign-in label
   per language: the language that shows on the page. */
.landing .site-header { flex-wrap: nowrap; gap: 8px 20px; border-bottom: 0; }
.landing .brand { font-size: 1.55rem; gap: 10px; }
.landing .brand img { border-radius: 11px; }
.header-end { display: flex; align-items: center; gap: 8px; }
.landing .langs { flex-wrap: nowrap; gap: 0; }
.landing .langs a { justify-content: center; min-width: 44px; padding: 0 10px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section-nav { display: flex; gap: 2px; margin-left: auto; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--secondary); font-size: 0.95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-nav a:hover { color: var(--text); background: var(--tint); }
.signin:not([data-lang="es"]), .section-nav:not([data-lang="es"]) { display: none; }
@supports selector(:has(*)) {
  :root:has(#en:target, #en :target) :is(.signin, .section-nav)[data-lang="es"],
  :root:has(#pt:target, #pt :target) :is(.signin, .section-nav)[data-lang="es"],
  :root:has(#fr:target, #fr :target) :is(.signin, .section-nav)[data-lang="es"],
  :root:has(#it:target, #it :target) :is(.signin, .section-nav)[data-lang="es"] { display: none; }
  :root:has(#en:target, #en :target) :is(.signin, .section-nav)[data-lang="en"],
  :root:has(#pt:target, #pt :target) :is(.signin, .section-nav)[data-lang="pt"],
  :root:has(#fr:target, #fr :target) :is(.signin, .section-nav)[data-lang="fr"],
  :root:has(#it:target, #it :target) :is(.signin, .section-nav)[data-lang="it"] { display: flex; }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Not uppercased: it names cocinaNow, which is always written that way. */
.hero-eyebrow { text-transform: none; letter-spacing: 0.01em; font-size: 0.95rem; }
.landing h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.landing h3 { margin: 0; letter-spacing: -0.01em; }
.hero-note { font-size: 0.95rem; color: var(--secondary); max-width: 34em; }

/* Hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 56px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; }
/* "paso a paso" with a saffron stroke under it; a background, so it follows the words when they wrap. */
.hero h1 em {
  font-style: normal;
  color: var(--tomate);
  background: linear-gradient(rgb(244 183 64 / 0.7), rgb(244 183 64 / 0.7)) no-repeat 0 86% / 100% 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lead { margin: 0; font-size: 1.22rem; color: var(--secondary); max-width: 31em; }
.hero .lead strong { color: var(--text); }
.landing .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 28px 0 0; }
.store-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 24px 0 12px; list-style: none; color: var(--secondary); font-size: 0.92rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }

/* The live cook card over the dish. */
.stage { position: relative; padding: 26px 0 34px 34px; }
.stage-photo { position: absolute; top: 0; left: 0; width: 64%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; transform: rotate(-5deg); box-shadow: var(--shadow); }
.cook {
  --focus: var(--saffron);
  position: relative;
  width: min(100%, 400px);
  margin-left: auto;
  padding: 20px 20px 18px;
  border: 1px solid var(--cook-line);
  border-radius: 30px;
  background: var(--cook-bg);
  color: var(--cook-text);
  box-shadow: 0 30px 70px rgb(34 26 21 / 0.35);
}
.cook-top { display: flex; align-items: center; gap: 12px; }
.cook-x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--cook-line); border-radius: 50%; color: var(--saffron); }
.cook-id { min-width: 0; }
.cook-id p { margin: 0; }
.cook-title { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.cook-code { padding: 2px 8px; border-radius: 999px; background: #fbe6de; color: #b42f18; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.cook-sub { color: var(--cook-muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.cook-bar { height: 6px; margin: 16px 0 18px; border-radius: 99px; background: var(--cook-line); overflow: hidden; }
.cook-bar i { display: block; width: 25%; height: 100%; border-radius: 99px; background: var(--saffron); transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cook[data-step="2"] .cook-bar i { width: 50%; }
.cook[data-step="3"] .cook-bar i { width: 75%; }
.cook[data-step="4"] .cook-bar i, .cook[data-step="5"] .cook-bar i { width: 100%; }
/* Every step sits in the same cell, so the card is as tall as its longest step and never jumps. */
.cook-steps { display: grid; }
.cook-step { grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.cook-step:not(.is-on) { visibility: hidden; }
.cook-text { margin: 0; font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
.cook-ings { align-self: end; padding: 12px 14px; border: 1px solid var(--cook-line); border-radius: 16px; background: var(--cook-surface); }
.cook-ings p { margin: 0 0 6px; color: var(--cook-muted); font-size: 0.82rem; font-weight: 600; }
.cook-ings ul { margin: 0; padding: 0; list-style: none; }
.cook-ings li { display: flex; gap: 10px; margin: 0; font-size: 0.95rem; line-height: 1.4; }
.cook-ings li + li { margin-top: 4px; }
.cook-ings li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: var(--saffron); }
.cook-done { grid-template-rows: none; align-content: center; gap: 8px; }
.cook-done p { margin: 0; color: var(--cook-muted); }
.cook-done .cook-done-title { color: var(--saffron); font-family: var(--heading); font-size: 2.1rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.cook-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cook-nav button { min-height: 50px; padding: 0 10px; border-radius: 16px; font: inherit; font-weight: 700; line-height: 1.15; cursor: pointer; }
.cook-prev { border: 1.5px solid var(--saffron); background: transparent; color: var(--saffron); }
.cook-next { border: 0; background: var(--saffron); color: #221a15; }
.cook-nav button:disabled { opacity: 0.35; cursor: default; }
.sticker {
  position: absolute;
  left: 6px;
  bottom: 0;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--saffron);
  color: #221a15;
  font-family: var(--heading);
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(-6deg);
  box-shadow: var(--shadow);
  pointer-events: none; /* Decoration: taps go to the buttons it may overlap. */
}

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.stats li { display: grid; gap: 2px; justify-items: start; margin: 0; padding: 22px 8px; }
.stats li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.stats strong { font-family: var(--heading); font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--secondary); font-weight: 600; }

/* Sections */
.block { padding: 72px 0; }
.head { display: grid; gap: 12px; max-width: 40em; margin-bottom: 36px; }
.head .eyebrow { margin: 0; }
.head p:not(.eyebrow) { margin: 0; color: var(--secondary); font-size: 1.12rem; }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.how li { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; margin: 0; padding: 22px 22px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.how-n { color: var(--accent-text); font-family: var(--heading); font-weight: 800; font-size: 0.95rem; }
.how h3 { font-size: 1.55rem; line-height: 1.1; }
.how p { margin: 0; color: var(--secondary); }
.how .shot { margin-top: 14px; aspect-ratio: 402 / 470; overflow: hidden; border: 7px solid #221a15; border-bottom: 0; border-radius: 30px 30px 0 0; background: #221a15; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.timers { --focus: var(--saffron); background: var(--cook-bg); color: var(--cook-text); }
.timers .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 40px; align-items: center; padding-top: 72px; }
.timers .eyebrow { color: var(--saffron); }
.timers h2 { margin: 12px 0 14px; }
.timers .copy { margin: 0; color: var(--cook-muted); font-size: 1.12rem; max-width: 30em; }
.timer-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 72px; padding: 0; list-style: none; }
.timer-chips li { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 10px; border: 1px solid var(--cook-line); border-radius: 999px; background: var(--cook-surface); font-weight: 700; }
.timer-chips time { color: var(--saffron); font-family: var(--heading); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.dial { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--saffron) var(--p), var(--cook-line) 0); }
.dial-1 { --p: 62%; }
.dial-2 { --p: 30%; }
.dial-3 { --p: 85%; }
.timers .shot { justify-self: center; align-self: end; width: 100%; max-width: 360px; aspect-ratio: 402 / 560; overflow: hidden; border: 8px solid #000; border-bottom: 0; border-radius: 40px 40px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; }
.family-savory { background: var(--savory-bg); color: var(--savory-fg); }
.family-greens { background: var(--greens-bg); color: var(--greens-fg); }
.family-baked { background: var(--baked-bg); color: var(--baked-fg); }
.family-drinks { background: var(--drinks-bg); color: var(--drinks-fg); }

.web { padding-top: 0; }
.web .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.web-copy { display: grid; gap: 14px; justify-items: start; }
.web-copy p { margin: 0; }
.web-copy > p:not(.eyebrow):not(.hero-note) { color: var(--secondary); font-size: 1.12rem; }
.web-copy .eyebrow { margin: 0; }
.browser { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-body { display: grid; grid-template-columns: 130px minmax(0, 1fr); }
.browser-nav { display: grid; gap: 4px; align-content: start; margin: 0; padding: 14px 10px; list-style: none; border-right: 1px solid var(--line); color: var(--secondary); font-size: 0.88rem; font-weight: 600; }
.browser-nav li { margin: 0; padding: 6px 10px; border-radius: 10px; }
.browser-nav li:first-child { background: var(--tint); color: var(--text); }
.browser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 14px; list-style: none; }
.browser-grid li { display: grid; gap: 6px; align-content: start; margin: 0; font-size: 0.85rem; font-weight: 700; line-height: 1.25; }
.browser-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

.more { padding-top: 0; }
.more h2 { margin-bottom: 8px; font-size: 1.35rem; }
.more ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.more li { display: grid; gap: 4px; align-content: start; margin: 0; padding: 22px 20px 0 0; }
.more strong { font-family: var(--heading); font-size: 1.2rem; }
.more span { color: var(--secondary); }

/* The tomato band: the name, the tagline and the stores. */
.closing { --focus: #ffffff; background: var(--tomate); color: #ffffff; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; padding-top: 64px; padding-bottom: 64px; }
.closing .wm { display: block; margin: 0; color: #ffffff; font-size: clamp(3.4rem, 11vw, 8.5rem); line-height: 0.9; letter-spacing: -0.035em; }
/* A lighter saffron: the brand saffron on tomato is under 3:1. */
.closing .wm b, .closing h2.wm b { color: #ffd166; }
.closing p { margin: 12px 0 0; font-size: 1.3rem; font-weight: 600; }
.closing .store-placeholder.store-badge { color: #ffffff; }
.closing .store-badge img { filter: grayscale(1) brightness(1.4); opacity: 0.75; }

.landing-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 16px; padding-bottom: 24px; color: var(--secondary); font-size: 0.92rem; }
.landing-footer p { margin: 0; }
.landing-footer .page-links { margin: 0; }

@media (max-width: 1100px) {
  .landing .section-nav { display: none !important; }
  .landing .header-end { margin-left: auto; }
}
@media (max-width: 920px) {
  .hero-grid, .timers .wrap, .web .wrap { grid-template-columns: minmax(0, 1fr); }
  .stage { width: 100%; max-width: 460px; margin: 0 auto; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .how li { grid-template-columns: minmax(0, 1fr) 150px; grid-template-rows: auto auto 1fr; column-gap: 18px; }
  .how-n, .how h3, .how p { grid-column: 1; }
  .how .shot { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .timer-chips { margin-bottom: 0; }
  .more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block { padding: 56px 0; }
}
@media (max-width: 640px) {
  /* Brand and sign-in share the first row; the languages take the second. */
  .landing .site-header { flex-wrap: wrap; }
  .landing .header-end { display: contents; }
  .landing .langs { order: 3; width: 100%; }
  .landing .brand { font-size: 1.35rem; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 8px; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* The card starts lower, so half the dish shows above it. */
  .stage { padding-top: 30%; padding-left: 0; }
  .stage-photo { width: 58%; }
  .cook { padding: 16px 16px 14px; }
  .cook-text { font-size: 1.25rem; }
  .sticker { left: 0; padding: 8px 14px; font-size: 0.88rem; }
  /* The progress line may wrap in a narrow card: keep room for two lines so the card never changes height. */
  .cook-sub { min-height: 2.6em; line-height: 1.3; }
  .how li { grid-template-columns: minmax(0, 1fr); }
  .how .shot { grid-column: 1; grid-row: auto; width: min(100%, 260px); margin: 8px auto 0; aspect-ratio: 402 / 400; }
  .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .browser-body { grid-template-columns: minmax(0, 1fr); }
  .browser-nav { display: none; }
  .more ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cook-bar i { transition: none; }
}

/* "Muy pronto" in place of a store link (the shared-recipe page). */
.badge-slot {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.95rem;
}
@media (max-width: 520px) {
  .badge-slot { border-radius: 16px; padding: 10px 16px; }
}

/* Contact block: the address is plain, selectable text; mailto is a convenience. */
.contact {
  margin: 2rem 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.contact h2 { margin-top: 0; font-size: 1.1rem; }
.contact p { margin: 0; user-select: text; -webkit-user-select: text; overflow-wrap: anywhere; }

.page-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; margin: 2rem 0 0; }
.page-links li { margin: 0; }
.page-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.meta { color: var(--secondary); font-size: 0.95rem; }

/* Buttons (the shared-recipe page). share.js hides some with the hidden attribute, which must beat display. */
[hidden] { display: none !important; }
.share { text-align: center; padding-top: 24px; }
.share .lead { text-align: center; }
.store-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  background: var(--tomate);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

.faq dt { font-weight: 700; margin-top: 1.2em; }
.faq dd { margin: 0.3em 0 0; }

.site-footer {
  margin-top: 3rem;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Store badges. Google's artwork includes its own transparent clear space, so it is taller than Apple's for the
   same visible badge height. Until a store is live (owner, 2026-11-25): its official badge, dimmed and not linked,
   with a "coming soon" caption, at the same heights, so flipping a switch doesn't move the layout. */
.store-placeholder.store-badge { display: inline-grid; justify-items: center; align-content: start; gap: 3px; padding: 0; border: 0; background: none; color: var(--secondary); text-align: center; font: inherit; cursor: not-allowed; }
.store-badge img { display: block; width: auto; height: 46px; filter: grayscale(1); opacity: 0.6; }
.store-badge.google-soon img { height: 62px; margin: -8px 0; }
.store-badge small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; }
.apple-live, .google-live { display: none; }
html[data-app-store="live"] .apple-soon { display: none; }
html[data-app-store="live"] .apple-live { display: inline-flex; align-items: center; }
.apple-live img { display: block; width: auto; height: 46px; }
html[data-google-play="live"] .google-soon { display: none; }
html[data-google-play="live"] .google-live { display: inline-flex; align-items: center; }
.google-live img { display: block; width: auto; height: 62px; margin: -8px 0; }
