/* Flint Cal — flintcal.com
   One stylesheet for every page. Colours are the app's own Charcoal tokens
   (ios/Core/DesignSystem/Tokens/Palette.swift, owner 15 Oct 2026): one violet in
   four forms, charcoal surfaces, soft-white ink. No gradients on violet, no glows,
   no pink or lilac. Selection = 1.5px violet border + faint tint. */


:root {
  color-scheme: dark;
  --bg: #1A1A1D;
  --bg-deep: #141416;
  --surface: #242428;
  --surface-2: #2E2E33;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --violet: #6521FA;
  --violet-press: #5719E0;
  --violet-soft: rgba(101, 33, 250, .06);
  --violet-line: rgba(101, 33, 250, .5);
  --ink: #F2F1F7;
  --ink-2: rgba(242, 241, 247, .72);
  --ink-3: rgba(242, 241, 247, .56);
  --on-violet: #FFFFFF;
  --carb: #F2B24C;
  --fat: #3CC8B4;
  --water: #9CCBF2;
  --stone: #E4E3E8;
  --stone-2: #C9C8CF;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -24px rgba(0,0,0,.6);
  --radius: 22px;
  --radius-s: 14px;
  --wrap: 1200px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Geeza Pro", Tahoma, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[dir="rtl"] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; text-wrap: balance; }
html[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.35; }
:lang(en) :is(h1, h2) { letter-spacing: -.025em; }
:lang(en) h3 { letter-spacing: -.01em; }
::selection { background: rgba(101, 33, 250, .35); color: #fff; }
.num, [dir="ltr"] { unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

/* focus: visible everywhere, never removed */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .chip:focus-visible, .pcard:focus-visible { outline-offset: 4px; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ─────────── header ─────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 26, 29, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .bar { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 22px; height: 24px; flex: none; }
.brand .ar-name { font-weight: 600; color: var(--ink-2); font-size: 15px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.nav + .head-tools { margin-inline-start: 8px; }
.site-head .soon { font-size: 14px; padding: 9px 16px; }

/* language menu: <details>, no script; ready for 8 languages */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); }
.lang summary svg { width: 16px; height: 16px; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); }
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--surface-2); }
.lang li a[aria-current] { box-shadow: inset 0 0 0 1.5px var(--violet); background: var(--violet-soft); }
.lang li small { color: var(--ink-3); font-size: 12.5px; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu nav { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); display: grid; }
.menu nav a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-size: 16px; }
.menu nav a:hover { background: var(--surface-2); }

/* ─────────── buttons & badges ─────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 14px; font: 600 16px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.btn.primary { background: var(--violet); color: var(--on-violet); }
.btn.primary:hover { background: var(--violet-press); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.24); }
.btn svg { width: 18px; height: 18px; }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* App Store badge placeholder — black, Apple's badge proportions, says "coming soon" until launch */
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 18px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; text-decoration: none; direction: ltr; }
.store svg { width: 26px; height: 30px; }
.store span { display: grid; line-height: 1.05; text-align: left; }
.store small { font-size: 12px; font-weight: 400; letter-spacing: .01em; opacity: .9; }
.store b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--font); }
html[dir="rtl"] .store { direction: rtl; }
html[dir="rtl"] .store span { text-align: right; }
html[dir="rtl"] .store small { font-size: 13px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--violet); clip-path: polygon(0 0, 100% 0, 100% 100%); }
html[dir="rtl"] .eyebrow::before { clip-path: polygon(0 0, 100% 0, 0 100%); }

.facet { position: relative; white-space: nowrap; }
.facet::after { content: ""; position: absolute; inset-inline: 0; bottom: .02em; height: .09em; background: var(--violet); border-radius: 2px; }
html[dir="rtl"] .facet::after { bottom: -.04em; }

/* ─────────── sections ─────────── */
section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
section.tight { padding-block: clamp(56px, 7vw, 88px); }
.alt { background: var(--bg-deep); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); margin-top: 18px; max-width: 640px; }
.center .lede { margin-inline: auto; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ─────────── device frame (drawn) ─────────── */
.device {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 1179 / 2556; flex: none;
  padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .17);
  background: #0B0B0D;
  box-shadow: 0 0 0 1.5px #3A3A40, 0 0 0 calc(var(--w) * .012 + 1.5px) #0B0B0D, 0 0 0 calc(var(--w) * .012 + 2.5px) #2C2C31, 0 50px 90px -30px rgba(0,0,0,.75);
  margin: 0;
}
.device .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: var(--bg); }
.device .screen > img { width: 100%; height: 100%; object-fit: cover; }
.device .island { position: absolute; z-index: 3; top: calc(var(--w) * .058); left: 50%; width: 31%; height: calc(var(--w) * .088); transform: translateX(-50%); background: #000; border-radius: 99px; }

/* drawn app UI inside a device (scan result, portions) */
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--w) * .16) calc(var(--w) * .05) calc(var(--w) * .05); font-size: calc(var(--w) * .043); line-height: 1.35; color: var(--ink); background: var(--bg); }
.ui .status { position: absolute; top: calc(var(--w) * .06); inset-inline: calc(var(--w) * .1); display: flex; justify-content: space-between; font-size: calc(var(--w) * .047); font-weight: 600; direction: ltr; }
.ui .status i { display: inline-flex; gap: 3px; align-items: center; }
.ui .status i::before { content: ""; width: 1.2em; height: .6em; border: 1.5px solid var(--ink); border-radius: 3px; }
.ui h4 { font-size: calc(var(--w) * .085); font-weight: 700; margin: 0 0 .3em; }
.ui .tot { display: flex; align-items: baseline; gap: .3em; padding: .8em .9em; background: var(--surface); border: 1px solid var(--line); border-radius: 1em; margin-bottom: .8em; }
.ui .tot b { font-size: calc(var(--w) * .13); line-height: 1; letter-spacing: -.02em; }
.ui .tot small { color: var(--ink-2); }
.ui .macros { display: flex; gap: .9em; font-size: .85em; color: var(--ink-2); margin-top: .3em; }
.ui .macros span::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; margin-inline-end: .3em; vertical-align: .05em; }
.ui .macros .p::before { background: var(--violet); }
.ui .macros .c::before { background: var(--carb); }
.ui .macros .f::before { background: var(--fat); }
.ui .label { font-weight: 700; margin: .4em 0 .5em; display: flex; justify-content: space-between; align-items: baseline; }
.ui .label small { font-weight: 400; color: var(--ink-3); font-size: .8em; }
.ui .rows { background: var(--surface); border: 1px solid var(--line); border-radius: 1em; overflow: hidden; }
.ui .row { display: grid; grid-template-columns: 1.9em 1fr auto; gap: .6em; align-items: center; padding: .65em .8em; border-top: 1px solid var(--line); }
.ui .row:first-child { border-top: 0; }
.ui .row .ic { width: 1.9em; height: 1.9em; border-radius: .55em; background: var(--surface-2); display: grid; place-items: center; }
.ui .row .ic svg { width: 1.05em; height: 1.05em; }
.ui .row b { display: block; font-weight: 600; font-size: .95em; }
.ui .row small { color: var(--ink-3); font-size: .8em; }
.ui .row .amt { font-size: .82em; padding: .35em .7em; border: 1px solid var(--line-2); border-radius: 99px; white-space: nowrap; }
.ui .cta-row { margin-top: auto; display: flex; gap: .5em; }
.ui .cta-row span { flex: 1; text-align: center; padding: .85em; border-radius: 99px; font-weight: 600; background: var(--surface-2); }
.ui .cta-row span.p { background: var(--violet); color: #fff; }

/* ─────────── HERO ─────────── */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero .app-icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px -12px rgba(0,0,0,.7); margin-bottom: 28px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.04; }
html[dir="rtl"] .hero h1 { line-height: 1.22; font-size: clamp(40px, 6vw, 82px); }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 560px; margin: 26px 0 34px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.trial-note { margin: 18px 0 0; font-size: 14.5px; color: var(--ink-3); }
.trial-note b { color: var(--ink-2); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink-2); }
.facts svg { width: 18px; height: 18px; color: var(--ink); opacity: .9; }

/* A: editorial split, plate with callouts */
.hero-a .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.plate-stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 560px; justify-self: center; }
.plate-stage .plate { position: absolute; inset: 9% 9% 12%; }
.plate-stage .plate svg { width: 100%; height: 100%; }
.viewfinder { position: absolute; inset: 4% 4% 7%; pointer-events: none; }
.viewfinder i { position: absolute; width: 34px; height: 34px; border: 2.5px solid var(--ink); opacity: .9; }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.scanline { position: absolute; inset-inline: 6%; top: 10%; height: 2px; background: var(--violet); opacity: 0; border-radius: 2px; }
.tag { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: rgba(36, 36, 40, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 14px; font-size: 14px; line-height: 1.3; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
html[dir="rtl"] .tag { padding: 8px 10px 8px 14px; }
.tag .dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.08); flex: none; }
.tag b { font-weight: 600; display: block; }
.tag small { color: var(--ink-3); font-size: 12.5px; }
.tag .k { font-weight: 700; margin-inline-start: 6px; padding-inline-start: 10px; border-inline-start: 1px solid var(--line-2); }
.tag.t1 { top: 13%; inset-inline-start: -3%; }
.tag.t2 { top: 37%; inset-inline-end: -7%; }
.tag.t3 { bottom: 31%; inset-inline-start: -5%; }
.tag.t4 { bottom: 19%; inset-inline-end: -5%; }
.result-pill { position: absolute; left: 50%; bottom: -5%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; background: var(--surface); border: 1.5px solid var(--violet); border-radius: 18px; white-space: nowrap; box-shadow: 0 20px 40px -16px rgba(0,0,0,.7); }
html[dir="rtl"] .result-pill { padding: 10px 18px 10px 12px; }
.result-pill b { font-size: 22px; letter-spacing: -.01em; }
.result-pill small { display: block; color: var(--ink-3); font-size: 12.5px; }
.result-pill .log { background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 12px; }

/* B: centered, three devices */
.hero-b { text-align: center; }
.hero-b .app-icon { margin-inline: auto; width: 88px; height: 88px; border-radius: 21px; }
.hero-b h1 { max-width: 15ch; margin-inline: auto; }
html[dir="rtl"] .hero-b h1 { max-width: 16ch; }
.hero-b .sub { margin-inline: auto; max-width: 640px; }
.hero-b .cta, .hero-b .facts { justify-content: center; }
.hero-b .facts { border-top: 0; padding-top: 0; margin-top: 26px; }
.trio { position: relative; display: flex; justify-content: center; align-items: flex-end; margin-top: clamp(48px, 7vw, 84px); height: clamp(520px, 52vw, 680px); }
.trio .device { position: absolute; bottom: 0; --w: clamp(230px, 22vw, 300px); }
.trio .d-mid { z-index: 2; --w: clamp(250px, 24vw, 320px); }
.trio .d-start { transform: translateX(-74%) rotate(-6deg) translateY(4%); transform-origin: bottom center; }
.trio .d-end { transform: translateX(74%) rotate(6deg) translateY(4%); transform-origin: bottom center; }
.trio::after { content: ""; position: absolute; inset-inline: -10%; bottom: -1px; height: 22%; background: linear-gradient(to top, var(--bg), rgba(26,26,29,0)); z-index: 3; pointer-events: none; }

/* food band */
.band { border-block: 1px solid var(--line); background: var(--bg-deep); overflow: hidden; padding-block: 18px; }
.band .track { display: flex; gap: 0; width: max-content; animation: band 70s linear infinite; }
html[dir="rtl"] .band .track { animation-name: band-rtl; }
.band span { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font-size: 17px; color: var(--ink-2); white-space: nowrap; }
.band span::after { content: ""; width: 7px; height: 7px; background: var(--ink-3); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes band-rtl { to { transform: translateX(50%); } }

/* ─────────── how it works ─────────── */
.steps, .steps-b { list-style: none; margin: 0; padding: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { padding: 30px 28px 32px; position: relative; }
.step .n { font: 600 14px/1 var(--mono); color: var(--ink-3); letter-spacing: .08em; display: flex; align-items: center; gap: 12px; margin-bottom: 26px; direction: ltr; }
html[dir="rtl"] .step .n { justify-content: flex-end; }
.step .n::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
html[dir="rtl"] .step .n::after { order: -1; }
.step .viz { height: 150px; margin-bottom: 26px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; position: relative; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }
.viz .mini-plate { width: 104px; }
.viz .cam { position: absolute; inset: 22px 30%; }
.viz .cam i { position: absolute; width: 16px; height: 16px; border: 2px solid var(--ink-2); }
.viz .cam i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.viz .cam i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.viz .cam i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.viz .cam i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.viz .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 18px; }
.viz .chips span { font-size: 13.5px; padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); }
.viz .chips span:first-child { border-color: var(--violet); background: var(--violet-soft); }
.viz .sizes { display: flex; gap: 10px; align-items: flex-end; }
.viz .sizes span { display: grid; place-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.viz .sizes i { display: block; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #D7B46A 0 46%, #3A3A40 47% 52%, #2E2E33 53%); }
.viz .sizes span:nth-child(1) i { width: 40px; height: 40px; }
.viz .sizes span:nth-child(2) i { width: 52px; height: 52px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--violet); }
.viz .sizes span:nth-child(3) i { width: 64px; height: 64px; }

/* B: how-it-works as a vertical timeline with big numerals */
.steps-b { display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps-b .step { display: grid; grid-template-columns: 140px minmax(0, 1fr) 320px; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); background: none; border-radius: 0; }
.steps-b .big { font: 700 96px/1 var(--font); color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); direction: ltr; }
.steps-b .step h3 { font-size: clamp(24px, 2.4vw, 32px); }
.steps-b .step p { font-size: 17px; max-width: 520px; }
.steps-b .viz { margin: 0; height: 160px; }

/* ─────────── portions & oil demo ─────────── */
.demo .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.demo .copy p { color: var(--ink-2); font-size: 17.5px; }
.demo .copy h2 { font-size: clamp(32px, 4.2vw, 54px); margin-bottom: 22px; }
.fatq { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.fatq li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.fatq .bar { width: 46px; height: 8px; border-radius: 99px; overflow: hidden; display: flex; flex: none; }
.fatq .bar i { display: block; height: 100%; }
.panel { padding: 26px; max-width: 520px; justify-self: center; width: 100%; }
.panel .ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel .ph b { font-size: 19px; }
.panel .ph .try { font-size: 13px; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 4px 10px; border-radius: 99px; }
.panel h4 { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 22px 0 10px; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pcard { appearance: none; font: inherit; color: inherit; text-align: center; cursor: pointer; padding: 14px 8px 12px; background: var(--surface-2); border: 1.5px solid transparent; border-radius: 16px; display: grid; justify-items: center; gap: 4px; transition: border-color .2s, background .2s; }
.pcard:hover { border-color: var(--line-2); }
.pcard[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); }
.pcard svg { width: 62px; height: 62px; margin-bottom: 6px; }
.pcard b { font-size: 14.5px; font-weight: 600; }
.pcard small { font-size: 12.5px; color: var(--ink-3); }
.pcard .kc { font-size: 14px; font-weight: 600; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; font: 500 14.5px/1.2 var(--font); color: var(--ink); cursor: pointer; padding: 10px 14px; min-height: 42px; background: var(--surface-2); border: 1.5px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); }
.readout { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.readout .big { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.readout .big small { font-size: 16px; font-weight: 400; color: var(--ink-2); margin-inline-start: 6px; letter-spacing: 0; }
.readout .meta { font-size: 13.5px; color: var(--ink-3); }
.badge-fat { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); }
.badge-fat i { width: 10px; height: 10px; border-radius: 50%; }
.panel .src { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* ─────────── features (bento) ─────────── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.feat .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 10px; }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 20px; }
.feat p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.feat.wide { grid-column: span 2; }
.feat .stat { font-size: clamp(56px, 7vw, 92px); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin: 6px 0 8px; }
.feat .langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.feat .langs span { font-size: 13.5px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); }
.feat .split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; height: 100%; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; }
.srcs span { font-size: 12.5px; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); }

/* B: feature list as two-column rows */
.flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.flist .feat { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0; min-height: 0; flex-direction: row; gap: 18px; }
.flist .feat .ico { margin: 0; flex: none; }
.flist .feat h3 { margin-bottom: 6px; }

/* ─────────── food showcase ─────────── */
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.menu-col { padding: 30px 32px 22px; }
.menu-col h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; }
html[dir="rtl"] .menu-col h3 { letter-spacing: 0; font-size: 16px; }
.menu-col h3 small { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--ink-3); font-weight: 400; }
.dish { display: grid; grid-template-columns: minmax(0, auto) 1fr auto; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.dish .nm b { display: block; font-size: 17.5px; font-weight: 600; }
.dish .nm small { color: var(--ink-3); font-size: 13.5px; }
.dish .lead { border-bottom: 1.5px dotted rgba(255,255,255,.18); transform: translateY(-5px); min-width: 20px; }
.dish .kc { font-size: 19px; font-weight: 700; white-space: nowrap; }
.dish .kc small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin-inline-start: 4px; }
.menu-note { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* ─────────── coaches ─────────── */
.coach-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.coaches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.coach { padding: 18px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.coach img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.coach b { display: block; font-size: 16.5px; line-height: 1.35; }
.coach small { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.coach .ai { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--violet-line); color: var(--ink); background: var(--violet-soft); }
.coach-points { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.coach-points li { display: flex; gap: 12px; color: var(--ink-2); }
.coach-points svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--ink); }
.coach-grid .device { justify-self: center; --w: 290px; }

/* ─────────── Ramadan ─────────── */
.ram .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ram-card { padding: 28px; position: relative; overflow: hidden; }
.ram-card .moon { position: absolute; inset-inline-end: 24px; top: 24px; width: 44px; height: 44px; }
.ram-card .k { color: var(--ink-2); font-size: 15px; }
.ram-card .count { font-size: clamp(48px, 6vw, 68px); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; margin: 6px 0 4px; direction: ltr; text-align: start; }
.ram-card .sub2 { color: var(--ink-3); font-size: 14px; }
.ram-card .meals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.ram-card .meal { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; }
.ram-card .meal small { color: var(--ink-3); display: block; font-size: 13px; }
.ram-card .meal b { font-size: 20px; }
.ram-card .water { display: flex; gap: 6px; margin-top: 16px; align-items: center; color: var(--ink-3); font-size: 13.5px; flex-wrap: wrap; }
.ram-card .water i { width: 16px; height: 20px; border-radius: 3px 3px 8px 8px; border: 1.5px solid var(--water); }
.ram-card .water i.on { background: var(--water); }
.ram-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.ram-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.ram-list li:last-child { border-bottom: 1px solid var(--line); }
.ram-list svg { width: 22px; height: 22px; margin-top: 3px; }
.ram-list b { display: block; font-size: 17.5px; margin-bottom: 2px; }
.ram-list span { color: var(--ink-2); font-size: 15.5px; }

/* ─────────── privacy ─────────── */
.promises { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.promise { padding: 28px 22px 8px 0; border-inline-end: 1px solid var(--line); }
html[dir="rtl"] .promise { padding: 28px 0 8px 22px; }
.promise + .promise { padding-inline-start: 22px; }
.promise:last-child { border-inline-end: 0; }
.promise svg { width: 26px; height: 26px; margin-bottom: 18px; }
.promise h3 { font-size: 18px; margin-bottom: 8px; }
.promise p { color: var(--ink-2); font-size: 15px; margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ─────────── pricing ─────────── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 860px; margin-inline: auto; }
.plan { padding: 30px; position: relative; display: flex; flex-direction: column; }
.plan.best { border: 1.5px solid var(--violet); background: linear-gradient(var(--violet-soft), var(--violet-soft)), var(--surface); }
.plan .pt { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.plan .pill { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--violet); color: #fff; }
.plan .price { font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -.02em; line-height: 1; margin: 22px 0 6px; direction: ltr; text-align: start; }
.plan .price small { font-size: 17px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
html[dir="rtl"] .plan .price { direction: rtl; }
.plan .per { color: var(--ink-3); font-size: 14.5px; min-height: 1.6em; }
.plan .trial { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-weight: 600; }
.plan .trial svg { width: 20px; height: 20px; }
.includes { max-width: 860px; margin: 22px auto 0; padding: 26px 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; list-style: none; }
.includes li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.includes svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--ink); }
.timeline { max-width: 860px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; top: 15px; inset-inline: 16.6%; height: 2px; background: var(--line-2); }
.timeline div { position: relative; text-align: center; padding: 0 8px; }
.timeline i { width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 50%; background: var(--surface-2); border: 1.5px solid var(--line-2); display: grid; place-items: center; position: relative; }
.timeline div:first-child i { background: var(--violet); border-color: var(--violet); }
.timeline i svg { width: 16px; height: 16px; }
.timeline b { display: block; font-size: 15.5px; }
.timeline small { color: var(--ink-3); font-size: 13.5px; }
.fine { max-width: 760px; margin: 30px auto 0; text-align: center; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.fine a { color: var(--ink-2); }

/* ─────────── FAQ ─────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin: 0; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.qa details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 680px; }
.qa details > div p:last-child { margin: 0; }

/* ─────────── closing CTA ─────────── */
.closing { text-align: center; }
.closing .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 50px -16px rgba(0,0,0,.8); }
.closing h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; margin: 0 auto 30px; }
.closing .cta { justify-content: center; }

/* ─────────── footer ─────────── */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-deep); font-size: 15px; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)); gap: 40px; }
.site-foot h4 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
html[dir="rtl"] .site-foot h4 { letter-spacing: 0; font-size: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .about { color: var(--ink-3); max-width: 380px; margin-top: 14px; }
.by { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.by svg { width: 24px; height: 24px; }
.by b { letter-spacing: .14em; font-weight: 700; color: var(--ink); font-size: 13px; }
.legal-line { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-3); font-size: 13.5px; }

/* ─────────── legal & support pages ─────────── */
.doc-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: clamp(36px, 5vw, 60px); }
.doc-head .meta { margin-top: 16px; color: var(--ink-3); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.doc-head .summary { margin-top: 22px; max-width: 720px; color: var(--ink-2); font-size: 18px; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: 48px 96px; align-items: start; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; font-size: 14.5px; }
.toc b { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
html[dir="rtl"] .toc b { letter-spacing: 0; font-size: 13.5px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); border-inline-start: 2px solid var(--line); border-radius: 0; }
.toc a:hover { color: var(--ink); border-inline-start-color: var(--ink-3); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 56px 0 16px; padding-top: 8px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose .callout { padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin: 22px 0; }
.prose .callout p:last-child { margin: 0; }
.prose .table { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: start; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; }
.prose td { color: var(--ink-2); }
.prose td:first-child { color: var(--ink); font-weight: 500; }
mark.review { background: rgba(242, 178, 76, .14); color: var(--carb); border: 1px dashed rgba(242, 178, 76, .6); padding: 0 6px; border-radius: 6px; font-size: .88em; font-weight: 600; white-space: nowrap; }
.prose .steps-list { counter-reset: s; list-style: none; padding: 0; }
.prose .steps-list li { counter-increment: s; position: relative; padding-inline-start: 42px; margin-bottom: 12px; }
.prose .steps-list li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 26px; margin: 0 0 40px; }
.contact-card b { font-size: 20px; }
.contact-card p { margin: 4px 0 0; color: var(--ink-3); font-size: 15px; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf .code { font: 700 clamp(96px, 16vw, 180px)/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }
.nf h1 { font-size: clamp(28px, 4vw, 40px); margin: 18px 0 12px; }
.nf p { color: var(--ink-2); }
.nf .cta { justify-content: center; margin-top: 26px; }

/* ─────────── motion (subtle; off when reduced) ─────────── */
.motion .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .rv.d1 { transition-delay: .08s; } .motion .rv.d2 { transition-delay: .16s; } .motion .rv.d3 { transition-delay: .24s; } .motion .rv.d4 { transition-delay: .32s; }
.motion .slide .tag, .motion .slide .result-pill { opacity: 0; }
.motion .slide.on .tag { animation: tag-in .6s var(--ease) forwards; }
.motion .slide.on .tag.t1 { animation-delay: .25s; } .motion .slide.on .tag.t2 { animation-delay: .4s; } .motion .slide.on .tag.t3 { animation-delay: .55s; } .motion .slide.on .tag.t4 { animation-delay: .7s; }
.motion .slide.on .result-pill { animation: pill-in .6s var(--ease) .9s forwards; }
.motion .plate-stage.scan .scanline { animation: scan 1.6s var(--ease) .1s 1 forwards; }
@keyframes tag-in { to { opacity: 1; transform: none; } }
@keyframes pill-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes scan { 0% { opacity: 0; top: 10%; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { opacity: 0; top: 86%; } }
.snap .rv, .snap .hero .tag, .snap .hero .result-pill, .snap .slide.on .tag, .snap .slide.on .result-pill { opacity: 1 !important; transform: none !important; animation: none !important; }
.snap .hero .result-pill { transform: translateX(-50%) !important; }
.snap .band .track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band .track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ─────────── responsive ─────────── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .head-tools { margin-inline-start: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 0 28px; }
  .promise, .promise + .promise, html[dir="rtl"] .promise { padding: 24px 0; border-inline-end: 0; border-top: 1px solid var(--line); }
  .steps-b .step { grid-template-columns: 90px minmax(0, 1fr); }
  .steps-b .viz { grid-column: 2; }
  .steps-b .big { font-size: 64px; }
}
@media (max-width: 900px) {
  .hero-a .grid, .demo .grid, .coach-grid, .ram .grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .plate-stage { max-width: 480px; margin-top: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .sec-head { position: static; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .site-foot .cols > :first-child { grid-column: 1 / -1; }
  .trio .d-start, .trio .d-end { display: none; }
  .trio { height: auto; }
  .trio .device { position: relative; }
  .trio::after { display: none; }
  .flist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-head .bar { height: 60px; gap: 10px; }
  .site-head .soon { display: none; }
  .brand .ar-name { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .feat.wide { grid-column: auto; }
  .feat .split { grid-template-columns: minmax(0, 1fr); }
  .coaches { grid-template-columns: minmax(0, 1fr); }
  .plans, .includes { grid-template-columns: minmax(0, 1fr); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .tag { font-size: 12.5px; padding: 6px 10px 6px 8px; gap: 7px; }
  .tag small { font-size: 11.5px; }
  .tag .k { padding-inline-start: 7px; margin-inline-start: 2px; }
  .tag.t1 { inset-inline-start: 0; } .tag.t2 { inset-inline-end: 0; } .tag.t3 { inset-inline-start: 0; } .tag.t4 { inset-inline-end: 0; }
  .result-pill b { font-size: 18px; }
  .menu-col { padding: 24px 20px 16px; }
  .dish .nm b { font-size: 16px; }
  .pcard svg { width: 48px; height: 48px; }
  .panel { padding: 20px 16px; }
  .steps-b .step { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
  .steps-b .viz { grid-column: auto; }
  .steps-b .big { font-size: 52px; }
  .site-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 20px; }
  .store { height: 56px; }
  .cta .btn { flex: 1 1 auto; }
  .cta .store { flex: 0 0 auto; }
  .feat { min-height: 0; }
  .tag small { display: none; }
  .tag.t1 { top: 10%; } .tag.t2 { top: 38%; } .tag.t3 { bottom: 34%; } .tag.t4 { bottom: 22%; }
  .plate-stage .plate { inset: 11% 11% 14%; }
  .timeline b { font-size: 14px; }
}
@media (max-width: 380px) {
  .hero h1, html[dir="rtl"] .hero h1 { font-size: 36px; }
  .pcards { gap: 6px; }
  .pcard { padding: 10px 4px; }
  .chip { padding: 9px 11px; font-size: 14px; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html[dir="rtl"] .plate svg, html[dir="rtl"] .mini-plate { transform: scaleX(-1); }
.tag .d-amber { background: #E3B261; } .tag .d-brown { background: #A9622F; } .tag .d-red { background: #C8582C; } .tag .d-green { background: #6FA052; }
.tag .d-yellow { background: #EDBE4E; } .tag .d-cream { background: #EDE3C8; } .tag .d-orange { background: #F08A50; } .tag .d-dark { background: #7A5A40; }
.result-pill small.u { display: inline; }
.fq-u { width: 85%; background: var(--fat); } .fq-s1 { width: 15%; background: var(--carb); }
.fq-u2 { width: 38%; background: var(--fat); } .fq-s2 { width: 62%; background: var(--carb); }
.fq-dot-u { background: var(--fat); } .fq-dot-s { background: var(--carb); }
[hidden] { display: none !important; }
.ram-card .meal small.u { display: inline; }
.snap *, .snap *::before, .snap *::after { transition: none !important; animation: none !important; }
/* drawn coach chat (inside .device) */
.coach-ui { gap: .7em; font-size: calc(var(--w) * .047); }
.coach-ui .ideas { display: grid; gap: .45em; }
.coach-ui .ideas span { display: flex; align-items: center; gap: .5em; font-size: .8em; padding: .55em .8em; border-radius: .8em; background: var(--surface); border: 1px solid var(--line); }
.coach-ui .ideas svg { width: 1.1em; height: 1.1em; flex: none; }
.coach-ui .ideas b { font-size: .78em; color: var(--ink-3); font-weight: 600; margin-top: .3em; }
.coach-ui .ch-head { display: flex; align-items: center; gap: .6em; padding-bottom: .7em; border-bottom: 1px solid var(--line); }
.coach-ui .ch-head img { width: 2.3em; height: 2.3em; border-radius: 50%; }
.coach-ui .ch-head b { display: block; font-size: 1em; }
.coach-ui .ch-head small { color: var(--ink-3); font-size: .78em; }
.coach-ui .bubble { font-size: .86em; line-height: 1.5; }
.coach-ui .bubble.me { align-self: flex-end; background: var(--surface-2); padding: .55em .9em; border-radius: 1.1em; max-width: 80%; }
html[dir="rtl"] .coach-ui .bubble.me { align-self: flex-start; }
.coach-ui .bubble.bot { color: var(--ink); }
.coach-ui .mealcard { background: var(--surface); border: 1px solid var(--line); border-radius: 1em; padding: .8em; display: grid; gap: .7em; }
.coach-ui .mc-top { display: flex; justify-content: space-between; gap: .6em; }
.coach-ui .mc-top b { display: block; font-size: .95em; }
.coach-ui .mc-top small { color: var(--ink-3); font-size: .74em; line-height: 1.4; display: block; }
.coach-ui .mc-k { text-align: end; }
.coach-ui .mc-k b { font-size: 1.25em; }
.coach-ui .mc-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.coach-ui .mc-bars small { font-size: .7em; color: var(--ink-2); white-space: nowrap; }
.coach-ui .mc-bars i { display: block; height: .25em; border-radius: 9px; margin-top: .3em; background: var(--surface-2); position: relative; overflow: hidden; }
.coach-ui .mc-bars i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 9px; }
.coach-ui .mc-bars .p i::after { width: 45%; background: var(--violet); }
.coach-ui .mc-bars .c i::after { width: 75%; background: var(--carb); }
.coach-ui .mc-bars .f i::after { width: 30%; background: var(--fat); }
.coach-ui .mc-btns { display: flex; gap: .5em; }
.coach-ui .mc-btns span { flex: 1; text-align: center; padding: .6em; border-radius: 99px; background: var(--surface-2); font-weight: 600; font-size: .85em; }
.coach-ui .mc-btns span.p { flex: 1.6; background: var(--violet); color: #fff; }
.coach-ui .ch-input { margin-top: auto; padding: .75em 1em; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); font-size: .85em; }
@media (max-width: 1080px) {
  .menu nav { position: fixed; top: 64px; inset-inline: 16px; width: auto; }
  .lang ul { position: fixed; top: 64px; inset-inline-end: 16px; inset-inline-start: auto; }
}
@media (max-width: 640px) {
  .prose .table { border: 0; overflow: visible; }
  .prose table { min-width: 0; }
  .prose thead { display: none; }
  .prose tr { display: block; padding: 14px 16px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  .prose td { display: block; padding: 6px 0 0; border: 0; }
  .prose td:first-child { padding-top: 0; }
  .prose td[data-label]::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-top: 6px; }
  .prose td:first-child::before { display: none; }
}
.prose ul.refs { text-align: left; }
/* hero: CSS-only entrance (no script needed, so it never delays the first paint of text) */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: rise .9s var(--ease) both; }
  .hero-in.d2 { animation-delay: .15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hero plates: a small set of slides, rotated gently by site.js (never with Reduce Motion) */
.stage { width: 100%; max-width: 560px; justify-self: center; margin-inline: auto; }
.stage .plate-stage { max-width: none; }
.plate-stage .slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.plate-stage .slide.on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.plate-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.plate-tabs .chip { min-height: 38px; padding: 8px 14px; font-size: 14px; }
/* one global food list */
.menu-all .dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
@media (max-width: 900px) { .menu-all .dishes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .plate-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .plate-tabs::-webkit-scrollbar { display: none; }
  .plate-tabs .chip { flex: none; }
}
.snap .slide.on .result-pill { transform: translateX(-50%) !important; }
.soon-tag { display: inline-block; vertical-align: middle; margin-inline-start: 6px; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; border: 1px solid currentColor; opacity: .85; }
