/* foodmetric marketing site - generated by scripts/generate_localized_site_pages.mjs */
:root {
  --bg: #f6f9f7;
  --surface: #ffffff;
  --surface-2: #ecf3ef;
  --ink: #101b16;
  --muted: #55655d;
  --accent: #0b8f5f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(11, 143, 95, 0.09);
  --cyan-soft: rgba(0, 176, 232, 0.08);
  --border: rgba(16, 27, 22, 0.11);
  --shadow: 0 24px 64px -28px rgba(16, 27, 22, 0.28);
  --shadow-sm: 0 10px 30px -16px rgba(16, 27, 22, 0.22);
  --grad: linear-gradient(135deg, #00b7eb 0%, #00c98a 100%);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1210;
    --surface: #121a16;
    --surface-2: #17211c;
    --ink: #edf4f0;
    --muted: #9cafa6;
    --accent: #35cf92;
    --accent-ink: #06301f;
    --accent-soft: rgba(53, 207, 146, 0.12);
    --cyan-soft: rgba(0, 183, 235, 0.09);
    --border: rgba(237, 244, 240, 0.13);
    --shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.65);
    --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 780px; }

/* ---- navigation ---- */
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.14rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.nav-links { display: flex; gap: 24px; margin-inline-start: auto; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 820px) { .nav-links { display: none; } .nav-wrap nav { justify-content: space-between; } }
@media (max-width: 480px) { .nav-wrap nav { gap: 12px; } .btn-nav { padding: 9px 16px; font-size: 0.9rem; } .brand span { font-size: 1.05rem; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 10px 22px; font-weight: 650; font-size: 0.95rem;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-invert { background: #ffffff; color: #06301f; }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; }
.btn-nav { margin-inline-start: 8px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52rem 34rem at 85% -10%, var(--accent-soft), transparent 65%),
    radial-gradient(40rem 30rem at -10% 30%, var(--cyan-soft), transparent 60%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions-spaced { margin-top: 40px; }

.hero-visual { position: relative; min-height: 400px; }
.phone {
  margin: 0; border-radius: 34px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow);
}
.phone picture, .cell-media picture { display: block; width: 100%; height: 100%; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-main { position: relative; width: min(310px, 74%); margin-inline: auto; z-index: 2; }
.phone-main img, .phone-back img { aspect-ratio: 9 / 17; }
.phone-back {
  position: absolute; width: min(250px, 58%); inset-inline-end: 0; top: 9%;
  transform: rotate(6deg); opacity: 0.92; z-index: 1;
}
[dir="rtl"] .phone-back { transform: rotate(-6deg); }

/* ---- sections ---- */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-alt { background: var(--surface-2); }
.section-first { padding-top: 0; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.025em; margin-bottom: clamp(28px, 4vw, 44px); }
.sub-title { font-size: 1.45rem; margin: 56px 0 20px; }

/* ---- bento ---- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.cell {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column;
}
.cell h3 { font-size: 1.22rem; margin-bottom: 8px; }
.cell p { color: var(--muted); margin-bottom: 0; }
.cell-a { grid-column: span 7; grid-row: span 2; }
.cell-c { grid-column: span 5; grid-row: span 2; }
.cell-s { grid-column: span 4; }
.tint { background: linear-gradient(160deg, var(--accent-soft), var(--surface) 70%); }
.tint-2 { background: linear-gradient(160deg, var(--cyan-soft), var(--surface) 70%); }
.cell-media { margin: 26px auto 0; width: min(320px, 92%); border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); flex: 1; min-height: 300px; display: flex; }
.cell-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: top; }
.cell-media-tall { margin: 26px auto 0; width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); flex: 1; min-height: 260px; }
.cell-media-tall img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .cell-a, .cell-c, .cell-s { grid-column: auto; grid-row: auto; }
}

/* ---- screenshots rail ---- */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(230px, 62vw);
  gap: 20px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.shots .phone-mini { scroll-snap-align: start; border-radius: 26px; }
.phone-mini img { aspect-ratio: 1080 / 2400; object-fit: cover; }
.phone-mini.crop img { transform: scale(1.045); }

/* ---- link rows ---- */
.rows { border-top: 1px solid var(--border); }
.row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 22px 6px; border-bottom: 1px solid var(--border); color: var(--ink);
  transition: background-color 0.18s ease, padding-inline-start 0.18s ease;
}
.row:hover { background: var(--surface); text-decoration: none; padding-inline-start: 14px; }
.row-title { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.row-arrow { color: var(--accent); font-size: 1.15rem; flex: none; }
[dir="rtl"] .row-arrow { transform: scaleX(-1); }

/* ---- faq ---- */
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px;
  padding: 20px 4px; font-weight: 600; font-size: 1.04rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1.2; flex: none; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 4px 20px; margin: 0; max-width: 62ch; }

/* ---- gradient band ---- */
.band {
  background: var(--grad); border-radius: 28px; color: #06301f;
  padding: clamp(44px, 6vw, 72px); text-align: center;
}
.band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; color: #072e1e; }
.band p { max-width: 44rem; margin-inline: auto; color: rgba(6, 42, 28, 0.82); font-size: 1.06rem; }
.band .btn { margin-top: 10px; }
.band .fine { margin: 22px auto 0; }

/* ---- article pages ---- */
.page-head {
  position: relative; overflow: hidden;
  padding-block: clamp(44px, 7vw, 94px);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 82% 0%, var(--accent-soft), transparent 66%),
    radial-gradient(34rem 24rem at 3% 42%, var(--cyan-soft), transparent 68%);
}
.page-hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.page-copy { max-width: 720px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; margin-bottom: 18px; text-wrap: balance; }
.eyebrow-link {
  display: inline-flex; margin-bottom: 18px; color: var(--accent); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow-link:hover { color: var(--ink); text-decoration: none; }
.page-visual { position: relative; min-height: 380px; }
.page-visual .phone-main { width: min(260px, 70%); }
.page-visual .phone-back { width: min(220px, 55%); top: 7%; }
.page-body { max-width: 1040px; }
.page-body > * + * { margin-top: 34px; }
.page-body > .prose,
.page-body > .faq-list,
.page-body > .rows {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.page-body > .prose { padding: clamp(26px, 4vw, 44px); }
.page-body > .faq-list { padding-inline: clamp(18px, 3vw, 32px); }
.page-body > .rows { overflow: hidden; }
.page-body > .rows .row { padding-inline: clamp(18px, 3vw, 30px); }
.page-body > .actions {
  justify-content: center; background: var(--grad); border-radius: 28px;
  padding: clamp(28px, 5vw, 46px); margin-top: 44px;
}
.page-body > .actions .btn-ghost { background: rgba(255,255,255,0.24); color: #06301f; border-color: rgba(6,48,31,0.16); }
.page-body > .actions .btn-primary { background: #ffffff; color: #06301f; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.08rem; margin: 22px 0 8px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.prose h3:first-child { border-top: 0; padding-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p { max-width: 68ch; }
.prose .prose-lead { color: var(--ink); font-size: clamp(1.08rem, 1.7vw, 1.22rem); max-width: 64ch; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose-spaced { margin-top: 48px; }
.callout {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px;
  padding: clamp(18px, 3vw, 26px); margin: 18px 0;
}
.callout p:last-child { margin-bottom: 0; }
.meta-list { display: grid; gap: 8px; margin: 18px 0 0; }
.meta-list div { color: var(--muted); }
.meta-list strong { color: var(--ink); }
.fine { font-size: 0.85rem; color: var(--muted); opacity: 0.85; }
.band .fine { color: rgba(6, 42, 28, 0.7); }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 72px) 0 36px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; font-weight: 650; }
.footer-grid a { display: block; color: var(--ink); padding-block: 5px; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 30ch; margin-top: 14px; }
.footer-brand .brand { display: inline-flex; padding: 0; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem;
}
.lang select {
  margin-top: 6px; appearance: none; background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 36px 9px 12px;
  font: inherit; font-size: 0.9rem; cursor: pointer; max-width: 220px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
[dir="rtl"] .lang select { padding: 9px 12px 9px 36px; background-position: 18px 50%, 13px 50%; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---- language index (root) ---- */
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 32px; }
.lang-card {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lang-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lang-card small { color: var(--muted); }

/* ---- mobile hero ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
  .phone-back { display: none; }
  .phone-main { width: min(280px, 80%); }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-visual { min-height: 0; }
  .page-visual .phone-main { width: min(260px, 76%); }
  .page-body > .actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .page-head { padding-block: 38px 54px; }
  .page-body { padding-inline: 16px; }
  .page-body > .prose { padding: 22px; }
  .page-body > .actions { align-items: stretch; }
  .page-body > .actions .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ---- reveal on scroll (JS-gated, reduced-motion safe) ---- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .row, .lang-card { transition: none; }
}
