/* Understood In — marketing site styles.
   Palette shared with the app (Extensions/Color+Theme.swift) and with focarakitchen.com (owner
   decision 2026-09-05): linen #F2EAD9, card #FBF6EC, terracotta #E8633A, wheat #D4B896, sage #7A9E7E,
   gold #E8A013 (the icon's second colour), cast-iron ink #2A1F1A. System sans throughout —
   the same voice as the app, no web-font dependency. */

:root {
  --cream: #F2EAD9;
  --card: #FBF6EC;
  --terracotta: #E8633A;
  --terracotta-deep: #C94F2B;
  --gold: #E8A013;
  --green: #7A9E7E;
  --ink: #2A1F1A;
  --ink-soft: #574a3f;
  --ink-muted: #6b5c50;
  --line: rgba(42, 31, 26, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); }
a:hover { color: var(--terracotta-deep); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: fixed; top: 0; left: 12px; background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; z-index: 9999; text-decoration: none; font-weight: 600;
  transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 248, 240, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.2px; }
.logo-link img { width: 34px; height: 34px; border-radius: 9px; }
.logo-link small { font-weight: 600; color: var(--ink-muted); font-size: 14px; margin-left: 2px; }
.nav-menu { display: flex; gap: 22px; align-items: center; }
.nav-link { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-link:hover { color: var(--terracotta); }
.nav-cta { background: var(--terracotta); color: #fff !important; padding: 8px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--terracotta-deep); }
@media (max-width: 640px) { .nav-menu .nav-link:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-copy { order: 0; } .hero-art { order: 1; } }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px rgba(214, 69, 24, .25); margin-bottom: 22px; }
@media (max-width: 860px) { .hero-icon { margin-left: auto; margin-right: auto; } }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.8px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--terracotta); }
.tagline { font-size: 19px; color: var(--ink-soft); margin: 18px 0 26px; max-width: 560px; }
@media (max-width: 860px) { .tagline { margin-left: auto; margin-right: auto; } }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 860px) { .store-row { justify-content: center; } }
.soon { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 12px;
  padding: 10px 16px; font-weight: 600; font-size: 15px; line-height: 1.2; }
.soon small { display: block; font-weight: 500; font-size: 11px; opacity: .75; }
.store-caption { color: var(--ink-muted); font-size: 14px; margin-top: 12px; }
.hero-art { position: relative; }
.phone { width: min(300px, 80%); margin: 0 auto; border-radius: 34px; padding: 10px; background: #2A1F1A;
  box-shadow: 0 30px 60px rgba(42, 31, 26, .28); }
.phone img { border-radius: 26px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: #EBDFC8; }
.section-kicker { display: inline-block; color: var(--terracotta); font-weight: 800; letter-spacing: 1.4px; font-size: 12px; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.5px; font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--ink-soft); max-width: 720px; font-size: 17px; margin-bottom: 30px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature-icon { font-size: 26px; margin-bottom: 8px; }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 8px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.stat b { display: block; font-size: 28px; color: var(--terracotta); letter-spacing: -.5px; }
.stat span { color: var(--ink-muted); font-size: 14px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.shot { text-align: center; }
.shot .phone { width: 100%; max-width: 260px; }
.shot figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 760px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.plan.pro { border: 2px solid var(--gold); }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 6px 0 12px; letter-spacing: -.5px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.plan ul { list-style: none; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-soft); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.honest { color: var(--ink-muted); font-size: 14px; margin-top: 14px; max-width: 760px; }

.cta { text-align: center; }
.cta .store-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
.footer .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 17px; margin-bottom: 8px; }
.footer .brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--terracotta); }
.footer .dot { color: var(--line); }

/* ---------- Document pages (privacy, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.6px; line-height: 1.1; margin-bottom: 6px; }
.doc .updated { color: var(--ink-muted); font-size: 14px; margin-bottom: 26px; }
.doc h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -.3px; }
.doc h3 { font-size: 17px; margin: 20px 0 6px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16px; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 12px 22px; }
.doc li { margin-bottom: 6px; }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 18px 0 8px; }
.doc .summary li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc .faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 16px; margin-bottom: 10px; }
.doc .faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16px; }
.doc .faq details p { margin: 10px 0 0; }
.doc .contact-box { background: #EBDFC8; border-radius: var(--radius); padding: 18px 22px; margin-top: 26px; }
.button { display: inline-block; background: var(--terracotta); color: #fff !important; text-decoration: none; font-weight: 700; padding: 11px 20px; border-radius: 999px; }
.button:hover { background: var(--terracotta-deep); }

/* ---------- Store badges (official artwork; disabled = shown but not live yet) ---------- */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 48px; width: auto; display: block; border: 0; }
.store-badge.disabled { opacity: .42; filter: grayscale(1); pointer-events: none; cursor: default; }
.badge-note { color: var(--ink-muted); font-size: 13px; margin-top: 8px; }
@media (max-width: 860px) { .hero .store-badges { justify-content: center; } }

/* ---------- The app family ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.app-card.featured { border: 2px solid var(--terracotta); box-shadow: 0 14px 40px rgba(214, 69, 24, .12); }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app-lang { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.live { background: rgba(122, 158, 126, .2); color: var(--green); }
.pill.next { background: rgba(232, 160, 19, .18); color: #9a6a05; }
.pill.planned { background: rgba(42, 31, 26, .08); color: var(--ink-muted); }
.app-card h3 { font-size: 16px; font-weight: 700; color: var(--ink-soft); margin: 0; }
.app-card p { color: var(--ink-soft); font-size: 15px; margin: 0; flex: 1; }
.app-card .store-badges { gap: 8px; margin-top: 4px; }
.app-card .store-badge img { height: 36px; }
.app-card .more { font-weight: 700; text-decoration: none; }
.order-note { color: var(--ink-muted); font-size: 13.5px; margin-top: 16px; max-width: 760px; }
.back-link { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 14px; }
.back-link:hover { color: var(--terracotta); }
