/* xsim.dev: site styles
   Palette: ink (deep navy), paper (warm off-white), signal (burnt orange accent), slate (muted text).
   All spacing uses logical properties so the Hebrew (RTL) build mirrors automatically. */

/* ---------- Fonts (self-hosted, IBM Plex, SIL OFL) ---------- */
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-hebrew-hebrew-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0E1726;
  --ink-2: #16233A;
  --ink-line: #2A3A55;
  --paper: #F5F2EB;
  --paper-2: #ECE7DC;
  --surface: #FFFFFF;
  --text: #0E1726;
  --muted: #4F5A6A;
  --line: #D8D1C3;
  --signal: #B9471A;        /* accent for buttons/links on light (white text 5.3:1, AA) */
  --signal-bright: #F08A4B; /* accent on dark backgrounds */
  --on-ink: #F5F2EB;
  --on-ink-muted: #AEB8C8;
  --focus: #2F6FED;

  --font: "Plex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --space-section: clamp(64px, 9vw, 120px);
  --radius: 6px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:lang(he) h1, :lang(he) h2, :lang(he) h3 { letter-spacing: 0; line-height: 1.25; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--signal-bright); }
:lang(he) .eyebrow { font-family: var(--font); letter-spacing: 0.04em; font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--signal); color: #fff; }
.btn--primary:hover { background: #9E3B14; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 2px; direction: ltr; color: inherit; font-weight: 600; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1; }
.wordmark__x { width: 0.82em; height: 0.82em; }
.wordmark__x path { fill: none; stroke: var(--signal); stroke-width: 3.6; stroke-linecap: square; }
.wordmark__sim { font-family: "Plex", ui-sans-serif, system-ui, sans-serif; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 235, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.topbar__brand { color: var(--ink); text-decoration: none; }
.topbar__nav { display: flex; align-items: center; gap: 28px; }
.topbar__nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.97rem; font-weight: 500; }
.topbar__nav a:not(.btn):hover { color: var(--signal); }
.topbar__lang { font-weight: 500; padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.topbar__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ink); }
.topbar__bars, .topbar__bars::before, .topbar__bars::after { display: block; width: 22px; height: 2px; background: currentColor; margin-inline: auto; position: relative; transition: transform .2s ease, opacity .2s ease; }
.topbar__bars::before, .topbar__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.topbar__bars::before { top: -7px; } .topbar__bars::after { top: 7px; }
.topbar__toggle[aria-expanded="true"] .topbar__bars { background: transparent; }
.topbar__toggle[aria-expanded="true"] .topbar__bars::before { transform: translateY(7px) rotate(45deg); }
.topbar__toggle[aria-expanded="true"] .topbar__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .topbar__toggle { display: block; }
  .topbar__nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .topbar__nav.is-open { display: flex; }
  .topbar__nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .topbar__lang { padding-inline-start: 0; border-inline-start: 0; }
  .topbar__nav .btn { margin-top: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * 0.8); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--paper2 { background: var(--paper-2); }
.section--page { padding-block: clamp(56px, 8vw, 100px) clamp(80px, 10vw, 140px); min-height: 55vh; }
.section--page h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 20px; }
.section--page .lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__intro { font-size: 1.15rem; color: var(--muted); margin-top: 18px; }
.prose { font-size: 1.1rem; }
.prose--light { color: var(--on-ink-muted); }
.prose--light p:first-child { color: var(--on-ink); }
.split h2 + .prose, .split h2 + p { margin-top: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.footnote { margin-top: 36px; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em; color: var(--muted); }
.footnote--light { color: var(--on-ink-muted); }
:lang(he) .footnote { font-family: var(--font); font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__title { max-width: 14em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); margin-top: 24px; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 28px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.hero__note::before { content: ""; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; flex: none; }
.hero__visual { min-width: 0; }
.hero__diagram { width: 100%; height: auto; max-width: 520px; margin-inline: auto; overflow: visible; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 440px; width: 100%; margin-inline: auto; }
}
.dg-orbit { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.dg-spoke { stroke: var(--line); stroke-width: 1; }
.dg-link { stroke: var(--ink); stroke-width: 1.5; }
.dg-link--broken { stroke: var(--signal); stroke-dasharray: 10 8; stroke-width: 2; }
.dg-node circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.dg-num { font-family: var(--mono); font-size: 14px; font-weight: 500; fill: var(--ink); }
.dg-label { font-family: var(--font); font-size: 18px; font-weight: 500; fill: var(--muted); }
.dg-core circle { fill: var(--ink); }
.dg-core text { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; fill: var(--on-ink); }
:lang(he) .dg-core text { font-family: var(--font); letter-spacing: 0; font-size: 15px; }

/* ---------- Strategy / Tactics / Execution ---------- */
.ste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ste__item { padding: 28px 28px 32px 0; border-inline-end: 1px solid var(--line); padding-inline: 0 28px; }
.ste__item + .ste__item { padding-inline-start: 28px; }
.ste__item:last-child { border-inline-end: 0; }
.ste__label { display: block; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
:lang(he) .ste__label { font-family: var(--font); letter-spacing: 0.02em; font-size: 0.95rem; font-weight: 600; }
.ste__item p { font-size: 1.1rem; }
.ste__item--focus { position: relative; }
.ste__item--focus::before { content: ""; position: absolute; top: -1px; inset-inline: 28px 0; height: 3px; background: var(--signal); }
.ste__item--focus .ste__label { color: var(--signal); }
@media (max-width: 760px) {
  .ste { grid-template-columns: minmax(0, 1fr); }
  .ste__item, .ste__item + .ste__item { padding: 24px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .ste__item--focus::before { inset-inline: 0; }
}
.callout { margin-top: 40px; font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 500; line-height: 1.4; max-width: 30em; text-wrap: pretty; }

/* ---------- Approach pillars ---------- */
.pillars { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--ink-2); padding: 32px 28px 36px; }
.pillar__n { font-family: var(--mono); font-size: 0.85rem; color: var(--signal-bright); display: block; margin-bottom: 28px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--on-ink-muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Capabilities ---------- */
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 30px; }
.cap__tag { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.cap__tag span { color: var(--signal); margin-inline-end: 6px; }
:lang(he) .cap__tag { font-family: var(--font); letter-spacing: 0.02em; font-size: 0.92rem; font-weight: 600; }
.cap h3 { margin-bottom: 12px; }
.cap__q { color: var(--muted); }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .caps { grid-template-columns: minmax(0, 1fr); } }
.execute { margin-top: 16px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.execute__tag { margin: 0; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal-bright); font-weight: 500; }
:lang(he) .execute__tag { font-family: var(--font); letter-spacing: 0.02em; font-size: 1rem; }
.execute__text { margin: 0; font-size: 1.08rem; }

/* ---------- Engagement phases ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: phase; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px; position: relative; }
.phase:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; inset-inline-end: -13px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--signal); border-inline-end: 2px solid var(--signal);
  transform: rotate(45deg);
}
[dir="rtl"] .phase:not(:last-child)::after { transform: rotate(-45deg); }
.phase__head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.phase__n { font-family: var(--mono); font-size: 0.85rem; color: var(--signal); }
.phase h3 { font-size: 1.6rem; margin-top: 6px; }
.phase__when { margin: 6px 0 0; color: var(--muted); font-weight: 500; }
.phase__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.phase__points li { position: relative; padding-inline-start: 20px; }
.phase__points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.68em; width: 8px; height: 2px; background: var(--signal); }
@media (max-width: 960px) {
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase:not(:last-child)::after { top: auto; bottom: -13px; inset-inline-end: auto; inset-inline-start: 40px; transform: rotate(135deg); }
  [dir="rtl"] .phase:not(:last-child)::after { transform: rotate(135deg); }
}

/* ---------- Simulations ---------- */
.sims { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sim { padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.sim:nth-child(odd) { padding-inline-end: clamp(20px, 4vw, 48px); border-inline-end: 1px solid var(--line); }
.sim:nth-child(even) { padding-inline-start: clamp(20px, 4vw, 48px); }
.sim__cap { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); margin-bottom: 10px; }
:lang(he) .sim__cap { font-family: var(--font); letter-spacing: 0.02em; font-size: 0.92rem; font-weight: 600; }
.sim h3 { font-size: 1.4rem; margin-bottom: 10px; }
.sim p:last-child { color: var(--muted); }
@media (max-width: 760px) {
  .sims { grid-template-columns: minmax(0, 1fr); }
  .sim:nth-child(odd), .sim:nth-child(even) { padding-inline: 0; border-inline-end: 0; }
}

/* ---------- Operators ---------- */
.split--ops { align-items: center; }
.stat { border: 1px solid var(--ink-line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); background: var(--ink-2); }
.stat__n { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: #fff; margin-bottom: 8px; direction: ltr; text-align: start; }
[dir="rtl"] .stat__n { text-align: right; }
.stat__label { font-size: 1.2rem; font-weight: 500; color: var(--signal-bright); margin-bottom: 18px; }
.stat__text { color: var(--on-ink-muted); }
.ops__lang { font-weight: 500; color: var(--on-ink) !important; }

/* ---------- Trust ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { padding: 18px 0 18px; padding-inline-start: 36px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.08rem; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 25px; width: 14px; height: 7px;
  border-inline-start: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg);
}
[dir="rtl"] .checks li::before { transform: rotate(45deg) scaleX(-1); }

/* ---------- Models ---------- */
.models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.model h3 { font-size: 1.35rem; }
.model__sub { color: var(--signal); font-weight: 500; margin: 6px 0 16px; }
.model > p:last-child { color: var(--muted); }
.model--cost { background: transparent; border-style: dashed; border-color: #BDB4A3; }
.model--cost h3 { margin-bottom: 16px; }
@media (max-width: 960px) { .models { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.split--faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 860px) { .split--faq { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 0; padding-inline-end: 40px; font-weight: 500; font-size: 1.12rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--signal); }
.faq__item p { color: var(--muted); padding-bottom: 24px; max-width: 40em; margin: 0; }

/* ---------- Contact form ---------- */
.section--contact { padding-bottom: calc(var(--space-section) * 1.1); }
.split--contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 860px) { .split--contact { grid-template-columns: minmax(0, 1fr); } }
.contact__alt { margin-top: 28px; color: var(--on-ink-muted); }
.section--ink a:not(.btn) { color: var(--signal-bright); }
.form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.93rem; font-weight: 500; }
.field__opt { color: var(--muted); font-weight: 400; }
.field__hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #FBFAF7; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; min-height: 48px;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; }
[dir="rtl"] .field select { background-position: 20px 50%, 14px 50%; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9B0A0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.25); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B42318; background: #FEF6F5; }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 4px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--signal); }
.field--check label { font-weight: 400; font-size: 0.93rem; color: var(--muted); }
.field--check.is-invalid label { color: #B42318; }
.field--hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 22px; min-height: 65px; }
.form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.form__status { margin: 0; font-size: 0.95rem; flex: 1 1 220px; }
.form__status.is-error { color: #B42318; }
.form__status.is-ok { color: #1D6B3A; }
.form.is-done .form__grid, .form.is-done .cf-turnstile, .form.is-done button { display: none; }
.form.is-done .form__status { font-size: 1.15rem; font-weight: 500; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p { color: #2C3646; }
.legal__updated { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--ink-line); padding-block: 40px 44px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer__brand { color: #fff; text-decoration: none; }
.footer__tag { margin-top: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__links a { color: var(--on-ink); text-decoration: none; }
.footer__links a:hover { color: var(--signal-bright); }
.footer__legal { grid-column: 1 / -1; font-size: 0.88rem; border-top: 1px solid var(--ink-line); padding-top: 20px; margin: 8px 0 0; }
@media (max-width: 640px) { .footer__inner { grid-template-columns: minmax(0, 1fr); } }
