/* ===== Self-hosted fonts (variable, subset to hebrew + latin) ===== */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/heebo-hebrew.f1f7cfaef5.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: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/heebo-latin.50dae2e12d.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.3100e775e8.woff2') format('woff2');
  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;
}

/* ===== Design tokens ===== */
:root {
  --blue-900: #0f172a;
  --blue-800: #1e3a8a;
  --blue-700: #1e40af;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-100: #ede9fe;

  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;
  --white: #ffffff;

  --grad-brand: linear-gradient(135deg, var(--blue-600), var(--violet-600));
  --grad-brand-soft: linear-gradient(135deg, var(--blue-50), var(--violet-100));

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.10);
  --shadow-brand: 0 18px 40px rgba(79, 70, 229, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-h: 72px;

  /* ----- Dark shell palette (hero / page headers / CTA / footer) ----- */
  --navy-950: #060b18;
  --navy-900: #0a1428;
  --navy-800: #111f3d;
  --shell-text: #ffffff;
  --shell-text-soft: #b9c5d9;   /* leads / subtitles on navy  (AA on navy-950) */
  --shell-text-muted: #8fa0b8;  /* small labels on navy       (AA on navy-950) */
  --shell-border: rgba(255, 255, 255, 0.12);
  --shell-surface: rgba(255, 255, 255, 0.05);
  --grad-brand-bright: linear-gradient(135deg, #60a5fa, #a78bfa); /* gradient text on dark */

  /* ----- Semantic tokens (light content areas) ----- */
  --bg: var(--white);
  --bg-soft: var(--gray-50);
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --text-soft: var(--gray-500);
  --border: var(--gray-200);

  /* ----- Spacing scale (4px base) ----- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ----- Motion ----- */
  --dur-fast: 0.18s;
  --dur-base: 0.25s;
  --dur-slow: 0.7s;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: var(--dur-base) var(--ease-out);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; scroll-padding-top: 88px; }
body {
  /* Hebrew pages. Inter is not in this list on purpose: it draws no character of the Hebrew pages, yet the
     browser downloaded it while looking for the non-breaking hyphen, which none of the three files has. */
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

[lang="en"] body, html[lang="en"] body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.65;
}

/* ===== Skip to content ===== */
.skip-link {
  position: absolute;
  top: -80px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--blue-700);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--white); outline-offset: -1px; }

/* ===== 404 error page ===== */
.error-wrap { text-align: center; padding: 110px 0; }
.error-code {
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.error-wrap h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 12px 0 10px; }
.error-wrap p { color: var(--gray-500); max-width: 520px; margin: 0 auto; }
.error-wrap .btn-row { justify-content: center; }

/* ===== Long-form content (legal / statement pages) ===== */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--gray-700); }
.prose ul { margin: 12px 0 20px; display: grid; gap: 9px; }
.prose ul li { padding-inline-start: 26px; position: relative; color: var(--gray-700); }
.prose ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet-500);
}
.prose a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* buttons inside prose keep their own styling (no link recolor/underline) */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: var(--white); }
.prose a.btn-secondary { color: var(--blue-700); }
.prose .contact-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 8px 0 14px;
}
.prose .contact-box ul { margin: 0; }
.prose .contact-box li::before { display: none; }
.prose .contact-box li { padding-inline-start: 0; margin-bottom: 6px; }
.prose .updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gray-200); font-size: 0.92rem; color: var(--gray-500); }
.prose strong { color: var(--blue-900); font-weight: 700; }
.prose h3 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 8px; color: var(--blue-900); }
.prose .lead { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 8px; }
.disclaimer-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-inline-start: 3px solid var(--violet-500);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}
.disclaimer-note strong { color: var(--gray-700); }
/* the disclaimer as the article's last block (7-orx-texts T28) */
.article-end-note { margin-top: 28px; }

/* ===== Blog ===== */
.breadcrumb { font-size: 0.88rem; color: var(--gray-600); }
.breadcrumb a { color: var(--blue-700); font-weight: 600; }
.breadcrumb .sep { margin: 0 8px; color: var(--gray-300); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--grad-brand-soft); display: grid; place-items: center; }
.post-card .thumb svg { width: 42%; height: auto; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .cat { font-size: 0.76rem; font-weight: 600; color: var(--violet-600); text-transform: uppercase; letter-spacing: 0.06em; }
.post-card h2 { font-size: 1.15rem; margin: 0; }
.post-card p { font-size: 0.95rem; color: var(--gray-500); flex: 1; margin: 0; }
.post-card .meta { font-size: 0.82rem; color: var(--gray-500); }
.post-card .more { font-weight: 600; color: var(--blue-700); margin-top: 2px; }

.article-header { padding: 80px 0 28px; background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.article-header .inner { max-width: 820px; margin-inline: auto; }
.article-header h1 { margin: 16px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.9rem; color: var(--gray-500); margin-top: 16px; }
.article-meta .cat { color: var(--violet-600); font-weight: 600; }

.article-cta { background: var(--grad-brand-soft); border: 1px solid var(--blue-100); border-radius: var(--radius-md); padding: 30px; margin-top: 40px; text-align: center; }
.article-cta h3 { color: var(--blue-900); margin-top: 0; }
.article-cta p { color: var(--gray-600); margin: 8px auto 18px; max-width: 520px; }

.related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.related h2 { font-size: 1.4rem; margin-bottom: 20px; }

.article-cta .btn-row { justify-content: center; margin-top: 4px; }
.article-cta p.calc-link { margin: 16px auto 0; font-size: 0.9rem; }
.prose a.btn-wa { color: var(--blue-900); }

.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 20px 22px; margin-top: 48px; }
.author-box img { width: 48px; height: 48px; flex-shrink: 0; }
.author-box strong { display: block; font-size: 1.02rem; color: var(--gray-900); margin-bottom: 4px; }
.author-box p { margin: 0 0 8px; font-size: 0.92rem; color: var(--gray-600); }
.prose .author-box a { font-size: 0.9rem; text-decoration: none; }
.prose .author-box a:hover { text-decoration: underline; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prose .related-card { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 18px 20px; text-decoration: none; font-weight: 400; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.prose .related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.related-card .cat { font-size: 0.74rem; font-weight: 600; color: var(--violet-600); text-transform: uppercase; letter-spacing: 0.06em; }
.prose .related-card h3 { font-size: 1rem; line-height: 1.45; margin: 0; color: var(--gray-900); }
.related-card .more { font-weight: 600; font-size: 0.88rem; color: var(--blue-700); margin-top: auto; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }

/* ===== AI savings calculator ===== */
.calc-strip { background: var(--grad-brand-soft); border-block: 1px solid var(--blue-100); padding-block: 44px; text-align: center; }
.calc-strip h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 8px; }
.calc-strip p { color: var(--gray-600); margin: 0 auto 20px; max-width: 560px; }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.calc-card h2 { font-size: 1.25rem; margin: 0 0 20px; }
.calc-level { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-level .wiz-opt { flex: 1 1 auto; text-align: center; }
.calc-results { background: linear-gradient(135deg, var(--blue-50), #f5f3ff); border: 1px solid var(--blue-100); border-radius: var(--radius-md); padding: 28px; position: sticky; top: 90px; }
.calc-results h2 { font-size: 1.25rem; margin: 0 0 20px; }
.calc-out { display: grid; gap: 16px; }
.calc-out-row { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 14px 18px; }
.calc-out-row .lbl { font-size: 0.85rem; color: var(--gray-500); font-weight: 600; }
.calc-out-row .val { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-gate { max-width: 620px; margin: 48px auto 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); text-align: center; }
.calc-gate h2 { font-size: 1.3rem; margin-top: 0; }
.calc-gate > p { color: var(--gray-600); max-width: 480px; margin: 8px auto 20px; }
.calc-gate form { text-align: start; }
.calc-privacy { font-size: 0.8rem; color: var(--gray-500); margin-top: 12px; text-align: center; }
.calc-form-err { color: #dc2626; font-size: 0.9rem; font-weight: 600; margin-top: 12px; text-align: center; }
.calc-breakdown { max-width: 760px; margin: 48px auto 0; }
.calc-breakdown h2 { text-align: center; }
.calc-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.calc-table th, .calc-table td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--gray-200); font-size: 0.95rem; }
.calc-table th { background: var(--gray-50); font-weight: 700; color: var(--gray-700); }
.calc-table tr:last-child td { border-bottom: none; font-weight: 700; background: var(--blue-50); }
.calc-assumptions { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 0.9rem; color: var(--gray-600); }
.calc-assumptions ul { margin: 8px 0 0; padding-inline-start: 18px; }
.calc-breakdown .btn-row { justify-content: center; margin-top: 28px; }
html.a11y-contrast .calc-results, html.a11y-contrast .calc-card, html.a11y-contrast .calc-gate { background: #1e293b; border-color: #64748b; }
html.a11y-contrast .calc-out-row { background: #0f172a; }
html.a11y-contrast .calc-out-row .val { background: none; -webkit-background-clip: unset; background-clip: unset; color: #ffff00; }
/* 9-orx-ask §4.6 (the question's accessibility run, 2026-11-14 23:28 UTC): in high contrast every link is yellow and this
   line's text white, 1.07:1 (axe link-in-text-block, WCAG 1.4.1); the underline tells the link apart, as .field-check a
   does for the consent links of the contact form and the wizard */
html.a11y-contrast .calc-privacy a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: 104px 0; position: relative; }
@media (max-width: 768px) { section { padding: 68px 0; } }

/* ===== Typography ===== */
h1, h2, h3, h4 { line-height: 1.18; color: var(--blue-900); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p  { color: var(--gray-600); }
.lead { font-size: 1.18rem; color: var(--gray-500); max-width: 640px; margin-block: 12px 0; line-height: 1.7; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-600);
  background: var(--violet-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), filter var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: var(--white); box-shadow: var(--shadow-brand); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 22px 48px rgba(79,70,229,0.28); transform: translateY(-2px); }
/* 11-orx-stage §3.7 item 3 (Q13): the lift moved the button 2 px off a pointer resting at its bottom edge; it dropped back under
   the pointer and lifted again, a flicker. While it is lifted, an invisible strip fills the 2 px under it, so the pointer stays on
   it. The lift's transform makes the button the strip's containing block; at rest nothing is added. */
.btn-primary:hover::after { content: ''; position: absolute; inset-inline: 0; top: 100%; height: 2px; }
.btn-secondary { background: var(--white); color: var(--blue-700); border: 1.5px solid var(--blue-100); }
.btn-secondary:hover { border-color: var(--blue-500); background: var(--blue-50); transform: translateY(-1px); }
.btn-ghost { color: var(--blue-700); padding-inline: 10px; }
.btn-ghost:hover { color: var(--blue-800); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* a long label wraps on a narrow screen instead of pushing the page sideways */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; } /* the logo keeps its size on every screen */
.brand img { height: 36px; width: auto; }
.site-header .brand img { width: 174px; height: auto; } /* the owner's logo (2.78:1): the largest width that fits at 320 px */
.site-header .brand .logo-contrast, .author-box .mark-contrast { display: none; }
html.a11y-contrast .site-header .brand .logo-default, html.a11y-contrast .author-box .mark-default { display: none; }
html.a11y-contrast .site-header .brand .logo-contrast, html.a11y-contrast .author-box .mark-contrast { display: block; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.97rem;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--blue-700); }
.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.lang-toggle:hover { color: var(--blue-700); border-color: var(--blue-500); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
}
.menu-toggle:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-900);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .nav-list {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav-list.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list a { padding: 14px 8px; font-size: 1.05rem; }
  .nav-list a.active::after { display: none; }
}
/* 11-orx-stage §3.7 item 2 (Q12, GO A note b): with the accessibility menu's larger text the menu's full row is wider than the header
   above 1140 px, and the page scrolled sideways. The header is a size container, and the menu also folds when the header is at most
   69rem wide: 1104 px at the ordinary size (always folded there by the rule above, so nothing changes), growing with the text size
   because rem follows the root's size (1192 px at 108 %, 1634 px at 148 %). It is decided by the stylesheet at the first layout,
   so the page does not move when it folds; without scripts the size stays ordinary and nothing changes. */
.site-header { container-type: inline-size; }
@container (max-width: 69rem) {
  .menu-toggle { display: block; }
  .nav-list {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav-list.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list a { padding: 14px 8px; font-size: 1.05rem; }
  .nav-list a.active::after { display: none; }
}
/* Phones: the header holds the logo, the language switch and the menu button. Its call-to-action button
   does not fit beside a full-size logo below 518px, so it is hidden where the mobile layout starts. */
@media (max-width: 600px) {
  .site-header .container { gap: 12px; }
  .site-header .nav-right .btn { display: none; }
}

/* ===== Hero (dark shell) ===== */
.hero {
  position: relative;
  padding: 130px 0 120px;
  background:
    radial-gradient(ellipse 80% 60% at 75% 8%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(ellipse 70% 60% at 12% 95%, rgba(37, 99, 235, 0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 70% at center, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 25%, transparent 72%);
  pointer-events: none;
}
/* organic floating blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(124,58,237,0.35), transparent 70%); top: -120px; inset-inline-end: -80px; animation: float 14s ease-in-out infinite; }
.blob-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(59,130,246,0.32), transparent 70%); bottom: -100px; inset-inline-start: -60px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.06); }
}

.hero .container { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 900px; margin: 18px auto 0; color: var(--shell-text); }
.hero .lead { font-size: 1.24rem; margin: 24px auto 0; max-width: 680px; color: var(--shell-text-soft); }
.hero .btn-row { justify-content: center; margin-top: 36px; }

/* dark-shell component variants (hero + page headers share these) */
.hero .eyebrow, .page-header .eyebrow {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.hero .gradient-text, .page-header .gradient-text, .hero-stat .num {
  background: var(--grad-brand-bright);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero .btn-secondary, .page-header .btn-secondary {
  background: transparent;
  color: var(--gray-200);
  border-color: rgba(255, 255, 255, 0.32);
}
.hero .btn-secondary:hover, .page-header .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--shell-text);
}
.hero .type-cursor { background: #a78bfa; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--shell-text-muted);
}
.hero-note .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
a.hero-note { text-decoration: none; transition: color var(--transition); }
a.hero-note:hover { color: var(--gray-200); }
a.hero-note:hover .biz-text { text-decoration: underline; text-underline-offset: 3px; }
.hero-note.is-closed { color: var(--shell-text-muted); }
.hero-note.is-closed .dot { background: #94a3b8; box-shadow: 0 0 0 4px rgba(148,163,184,0.18); animation: none; }
/* 11-orx-stage HERO: the note's three texts are in the page; a class on <html> (early.js, before the first paint) shows one, so the
   note keeps its width from the first paint; without scripts the first one shows, as before */
.biz-text-open, .biz-text-closed, html.biz-open .biz-text-default, html.biz-closed .biz-text-default { display: none; }
html.biz-open .biz-text-open, html.biz-closed .biz-text-closed { display: inline; }
html.biz-closed .hero-note .dot { background: #94a3b8; box-shadow: 0 0 0 4px rgba(148,163,184,0.18); animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.28); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.05); }
}

.hero-stats {
  display: grid;
  /* two tiles, each as wide as one of the former three, centred */
  grid-template-columns: repeat(2, calc((100% - 2 * 24px) / 3));
  justify-content: center;
  gap: 24px;
  max-width: 760px;
  margin: 66px auto 0;
}
.hero-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--shell-surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--shell-border);
  border-radius: var(--radius-md);
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-brand-bright); /* on the dark tile the darker brand gradient measured 2.6-2.9:1 (3:1 needed) */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-stat .lbl { font-size: 0.9rem; color: var(--shell-text-muted); margin-top: 4px; }

@media (max-width: 600px) {
  .hero { padding: 84px 0 72px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
}

/* ===== Trust strip ===== */
.trust {
  padding: 40px 0;
  border-block: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.trust p {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 22px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
}
.trust-logos .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--gray-600);
  opacity: 0.86; /* 5.08:1 on --gray-50 */
  transition: opacity var(--transition), color var(--transition);
}
.trust-logos .chip:hover { opacity: 1; color: var(--blue-700); }
.trust-logos .chip svg { width: 22px; height: 22px; }

/* ===== Cards / Services ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 34px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
/* gradient border on hover */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(var(--white) 0 0) content-box, linear-gradient(var(--white) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--white) 0 0) content-box, linear-gradient(var(--white) 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card:hover .card-icon { transform: translateY(-3px) scale(1.06); }
.card h3 { color: var(--blue-900); margin-top: 20px; }
.card p { color: var(--gray-500); font-size: 0.97rem; margin-top: 6px; }

.card-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  color: var(--violet-600);
  border-radius: 16px;
  transition: transform var(--transition);
}
.card-icon svg { width: 28px; height: 28px; }

.card ul { margin-top: 16px; display: grid; gap: 8px; }
.card ul li {
  font-size: 0.94rem;
  color: var(--gray-700);
  padding-inline-start: 22px;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--violet-100);
  border: 2px solid var(--violet-500);
}

/* ===== Features (why choose us) ===== */
.features { background: var(--gray-50); }
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .card-icon { flex-shrink: 0; }
.feature h3 { margin-top: 4px; font-size: 1.1rem; }
.feature p { font-size: 0.95rem; margin-top: 4px; }

/* ===== Section dividers (soft waves on the gray block) ===== */
.features { overflow: hidden; }
.features::before,
.features::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 38px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  z-index: 1;
  pointer-events: none;
}
.features::before {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0 H1440 V19 C1080 41 360 -3 0 19 Z'/%3E%3C/svg%3E");
}
.features::after {
  bottom: -1px;
  transform: scaleY(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0 H1440 V19 C1080 41 360 -3 0 19 Z'/%3E%3C/svg%3E");
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: var(--grad-brand);
  z-index: 70;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ===== Process (how we work) ===== */
.process { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-brand);
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: 0.94rem; margin-top: 6px; color: var(--gray-500); }

/* ===== CTA strip (dark shell) ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-900), #221347);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.32), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(139, 92, 246, 0.3), transparent 44%),
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
  pointer-events: none;
}
.cta-strip .container { position: relative; text-align: center; }
.cta-strip h2 { color: var(--white); }
.cta-strip p { color: rgba(255, 255, 255, 0.88); max-width: 580px; margin: 12px auto 0; }
.cta-strip .btn-row { justify-content: center; }
.cta-strip .btn-primary { background: var(--white); color: var(--violet-700); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.cta-strip .btn-primary:hover { background: var(--gray-50); }
.cta-strip .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.cta-strip .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ===== Page header (sub-pages, dark shell) ===== */
.page-header {
  padding: 96px 0 64px;
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(124, 58, 237, 0.24), transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 100%, rgba(37, 99, 235, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 90% at center, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at center, black 25%, transparent 75%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin: 12px 0 14px; color: var(--shell-text); }
.page-header p { color: var(--shell-text-soft); max-width: 640px; margin-inline: auto; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-grid p { margin-top: 14px; font-size: 1.05rem; }
.about-illustration {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(124,58,237,0.18), transparent 52%),
    radial-gradient(circle at 70% 70%, rgba(37,99,235,0.18), transparent 55%),
    linear-gradient(135deg, var(--blue-50), var(--violet-100));
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.about-illustration svg { width: 60%; height: auto; opacity: 0.9; }

.values { margin-top: 84px; }
.value h3 { font-size: 1.05rem; }
.value p { font-size: 0.95rem; }

/* ===== Services (detailed) ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0;
}
.service-block + .service-block { border-top: 1px solid var(--gray-200); }
.service-block.reverse { grid-template-columns: 1.3fr 1fr; }
.service-block.reverse .service-visual { order: 2; }
@media (max-width: 880px) {
  .service-block, .service-block.reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-block.reverse .service-visual { order: 0; }
}
.service-visual {
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(circle at 30% 25%, rgba(124,58,237,0.18), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(37,99,235,0.16), transparent 55%),
    linear-gradient(135deg, var(--blue-50), var(--white));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
}
.service-visual svg { width: 55%; height: auto; }
.service-content h2 { font-size: 1.9rem; }
.service-content ul { margin-top: 18px; display: grid; gap: 10px; }
.service-content ul li {
  padding-inline-start: 28px;
  position: relative;
  color: var(--gray-700);
}
.service-content ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 16px; height: 16px;
  background: var(--grad-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--violet-100);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info { display: grid; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.contact-item:hover { border-color: var(--violet-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-item .card-icon { flex-shrink: 0; width: 50px; height: 50px; }
.contact-item .card-icon svg { width: 24px; height: 24px; }
/* the WhatsApp card (7-orx-texts, Q9 a): WhatsApp's own glyph on its green; the white one on black in high contrast */
.contact-item .card-icon-wa { background: #25d366; }
.contact-item .card-icon-wa svg { width: 28px; height: 28px; }
.card-icon-wa .wa-g-white { display: none; }
html.a11y-contrast .contact-item .card-icon-wa { background: #000 !important; border: 2px solid #fff; }
html.a11y-contrast .card-icon-wa .wa-g { display: none; }
html.a11y-contrast .card-icon-wa .wa-g-white { display: block; }
.contact-item .label { font-size: 0.82rem; color: var(--gray-500); }
.contact-item .value { font-weight: 600; color: var(--blue-900); font-size: 1.02rem; }

.contact-form {
  background: var(--white);
  padding: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--gray-700); }
.req { color: #dc2626; margin-inline-start: 2px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet-500);
  box-shadow: 0 0 0 4px var(--violet-100);
}
.field textarea { resize: vertical; min-height: 130px; }
/* email and phone fields of the Hebrew forms are typed left to right and stay aligned with the other fields */
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue-700); }
.field-check label { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; }
.field-check a { color: var(--blue-700); font-weight: 600; text-decoration: underline; }
.field-check.invalid label { color: #dc2626; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 14px; text-align: center; line-height: 1.5; }
.field-error { color: #dc2626; font-size: 0.85rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .field-error { display: block; }
.field-check.invalid { margin-bottom: 6px; }
.field-check.invalid + .field-error { display: block; margin-bottom: 18px; }

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.success { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-status.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ===== Footer (dark shell) ===== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  border-top: 1px solid var(--shell-border);
  padding: 66px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h2 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--white); }
.site-footer .brand img { height: 32px; width: auto; } /* the light variant of the owner's logo, as tall as before */
.site-footer .brand-blurb { margin-top: 16px; font-size: 0.95rem; max-width: 320px; color: rgba(255,255,255,0.7); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.88rem;
}
/* the line under the legal links (7-orx-texts, Q3 a) */
.footer-terms-note { display: block; margin-top: 4px; }
/* 7-orx-texts, the owner's test 9: at the end of a page the floating buttons (WhatsApp, chat, accessibility, back to top)
   cover nothing in the footer, and a footer link that takes the keyboard focus is scrolled clear of them: room below the
   footer's last line, and the same bottom margin for focus scrolling, as high as the buttons stand (the chat button's top:
   90 + 56 px, on phones 150 + 56 px) and 16 px more */
:root { --float-clear: 162px; }
@media (max-width: 600px) { :root { --float-clear: 222px; } }
html { scroll-padding-bottom: var(--float-clear); }
.site-footer { padding-bottom: calc(28px + var(--float-clear)); }
.footer-bottom .social { display: flex; gap: 14px; }
.footer-bottom .social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}
.footer-bottom .social a:hover { background: var(--grad-brand); transform: translateY(-2px); }
.footer-bottom .social svg { width: 18px; height: 18px; fill: currentColor; }
/* WhatsApp's own white glyph (6-orx-polish, Q5 c), drawn in its own colour; its bubble fills its whole box, so it is a
   little smaller than its neighbours' boxes to match their size */
.footer-bottom .social .wa-g { width: 16px; height: 16px; }
/* Ornexi's two social pages (10-orx-works §3.8): plain links, each network's own glyph file from our server (Q12 a), 29 px in
   a 44 px target; in the footer under WhatsApp in the contact column (Q11 F2), and as a card of their own on the contact
   page (Q11 C1). The footer is dark: the white glyphs. The contact card is light: Facebook's blue logo and Instagram's black
   glyph, and in high contrast (the card turns black) the white ones */
.social-links { display: flex; gap: 4px; margin-inline-start: -8px; }
.social-links .soc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.social-links .soc img { width: 29px; height: 29px; }
.site-footer .social-links .soc:hover { background: rgba(255,255,255,0.08); }
.social-links .g-contrast { display: none; }
html.a11y-contrast .social-links .g-default { display: none; }
html.a11y-contrast .social-links .g-contrast { display: block; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-in 0.4s ease both;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55); }
/* WhatsApp's own glyphs (6-orx-polish, Q5 c; partials/wa-glyph-*.njk from Meta's files): the black one on WhatsApp's
   green; in the high-contrast mode the white one on black, with a white ring */
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-g-white { display: none; }
html.a11y-contrast .wa-float { background: #000 !important; border: 2px solid #fff; box-shadow: none !important; }
html.a11y-contrast .wa-float .wa-g { display: none; }
html.a11y-contrast .wa-float .wa-g-white { display: block; }
@keyframes wa-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 600px) { .wa-float { inset-block-end: 84px; width: 54px; height: 54px; } }

/* ===== Mobile sticky CTA bar ===== */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 55;
  display: none;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -6px 20px rgba(15,23,42,0.08);
}
.mobile-cta .btn { flex: 1; padding-block: 12px; }
.mobile-cta .btn-call {
  flex: 0 0 auto;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1.5px solid var(--blue-100);
  width: 50px;
  padding: 12px;
}
@media (max-width: 600px) { .mobile-cta { display: flex; } }

/* ===== Animations ===== */
/* Content is visible by default. Blocks start hidden and fade in only while main.js is running:
   it sets the class "js" on <html> at the moment it starts to reveal them. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .blob { display: none; }
}

/* read by screen readers, not drawn (11-orx-stage: the demo's end line, the works counter's words) */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ===== Focus visibility (keyboard navigation) ===== */
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }
/* dark sections: keep the focus ring visible */
.cta-strip :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

/* ===== RTL specific tweaks ===== */
html[dir="rtl"] .card ul li::before { left: auto; }

/* =================================================================
   Accessibility widget
   ================================================================= */
.a11y-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.a11y-btn:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(30, 64, 175, 0.5); }
.a11y-btn svg { width: 32px; height: 32px; fill: currentColor; }
@media (max-width: 600px) { .a11y-btn { bottom: 84px; width: 54px; height: 54px; } }

.a11y-panel {
  position: fixed;
  bottom: 94px;
  left: 24px;
  z-index: 61;
  width: 320px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.a11y-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
@media (max-width: 600px) { .a11y-panel { bottom: 150px; } }

.a11y-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--blue-900);
}
.a11y-panel .a11y-sub { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; }

.a11y-fontrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.a11y-fontrow .a11y-label { font-weight: 600; font-size: 0.92rem; }
.a11y-fontrow .a11y-steps { display: flex; gap: 6px; }
.a11y-fontrow button {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--blue-100);
  transition: background var(--transition);
}
.a11y-fontrow button:hover { background: var(--blue-100); }

.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.a11y-toggle svg { width: 22px; height: 22px; }
.a11y-toggle:hover { border-color: var(--blue-500); color: var(--blue-700); }
.a11y-toggle[aria-pressed="true"] {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
}

.a11y-reset {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.a11y-reset:hover { background: var(--gray-200); }

.a11y-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
}
.a11y-note a { color: var(--blue-700); font-weight: 600; }

/* ----- Accessibility state classes (applied to <html>) ----- */
/* Grayscale */
html.a11y-gray { filter: grayscale(100%); }

/* Highlight links */
html.a11y-links a:not(.btn):not(.a11y-btn):not(.wa-float) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 700 !important;
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Readable font */
html.a11y-readable body,
html.a11y-readable :not(.a11y-btn):not(.a11y-btn *) {
  font-family: Arial, 'Heebo', 'Segoe UI', sans-serif !important;
  letter-spacing: 0.03em !important;
  line-height: 1.9 !important;
  word-spacing: 0.08em !important;
}

/* Stop animations */
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-noanim .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-noanim .blob { display: none !important; }

/* Big cursor */
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4l28 18-12 2-3 11z' fill='%23000' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* High contrast */
html.a11y-contrast { background: #000 !important; }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast .hero, html.a11y-contrast .features, html.a11y-contrast .trust,
html.a11y-contrast .page-header, html.a11y-contrast .cta-strip, html.a11y-contrast section,
html.a11y-contrast .card, html.a11y-contrast .feature, html.a11y-contrast .step,
html.a11y-contrast .contact-item, html.a11y-contrast .contact-form, html.a11y-contrast .hero-stat,
html.a11y-contrast .service-visual, html.a11y-contrast .about-illustration,
html.a11y-contrast .site-header, html.a11y-contrast .site-footer {
  background: #000 !important;
  border-color: #fff !important;
  box-shadow: none !important;
}
html.a11y-contrast .hero::before, html.a11y-contrast .page-header::before,
html.a11y-contrast .cta-strip::before, html.a11y-contrast .blob { background: none !important; display: none; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4,
html.a11y-contrast p, html.a11y-contrast span, html.a11y-contrast li, html.a11y-contrast div,
html.a11y-contrast .lbl, html.a11y-contrast .label, html.a11y-contrast .value,
html.a11y-contrast .brand-blurb, html.a11y-contrast .eyebrow {
  color: #fff !important;
  background: transparent !important;
}
html.a11y-contrast .gradient-text, html.a11y-contrast .hero-stat .num,
html.a11y-contrast .error-code { /* the big "404": gradient-filled text too; without this it had no fill left in this mode */
  -webkit-text-fill-color: #ffff00 !important;
  color: #ffff00 !important;
  background: none !important;
}
html.a11y-contrast a { color: #ffff00 !important; }
html.a11y-contrast .btn-primary { background: #ffff00 !important; color: #000 !important; }
html.a11y-contrast .btn-secondary { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .card-icon, html.a11y-contrast .step-num {
  background: #000 !important; color: #ffff00 !important; border: 1px solid #fff !important;
}
html.a11y-contrast .eyebrow { border: 1px solid #ffff00; }

/* Keep the accessibility widget itself readable in high-contrast mode */
html.a11y-contrast .a11y-panel { background: #000 !important; border-color: #fff !important; }
html.a11y-contrast .a11y-panel h2,
html.a11y-contrast .a11y-panel .a11y-sub,
html.a11y-contrast .a11y-panel .a11y-label,
html.a11y-contrast .a11y-panel span,
html.a11y-contrast .a11y-panel .a11y-note { color: #fff !important; }
html.a11y-contrast .a11y-fontrow { border-color: #fff !important; background: #000 !important; }
html.a11y-contrast .a11y-fontrow button { background: #000 !important; color: #ffff00 !important; border-color: #fff !important; }
html.a11y-contrast .a11y-toggle { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .a11y-toggle[aria-pressed="true"] { background: #ffff00 !important; border-color: #ffff00 !important; }
html.a11y-contrast .a11y-toggle[aria-pressed="true"] span { color: #000 !important; }
html.a11y-contrast .a11y-reset { background: #000 !important; color: #fff !important; border: 1px solid #fff !important; }
html.a11y-contrast .a11y-note a { color: #ffff00 !important; }

/* =================================================================
   Interactive features: typing hero, perf badge, AI demo,
   journey, wizard, glossary
   ================================================================= */

/* --- Hero typing cursor --- */
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.92em;
  background: var(--violet-600);
  margin-inline-start: 5px;
  vertical-align: -0.08em;
  border-radius: 2px;
  animation: cursor-blink 0.8s step-end infinite;
}
.type-cursor.done { opacity: 0; transition: opacity 0.8s ease; }
@keyframes cursor-blink { 50% { opacity: 0; } }
html.a11y-noanim .type-cursor { display: none; }
/* 11-orx-stage HERO: typing into the final layout (main.js): the letters not yet typed keep their place invisibly, the caret is out of
   the flow (it moves without moving any letter), and the end cursor's room is kept until the heading is rebuilt as before */
.type-rest, .type-end { visibility: hidden; }
.type-caret { position: absolute; }

/* --- Back to top --- */
.to-top {
  position: fixed;
  bottom: 90px;
  left: 24px; /* left side, above the a11y button — the chat button occupies bottom:90 on the right */
  z-index: 59;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--blue-700);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-50); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .to-top { bottom: 146px; left: 16px; } }

/* --- AI live demo --- */
.demo-wrap { max-width: 640px; margin-inline: auto; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.demo-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.demo-chip:hover { border-color: var(--blue-500); color: var(--blue-700); }
.demo-chip[aria-pressed="true"] { background: var(--grad-brand); color: var(--white); border-color: transparent; box-shadow: var(--shadow-brand); }

.chat-window {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.chat-head .cdot { width: 10px; height: 10px; border-radius: 50%; }
.cdot-r { background: #f87171; } .cdot-y { background: #fbbf24; } .cdot-g { background: #34d399; }
.chat-title { font-weight: 600; font-size: 0.9rem; color: var(--gray-700); margin-inline-start: 8px; }
.chat-status { margin-inline-start: auto; font-size: 0.78rem; color: #047857; font-weight: 600; }
.chat-messages {
  height: 330px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, var(--white), var(--gray-50));
}
/* 10-orx-works, a finding older than this release: on a phone the demo's conversation is taller than its box, which then
   scrolls; the box takes the keyboard focus (tabindex 0, named by the chat's title) so that it can be scrolled without a
   pointer (WCAG 2.1.1; axe scrollable-region-focusable). The window clips its edges, so the focus ring is drawn inside */
.chat-messages:focus-visible { outline-offset: -3px; }
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.55;
  animation: msg-in 0.3s ease;
}
.msg.user { align-self: flex-start; background: var(--grad-brand); color: var(--white); border-end-start-radius: 4px; }
.msg.bot { align-self: flex-end; background: var(--gray-100); color: var(--gray-900); border-end-end-radius: 4px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.typing-dots {
  align-self: flex-end;
  background: var(--gray-100);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex; gap: 5px;
}
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-500); animation: tdot 1s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 30% { transform: translateY(-5px); opacity: 0.5; } }
.demo-note { text-align: center; font-size: 0.83rem; color: var(--gray-500); margin-top: 12px; }

/* --- Process journey (scroll-lit steps) --- */
.process-grid.enhanced { position: relative; padding-top: 26px; }
.process-grid.enhanced::before {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0;
  height: 4px; width: 100%;
  background: var(--gray-200);
  border-radius: 4px;
}
.process-grid.enhanced::after {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0;
  height: 4px; width: var(--line, 0%);
  background: var(--grad-brand);
  border-radius: 4px;
  transition: width 0.5s ease;
}
@media (max-width: 880px) {
  .process-grid.enhanced { padding-top: 0; }
  .process-grid.enhanced::before, .process-grid.enhanced::after { display: none; }
}
.process-grid.enhanced .step { opacity: 0.5; filter: grayscale(0.65); transition: opacity 0.5s ease, filter 0.5s ease, transform var(--transition), box-shadow var(--transition); }
.process-grid.enhanced .step.lit { opacity: 1; filter: none; }
.process-grid.enhanced .step.lit .step-num { animation: step-pop 0.45s ease; }
@keyframes step-pop { 40% { transform: scale(1.18); } }
html.a11y-noanim .process-grid.enhanced .step { opacity: 1 !important; filter: none !important; }

/* --- Project wizard --- */
.wizard-card {
  max-width: 680px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
@media (max-width: 600px) { .wizard-card { padding: 24px; } }
.wiz-progress { height: 6px; background: var(--gray-100); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.wiz-progress span { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: 99px; transition: width 0.35s ease; }
.wiz-stepcount { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 20px; }
.wiz-title { font-size: 1.4rem; margin-bottom: 4px; outline: none; }
.wiz-sub { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 20px; }
.wiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .wiz-options { grid-template-columns: 1fr; } }
.wiz-opt {
  text-align: start;
  padding: 15px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.wiz-opt:hover { border-color: var(--blue-500); color: var(--blue-700); }
.wiz-opt[aria-pressed="true"] { background: var(--blue-50); border-color: var(--blue-600); color: var(--blue-800); box-shadow: 0 0 0 3px var(--blue-100); }
.wiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.wiz-nav .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }
/* the wizard's last step (7-orx-texts, the owner's design approved 27.10): the phone and email pair with its notice,
   the send button's failure line, and the summary's line above the optional channels */
.wiz-contact { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.wiz-contact legend { font-size: 0.92rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; padding: 0; }
.wiz-contact .field { margin-bottom: 12px; }
.wiz-contact.invalid input { border-color: #dc2626; }
.wiz-contact.invalid .wiz-contact-error { display: block; }
.wiz-contact-note { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; margin: 2px 0 0; }
.wiz-send-error { display: block; margin-top: 12px; }
.wiz-send-error:empty { display: none; }
.wiz-extra { color: var(--gray-600); font-size: 0.95rem; margin: 20px 0 10px; }
.wiz-example { white-space: nowrap; unicode-bidi: isolate; }
html.a11y-contrast .wiz-contact legend { color: #fff !important; }
.wiz-summary { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 20px; }
.wiz-summary ul { display: block; }
.wiz-summary li { padding: 7px 0; border-bottom: 1px dashed var(--gray-200); font-size: 0.95rem; color: var(--gray-700); }
.wiz-summary li:last-child { border-bottom: 0; }
.wiz-summary b { color: var(--blue-900); }
.wiz-restart { display: inline-block; margin-top: 16px; font-size: 0.9rem; color: var(--gray-500); text-decoration: underline; cursor: pointer; }
.btn-wa { background: #25d366; color: var(--blue-900); } /* dark text on the WhatsApp green: 9.0:1 */
.btn-wa:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); }

/* --- Glossary --- */
.glossary-cat { margin-top: 52px; }
.glossary-cat:first-of-type { margin-top: 0; }
.glossary-cat > h2 { font-size: 1.45rem; margin-bottom: 18px; }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .term-grid { grid-template-columns: 1fr; } }
.term { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 22px; }
.term h3 { font-size: 1.05rem; margin: 0 0 6px; }
.term p { font-size: 0.93rem; color: var(--gray-600); margin: 0; }
.term a { color: var(--blue-700); font-weight: 600; }

/* --- High-contrast support for new components --- */
html.a11y-contrast .chat-window, html.a11y-contrast .chat-head, html.a11y-contrast .chat-messages,
html.a11y-contrast .wizard-card, html.a11y-contrast .wiz-summary, html.a11y-contrast .term,
html.a11y-contrast .demo-chip, html.a11y-contrast .wiz-opt {
  background: #000 !important; border-color: #fff !important;
}
html.a11y-contrast .msg.bot { background: #000 !important; color: #fff !important; border: 1px solid #fff; }
html.a11y-contrast .msg.user { background: #ffff00 !important; color: #000 !important; }
html.a11y-contrast .wiz-progress { background: #000 !important; border: 1px solid #fff; }

/* =================================================================
   Small helpers (these values used to be inline style attributes)
   ================================================================= */
.text-center { text-align: center; }
.btn-block { width: 100%; }
.btn-row-center { justify-content: center; }
.section-flush { padding-block: 0 56px; }
.disclaimer-narrow { max-width: 880px; margin-inline: auto; }
.contact-item-static { cursor: default; }
.form-title { font-size: 1.25rem; margin-bottom: 20px; }
/* the line a visitor without JavaScript reads above the contact and calculator forms (6-orx-polish §4.2) */
.form-noscript { margin: 0 0 18px; padding: 12px 14px; font-size: .95rem; line-height: 1.6; color: #1e293b; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 10px; }
.form-noscript a { color: var(--blue-700); font-weight: 600; white-space: nowrap; }
.optional { font-weight: 400; color: var(--gray-500); }
.calc-first-step { text-align: center; margin-top: 28px; }
.calc-disclaimer { margin-top: 48px; }

/* =================================================================
   Chat widget (assets/js/chatbot.js builds the markup)
   ================================================================= */
.oc-btn { position: fixed; bottom: 90px; right: 24px; z-index: 9010; width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer; background: linear-gradient(135deg,var(--blue-600),var(--violet-600)); box-shadow: 0 4px 20px rgba(37,99,235,.45); color: var(--white); display: flex; align-items: center; justify-content: center; transition: transform .2s,box-shadow .2s; animation: oc-popin .4s .8s ease both; }
.oc-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,99,235,.6); }
.oc-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.oc-btn svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes oc-popin {
  from { opacity: 0; transform: scale(.4); }
  to { opacity: 1; transform: scale(1); }
}
.oc-win { position: fixed; bottom: 160px; right: 24px; z-index: 9011; width: min(360px,calc(100vw - 32px)); background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transition: opacity .22s,transform .22s; }
.oc-win[hidden] { display: none; }
.oc-win.oc-closing { opacity: 0; transform: scale(.88) translateY(14px); }
.oc-head { background: linear-gradient(135deg,#1d4ed8,var(--violet-700)); padding: 13px 14px; display: flex; align-items: center; gap: 10px; color: var(--white); flex-shrink: 0; }
.oc-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.oc-head-info { flex: 1; min-width: 0; }
.oc-head-info strong { display: block; font-size: .88rem; font-weight: 700; }
.oc-x { background: none; border: none; color: var(--white); cursor: pointer; padding: 5px; border-radius: 6px; display: flex; opacity: .8; transition: opacity .15s; flex-shrink: 0; }
.oc-x:hover { opacity: 1; }
.oc-x:focus-visible { outline: 2px solid rgba(255,255,255,.7); }
.oc-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.oc-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; max-height: 310px; scroll-behavior: smooth; }
.oc-msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: .875rem; line-height: 1.5; word-break: break-word; }
.oc-bot { background: var(--gray-100); color: #1e293b; align-self: flex-start; border-bottom-left-radius: 4px; }
.oc-usr { background: linear-gradient(135deg,var(--blue-600),var(--violet-600)); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
[dir=rtl] .oc-bot { align-self: flex-end; border-bottom-right-radius: 4px; border-bottom-left-radius: 16px; }
[dir=rtl] .oc-usr { align-self: flex-start; border-bottom-left-radius: 4px; border-bottom-right-radius: 16px; }
.oc-typing { display: flex; gap: 4px; align-items: center; padding: 10px 14px; background: var(--gray-100); border-radius: 16px; border-bottom-left-radius: 4px; align-self: flex-start; width: 52px; }
[dir=rtl] .oc-typing { align-self: flex-end; border-bottom-right-radius: 4px; border-bottom-left-radius: 16px; }
.oc-dot { width: 7px; height: 7px; background: #94a3b8; border-radius: 50%; animation: oc-bounce .9s ease-in-out infinite; }
.oc-dot:nth-child(2) { animation-delay: .15s; }
.oc-dot:nth-child(3) { animation-delay: .3s; }
@keyframes oc-bounce {
  0%, 80%, 100% { transform: scale(.65); opacity: .45; }
  40% { transform: scale(1); opacity: 1; }
}
.oc-done { text-align: center; padding: 18px 14px; font-size: .875rem; color: #15803d; font-weight: 600; background: #f0fdf4; margin: 10px; border-radius: 12px; border: 1px solid #bbf7d0; }
/* the sales line, a quiet line under the input (6-orx-polish, Q4 B); the high-contrast mode's own div and link rules apply */
.oc-cta { flex-shrink: 0; padding: 2px 12px 0; font-size: .74rem; line-height: 1.45; text-align: center; color: var(--gray-600); background: var(--white); }
.oc-cta a { color: var(--blue-600); font-weight: 600; }
.oc-foot { display: flex; gap: 8px; padding: 11px 12px; border-top: 1px solid var(--gray-200); background: var(--white); flex-shrink: 0; }
.oc-inp { flex: 1; border: 1.5px solid var(--gray-200); border-radius: 22px; padding: 9px 13px; font-size: .875rem; font-family: inherit; resize: none; outline: none; line-height: 1.4; transition: border-color .2s; direction: inherit; color: #1e293b; background: var(--gray-50); max-height: 90px; overflow-y: auto; }
.oc-inp:focus { border-color: var(--blue-600); background: var(--white); }
.oc-send { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: none; background: linear-gradient(135deg,var(--blue-600),var(--violet-600)); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s,opacity .15s; align-self: flex-end; }
.oc-send:hover:not(:disabled) { transform: scale(1.1); }
.oc-send:disabled { opacity: .38; cursor: default; }
.oc-send:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.oc-send svg { width: 17px; height: 17px; fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* the notice before the chat (7-orx-texts, Q7 b): above the input, outside the message log */
.oc-notice { font-size: 0.78rem; line-height: 1.45; color: var(--gray-600); padding: 8px 14px; margin: 0; border-top: 1px solid var(--gray-200); background: var(--white); flex-shrink: 0; }
.oc-notice a { color: var(--blue-700); text-decoration: underline; }
html.a11y-contrast .oc-notice { color: #fff; background: #000; }
html.a11y-contrast .oc-notice a { color: #ffff00; }
@media (max-width:600px) {
  .oc-btn { bottom: 150px; }
  .oc-win { bottom: 220px; right: 12px; width: calc(100vw - 24px); }
}
html.a11y-contrast .oc-win { border: 2px solid #fff; }
html.a11y-contrast .oc-bot { background: #1e293b; color: #fff; border: 1px solid #475569; }
html.a11y-contrast .oc-inp { background: #0f172a; color: #fff; border-color: #64748b; }

/* =================================================================
   High-contrast mode, second list (A11Y-12): text and surfaces that kept their light-theme colours.
   Only the mode's own three colours are used: #000, #fff and #ffff00.
   ================================================================= */
/* text */
html.a11y-contrast strong, html.a11y-contrast b, html.a11y-contrast label,
html.a11y-contrast th, html.a11y-contrast td, html.a11y-contrast button, html.a11y-contrast nav { color: #fff !important; }
/* surfaces that stayed light, or see-through over the page */
html.a11y-contrast .post-card, html.a11y-contrast .post-card .thumb, html.a11y-contrast .related-card,
html.a11y-contrast .article-header, html.a11y-contrast .article-cta, html.a11y-contrast .author-box,
html.a11y-contrast .calc-strip, html.a11y-contrast .calc-table, html.a11y-contrast .calc-table th,
html.a11y-contrast .calc-table td, html.a11y-contrast .calc-assumptions, html.a11y-contrast .disclaimer-note,
html.a11y-contrast .contact-box, html.a11y-contrast .mobile-cta, html.a11y-contrast .nav-list,
html.a11y-contrast .to-top, html.a11y-contrast .oc-win, html.a11y-contrast .oc-foot {
  background: #000 !important;
  border-color: #fff !important;
}
/* chosen options and the WhatsApp button follow the mode's "selected" look: black on yellow */
html.a11y-contrast .wiz-opt[aria-pressed="true"], html.a11y-contrast .demo-chip[aria-pressed="true"],
html.a11y-contrast .btn-wa, html.a11y-contrast .prose a.btn-wa {
  background: #ffff00 !important;
  border-color: #ffff00 !important;
  color: #000 !important;
  box-shadow: none !important;
}
/* error texts and required marks: red on black is below 4.5:1 */
html.a11y-contrast .field-error, html.a11y-contrast .calc-form-err, html.a11y-contrast .req,
html.a11y-contrast .field-check.invalid label { color: #ffff00 !important; }
/* parts drawn with background colours, which the first list makes transparent */
html.a11y-contrast .menu-toggle span { background: #fff !important; }
html.a11y-contrast .wiz-progress span, html.a11y-contrast .scroll-progress { background: #ffff00 !important; }
html.a11y-contrast .features::before, html.a11y-contrast .features::after { display: none !important; }
html.a11y-contrast .card::after { display: none !important; }
html.a11y-contrast .mobile-cta .btn-call { background: #000 !important; border-color: #fff !important; }

/* ===== Legal pages (7-orx-texts): the approved texts, word for word (src/_data/legal.js) ===== */
.legal-head .legal-sub { margin-top: 10px; }
.legal-head .legal-updated { margin-top: 6px; font-size: 0.95rem; }
.legal h2[id], .legal h3[id] { scroll-margin-top: 96px; }
.legal-table { margin: 14px 0 22px; }
.legal-table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.93rem; }
.legal-table th, .legal-table td { border: 1px solid var(--gray-200); padding: 8px 10px; text-align: start; vertical-align: top; overflow-wrap: anywhere; color: var(--gray-700); }
.legal-table th { background: var(--gray-50); color: var(--blue-900); font-weight: 700; }
html.a11y-contrast .legal-table th, html.a11y-contrast .legal-table td { border-color: #fff; background: #000; color: #fff; }

/* ===== 9-orx-ask: the check question inside a form, and the "not sent" line (site/API.md section 8) ===== */
.ask-box { margin: 2px 0 18px; padding: 14px 16px 16px; border: 1.5px solid var(--violet-500); border-radius: var(--radius-sm); background: var(--violet-100); }
.ask-box .ask-line { margin: 0 0 10px; font-size: 0.95rem; font-weight: 600; color: var(--gray-900); }
.ask-box .ask-line.ask-wrong { color: #b91c1c; }
.ask-box .field { margin-bottom: 0; }
.ask-box .field label { color: var(--gray-900); font-size: 1rem; }
.ask-box .ask-hint { font-size: 0.85rem; color: var(--gray-600); }
.ask-box .field-error { color: #b91c1c; }
.ask-ended { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; line-height: 1.6; }
.ask-ended a { color: #991b1b; font-weight: 700; text-decoration: underline; }
html.a11y-contrast .ask-box, html.a11y-contrast .ask-ended { background: #000 !important; border: 2px solid #fff !important; }
html.a11y-contrast .ask-box .ask-line.ask-wrong, html.a11y-contrast .ask-box .field-error, html.a11y-contrast .ask-ended, html.a11y-contrast .ask-ended a { color: #ffff00 !important; }
