/* getselly.co.il landing v1, round 5 ("feel"): a calm page shell in Selly's own colours. White page, one soft green
   glow behind the hero, faint dots at the edges, rounded cards. Round 6 (founder 2026-10-20 21:36): calm but not empty:
   tighter sections and cards; on phones a short page (compact cards, the screenshots as a swipe carousel). Selly's identity (the yellow shelf tag,
   the printed receipt, the red stamp) appears only inside the product pictures. Self-hosted fonts only. */
@font-face { font-family: "Assistant"; font-weight: 400; font-display: swap; src: url("/fonts/assistant-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 700; font-display: swap; src: url("/fonts/assistant-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 800; font-display: swap; src: url("/fonts/assistant-hebrew-800-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 400; font-display: swap; src: url("/fonts/assistant-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Assistant"; font-weight: 700; font-display: swap; src: url("/fonts/assistant-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Assistant"; font-weight: 800; font-display: swap; src: url("/fonts/assistant-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("/fonts/plex-arabic-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f7f5; --soft: #f1f7f3; --line: #e2e8e4;
  --head: #13392d; --ink: #23302a; --ink-2: #52605a; --accent: #23704f; --hl: rgb(255 214 10 / 0.42);
  --brand: #2f7a5b; --brand-strong: #1f5a42; --on-brand: #ffffff; --pill: #1f5a42; --pill-ink: #ffffff;
  --chip-on: #e1f0e8; --chip-on-ink: #13392d; --chip-line: #c9d8cf;
  --panel-a: #e5f3ec; --panel-b: #fff6cc;
  --glow: rgb(47 122 91 / 0.17); --dot: rgb(31 77 58 / 0.14);
  --phone: #0f1412; --phone-ring: rgb(0 0 0 / 0); --screen: #eef2ef;
  /* inside the product pictures only: the shelf tag, the receipt paper, the stamp (light in both themes, as in the app) */
  --tag: #ffd60a; --tag-ink: #1e2a25; --tag-band: #1f4d3a; --tag-band-ink: #ffd60a; --highlight: #fff3a0;
  --paper: #ffffff; --paper-ink: #121614; --paper-ink-2: #4a524e; --stamp: #c8102e;
  --card-sh: 0 1px 2px rgb(18 50 36 / 0.04), 0 14px 36px rgb(18 50 36 / 0.08);
  --phone-sh: 0 24px 60px rgb(18 50 36 / 0.22);
  --font: "Assistant", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-h1: clamp(2.35rem, 8.2vw, 4.3rem); --fs-h2: clamp(1.85rem, 5vw, 2.9rem); --fs-h3: 1.3rem;
  --gap-section: clamp(44px, 7vw, 88px);
  color-scheme: light;
}
:root:lang(ar) { --font: "IBM Plex Sans Arabic", "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-h1: clamp(2.05rem, 6.6vw, 3.5rem); --fs-h2: clamp(1.6rem, 4.2vw, 2.4rem); --fs-h3: 1.2rem; }
:root[data-theme="dark"] {
  --bg: #0e1311; --surface: #161d1a; --surface-2: #121815; --soft: #111a16; --line: #26312c;
  --head: #e8f4ee; --ink: #dfe8e3; --ink-2: #a9b5af; --accent: #5cc79a; --hl: rgb(255 214 10 / 0.22);
  --brand: #3fa57c; --brand-strong: #7fd3ad; --on-brand: #04130d; --pill: #7fd3ad; --pill-ink: #04130d;
  --chip-on: #1d3a2d; --chip-on-ink: #e8f4ee; --chip-line: #2f4a3d;
  --panel-a: #15362a; --panel-b: #2c2a10;
  --glow: rgb(63 165 124 / 0.22); --dot: rgb(238 242 240 / 0.08);
  --phone: #232b27; --phone-ring: rgb(238 242 240 / 0.28); --screen: #0a0d0c;
  --paper: #e3e7e4; --paper-ink-2: #3f4743;
  --card-sh: 0 1px 2px rgb(0 0 0 / 0.3), 0 14px 36px rgb(0 0 0 / 0.35);
  --phone-sh: 0 24px 60px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0e1311; --surface: #161d1a; --surface-2: #121815; --soft: #111a16; --line: #26312c;
    --head: #e8f4ee; --ink: #dfe8e3; --ink-2: #a9b5af; --accent: #5cc79a; --hl: rgb(255 214 10 / 0.22);
    --brand: #3fa57c; --brand-strong: #7fd3ad; --on-brand: #04130d; --pill: #7fd3ad; --pill-ink: #04130d;
    --chip-on: #1d3a2d; --chip-on-ink: #e8f4ee; --chip-line: #2f4a3d;
    --panel-a: #15362a; --panel-b: #2c2a10;
    --glow: rgb(63 165 124 / 0.22); --dot: rgb(238 242 240 / 0.08);
    --phone: #232b27; --phone-ring: rgb(238 242 240 / 0.28); --screen: #0a0d0c;
    --paper: #e3e7e4; --paper-ink-2: #3f4743;
    --card-sh: 0 1px 2px rgb(0 0 0 / 0.3), 0 14px 36px rgb(0 0 0 / 0.35);
    --phone-sh: 0 24px 60px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--font); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:root:lang(ar) body { font-size: 1.0625rem; }
img { max-inline-size: 100%; }
a { color: var(--brand-strong); }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-inline-size: 1160px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; inset-block-start: -60px; z-index: 30; background: var(--pill); color: var(--pill-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { inset-block-start: 8px; }
h1, h2, h3 { color: var(--head); margin: 0; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
:root:lang(ar) h1, :root:lang(ar) h2, :root:lang(ar) h3 { font-weight: 700; letter-spacing: 0; }
.fine { color: var(--ink-2); font-size: 0.9375rem; margin: 6px 0 0; }
.center { text-align: center; }
.features + .fine, .shot-dots + .fine { margin-block-start: 24px; }
.num { font-weight: 700; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.d { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }

/* ---- header: logo, a quiet menu, the language links */
.top { position: sticky; inset-block-start: 0; z-index: 20; background: var(--bg); background: rgb(from var(--bg) r g b / 0.86); backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 12px; min-block-size: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; min-block-size: 44px; font-weight: 800; font-size: 1.45rem; }
.brand img { inline-size: 38px; block-size: 38px; border-radius: 10px; }
.badge { background: var(--chip-on); color: var(--chip-on-ink); border-radius: 999px; padding: 1px 10px; font-size: 0.8125rem; font-weight: 700; }
.top-nav { display: none; gap: 4px; margin-inline-start: auto; }
.top-nav a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.top-nav a:hover { color: var(--head); }
.lang { display: flex; gap: 4px; margin-inline-start: auto; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-block-size: 40px; min-inline-size: 44px; padding-inline: 14px;
  border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 0.9375rem; }
.lang a[aria-current="true"] { background: var(--surface); color: var(--head); box-shadow: 0 1px 3px rgb(18 50 36 / 0.12); }

/* ---- decoration: faint dots at the page edges (never under text) */
.dots { position: relative; isolation: isolate; }
.dots::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.3px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000 0, transparent 14%, transparent 86%, #000 100%);
  mask-image: linear-gradient(to left, #000 0, transparent 14%, transparent 86%, #000 100%); }

/* ---- hero: nothing here waits for an animation (heading, text, buttons and picture paint at once) */
.hero { padding-block: 16px 0; overflow: hidden; }
.hero-grid { display: grid; gap: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--accent); font-weight: 700; }
.eyebrow::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--tag); box-shadow: 0 0 0 3px var(--hl); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.12; }
:root:lang(ar) .hero h1 { line-height: 1.35; }
/* the rotating word: every word sits in the same grid cell, so the line keeps the widest word's width (no shift) */
.rot { display: inline-grid; justify-items: start; vertical-align: bottom; color: var(--accent); }
.rot .w { grid-area: 1 / 1; white-space: nowrap; background: linear-gradient(transparent 64%, var(--hl) 64%, var(--hl) 92%, transparent 92%);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
.rot .w:not(.on) { opacity: 0; transform: translateY(0.3em); }
.rot .w.out { opacity: 0; transform: translateY(-0.3em); }
.rot-ctl { display: none; margin-inline-start: 4px; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 0; }
.js .rot-ctl { display: inline-grid; place-items: center; }
.rot-ctl svg { inline-size: 18px; block-size: 18px; }
.lead { font-size: 1.125rem; color: var(--ink-2); margin: 10px 0 14px; max-inline-size: 31em; line-height: 1.5; }
.beta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 12px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.beta-pill { background: var(--tag); color: var(--tag-ink); border-radius: 999px; padding: 0 10px; font-weight: 700; font-size: 0.875rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
/* round 6: the address and a copy button next to each invite button (a phone may have no mail app) */
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 0; color: var(--ink-2); font-size: 0.9375rem; }
.mail .addr { font-weight: 700; color: var(--head); }
.copy { display: inline-flex; align-items: center; min-block-size: 44px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--chip-line);
  background: var(--surface); color: var(--brand-strong); font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
.panel .mail { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 56px; padding: 8px 28px; border-radius: 999px;
  background: var(--pill); color: var(--pill-ink); font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 8px 20px rgb(31 90 66 / 0.25); transition: transform 0.15s ease-out; }
.btn:hover { transform: translateY(-1px); }
.btn svg { inline-size: 1.2em; block-size: 1.2em; }
.link-more { display: inline-flex; align-items: center; min-block-size: 44px; font-weight: 700; color: var(--brand-strong); text-underline-offset: 5px; }
.qr { display: none; }
.hero-visual { position: relative; margin: 0; display: grid; justify-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset-block-start: -12%; inset-inline: -30%; block-size: 120%;
  background: radial-gradient(closest-side, var(--glow), transparent 100%); pointer-events: none; }

/* ---- the phone: a real device frame (rounded, a camera island, side keys) */
.device { position: relative; margin: 0; padding: 11px; border-radius: 48px; background: var(--phone);
  box-shadow: 0 0 0 1.5px var(--phone-ring), var(--phone-sh); }
.device::before { content: ""; position: absolute; inset-block-start: 20px; inset-inline-start: 50%; translate: 50% 0; z-index: 2;
  inline-size: 28%; block-size: 22px; border-radius: 999px; background: #050706; }
.device::after { content: ""; position: absolute; inset-block-start: 22%; inset-inline-end: -3px; inline-size: 3px; block-size: 13%; border-radius: 3px 0 0 3px; background: var(--phone); }
.device .screen { position: relative; overflow: hidden; border-radius: 38px; background: var(--screen); }
.device img { display: block; inline-size: 100%; block-size: auto; }

/* the hero phone: cut short on a phone (~420 px), the "cheapest near you" card in front, two dearer branches behind */
.hero-phone { inline-size: min(330px, 86vw); border-end-start-radius: 0; border-end-end-radius: 0; padding-block-end: 0; }
.hero-phone .screen { border-end-start-radius: 0; border-end-end-radius: 0; padding: 42px 12px 18px; }
.app-bar { display: flex; align-items: center; gap: 6px; color: var(--head); font-weight: 800; font-size: 1.15rem; padding: 0 4px 6px; }
.app-bar img { inline-size: 24px; block-size: 24px; border-radius: 7px; }
.stack { display: flex; flex-direction: column-reverse; }
.slip { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; padding: 7px 12px 20px;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; font-size: 0.875rem; line-height: 1.4; }
.slip .sname { font-weight: 700; flex: 1 1 auto; min-inline-size: 0; }
.slip .ssum { font-weight: 700; }
.slip.s2 { z-index: 1; margin-inline: 26px; }
.slip.s1 { z-index: 2; margin-inline: 13px; margin-block-start: -12px; }
.rtag-wrap { position: relative; z-index: 3; margin-block-start: -12px; filter: drop-shadow(0 4px 0 rgb(18 50 36 / 0.16)); }
.rtag { background: var(--tag); color: var(--tag-ink); padding: 0 14px 14px; line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.band-row { display: flex; align-items: center; gap: 10px; margin-inline: -14px; padding: 7px 14px 6px; background: var(--tag-band); color: var(--tag-band-ink); font-weight: 800; }
.hole { inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--tag); flex: none; }
.rtag p { margin: 0; }
.rtag-store { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; padding-block: 10px 2px; font-weight: 700; }
.rtag-store svg { inline-size: 1.2em; block-size: 1.2em; flex: none; }
.rtag-store .km { font-weight: 400; color: var(--paper-ink-2); font-size: 0.875rem; }
.rtag-sum { font-size: 2.5rem; line-height: 1.05; padding-block: 4px; }
.rtag-instead { font-size: 0.875rem; }
.rtag-instead s { text-decoration-thickness: 2px; }
.rtag-save { display: flex; align-items: center; gap: 8px; margin-block-start: 10px !important; padding-block-start: 8px; border-block-start: 2px dashed rgb(31 77 58 / 0.35); }
.coin { flex: none; inline-size: 1.6em; block-size: 1.6em; border-radius: 50%; background: var(--tag-band); color: var(--tag); display: inline-grid; place-items: center; font-weight: 700; font-size: 0.875rem; }
.hl { background: var(--highlight); padding-inline: 6px; border-radius: 7px; font-weight: 700; font-size: 1.05rem; }
.shelf { position: relative; z-index: 1; block-size: 14px; inline-size: min(420px, 100%); margin-block-start: -6px; border-radius: 4px;
  background: var(--surface-2); border-block-start: 2px solid var(--line); box-shadow: 0 6px 14px rgb(18 50 36 / 0.08); }
.shot-note { margin: 12px 0 0; text-align: center; text-wrap: balance; }

/* ---- sections: lots of air, centred headings */
.band { padding-block: var(--gap-section) 0; }
.band.soft { margin-block-start: var(--gap-section); padding-block: var(--gap-section); background: var(--soft); }
.band.soft + .band { padding-block-start: var(--gap-section); }
.sec-head { text-align: center; max-inline-size: 760px; margin: 0 auto 28px; }
.sec-head h2 { font-size: var(--fs-h2); line-height: 1.2; }
.sec-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 1.125rem; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

/* rounded cards (steps, trust, partners) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px; box-shadow: var(--card-sh);
  display: grid; gap: 10px; align-content: start; }
.card p { margin: 0; color: var(--ink-2); }
.card .ico { display: inline-grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 18px; background: var(--chip-on); color: var(--brand-strong); }
.card .ico svg { inline-size: 28px; block-size: 28px; }
.card .step-n { font-weight: 800; color: var(--accent); font-size: 0.9375rem; }
.links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.links a { display: inline-flex; align-items: center; min-block-size: 44px; font-weight: 700; text-underline-offset: 5px; }

/* ---- the try-it demo: same basket, three branches (inside a phone: a product picture) */
.demo { display: grid; gap: 28px; align-items: center; }
.demo-text h2 { font-size: var(--fs-h2); line-height: 1.2; }
.demo-text .sub { color: var(--ink-2); font-size: 1.125rem; margin: 8px 0 12px; }
.hint { font-weight: 700; color: var(--head); margin: 0 0 10px; }
/* round 6: the demo's answer in one line above the chips (phones; the phone with every branch is below the chips) */
.demo-mini { display: none; }
.mini-tag { background: var(--chip-on); color: var(--chip-on-ink); border-radius: 999px; padding: 0 9px; font-size: 0.8125rem; font-weight: 800; }
.mini-total { font-variant-numeric: tabular-nums; }
.mini-save { flex-basis: 100%; color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-block-size: 48px; padding: 6px 16px; border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 600;
  background: var(--surface); color: var(--ink-2); border: 1.5px solid var(--chip-line); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.chip[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--brand); }
.chip .tick { inline-size: 20px; block-size: 20px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; flex: none; }
.chip .tick svg { inline-size: 12px; block-size: 12px; opacity: 0; }
.chip[aria-pressed="true"] .tick { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip[aria-pressed="true"] .tick svg { opacity: 1; }
.demo-phone { inline-size: min(360px, 92vw); justify-self: center; }
.demo-phone .screen { padding: 52px 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.app-count { margin: 0 4px; color: var(--ink-2); font-weight: 700; font-size: 0.9375rem; }
.branches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.br { background: var(--paper); color: var(--paper-ink); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; }
.br .bname { font-weight: 700; line-height: 1.35; }
.br .bkm { color: var(--paper-ink-2); font-size: 0.875rem; grid-column: 1; }
.br .btotal { grid-row: 1 / span 2; grid-column: 2; text-align: end; display: grid; justify-items: end; gap: 4px; }
.br [data-out="total"] { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.more-chip .num { font-size: inherit; }
.stamp { color: var(--stamp); border: 2.5px solid var(--stamp); border-radius: 7px; padding: 0 8px; font-weight: 800; font-size: 0.875rem; transform: rotate(-3deg); }
.more-chip { color: var(--paper-ink-2); border: 1.5px solid var(--paper-ink-2); border-radius: 7px; padding: 0 8px; font-weight: 700; font-size: 0.8125rem; }
[hidden] { display: none !important; }
.save { margin: 4px 0 0; background: var(--tag); color: var(--tag-ink); border-radius: 14px; padding: 10px 14px; font-weight: 700; line-height: 1.45; }

/* ---- screenshots: real phones, text and phone alternating on desktop, one tilted */
.features { display: grid; gap: 48px; }
.feature { display: grid; gap: 22px; align-items: center; }
.shot-dots { display: none; }
.feature .f-text h3 { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.25; }
.feature .f-text p { color: var(--ink-2); font-size: 1.15rem; margin: 12px 0 0; max-inline-size: 28em; }
.feature .device { inline-size: min(280px, 72vw); justify-self: center; }
/* a status-bar strip in the page colour, so the camera island never covers the screenshot */
.feature .screen { aspect-ratio: 390 / 844; padding-block-start: 44px; background: var(--bg); }
.feature .screen img { block-size: 100%; object-fit: cover; object-position: top; }
/* founder 2026-10-20: the receipt shows down to its total line, the home screen is cut to its content: the phone takes
   the image's own height */
.feature .screen.full { aspect-ratio: auto; }
.feature .screen.full img { block-size: auto; }
.feature.tilt .device { rotate: -3deg; }

/* ---- coverage: rounded numbers, chain pills */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: var(--card-sh);
  display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat.wide { grid-column: 1 / -1; }
.stat dd { margin: 0; font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; line-height: 1.05; color: var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat dt { margin-block-start: 6px; color: var(--ink-2); font-weight: 600; }
.asof { text-align: center; color: var(--ink-2); font-weight: 600; margin: 0 0 14px; }
.chain-pills { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chain-pills li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; color: var(--head); }
.chain-pills .n { color: var(--ink-2); font-weight: 600; }
.cov-notes { text-align: center; }
.cov-notes p { margin: 0 0 6px; color: var(--ink-2); }
.cov-notes .honest { color: var(--head); font-weight: 700; }

/* ---- contact: a soft gradient panel */
.panel { border-radius: 30px; padding: 32px 20px; text-align: center; background: linear-gradient(135deg, var(--panel-a), var(--panel-b));
  display: grid; justify-items: center; gap: 14px; }
.panel h2 { font-size: var(--fs-h2); line-height: 1.2; }
.panel p { margin: 0; color: var(--ink); font-size: 1.15rem; max-inline-size: 34em; }
.panel .btn { margin-block-start: 10px; }

/* ---- footer: quiet */
.foot { margin-block-start: var(--gap-section); background: var(--surface-2); border-block-start: 1px solid var(--line); padding-block: 28px 24px; color: var(--ink-2); }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.f-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.f-links a { display: inline-flex; align-items: center; min-block-size: 44px; font-weight: 700; text-underline-offset: 5px; }
.f-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-block-start: 22px; padding-block-start: 16px;
  border-block-start: 1px solid var(--line); font-size: 0.9375rem; }

/* ---- the accessibility statement (its own page, both languages) */
.statement { padding-block: 48px 0; max-inline-size: 820px; }
.statement h1 { font-size: var(--fs-h2); line-height: 1.25; margin-block-end: 8px; }
.statement-sec { padding-block: 32px 8px; }
.statement-sec + .statement-sec { margin-block-start: 40px; border-block-start: 1px solid var(--line); }
.statement h2 { font-size: var(--fs-h3); margin-block-end: 8px; }
.statement h3 { font-size: 1.125rem; margin-block: 28px 6px; }
.statement p, .statement li { color: var(--ink-2); }
.statement .lead { font-size: 1.15rem; margin: 0 0 8px; }
.statement ul { padding-inline-start: 1.3em; margin: 6px 0; }
.statement li { margin-block: 6px; }

/* ---- the floating invite pill: phones only, shown by JS when the hero button is off screen */
.float-cta { display: none; }
@media (max-width: 899px) {
  /* founder 2026-10-20: room at the end for the pill (its height + the gap + the phone's safe area), so nothing ends under it */
  .js .foot { padding-block-end: calc(30px + 56px + 28px + env(safe-area-inset-bottom, 0px)); }
  .js .float-cta { display: flex; position: fixed; inset-inline: 16px; inset-block-end: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 25; justify-content: center;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out; }
  .js .float-cta:not(.show) { opacity: 0; transform: translateY(24px); pointer-events: none; visibility: hidden; }
  .float-cta .btn { inline-size: 100%; max-inline-size: 420px; }
  /* round 6 (2): cards as a compact list: the icon beside the text, no shadow */
  .cards { gap: 10px; }
  .card { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px 16px; border-radius: 18px; box-shadow: none; }
  .card .ico { grid-row: 1 / span 4; inline-size: 44px; block-size: 44px; border-radius: 14px; }
  .card .ico svg { inline-size: 22px; block-size: 22px; }
  .card > :not(.ico) { grid-column: 2; }
  .card p { font-size: 1rem; line-height: 1.5; }
  /* round 6 (2): the screenshots as a swipe carousel (scroll-snap; no JS needed); the dots are links to each one */
  .features { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -20px; padding: 4px 20px 16px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .features::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 86%; scroll-snap-align: center; align-content: start; align-items: start; gap: 12px; }
  .feature .f-text h3 { font-size: 1.25rem; }
  .feature .f-text p { font-size: 1rem; margin-block-start: 6px; }
  .feature .device { inline-size: 100%; max-inline-size: 320px; }
  .feature.tilt .device { rotate: none; }
  .shot-dots { display: flex; justify-content: center; gap: 2px; margin-block-start: 2px; }
  .shot-dots a { inline-size: 44px; block-size: 44px; display: grid; place-items: center; border-radius: 50%; }
  .shot-dots a::before { content: ""; inline-size: 10px; block-size: 10px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
  .shot-dots a[aria-current="true"]::before { background: var(--ink-2); }
  /* round 6 (3): the demo's answer, kept in view while the chips are tapped */
  .demo-mini { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; position: sticky; inset-block-start: 76px; z-index: 5;
    margin: 0 0 12px; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--card-sh); color: var(--head); font-weight: 700; line-height: 1.35; }
  .stat dd { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  /* round 6, pass 2 (7,045 px after pass 1; target <= ~5,500 at 375): */
  body { font-size: 1.0625rem; line-height: 1.55; }
  :root { --fs-h2: clamp(1.55rem, 6.4vw, 1.85rem); }
  :root:lang(ar) { --fs-h2: clamp(1.45rem, 6vw, 1.7rem); }
  .band.soft { margin-block-start: 0; }
  .sec-head { margin-block-end: 18px; }
  .hero-phone { inline-size: min(300px, 82vw); }
  .hero-phone .screen { padding-block-end: 12px; }
  .slip { padding: 5px 12px 16px; }
  /* the demo: the three branch rows as they are, without the phone around them (the summary line above the chips
     carries the answer while tapping) */
  .demo { gap: 16px; }
  .demo-phone { inline-size: 100%; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .demo-phone::before, .demo-phone::after { display: none; }
  .demo-phone .screen { padding: 0; background: none; border-radius: 0; overflow: visible; gap: 8px; }
  .demo-phone .app-count { margin: 0; }
  .br { border: 1px solid var(--line); padding: 10px 12px; }
  .feature .device { max-inline-size: 250px; justify-self: center; padding: 8px; border-radius: 40px; }
  .feature .device::before { inset-block-start: 15px; block-size: 18px; }
  .feature .device .screen { border-radius: 32px; padding-block-start: 34px; }
  .card p { font-size: 0.9688rem; }
  .stats { gap: 10px; margin-block-end: 14px; }
  .stat { padding: 12px 14px; border-radius: 16px; box-shadow: none; }
  .chain-pills { gap: 6px; margin-block-end: 14px; }
  .chain-pills li { padding: 4px 12px; font-size: 0.9375rem; }
  .panel { padding: 24px 16px; gap: 10px; border-radius: 24px; }
  .panel p { font-size: 1.0625rem; }
  .foot { padding-block-start: 20px; }
  .f-small { margin-block-start: 14px; padding-block-start: 12px; }
  /* round 6, pass 3 (6,196 px after pass 2) */
  :root { --gap-section: 36px; }
  .fine { font-size: 0.875rem; }
  .shot-note { font-size: 0.875rem; margin-block-start: 8px; }
  .hero-phone .screen { padding-block-start: 36px; }
  .card { padding: 12px 14px; }
  .card h3 { font-size: 1.125rem; }
  .card p { font-size: 0.9375rem; line-height: 1.45; }
  .chips { gap: 8px; }
  .chip { min-block-size: 44px; padding: 4px 12px; font-size: 0.9375rem; gap: 6px; }
  /* the list screenshot is already cut from its top: on phones its frame stops lower down the list */
  .feature .screen:not(.full) { aspect-ratio: 390 / 640; }
  .feature .f-text p { font-size: 0.9688rem; line-height: 1.45; }
  .sec-head p { font-size: 1rem; }
  .cov-notes p { font-size: 0.9688rem; }
}

/* ---- desktop */
@media (min-width: 900px) {
  .wrap { padding-inline: 40px; }
  .top-nav { display: flex; }
  .lang { margin-inline-start: 8px; }
  .hero { padding-block-start: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: 56px; }
  .hero-copy { padding-block: 16px 24px; }
  .lead { font-size: 1.25rem; margin: 18px 0 22px; }
  .beta { font-size: 1rem; }
  .qr { display: flex; align-items: center; gap: 14px; margin-block-start: 30px; color: var(--ink-2); font-size: 0.9375rem; }
  .qr img { inline-size: 84px; block-size: 84px; background: #ffffff; padding: 5px; border-radius: 14px; border: 1px solid var(--line); }
  .qr p { margin: 0; max-inline-size: 14em; }
  .qr .url { font-weight: 700; color: var(--head); }
  .hero-phone { inline-size: 360px; }
  .hero-phone .screen { padding: 54px 16px 30px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; }
  /* founder 2026-10-20: rows closer. The phones alternate sides, so each row tucks 120 px under the last; a row's text
     is centred on its own phone, which keeps it clear of the phone above (the shortest phone is ~420 px tall) */
  .features { gap: 0; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .feature + .feature { margin-block-start: -120px; }
  .feature.flip .f-text { order: 2; }
  .feature .device { inline-size: 264px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); max-inline-size: 900px; margin-inline: auto; }
  .stat.wide { grid-column: auto; }
  .panel { padding: 48px 40px; }
}

/* ---- motion: a gentle rise below the fold only (founder 2026-10-20 01:00: rise only, no fade: text is always at full
   opacity, so its contrast never drops). Elements already on screen at load never move; the rest rise in as they come
   near (10 % before entering). None with reduced motion. */
.m [data-reveal]:not(.in) { transform: translateY(18px); }
.m [data-reveal] { transition: transform 0.5s ease-out; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
