/*
 * ── THE RAAMAI HOME (founder, 2026-09-24: "We should focus RaamAI") ─────────
 *
 * The home page's own sheet, loaded AFTER styles.css and scoped under
 * `body.raamai-body`, so /who-we-are, /support and /pricing keep exactly the
 * rules they have today. The look is the app's own (ruling of the same day:
 * "Claude drafts a first version in the app's current look"): the classic
 * light ground with its lavender aurora, white cards on a hairline border,
 * Geist for Latin and Arimo for Hebrew, the same faces the app self-hosts at
 * /fonts, and REAL screenshots of the app in each language under
 * /landing/raamai/.
 *
 * Direction: every rule is written with logical properties (inline-start /
 * inline-end), so the Hebrew document mirrors with no RTL block. Code and the
 * screenshots' frames are the only things pinned left-to-right.
 */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Arimo'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/arimo-hebrew.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: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/geist-mono-400.woff2') format('woff2'); }

.raamai-body {
  --rai-ground: #f5f6fb;
  --rai-card: #ffffff;
  --rai-ink: #171717;
  --rai-ink-2: #4d4d4d;
  --rai-ink-3: #7d7d7d;
  --rai-line: rgba(23, 23, 40, 0.09);
  --rai-line-2: rgba(23, 23, 40, 0.14);
  --rai-violet: #6d4fe0;
  --rai-violet-soft: #efeafe;
  --rai-green: #1a7f37;
  --rai-green-soft: #e7f6ec;
  --rai-amber: #b45309;
  --rai-shadow: 0 1px 2px rgba(23, 23, 40, 0.04), 0 12px 32px rgba(58, 46, 140, 0.08);
  --rai-shadow-lg: 0 2px 4px rgba(23, 23, 40, 0.04), 0 40px 90px rgba(58, 46, 140, 0.18);
  --rai-radius: 16px;
  --rai-wrap: min(1200px, calc(100vw - 32px));
  --mark-grad-1: linear-gradient(to bottom, #8b5cf6, #5b21b6);
  --mark-grad-2: linear-gradient(to bottom, #f4611f, #c026d3);
  --mark-grad-3: linear-gradient(to bottom, #f59e2b, #e63a17);
  margin: 0;
  font-family: 'Geist', 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-feature-settings: normal;
  color: var(--rai-ink);
  background:
    radial-gradient(900px 520px at 12% -4%, rgba(129, 140, 248, 0.20), transparent 70%),
    radial-gradient(760px 480px at 92% 6%, rgba(192, 132, 252, 0.16), transparent 70%),
    radial-gradient(900px 700px at 50% 38%, rgba(165, 180, 252, 0.10), transparent 70%),
    var(--rai-ground);
  -webkit-font-smoothing: antialiased;
}
html:has(> .raamai-body) { background: #f5f6fb; }
.raamai-body [dir='ltr'] { direction: ltr; }

/* ── the shared header, re-coloured for a light ground (as /pricing does) ── */
.raamai-body .site-header { color: var(--rai-ink); }
.raamai-body .site-header.scrolled { background: rgba(255, 255, 255, 0.86); border-color: var(--rai-line); box-shadow: 0 10px 34px rgba(40, 36, 90, 0.08); }
.raamai-body .desktop-nav, .raamai-body .nav-login, .raamai-body .nav-lang { color: rgba(23, 23, 23, 0.62); }
.raamai-body .desktop-nav a:hover, .raamai-body .desktop-nav a:focus-visible, .raamai-body .nav-login:hover, .raamai-body .nav-login:focus-visible, .raamai-body .nav-lang:hover, .raamai-body .nav-lang:focus-visible { color: var(--rai-ink); }
.raamai-body .nav-cta { background: var(--rai-ink); color: #fff; border-color: var(--rai-ink); }
.raamai-body .nav-cta:hover, .raamai-body .nav-cta:focus-visible { background: #2a2a33; }

/* ── building blocks ─────────────────────────────────────────────────────── */
.rai-wrap { width: var(--rai-wrap); margin-inline: auto; }
.rai-section { padding-block: 112px; }
.rai-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rai-violet); }
.rai-h2 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.rai-lede { margin: 20px 0 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--rai-ink-2); text-wrap: pretty; }
html[dir='rtl'] .rai-h2, html[dir='rtl'] .rai-hero h1 { letter-spacing: -0.01em; }

.rai-button { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding-inline: 20px; border-radius: 10px; font: 500 15px/1 inherit; font-family: inherit; text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.rai-button:active { transform: translateY(1px); }
.rai-button-primary { background: var(--rai-ink); color: #fff; }
.rai-button-primary:hover, .rai-button-primary:focus-visible { background: #2a2a33; }
.rai-button-ghost { background: var(--rai-card); color: var(--rai-ink); border: 1px solid var(--rai-line-2); }
.rai-button-ghost:hover, .rai-button-ghost:focus-visible { border-color: rgba(23, 23, 40, 0.28); }
.rai-button .rai-arrow { display: inline-block; }
html[dir='rtl'] .rai-button .rai-arrow { transform: scaleX(-1); }
.raamai-body a:focus-visible, .raamai-body button:focus-visible { outline: 2px solid var(--rai-violet); outline-offset: 3px; }

/* A real screenshot of the app, framed like a window and captioned as demo data. */
.rai-shot { margin: 0; }
.rai-shot-frame { overflow: hidden; border-radius: var(--rai-radius); border: 1px solid var(--rai-line-2); background: var(--rai-card); box-shadow: var(--rai-shadow-lg); }
.rai-shot-frame img { display: block; width: 100%; height: auto; }
.rai-shot figcaption { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--rai-ink-3); text-align: center; }
.rai-shot figcaption b { font-weight: 500; color: var(--rai-ink-2); }

.rai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.rai-chips li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 14px; border-radius: 999px; background: var(--rai-card); border: 1px solid var(--rai-line); box-shadow: 0 1px 2px rgba(23, 23, 40, 0.04); font-size: 14px; color: var(--rai-ink); }
.rai-chips li svg { width: 16px; height: 16px; flex: none; }

.rai-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding-inline: 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }
.rai-badge-live { background: var(--rai-green-soft); color: var(--rai-green); }
.rai-badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rai-badge-soon { background: #f1f1f4; color: var(--rai-ink-2); }
.rai-badge-planned { background: transparent; color: var(--rai-ink-3); box-shadow: inset 0 0 0 1px var(--rai-line-2); }
.rai-badge-violet { background: var(--rai-violet-soft); color: var(--rai-violet); }

.rai-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.rai-split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rai-split.flip > :first-child { order: 2; }

/* A section with a screenshot: the title on one side, the words on the other,
   then the app at full width, big enough to read. */
.rai-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.rai-head .rai-lede { margin-top: 0; }
.rai-head + .rai-shot { margin-top: 56px; }

/* ── 1 hero ──────────────────────────────────────────────────────────────── */
.rai-hero { padding-top: calc(var(--header-h, 72px) + 56px); padding-bottom: 40px; text-align: center; }
.rai-orb { display: block; width: 132px; height: auto; margin: 0 auto 18px; overflow: visible; }
.rai-hero h1 { margin: 0 auto; max-width: 900px; font-size: clamp(44px, 7vw, 84px); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.rai-hero .rai-lede { margin-inline: auto; max-width: 700px; font-size: 19px; }
.rai-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.rai-hero-note { margin: 18px 0 0; font-size: 14px; color: var(--rai-ink-3); }
.rai-hero .rai-shot { margin-top: 64px; }

/* ── 2 brokers: a card per broker, the live one first ────────────────────── */
.rai-brokers { padding-block: 48px 16px; }
.rai-brokers-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 36px 40px; border-radius: 24px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--rai-line); box-shadow: var(--rai-shadow); }
.rai-brokers-lead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
.rai-brokers-lead .rai-kicker, .rai-brokers-lead h2 { grid-column: 1; }
.rai-brokers-lead p:last-child { grid-column: 2; grid-row: 2; }
.rai-brokers-lead h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.rai-brokers-lead p:last-child { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--rai-ink-3); }
.rai-broker-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rai-broker-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: center; padding: 14px; border-radius: 14px; background: var(--rai-card); border: 1px solid var(--rai-line); }
.rai-broker-grid li.live { border-color: rgba(26, 127, 55, 0.35); box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.08); }
.rai-broker-grid .logo { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--rai-line); }
.rai-broker-grid .logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* A broker shown by its letters, not its logo (Interactive Brokers, until it says yes): dark ink, fixed like the tile's white. */
.rai-broker-grid .logo-letters { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: #14161c; }
.rai-broker-grid .name { font-size: 15px; font-weight: 600; color: var(--rai-ink); white-space: nowrap; }
.rai-broker-grid .rai-badge { justify-self: start; height: 22px; font-size: 11.5px; white-space: nowrap; }

/* ── 4 build: the RaamAI pane, drawn in HTML with the shipped starter ─────── */
.rai-pane { border-radius: var(--rai-radius); border: 1px solid var(--rai-line-2); background: var(--rai-card); box-shadow: var(--rai-shadow-lg); overflow: hidden; }
.rai-pane-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--rai-line); font-size: 14px; font-weight: 600; }
.rai-pane-head svg { width: 26px; height: 26px; flex: none; }
.rai-pane-head small { margin-inline-start: auto; font-size: 12px; font-weight: 400; color: var(--rai-ink-3); }
.rai-pane-body { padding: 20px 18px 18px; display: grid; gap: 14px; }
.rai-msg-you { justify-self: end; max-width: 88%; padding: 12px 14px; border-radius: 14px; background: #f2f2f5; font-size: 14.5px; line-height: 1.55; }
.rai-msg-ai { font-size: 14.5px; line-height: 1.6; color: var(--rai-ink); }
.rai-code { border-radius: 12px; border: 1px solid var(--rai-line); background: #fbfbfd; overflow: hidden; }
.rai-code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--rai-line); font: 400 12.5px/1.4 'Geist Mono', ui-monospace, Menlo, monospace; color: var(--rai-ink-3); }
.rai-code pre { margin: 0; padding: 12px 14px; overflow-x: auto; font: 400 11.5px/1.7 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; color: #24292f; tab-size: 4; }
.rai-code .k { color: #a626a4; } .rai-code .c { color: #0550ae; } .rai-code .s { color: #116329; } .rai-code .n { color: #0a7a5a; }
.rai-card-ok { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rai-line); }
.rai-card-ok span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--rai-green); font-weight: 500; }
.rai-card-ok span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rai-card-ok b { display: inline-flex; align-items: center; height: 32px; padding-inline: 12px; border-radius: 8px; background: var(--rai-amber); color: #fff; font-size: 13px; font-weight: 500; }
.rai-docs-link { display: inline-block; margin-top: 22px; font-size: 15px; font-weight: 500; color: var(--rai-violet); text-decoration: none; }
.rai-docs-link:hover { text-decoration: underline; }

/* ── 5 test: the pulled quote ─────────────────────────────────────────────── */
.rai-quote { margin: 28px 0 0; padding: 18px 20px; border-inline-start: 3px solid var(--rai-violet); border-radius: 4px 12px 12px 4px; background: rgba(255, 255, 255, 0.7); font-size: 16px; line-height: 1.6; color: var(--rai-ink); }
html[dir='rtl'] .rai-quote { border-radius: 12px 4px 4px 12px; }
.rai-quote small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--rai-ink-3); }
.rai-fine { margin: 18px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--rai-ink-3); }

/* ── 6 live: three points ─────────────────────────────────────────────────── */
.rai-points { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.rai-points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.rai-points .ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--rai-card); border: 1px solid var(--rai-line); }
.rai-points .ico svg { width: 18px; height: 18px; }
.rai-points b { display: block; font-size: 16px; font-weight: 600; }
.rai-points span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--rai-ink-2); }

/* ── 7 next: the new RaamAI, marked as coming ─────────────────────────────── */
.rai-next { padding: 48px; border-radius: 24px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 239, 255, 0.92)); border: 1px solid var(--rai-line); box-shadow: var(--rai-shadow); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.rai-next .rai-badge { margin-bottom: 18px; }
.rai-asks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rai-asks li { padding: 14px 16px; border-radius: 12px; background: var(--rai-card); border: 1px solid var(--rai-line); font-size: 15px; line-height: 1.5; }
.rai-asks li small { display: block; margin-top: 6px; font-size: 13px; color: var(--rai-ink-3); }

/* ── 8 bring your own AI: the live consent screen, word for word ──────────── */
.rai-consent { max-width: 460px; justify-self: center; width: 100%; padding: 26px; border-radius: 20px; background: var(--rai-card); border: 1px solid var(--rai-line-2); box-shadow: var(--rai-shadow-lg); }
.rai-consent h3 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; }
.rai-consent p { margin: 16px 0 10px; font-size: 14px; color: var(--rai-ink-2); }
.rai-consent ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rai-consent li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; }
.rai-consent li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--rai-green); }
.rai-consent .never { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #f6f6f9; font-size: 13.5px; line-height: 1.55; color: var(--rai-ink); }
.rai-consent .btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.rai-consent .btns span { display: inline-flex; align-items: center; height: 36px; padding-inline: 14px; border-radius: 8px; font-size: 14px; font-weight: 500; border: 1px solid var(--rai-line-2); }
.rai-consent .btns span.go { background: var(--rai-ink); color: #fff; border-color: var(--rai-ink); }
.rai-connector { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 14px; border-radius: 10px; background: var(--rai-card); border: 1px solid var(--rai-line); font-size: 14px; color: var(--rai-ink-2); }
.rai-connector code { font: 500 14px/1 'Geist Mono', ui-monospace, Menlo, monospace; color: var(--rai-ink); }
.rai-own-cta { justify-content: flex-start; margin-top: 28px; }
.rai-openai { width: 18px; height: 18px; flex: none; }

/* ── 9 who we are + responsibility, 10 final call ─────────────────────────── */
.rai-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 56px; border-radius: 24px; background: var(--rai-card); border: 1px solid var(--rai-line); box-shadow: var(--rai-shadow); }
.rai-about h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; }
.rai-about h2 + h2 { margin-top: 18px; color: var(--rai-violet); }
.rai-about p { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--rai-ink-2); }
.rai-about .brand-mark { margin-top: 18px; }
.rai-about .rai-kicker, .rai-resp .rai-kicker { margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--rai-violet); }
.rai-signature { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--rai-ink); }
.rai-signature .brand-mark { margin-top: 0; }
/* Raam Intelligence Group (founder 2026-10-17): the signature names the group, its Hebrew name under it; hover,
   keyboard focus or a tap (script.js) opens a card of its two companies, each with its Hebrew name and its role. */
.rai-group { position: relative; display: inline-block; margin-top: 18px; }
.rai-group .rai-signature { margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--rai-ink); text-align: start; cursor: pointer; }
.rai-group .rai-signature:focus-visible { outline: 2px solid var(--rai-violet); outline-offset: 4px; border-radius: 6px; }
.rai-group-names { display: grid; line-height: 1.35; }
.rai-group-names small, .rai-group-card small, .rai-companies small { display: block; font-size: 12.5px; font-weight: 400; color: var(--rai-ink-2); }
.rai-group-card { position: absolute; inset-inline-start: 0; top: calc(100% + 10px); z-index: 20; width: min(360px, calc(100vw - 48px)); padding: 4px 18px; border-radius: 16px; background: var(--rai-card); border: 1px solid var(--rai-line); box-shadow: var(--rai-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s; }
/* The 10px between the name and the card stays part of the card, so the pointer can cross it. */
.rai-group-card::before { content: ''; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.rai-group:hover .rai-group-card, .rai-group:focus-within .rai-group-card, .rai-group.is-open .rai-group-card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rai-group-card > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rai-line); font-size: 14px; line-height: 1.45; }
.rai-group-card > div:last-child { border-bottom: 0; }
.rai-group-card b { font-weight: 600; color: var(--rai-ink); }
.rai-group-card > div > span { margin-top: 4px; font-size: 13px; color: var(--rai-ink-2); }
@media (prefers-reduced-motion: reduce) { .rai-group-card { transition: none; transform: none; } }
.rai-resp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; margin-top: 24px; padding: 40px 56px; border-radius: 24px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--rai-line); }
.rai-resp h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.rai-resp p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: var(--rai-ink-2); }
.rai-resp p span { font-weight: 600; color: var(--rai-ink); margin-inline-end: 6px; }
.rai-final { text-align: center; padding-block: 120px 132px; }
.rai-final .rai-orb { width: 96px; }
.rai-final .rai-lede { margin-inline: auto; }

/* ── /who-we-are in the same look ───────────────────────────────────────── */
.rai-page-hero { text-align: start; padding-bottom: 8px; }
.rai-page-hero h1 { margin: 0; max-width: none; }
.rai-page-hero .rai-lede { margin-inline: 0; max-width: 640px; }
.rai-section-tight { padding-block: 72px; }
.rai-head-body .rai-lede + .rai-lede { margin-top: 16px; }
.rai-people-lede { margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: var(--rai-ink-2); }
.rai-founder { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; }
.rai-founder img { display: block; width: 132px; height: 176px; object-fit: cover; border-radius: 14px; border: 1px solid var(--rai-line); box-shadow: var(--rai-shadow); }
.rai-founder b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rai-founder small { display: block; margin-top: 4px; font-size: 14px; color: var(--rai-violet); font-weight: 500; }
.rai-about .rai-founder p { margin: 10px 0 0; font-size: 15px; }
.rai-companies { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--rai-line); }
.rai-companies div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rai-line); font-size: 14.5px; line-height: 1.5; }
.rai-companies b { font-weight: 600; }
.rai-companies span { color: var(--rai-ink-2); }
.rai-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rai-principles div { padding: 26px; border-radius: 18px; background: var(--rai-card); border: 1px solid var(--rai-line); box-shadow: var(--rai-shadow); }
.rai-principles b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.rai-principles span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--rai-ink-2); }
@media (max-width: 760px) {
  .rai-principles, .rai-companies div { grid-template-columns: 1fr; }
  .rai-companies div { gap: 4px; }
  .rai-founder { grid-template-columns: 96px minmax(0, 1fr); }
  .rai-founder img { width: 96px; height: 128px; }
}

/* ── the footer on a light ground ─────────────────────────────────────────── */
.raamai-body .footer { background: transparent; color: var(--rai-ink-2); border-top: 1px solid var(--rai-line); }
.raamai-body .footer a { color: var(--rai-ink-2); }
.raamai-body .footer a:hover { color: var(--rai-ink); }
.raamai-body .footer .footer-brand { color: var(--rai-ink); }

/* ── reveal on scroll (script.js adds .is-visible) ────────────────────────── */
.raamai-body .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease var(--delay, 0ms), transform 0.7s ease var(--delay, 0ms); }
.raamai-body .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .raamai-body .reveal { opacity: 1; transform: none; transition: none; } }

/* ── narrow screens ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .rai-split, .rai-split.flip, .rai-head, .rai-next, .rai-about, .rai-resp, .rai-brokers-inner { grid-template-columns: 1fr; gap: 36px; }
  .rai-brokers-inner { padding: 28px 24px; gap: 24px; }
  .rai-brokers-lead { grid-template-columns: 1fr; row-gap: 10px; }
  .rai-brokers-lead p:last-child { grid-column: 1; grid-row: auto; }
  .rai-broker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rai-head { gap: 20px; }
  .rai-head + .rai-shot { margin-top: 36px; }
  .rai-split.flip > :first-child { order: 0; }
  .rai-next, .rai-about { padding: 32px 24px; }
  .rai-resp { padding: 28px 24px; }
  .rai-section { padding-block: 80px; }
}
@media (max-width: 560px) {
  .rai-hero { padding-top: calc(var(--header-h, 72px) + 32px); }
  .rai-orb { width: 104px; }
  .rai-hero .rai-lede { font-size: 17px; }
  .rai-broker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* a phone card stacks: logo, name, status, so no name is cut and no badge wraps */
  .rai-broker-grid li { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 8px; padding: 14px; }
  .rai-broker-grid .logo { grid-row: auto; }
  .rai-broker-grid .name { white-space: normal; line-height: 1.25; }
  .rai-consent { padding: 20px; }
  .rai-code pre { font-size: 11.5px; }
}

/* Hebrew words run longer than the English headline's; a notch smaller keeps it to three lines on a phone. */
html[dir='rtl'] .rai-hero h1 { font-size: clamp(38px, 6.2vw, 76px); }

/* A menu jump (#brokers, #raamai) must land BELOW the fixed header, not under it:
   the brokers strip is short enough to vanish behind the header entirely. */
.raamai-body main [id] { scroll-margin-top: calc(var(--header-h, 72px) + 40px); }

/* Five broker cards a row need the full desktop width; between tablet and desktop, three. */
@media (min-width: 981px) and (max-width: 1240px) { .rai-broker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
