/* Fire Dat Fridge home page (2026-09-30), EN /home/ and ES /home/es/. Plain static page like /help and /legal:
   no inline styles or scripts (the site's Content-Security-Policy allows neither), fonts served from /fonts (SIL
   Open Font License, see /fonts/*-OFL.txt), nothing loaded from another site. Dark Fire/Ice look from the
   approved mockup. Contrast checked against #0e1013 and the card colours: body text 9:1 or better, muted text
   about 8:1, buttons 7:1 or better. */

@font-face {
  font-family: "Figtree";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}

:root {
  --page: #0e1013;
  --band: #15181d;
  --card: #1c2026;
  --line: #22262c;
  --card-line: #2a2f36;
  --text: #f6f1ea;
  --body: #d4ccc1;
  --soft: #cfc7bc;
  --muted: #b8b0a6;
  --link: #ffb070;
  --link-hover: #ffd2ab;
  --fire: #ff8a2a;
  --fire-soft: #ffb070;
  --on-fire: #1b0e03;
  --ice: #4db2ff;
  --ice-soft: #9fd3ff;
  --ice-text: #cfe9ff;
  --leaf: #5ccf6b;
  --heart: #ff6b5a;
  --plus-card: #221a14;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 3px solid var(--ice-soft); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--fire); color: var(--on-fire); padding: 12px 16px; border-radius: 10px; font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ── Header ─────────────────────────────────────────────────────────────────────────────────────────── */
.siteHeader { border-bottom: 1px solid var(--line); }
.siteHeader .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand:hover { color: var(--text); }
.brandIcon { width: 30px; height: 30px; flex: 0 0 auto; }
.brandText { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brandName { font-family: var(--display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1.1; }
.brandTagline { font-size: 0.875rem; font-weight: 600; color: var(--fire-soft); }

.siteNav { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; justify-content: flex-end; }
.siteNav { flex-wrap: nowrap; }
.navLinks { display: flex; align-items: center; gap: 12px; }
.navLinks a { color: #d9d2c8; text-decoration: none; font-weight: 600; padding: 12px 8px; min-width: 44px; text-align: center; }
.navLinks a:hover { color: var(--text); text-decoration: underline; }
.navActions { display: flex; align-items: center; gap: 10px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; text-align: center;
  white-space: nowrap;
}
.button-fire { background: var(--fire); color: var(--on-fire); }
.button-fire:hover { background: #ffa052; color: var(--on-fire); }
.button-outline { color: var(--text); border: 1px solid #5a626c; }
.button-outline:hover { color: var(--text); border-color: #6b737d; }
.button-ice { color: var(--ice-text); border: 1px solid var(--ice); }
.button-ice:hover { color: #fff; background: rgba(77, 178, 255, 0.12); }
.button-lg { min-height: 56px; padding: 16px 28px; border-radius: 14px; font-size: 1.125rem; }
.langLink { color: #d9d2c8; }
.langShort { display: none; }
.visuallyHidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Hero ───────────────────────────────────────────────────────────────────────────────────────────── */
.hero .wrap {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center;
  padding-top: 72px; padding-bottom: 88px;
}
.heroText { display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
  margin: 0; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice-soft);
}
.eyebrow span { color: var(--fire); }
h1 {
  margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.03; letter-spacing: -0.02em;
}
.lead { margin: 0; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--body); max-width: 560px; }
.heroActions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trialNote { margin: 0; color: var(--muted); }
/* The hero art is a finished poster with English text around the fridge (QA: unreadable when small, English on
   the Spanish page, sliced mid-word by a cover crop). The frame shows only the fridge and logo: the region
   x 230-800, y 0-720 of the 1024 x 1229 image, so the frame has that aspect ratio and the image is drawn
   1024/570 = 179.65% as wide, shifted left by 230/570 = 40.35% of the frame. */
.heroArt {
  position: relative; margin: 0; width: 100%; max-width: 560px; justify-self: center;
  aspect-ratio: 570 / 720; border-radius: 28px; overflow: hidden; border: 1px solid var(--card-line);
  box-shadow: -24px 0 80px rgba(255, 138, 42, 0.18), 24px 0 80px rgba(77, 178, 255, 0.18);
}
.heroArt img { position: absolute; top: 0; left: -40.35%; width: 179.65%; max-width: none; height: auto; }

/* ── Sections ───────────────────────────────────────────────────────────────────────────────────────── */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 44px; }
.sectionIntro { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
h2 {
  margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.875rem, 3.4vw, 2.875rem);
  line-height: 1.1; letter-spacing: -0.015em;
}
.sectionIntro p { margin: 0; font-size: 1.1875rem; line-height: 1.55; color: var(--body); }
h3 { margin: 0; font-size: 1.375rem; font-weight: 700; line-height: 1.25; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 22px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.stepNumber { font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1; }
.step:nth-child(1) .stepNumber { color: var(--fire); }
.step:nth-child(2) .stepNumber { color: var(--fire-soft); }
.step:nth-child(3) .stepNumber { color: var(--ice); }
.step p, .feature p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--soft); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feature { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 3px solid; }
.feature svg { width: 32px; height: 32px; }
.feature-leaf { border-color: var(--leaf); color: var(--leaf); }
.feature-fire { border-color: var(--fire); color: var(--fire); }
.feature-ice { border-color: var(--ice); color: var(--ice); }
.feature-heart { border-color: var(--heart); color: var(--heart); }
.feature h3 { color: var(--text); font-size: 1.3125rem; }

/* ── Pricing ────────────────────────────────────────────────────────────────────────────────────────── */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.plan-featured { background: var(--plus-card); border: 2px solid var(--fire); }
.planHead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.planBadge {
  font-size: 0.8125rem; font-weight: 700; color: var(--on-fire); background: var(--fire);
  padding: 5px 10px; border-radius: 999px;
}
.price { margin: 0; }
.priceAmount { font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1.1; }
.pricePer { color: var(--muted); }
.priceAlt { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; color: #d9d2c8; }
.finePrint { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); max-width: 980px; }

/* ── Trust, call to action, footer ──────────────────────────────────────────────────────────────────── */
.trust .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.trust h2 { font-family: "Figtree", system-ui, sans-serif; font-weight: 700; font-size: 1.75rem; letter-spacing: 0; }
.trust p { margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--soft); }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px; border-radius: 28px; background: var(--card); border: 1px solid var(--card-line);
}
.cta h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.cta p { margin: 12px 0 0; font-size: 1.125rem; color: var(--body); }
.cta .button { flex: 0 0 auto; }

.siteFooter { margin-top: 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.siteFooter .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 32px; padding-bottom: 48px;
}
.siteFooter p { margin: 0; }
.footerLinks { display: flex; flex-wrap: wrap; gap: 0 28px; }
.footerLinks a { color: #d9d2c8; display: inline-block; padding: 12px 0; }

/* ── Tablet and phone ───────────────────────────────────────────────────────────────────────────────── */
.pricingJump { margin: 0; }
.pricingJump a { display: inline-block; padding: 12px 8px; margin-left: -8px; }
@media (max-width: 1200px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Below 1100 the header keeps only the language and sign-in buttons (the hero has Start free, and a "See plans and
   prices" link replaces the section links). */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .navLinks { display: none; }
  .navActions .button-fire { display: none; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 32px; padding-bottom: 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step { padding: 22px; }
  .section .wrap { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .trust .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .cta { flex-direction: column; align-items: stretch; padding: 28px 20px; gap: 20px; }
  .cta .button { width: 100%; }
}
@media (max-width: 640px) {
  .siteHeader .wrap { padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .brandIcon { width: 26px; height: 26px; }
  .brandName { font-size: 1.1875rem; }
  .brandTagline { font-size: 0.8125rem; }
  .navActions .button { min-height: 44px; padding: 10px 12px; font-size: 0.9375rem; }
  .langLong { display: none; }
  .langShort { display: inline; }
  .heroActions .button { width: 100%; }
  .trialNote, .pricingJump { text-align: center; }
  .pricingJump a { margin-left: 0; }
  .heroArt { border-radius: 22px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 20px; }
  .siteFooter .wrap { flex-direction: column-reverse; align-items: flex-start; }
  .footerLinks { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
