/* SafePlan site. Tokens live in /brand/tokens.css; this file only references them.
   Blue-white edition (09/11/2026): white paper, blue-grey surface, blueprint-blue fields; yellow only in the
   signature cell of the mark and the status square. See brand/BRAND_HE.md. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: var(--leading-text);
  font-weight: var(--fw-text);
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field-brand :focus-visible, .site-foot :focus-visible, .hero-stage > :focus-visible { outline-color: var(--signal); }
mark { background: var(--signal); color: var(--on-signal); padding: 0 4px; } /* placeholders still to fill: "awaiting signature" */
::selection { background: var(--tint); color: var(--ink); }
[lang="en"] { unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; unicode-bidi: isolate; direction: ltr; display: inline-block; }

.skip {
  position: absolute; inset-inline-start: var(--gutter); top: -100px; z-index: 10;
  background: var(--action); color: var(--on-action); padding: 12px 18px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* header */
.site-head { padding-block: 18px; background: var(--surface); }
.site-head .wrap { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.brand b { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.brand .cell-g { fill: var(--brand); }
:root[data-theme="dark"] .brand .cell-g { fill: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .cell-g { fill: var(--ink); } }
.site-nav { margin-inline-start: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding-block: 6px; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a.btn { color: var(--on-action); } /* the rule above outranked .btn: navy text on the blue button, contrast 2.46 */
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--action); }

/* buttons: flat, square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  background: var(--action); color: var(--on-action);
  font: 700 1.0625rem/1.2 var(--font-text); text-decoration: none; border: 0; border-radius: var(--radius);
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* .btn--signal kept as a class name; in the blue-white edition it is the white button on blue fields
   (--brand on white 10.7:1). Yellow is no longer a button colour. */
.btn--signal { background: var(--bg); color: var(--brand); }
:root[data-theme="dark"] .btn--signal { background: var(--action); color: var(--on-action); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--signal { background: var(--action); color: var(--on-action); } }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.textlink { font-weight: 700; color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 32px; }

/* sections and fields */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.field-brand { background: var(--brand); color: var(--on-brand); }
.field-brand a:not(.btn) { color: inherit; }
/* .field-signal kept as a class name; it is now the light blue field (ink on --tint 13.9:1), not full yellow. */
.field-signal { background: var(--tint); color: var(--ink); }
.field-signal a:not(.btn) { color: inherit; }
.field-surface { background: var(--surface); }
.lead { font-size: var(--step-1); line-height: 1.35; max-width: 34ch; margin-top: 32px; }
.note { font-size: var(--step--1); color: var(--muted); }
.field-brand .note { color: var(--on-brand-muted); }
.field-signal .note { color: var(--muted); }
.split { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 20px; font-size: var(--step-1); line-height: 1.35; max-width: 40ch; }

/* hero: copy on the blue-grey desk, the live product on a blueprint-blue stage beside it.
   (Idea taken from the general SaaS pattern of showing the working product large in the first screen; our own
   composition: square stage, no shadow, no device mock-up, the real signature gate instead of a picture.) */
.hero { padding-block: clamp(40px, 6vw, 96px) var(--section); background: var(--surface); }
.hero .split { align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero-stage { margin: 0; background: var(--brand); color: var(--on-brand); padding: clamp(14px, 2.6vw, 40px); }
.hero-stage .ui { border-color: transparent; }
.hero-stage .note { color: var(--on-brand-muted); }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 5.25rem); }
/* Two columns: each line stays on one row, so the size follows the text column (5 of 12), which is about 6.7 em of this
   headline wide. Larger than this and the mask cut the end of the line (measured 2026-11-25: up to 48px at 1536-1920). */
@media (min-width: 901px) { .hero h1 { font-size: min(5.4vw, 4.6rem); } .hero h1 .mask > span { white-space: nowrap; } }
.status { font-weight: 700; margin-bottom: 20px; display: inline-flex; gap: 10px; align-items: center; }
.status::before { content: ""; width: 14px; height: 14px; background: var(--signal); flex: none; }

/* chapter ledger (the ten chapters of regulation 5) */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.ledger li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 4px 16px; padding-block: 22px; }
.ledger.ledger--plain li { grid-template-columns: minmax(0, 1fr); }
.ledger .ref { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; direction: ltr; text-align: right; unicode-bidi: isolate; }
.ledger b { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.ledger span { display: block; }
.ledger span.chip, .claims .chip { display: inline-flex; margin-inline-start: 8px; vertical-align: middle; font-family: var(--font-text); } /* "בפיתוח" tag next to a feature name */
.ledger .src { font-size: var(--step--1); opacity: .92; margin-top: 4px; }

/* government figures: number, sentence, visible source line */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 80px); }
.fact { display: grid; gap: 12px; align-content: start; }
.fact::before { content: ""; width: 14px; height: 14px; background: var(--action); }
.fact .fig { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 0; }
.fact .fig bdi { unicode-bidi: isolate; }
.fact .fig small { font-family: var(--font-text); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
.fact p { margin: 0; }
.fact .src { font-size: var(--step--1); color: var(--muted); }
.fact .age { justify-self: start; font-size: 13px; font-weight: 700; padding: 2px 10px; background: var(--surface-2); color: var(--ink); }
.facts-foot { margin-top: clamp(40px, 5vw, 64px); }

/* sources page */
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.src-list li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.src-list b { display: block; font-size: 1.1rem; }
.src-list .note { margin: 4px 0 0; }
.src-list a { overflow-wrap: anywhere; }
.cite:has(a) { white-space: normal; } /* long linked sources wrap on phones */

/* claim list beside a fragment */
.claims { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.claims b { display: block; font-size: 1.15rem; }
.claims .cite { font-size: var(--step--1); color: var(--muted); }
.field-brand .claims .cite { color: var(--on-brand-muted); }

/* price */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.plan { padding: clamp(24px, 3vw, 44px); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.plan--brand { background: var(--brand); color: var(--on-brand); }
.plan h2, .plan h3 { font-size: var(--step-1); }
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; }
.price small { font-size: 1.1rem; font-family: var(--font-text); letter-spacing: 0; font-weight: 600; }
.plan ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 8px; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan--brand .btn { background: var(--bg); color: var(--brand); }
.plan--brand .note, .plan--brand .cite { color: var(--on-brand-muted); }

/* table (real tables may have lines) */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.data th, table.data td { text-align: start; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { padding-block: 8px; border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 10px; cursor: pointer; font-weight: 700; font-size: 1.2rem; list-style-position: outside; }
.faq details p { margin-top: 5px; }

/* contact block */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact address { font-style: normal; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 1.15rem; }

/* prose pages: posts and legal */
.page-head { padding-block: clamp(40px, 6vw, 96px) clamp(32px, 4vw, 56px); background: var(--surface); margin-bottom: clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.5rem); max-width: 18ch; }
.page-head .lead { max-width: 46ch; }
.meta { margin-top: 24px; color: var(--muted); font-size: var(--step--1); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); padding-bottom: var(--section); }
.toc { position: sticky; top: 24px; align-self: start; font-size: 1rem; }
.toc b { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 8px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 56px 0 18px; }
.prose h3 { margin: 32px 0 12px; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1em; display: grid; gap: 8px; }
.prose li { max-width: 68ch; }
.prose blockquote { margin: 28px 0; padding: 20px 24px; background: var(--surface); font-size: 1.15rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .callout { background: var(--tint); color: var(--ink); padding: 20px 24px; margin: 28px 0; border-inline-start: 6px solid var(--action); }
.prose .callout a { color: inherit; }
.prose .draft { background: var(--band-stop); color: var(--on-band-stop); padding: 16px 20px; font-weight: 700; margin-bottom: 28px; }
.cite { white-space: nowrap; color: var(--muted); font-size: .92em; unicode-bidi: isolate; }
.result .src, .gate .ref, .claims .cite { unicode-bidi: isolate; }
.related { margin-top: 56px; padding: 24px; background: var(--surface); }
.related ul { margin: 10px 0 0; }

/* blog index */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.posts li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px clamp(24px, 4vw, 64px); padding-block: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.posts h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); }
.posts h2 a { color: var(--ink); text-decoration: none; }
.posts h2 a:hover { text-decoration: underline; text-decoration-color: var(--action); }
.posts .refs { color: var(--muted); font-size: var(--step--1); margin-top: 8px; }

/* pilot form (posts to the app's /api/leads; see site.js). Works on the blue field and on the light one. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead-form { margin-top: 32px; max-width: 720px; }
.lf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 20px; }
.lf { display: grid; gap: 6px; align-content: start; min-width: 0; }
.lf label { font-weight: 700; }
.lf input, .lf select {
  font: inherit; width: 100%; min-height: 48px; padding: 10px 12px;
  background: var(--bg); color: var(--ink); border: 2px solid var(--muted); border-radius: var(--radius);
}
.field-brand .lf input, .field-brand .lf select { border-color: var(--bg); }
.lf input[dir="ltr"] { text-align: right; }
.lf input[aria-invalid="true"] { border-color: var(--band-stop); border-width: 3px; padding: 9px 11px; }
.lf-hint { font-size: var(--step--1); margin: 0 0 14px; }
.field-brand .lf-hint { color: var(--on-brand-muted); }
.lf-msg { margin: 0; font-size: var(--step--1); font-weight: 700; }
.lf-msg:empty { display: none; }
.lf-msg, .lead-status.is-bad { background: var(--bg); color: var(--band-stop); padding: 4px 8px; }
.lead-status { margin: 16px 0 0; }
.lead-status:empty { display: none; }
.lead-done { margin-top: 32px; padding: 20px 24px; background: var(--bg); color: var(--ink); border-inline-start: 6px solid var(--band-ok); max-width: 720px; }
.lead-done b { display: block; font-size: var(--step-1); font-family: var(--font-display); margin-bottom: 6px; }
.lead-done a { color: var(--link); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .actions { margin-top: 20px; }
.lead-form button[disabled] { opacity: .7; cursor: progress; transform: none; }

/* applicability checker */
.checker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.checker form { display: grid; gap: 26px; }
.checker fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checker legend, .checker label.q { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; padding: 0; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--surface); cursor: pointer; }
.opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.opt:has(input:checked) { background: var(--tint); outline: 2px solid var(--action); }
.checker input[type="number"], .checker select {
  font: inherit; font-size: 1.1rem; padding: 12px 14px; width: 100%; max-width: 280px;
  background: var(--bg); color: var(--ink); border: 2px solid var(--muted); border-radius: 0;
}
.checker .hint { font-size: var(--step--1); color: var(--muted); }
.results { display: grid; gap: 12px; }
.result { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 18px; padding: 18px; background: var(--surface); }
.verdict { font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; padding: 6px 10px; align-self: start; text-align: center; }
.v-yes { background: var(--band-stop); color: var(--on-band-stop); }
.v-check { background: var(--band-warn); color: var(--on-band-warn); }
.v-no { background: var(--band-ok); color: var(--on-band-ok); }
.result b { font-size: 1.1rem; display: block; }
.result .src { font-size: var(--step--1); color: var(--muted); }
.result p { margin: 4px 0 0; }

/* footer: the name returns at full width, on the blueprint field; the yellow "Plan" is the signature */
.site-foot { background: var(--brand); color: var(--on-brand); padding-block: clamp(64px, 8vw, 120px) 32px; }
.site-foot a { color: var(--on-brand); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-grid b { display: block; margin-bottom: 12px; }
.foot-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 1rem + 15vw, 15rem); line-height: .85; letter-spacing: -0.045em; margin: clamp(48px, 6vw, 96px) 0 24px; direction: ltr; text-align: left; overflow-wrap: anywhere; }
.foot-name span { color: var(--signal); }
.foot-small { font-size: var(--step--1); opacity: .85; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- product fragments (data-ui: the app's own borders and chips are allowed) ---------- */
.ui { background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 15px; line-height: 1.4; border: 1px solid var(--line); }
.field-brand .ui, .field-signal .ui { border-color: transparent; }
.ui-bar { border-top: 4px solid var(--brand); } /* the app's header colour, as a strip: the fragment reads as SafePlan */
.ui-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); flex-wrap: wrap; }
.ui-bar b { font-size: 15px; }
.ui-body { padding: 16px; }
.ui-small { font-size: 13px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; white-space: nowrap; }
.chip--ok { background: var(--band-ok); color: var(--on-band-ok); }
.chip--warn { background: var(--band-warn); color: var(--on-band-warn); }
.chip--stop { background: var(--band-stop); color: var(--on-band-stop); }
.chip--plain { background: var(--surface-2); color: var(--ink); }
.ui-progress { height: 8px; background: var(--surface-2); margin: 8px 0 4px; }
.ui-progress i { display: block; height: 100%; background: var(--band-ok); }

/* gate */
.gate { list-style: none; margin: 0; padding: 0; }
.gate li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.gate li:last-child { border-bottom: 0; }
.tick { width: 22px; height: 22px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.tick--ok { background: var(--band-ok); color: var(--on-band-ok); }
.tick--no { background: var(--band-stop); color: var(--on-band-stop); }
.tick--lock { background: var(--surface-2); color: var(--ink); }
.gate .ref { font-size: 12px; color: var(--muted); white-space: nowrap; }
.gate small { display: block; color: var(--muted); font-size: 13px; }
.ui-sign { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ui-btn { font: 700 14px/1 var(--font-text); min-height: 44px; padding: 10px 14px; border: 0; background: var(--surface-2); color: var(--muted); }
.ui-btn--on { background: var(--action); color: var(--on-action); }

/* risk matrix */
.matrix-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: stretch; }
.axis-y { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 12px; color: var(--muted); }
.matrix { display: grid; grid-template-columns: 2.2em repeat(4, minmax(0, 1fr)); gap: 4px; }
.matrix .lab { font-size: 12px; color: var(--muted); display: grid; place-items: center; text-align: center; }
.mc { aspect-ratio: 1.35; display: grid; place-content: center; text-align: center; font-weight: 700; padding: 4px; }
.mc span { display: block; font-size: 11px; font-weight: 600; opacity: .9; }
.mc em { font-style: normal; font-size: 20px; line-height: 1; }
.mc--ok { background: var(--band-ok); color: var(--on-band-ok); }
.mc--warn { background: var(--band-warn); color: var(--on-band-warn); }
.mc--stop { background: var(--band-stop); color: var(--on-band-stop); }
.mc--sel { outline: 3px solid var(--ink); outline-offset: -3px; }
.axis-x { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 13px; }
.risk-rows { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.risk-rows th, .risk-rows td { text-align: start; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.risk-rows thead th { font-size: 12px; color: var(--muted); font-weight: 600; }

/* phone */
.phone { width: min(340px, 100%); margin-inline: auto; background: var(--ink); padding: 12px; }
.phone .ui { border: 0; }
.phone-screen { min-height: 560px; display: flex; flex-direction: column; }
.photo-slot { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: end start; padding: 10px; position: relative; overflow: hidden; }
.photo-slot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-slot .chip { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ui-field { margin-top: 12px; }
.ui-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ui-input { background: var(--surface); padding: 10px; font-size: 14px; }
.ui-send { margin-top: auto; padding-top: 14px; }
.ui-send .ui-btn { width: 100%; padding: 14px; font-size: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- image set (brand/img, SVG as code; see brand/img/INDEX_HE.md) ---------- */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 10px; }
.shot--phone img { max-width: 280px; }
.hero-shot { margin: 40px 0 0; }
.sectors, .scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 40px); }
.sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); }
.sectors img, .scenes img { width: 100%; height: auto; }
.sectors b { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 1.2rem; }
.post-hero { margin: 32px 0 0; max-width: 960px; }
.post-hero img { width: 100%; height: auto; }
/* module icons: inline SVG, 24px grid, 2px stroke, currentColor */
.ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 8px; }
:root[data-theme="dark"] .ico { color: var(--link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ico { color: var(--link); } }
.field-brand .ico { color: var(--on-brand); }

/* motion: content is visible without JS; .js lets it rise once */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
/* room below the baseline for the comma and the long Hebrew letters (ק ף ן ך ץ), given back by the negative margin */
.mask { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.16em; }
.mask > span { display: block; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.mask:nth-child(2) > span { animation-delay: .09s; }
.mask:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.gate li.flip .tick { animation: pop .5s ease both; }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.15); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* phone composition */
@media (max-width: 900px) {
  .split, .split--even, .split--rev, .contact, .checker, .prose-grid, .posts li { grid-template-columns: minmax(0, 1fr); }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .toc { position: static; background: var(--surface); padding: 18px; }
  .hero .split { grid-template-columns: minmax(0, 1fr); }
  .first-m { order: -1; }
  .sectors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .scenes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .site-head .wrap { gap: 10px 16px; }
  .site-nav { margin-inline-start: 0; width: 100%; }
  .site-nav ul { gap: 4px 18px; }
  /* the pilot CTA stays on phones (it was hidden; the only path to the form was scrolling to the end) */
  .site-nav .btn { min-height: 44px; padding: 6px 14px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .result { grid-template-columns: minmax(0, 1fr); }
  .verdict { justify-self: start; }
  .ledger li { grid-template-columns: 3.8em minmax(0, 1fr); }
  .phone-screen { min-height: 0; }
}

/* photos + real app screens (2026-11-11) */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius, 6px); object-fit: cover; }
.page-head .head-photo { align-items: center; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.page-head .head-photo .photo { aspect-ratio: 3 / 2; }
.shot.frame img { border: 1px solid var(--line, #d5dde8); border-radius: var(--radius, 6px); background: #fff; }
.results .shot { margin-top: 16px; }
.screens { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(24px, 3vw, 40px); }
.screens__wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .page-head .head-photo, .screens { grid-template-columns: minmax(0, 1fr); } }
.hero-shot.frame { margin-top: 40px; }
.screens .shot--phone, .split .shot--phone { justify-self: center; }
.prose figure { margin: 32px 0; }
.prose figure img { width: 100%; height: auto; }
.prose .shot--phone img, .shot--phone img { max-width: 280px; }
.post-hero .photo { aspect-ratio: 3 / 2; }
.posts--thumbs li { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); align-items: start; }
.posts--thumbs .photo { aspect-ratio: 3 / 2; }
.scenes .photo { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .posts--thumbs li { grid-template-columns: minmax(0, 1fr); } }
