/* Ido Azaria, private AI lessons. Studio direction (22-brand-v2/recommendation.md). verified: 2026-10-10 (25-landing-v2)
   Every colour, face and radius is a token in :root. Swapping the palette is a change to the first block only;
   swapping the monogram is a change to assets/mark.svg only. Logical properties throughout, so he/ mirrors itself.
   Fonts are self-hosted (OFL, licences in /fonts). No request leaves this origin. */

/* ---------- fonts ---------- */
@font-face { font-family: "Bellefair"; src: url("../fonts/bellefair.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-stretch: 85% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Hebrew"; src: url("../fonts/plex-hebrew-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+200E-200F, U+20AA, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; src: url("../fonts/plex-hebrew-500.woff2") format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0590-05FF, U+200E-200F, U+20AA, U+FB1D-FB4F; }

/* ---------- tokens (Studio: the 12-brand-identity palette, kept whole) ---------- */
:root {
  color-scheme: light;
  /* palette, light */
  --c-chart-white: #F5F6F3; --c-shoal: #DDE7EC; --c-ink: #15202B; --c-slate: #55606B;
  --c-depth: #1E3A5C; --c-overprint: #8C2D63; --c-rule: #C3CDD3;
  /* palette, dark ("Grade") */
  --c-abyss: #0E1821; --c-abyss-raised: #172531; --c-mist: #E6EBEE; --c-slate-dark: #9AA7B2;
  --c-depth-light: #8FB5D3; --c-overprint-light: #E39AC2; --c-rule-dark: #2C3B48;

  /* roles */
  --bg: var(--c-chart-white); --surface: var(--c-shoal); --text: var(--c-ink); --muted: var(--c-slate);
  --accent: var(--c-depth); --on-accent: #FFFFFF; --note: var(--c-overprint); --line: var(--c-rule);
  --field-bg: #FFFFFF; --field-border: var(--c-slate); --focus: var(--c-overprint);
  --mark: var(--c-ink);                 /* the monogram's colour */
  --schematic: var(--c-depth);          /* the one large drawing */

  /* type */
  --display: "Bellefair", "Frank Ruhl Libre", Georgia, serif;
  --body: "Plex", "Plex Hebrew", Arial, sans-serif;
  --body-he: "Plex Hebrew", "Plex", Arial, sans-serif;
  --fs-caption: 0.875rem; --fs-small: 1rem; --fs-body: 1.0625rem; --fs-lead: 1.25rem;
  --fs-h3: 1.5rem; --fs-h2: clamp(1.9rem, 3.4vw, 2.5rem); --fs-hero: clamp(3.3rem, 8.4vw, 6.4rem);
  --lh: 1.6; --lh-he: 1.75; --measure: 36em;

  /* space + shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 136px;
  --gutter: 16px; --container: 1120px;
  --r-control: 4px; --r-panel: 6px;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus);
  --ease: cubic-bezier(.2,.7,.2,1); --dur: 140ms; --dur-draw: 1400ms;
}
@media (min-width: 760px) { :root { --gutter: 48px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: var(--c-abyss); --surface: var(--c-abyss-raised); --text: var(--c-mist); --muted: var(--c-slate-dark);
    --accent: var(--c-depth-light); --on-accent: var(--c-abyss); --note: var(--c-overprint-light); --line: var(--c-rule-dark);
    --field-bg: var(--c-abyss-raised); --field-border: var(--c-slate-dark); --focus: var(--c-overprint-light);
    --mark: var(--c-mist); --schematic: var(--c-depth-light);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--c-abyss); --surface: var(--c-abyss-raised); --text: var(--c-mist); --muted: var(--c-slate-dark);
  --accent: var(--c-depth-light); --on-accent: var(--c-abyss); --note: var(--c-overprint-light); --line: var(--c-rule-dark);
  --field-bg: var(--c-abyss-raised); --field-border: var(--c-slate-dark); --focus: var(--c-overprint-light);
  --mark: var(--c-mist); --schematic: var(--c-depth-light);
}
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; --dur-draw: 0ms; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-body)/var(--lh) var(--body);
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[lang="he"] body { font-family: var(--body-he); line-height: var(--lh-he); font-size: calc(var(--fs-body) * 1.06); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0; text-wrap: balance; }
h3 { font-size: var(--fs-h3); }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-control); }
strong { font-weight: 600; }
bdi { unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: var(--s4); top: -100px; background: var(--accent); color: var(--on-accent);
  padding: var(--s3) var(--s4); border-radius: var(--r-control); z-index: 10; font-weight: 500; }
.skip:focus { top: var(--s4); }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-block-start: var(--s4); }
.muted { color: var(--muted); }
.todo { color: var(--note); font-size: var(--fs-caption); }
.note { color: var(--note); padding-inline-start: var(--s3); border-inline-start: 2px solid var(--note); font-size: var(--fs-small); line-height: 1.5; }

/* the mark (one symbol, referenced everywhere; colour via currentColor) */
.mark { display: inline-block; width: 1em; height: 1em; color: var(--mark); flex: none; vertical-align: -.12em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s5);
  font-family: inherit; font-weight: 500; font-size: var(--fs-small); line-height: 1.2; border-radius: var(--r-control);
  border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; cursor: pointer; text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--quiet { background: transparent; color: var(--accent); }
.btn--quiet:hover { background: var(--surface); color: var(--text); border-color: var(--text); }
.btn--small { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-caption); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-block-start: var(--s6); }
@media (max-width: 459px) { .actions .btn { width: 100%; } }

/* ---------- header ---------- */
.site-head .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--text); text-decoration: none; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.brand .mark { font-size: 1.9rem; }
.brand:hover { text-decoration: none; }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s5); font-size: var(--fs-small); }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; }
.site-nav a:not(.btn):hover { text-decoration: underline; }
.nav-links { display: none; gap: var(--s5); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--r-control);
  font-family: inherit; font-weight: 500; font-size: var(--fs-caption); line-height: 1; min-height: 40px; padding: 0 var(--s3); cursor: pointer; }
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
@media (max-width: 459px) { .theme-toggle { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: var(--s8); }
@media (min-width: 760px) { .section { padding-block: var(--s9); } }
.section + .section, main > .section:first-child + .section { border-top: 1px solid var(--line); }
.section-head { max-width: var(--measure); margin-block-end: var(--s7); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-block-start: var(--s4); color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; }
.split { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: start; } .split .section-head { margin-block-end: 0; } }

/* ---------- hero ---------- */
.hero { padding-block: var(--s7) var(--s8); }
@media (min-width: 760px) { .hero { padding-block: var(--s9) var(--s9); } }
.hero-grid { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s9); align-items: end; } .hero-grid .capacity { margin-block-start: 0; } }
.hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.012em; max-width: 12ch; }
.hero-sub { font-size: var(--fs-lead); line-height: 1.5; margin-block-start: var(--s6); max-width: 30em; }
.capacity { margin-block-start: var(--s7); padding-block-start: var(--s5); border-top: 1px solid var(--line); max-width: 36em; font-size: var(--fs-body); }
.capacity p + p { margin-block-start: var(--s2); color: var(--muted); font-size: var(--fs-small); }
.hero-entry { margin-block-start: var(--s4); max-width: 30em; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }

/* ---------- IA > AI: the one drawing on the page ---------- */
.amp .schematic { color: var(--schematic); width: 100%; height: auto; display: block; }
.schematic text { font-family: var(--body); font-size: 15px; fill: var(--muted); }
.schematic .lbl { fill: var(--text); font-size: 17px; }
.schematic .wire { stroke: currentColor; stroke-width: 2; fill: none; }
.schematic .tri { stroke: currentColor; stroke-width: 3; fill: none; stroke-linejoin: miter; }
.schematic .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.amp.is-drawn .schematic .draw { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-draw) var(--ease); }
.amp.is-drawn .schematic .d2 { transition-delay: calc(var(--dur-draw) * .45); }
.amp.is-drawn .schematic .d3 { transition-delay: calc(var(--dur-draw) * .9); }
.amp .schematic .fade { opacity: 0; transition: opacity var(--dur) var(--ease); }
.amp.is-drawn .schematic .fade { opacity: 1; transition-delay: calc(var(--dur-draw) * 1.2); transition-duration: 600ms; }
@media (prefers-reduced-motion: reduce) { .schematic .draw { stroke-dashoffset: 0; } .amp .schematic .fade { opacity: 1; } }
.amp-copy { max-width: var(--measure); }
.amp-copy h2 { font-size: var(--fs-h2); }
.amp-copy .thesis { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; margin-block-start: var(--s5); }
.amp-copy p { margin-block-start: var(--s4); }
.amp-copy .credit { color: var(--muted); font-size: var(--fs-caption); }

/* ---------- ladder (a real sequence, hence numbered) ---------- */
.ladder { list-style: none; padding: 0; margin: 0; counter-reset: rung; border-top: 1px solid var(--line); }
.ladder li { counter-increment: rung; display: grid; grid-template-columns: 3rem 1fr; gap: var(--s2) var(--s4); padding-block: var(--s4); border-bottom: 1px solid var(--line); align-items: baseline; }
.ladder li::before { content: counter(rung); font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.ladder .t { font-weight: 600; }
.ladder .d { grid-column: 2; color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 760px) { .ladder li { grid-template-columns: 3rem minmax(0, 15em) 1fr; } .ladder .d { grid-column: auto; } }
.ladder-note { margin-block-start: var(--s5); color: var(--muted); font-size: var(--fs-small); max-width: var(--measure); }
.leave { list-style: none; padding: 0; max-width: var(--measure); }
.leave li { padding-inline-start: 1.25em; position: relative; }
.leave li + li { margin-block-start: var(--s3); }
.leave li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 9px; height: 1px; background: var(--text); }

/* ---------- for / not for ---------- */
.fit { display: grid; gap: var(--s7); }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.fit h3 { margin-block-end: var(--s4); }


/* ---------- how it works (4 steps) ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s5); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s6); } }
.steps li { counter-increment: step; padding-block-start: var(--s4); border-top: 1px solid var(--text); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2rem; line-height: 1; margin-block-end: var(--s3); }
.steps h3 { font-family: var(--body); font-weight: 600; font-size: var(--fs-body); }
.steps p { margin-block-start: var(--s2); color: var(--muted); font-size: var(--fs-small); }
.dates { margin-block-start: var(--s7); display: grid; gap: var(--s4); max-width: var(--measure); }
.dates div { display: grid; grid-template-columns: minmax(0, 13em) 1fr; gap: var(--s4); padding-block: var(--s3); border-top: 1px solid var(--line); }
.dates dt { color: var(--muted); }
.dates dd { margin: 0; font-weight: 600; }
@media (max-width: 599px) { .dates div { grid-template-columns: 1fr; gap: var(--s1); } }

/* ---------- prices ---------- */
.price-panel { background: var(--surface); border-radius: var(--r-panel); padding: var(--s6) var(--s5); display: grid; gap: var(--s6); }
@media (min-width: 900px) { .price-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: var(--s7); gap: var(--s8); } }
.price-big { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; font-variant-numeric: lining-nums; }
.price-big small { font-family: var(--body); font-size: var(--fs-small); color: var(--muted); margin-inline-start: var(--s3); }
.price-panel .lead { margin-block-start: var(--s4); font-size: var(--fs-lead); line-height: 1.45; max-width: 26em; }
.price-panel ul { padding: 0; list-style: none; margin-block-start: var(--s5); }
.price-panel li + li { margin-block-start: var(--s2); }
.price-aside h3 { font-family: var(--body); font-weight: 600; font-size: var(--fs-body); }
.price-aside p { margin-block-start: var(--s2); }
.price-aside > * + h3 { margin-block-start: var(--s5); }
.price-lines { margin-block-start: var(--s6); display: grid; gap: 0; max-width: 46em; }
.price-lines div { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); padding-block: var(--s3); border-top: 1px solid var(--line); align-items: baseline; }
.price-lines dt { }
.price-lines dd { margin: 0; font-weight: 600; white-space: nowrap; }
.price-lines .sub { display: block; color: var(--muted); font-size: var(--fs-caption); font-weight: 400; }
.fine { margin-block-start: var(--s6); color: var(--muted); font-size: var(--fs-small); max-width: var(--measure); list-style: none; padding: 0; }
.fine li { padding-inline-start: 1.25em; position: relative; }
.fine li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 9px; height: 1px; background: var(--muted); }
.fine li + li { margin-block-start: var(--s2); }

/* ---------- about ---------- */
.about { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s9); align-items: start; } }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 730 / 912; object-fit: cover; background: var(--surface); border-radius: var(--r-panel); }
@media (max-width: 899px) { .portrait { max-width: 420px; } }
.proofs { list-style: none; padding: 0; margin-block-start: var(--s6); border-top: 1px solid var(--line); max-width: var(--measure); }
.proofs li { display: grid; grid-template-columns: minmax(0, 7em) 1fr; gap: var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.proofs .when { color: var(--muted); font-variant-numeric: lining-nums; }

/* ---------- FAQ ---------- */
.faq { max-width: 44em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding-block: var(--s4); padding-inline-end: 2.5em; position: relative; font-weight: 500; font-size: var(--fs-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: .4em; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-inline-end: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding-block: 0 var(--s5); max-width: 38em; color: var(--text); }
.faq summary:focus-visible { box-shadow: var(--focus-ring); }

/* ---------- apply band ---------- */
.apply { background: var(--surface); }
.apply .section-head p { color: var(--text); }
.apply-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .apply-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s9); } }
.apply-rules { list-style: none; padding: 0; color: var(--muted); font-size: var(--fs-small); }
.apply-rules li + li { margin-block-start: var(--s3); }
.apply-rules li { padding-inline-start: 1.25em; position: relative; }
.apply-rules li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 9px; height: 1px; background: var(--muted); }

/* ---------- forms (apply.html) ---------- */
.form { display: grid; gap: var(--s5); max-width: 40em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 500; margin-block-end: var(--s2); padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); font: inherit; color: var(--text); background: var(--field-bg);
  border: 1px solid var(--field-border); border-radius: var(--r-control); }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355606B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s4) center; }
html[dir="rtl"] .select { background-position: left var(--s4) center; }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { border-color: var(--accent); }
[aria-invalid="true"] { border-color: var(--note); }
.error { color: var(--note); font-size: var(--fs-caption); margin-block-start: var(--s2); }
.hint { color: var(--muted); font-size: var(--fs-caption); margin-block-start: var(--s2); }
.choices { display: grid; gap: var(--s2); }
.choice { display: flex; align-items: center; gap: var(--s3); min-height: 44px; padding: var(--s2) var(--s4); border: 1px solid var(--line); border-radius: var(--r-control); cursor: pointer; background: var(--field-bg); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); align-items: start; font-size: var(--fs-small); }
.consent input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--accent); }
.consent .error { grid-column: 2; }
.form-row--2 { display: grid; gap: var(--s5); }
.field--sub { margin-block-start: var(--s4); }
.amp-copy .credit small { font-size: inherit; }
/* honeypot (24-application spec): off-canvas, never in the tab order, hidden from assistive tech */
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-foot { display: grid; gap: var(--s4); }
.endpoint-flag { color: var(--note); font-size: var(--fs-caption); }
.small-print { color: var(--muted); font-size: var(--fs-caption); }
.simple { padding-block: var(--s8) var(--s10); }
.simple h1 { font-size: var(--fs-h2); margin-block-end: var(--s5); }

/* ---------- small layout helpers (no inline styles: strict CSP) ---------- */
.section-head--second { margin-block: var(--s8) var(--s5); }
.section-head--tight { margin-block-end: var(--s5); }
.actions--tight { margin-block-start: var(--s4); }
.section--page { padding-block-start: var(--s7); }
.page-title { font-size: var(--fs-h2); }
.dates--top { margin-block-start: 0; }
.hint--ref { margin-block-start: var(--s5); max-width: 36em; font-size: var(--fs-small); }
.after-note { margin-block-start: var(--s5); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: var(--s7) var(--s8); color: var(--muted); font-size: var(--fs-caption); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); align-items: center; }
.site-foot .brand { font-size: 1.2rem; color: var(--muted); }
.site-foot .brand .mark { font-size: 1.4rem; color: var(--muted); }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-inline-start: auto; }
.foot-links a { color: var(--muted); }

/* ---------- Hebrew: Bellefair Hebrew runs optically small, so display sizes get ~12% more ---------- */
html[lang="he"] h3 { font-size: calc(var(--fs-h3) * 1.12); }
html[lang="he"] .section-head h2, html[lang="he"] .amp-copy h2, html[lang="he"] .page-title { font-size: calc(var(--fs-h2) * 1.12); }
html[lang="he"] .hero h1 { font-size: calc(var(--fs-hero) * 1.12); max-width: 14ch; }
html[lang="he"] .amp-copy .thesis { font-size: clamp(1.8rem, 2.9vw, 2.35rem); }
html[lang="he"] .brand { font-size: 1.75rem; }
html[lang="he"] .steps h3, html[lang="he"] .price-aside h3 { font-size: var(--fs-body); }
html[lang="he"] .ladder li::before, html[lang="he"] .steps li::before, html[lang="he"] .price-big { font-family: var(--display); }

/* Hebrew add-on under the brand line (D158): small, quiet, links to the HE page */
.hero-he{text-align:left;margin:-.4rem 0 1rem;font-size:1.05rem;opacity:.72;font-family:"Plex Hebrew","IBM Plex Sans Hebrew",var(--font-body,inherit)}
.hero-he a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor}
.hero-he a:hover{opacity:1}

/* ---------- launch 2026-10-13: entry line on apply, legal pages ---------- */
.section-head .entry-line { margin-block-start: var(--s3); color: var(--text); font-size: var(--fs-body); font-weight: 500; }
.legal .prose h2 { font-size: var(--fs-h3); margin-block-start: var(--s7); }
.legal address { font-style: normal; }
.legal .prose ul { padding-inline-start: 1.2em; }
.legal .prose li + li { margin-block-start: var(--s2); }
.legal-en { margin-block-start: var(--s9); padding-block-start: var(--s6); border-top: 1px solid var(--line); }
.legal-en > * + * { margin-block-start: var(--s4); }
.legal .legal-en h2 { margin-block-start: 0; }

.notice{padding:.7rem .9rem;border:1px solid currentColor;border-radius:8px;margin-bottom:1rem}
