/* Self-hosted Heebo + Assistant (Hebrew+Latin) */
@font-face{font-family:'Assistant';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/assistant-400-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Assistant';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/assistant-400-latin.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:'Assistant';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/assistant-500-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Assistant';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/assistant-500-latin.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:'Assistant';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/assistant-600-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Assistant';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/assistant-600-latin.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:'Assistant';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/assistant-700-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Assistant';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/assistant-700-latin.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:'Heebo';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/heebo-400-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Heebo';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/heebo-400-latin.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:'Heebo';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/heebo-500-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Heebo';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/heebo-500-latin.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:'Heebo';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/heebo-700-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Heebo';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/heebo-700-latin.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:'Heebo';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/heebo-800-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Heebo';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/heebo-800-latin.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:'Heebo';font-style:normal;font-weight:900;font-display:swap;src:url('/fonts/heebo-900-hebrew.woff2') format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
@font-face{font-family:'Heebo';font-style:normal;font-weight:900;font-display:swap;src:url('/fonts/heebo-900-latin.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;}
/* =============================================================
   FamilyPointer — Unified Site Stylesheet (v3.0 — 2026-06-07)
   DARK-FIRST · Professional depth · Heebo + Assistant
   Mobile-first | 20 langs | RTL-ready | WCAG 2.2 AA (most AAA)
   ----
   Implements:
     DESIGN_SYSTEM_2026_06_07.md  (Dark palette, depth, 79 tokens)
     A11Y_SPEC_2026_06_07.md      (focus, contrast, touch targets)
   ----
   Fonts are loaded by the HTML <link> (Google Fonts). NO @import here.
   Backup of v2 at: backups/styles_v3_*.css.bak
   ============================================================= */

/* ---------- 1. RESET + CRITICAL OVERFLOW FIX ----------
   DO NOT REMOVE the overflow-x:hidden + max-width:100vw on html,body.
   This is the fix for the mobile horizontal scroll bug. */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
}
img, video, iframe, svg, canvas, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6, p, li, a, button, span, label {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
}

/* ---------- 2. DESIGN TOKENS (DESIGN_SYSTEM 3.x — 1:1) ---------- */
:root {
  /* ========= Fonts (DESIGN_SYSTEM 1.4) ========= */
  --font-heading: 'Heebo', -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Assistant', -apple-system, 'Segoe UI', 'Heebo', sans-serif;
  /* Full international fallback chain for the 20 languages */
  --font-base:    'Assistant', 'Heebo', 'Noto Sans Hebrew',
                  -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter',
                  'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR',
                  'Noto Sans SC', 'Noto Sans Devanagari', 'Noto Sans Thai',
                  system-ui, sans-serif;
  --font-display: 'Heebo', 'Assistant', var(--font-base);
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Cascadia Code', Consolas,
                  'Liberation Mono', monospace;

  /* ========= Background layers — luminance stacking (DS 3.1) ========= */
  --bg-base:      #0A0E1A;   /* body — deepest navy-black */
  --bg-surface:   #111827;   /* sections, primary container */
  --bg-card:      #1A2235;   /* cards — one layer above surface */
  --bg-elevated:  #222C42;   /* raised card / hover / modal */
  --bg-overlay:   #2B3651;   /* dropdowns, tooltips — highest */
  --glass-bg:     rgba(26, 34, 53, 0.65);   /* bg-card @ 65% */
  --glass-blur:   blur(14px);

  /* ========= Text (DS 3.1 — verified contrast) ========= */
  --text-primary:   #F1F5F9;   /* 17.6:1 base / 14.5:1 card → AAA */
  --text-secondary: #CBD5E1;   /* 13.0:1 / 10.7:1 → AAA */
  --text-muted:     #94A3B8;   /* 7.5:1 / 6.2:1 → AAA/AA */
  --text-inverse:   #0A0E1A;   /* dark text on bright buttons */

  /* ========= Accent — Cyan (brand) ========= */
  --accent:        #22D3EE;   /* cyan-400. 10.7:1 base → AAA */
  --accent-bright: #67E8F9;   /* cyan-300. 13.3:1 → AAA — hover */
  --accent-deep:   #0891B2;   /* cyan-600 */
  --accent-glow:   rgba(34, 211, 238, 0.25);
  --accent-glow-strong: rgba(34, 211, 238, 0.35);
  --accent-glow-soft:   rgba(34, 211, 238, 0.12);

  /* ========= CTA — Emerald ========= */
  --cta-bg:        #10B981;   /* emerald-500 */
  --cta-bg-hover:  #34D399;   /* emerald-400 */
  --cta-text:      #03150E;   /* dark on bright = 7.4:1 → AAA */
  --cta-glow:      rgba(16, 185, 129, 0.35);
  --cta-bg-alt:    #047857;   /* emerald-700, white on it = 5.5:1 AA */

  /* ========= Semantic (on dark — brightened) ========= */
  --success:    #34D399;   /* 10.0:1 → AAA */
  --warning:    #FCD34D;   /* 13.4:1 → AAA */
  --error:      #F87171;   /* 7.0:1 → AAA */
  --info:       #67E8F9;   /* 13.3:1 → AAA */
  --success-bg: rgba(52, 211, 153, 0.12);
  --warning-bg: rgba(252, 211, 77, 0.12);
  --error-bg:   rgba(248, 113, 113, 0.12);
  --info-bg:    rgba(103, 232, 249, 0.12);

  /* ========= Borders — always rgba white (Linear method) ========= */
  --border:         rgba(255, 255, 255, 0.10);
  --border-subtle:  rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.12);
  --border-strong:  rgba(255, 255, 255, 0.16);
  --border-accent:  rgba(34, 211, 238, 0.45);

  /* ========= Shadows + glow (DS 3.3) ========= */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg:  0 12px 32px rgba(0, 0, 0, 0.50);
  --shadow-xl:  0 24px 48px rgba(0, 0, 0, 0.55);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --glow-accent: 0 0 24px var(--accent-glow-strong);
  --glow-cta:    0 0 28px var(--cta-glow);
  --glow-focus:  0 0 0 3px var(--accent-glow-strong), 0 0 16px var(--accent-glow-soft);

  /* ========= Aliases — backwards compat with existing HTML ========= */
  --c-primary:      var(--accent);
  --c-primary-dark: var(--accent);       /* links/icons on dark stay bright */
  --c-accent:       var(--cta-bg);
  --c-accent-dark:  var(--cta-bg-alt);
  --c-bg:           var(--bg-base);
  --c-bg-alt:       var(--bg-surface);
  --c-bg-dark:      var(--bg-surface);
  --c-surface:      var(--bg-card);
  --c-text:         var(--text-primary);
  --c-text-soft:    var(--text-secondary);
  --c-text-inverse: var(--text-primary);
  --c-border:       var(--border-default);
  --c-shadow:       rgba(0, 0, 0, 0.45);
  --c-shadow-lg:    rgba(0, 0, 0, 0.55);
  --c-danger:       var(--error);
  --c-warn:         var(--warning);
  --c-success:      var(--success);
  --c-focus:        var(--accent);
  /* slate aliases used by older selectors — remapped to dark scale */
  --slate-50:  var(--bg-card);
  --slate-100: var(--bg-elevated);
  --slate-200: var(--border-default);
  --slate-300: var(--text-secondary);
  --slate-400: var(--text-muted);
  --slate-500: var(--text-muted);
  --slate-600: var(--text-secondary);
  --slate-700: var(--text-secondary);
  --slate-800: var(--text-primary);
  --slate-900: var(--text-primary);
  --slate-950: var(--bg-base);
  --cyan-50:   rgba(34, 211, 238, 0.10);
  --cyan-100:  rgba(34, 211, 238, 0.16);
  --cyan-200:  var(--border-accent);
  --cyan-300:  var(--accent-bright);
  --cyan-400:  var(--accent);
  --cyan-500:  var(--accent);
  --cyan-600:  var(--accent-deep);
  --cyan-700:  var(--accent);
  --cyan-800:  var(--accent-bright);
  --cyan-900:  var(--accent-bright);
  --emerald-50:  rgba(16, 185, 129, 0.10);
  --emerald-100: rgba(16, 185, 129, 0.16);
  --emerald-400: var(--cta-bg-hover);
  --emerald-500: var(--cta-bg);
  --emerald-600: var(--cta-bg);
  --emerald-700: var(--cta-bg-alt);
  --emerald-800: #065F46;

  /* ========= Elevation aliases (map to dark shadows) ========= */
  --elev-0: none;
  --elev-1: var(--shadow-sm);
  --elev-2: var(--shadow-md);
  --elev-3: var(--shadow-md), var(--highlight-top);
  --elev-4: var(--shadow-lg), var(--highlight-top);
  --elev-5: var(--shadow-xl);
  --elev-primary: var(--shadow-md), var(--glow-accent);
  --elev-success: var(--shadow-md), var(--glow-cta);
  --elev-inset:   inset 0 2px 4px rgba(0, 0, 0, 0.30);

  /* ========= Radius ========= */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* ========= Spacing (DS 3.4) ========= */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;
  --space-paragraph: 28px;        /* generous — "far paragraphs" */
  --space-paragraph-legal: 30px;
  --space-section-mobile: 64px;
  --space-section-desktop: 128px;
  --content-gap: 32px;

  /* ========= Typography scale (DS 3.2) ========= */
  --font-size-base: 18px;
  --font-size-sm:   16px;
  --font-size-lg:   20px;
  --fs-xs:   14px;
  --fs-sm:   16px;
  --fs-base: 18px;
  --fs-lg:   20px;
  --fs-xl:   24px;
  --fs-2xl:  30px;
  --fs-3xl:  38px;
  --fs-4xl:  48px;
  --fs-5xl:  60px;
  --lh-tight:   1.1;
  --lh-snug:    1.35;
  --lh-normal:  1.75;   /* body — generous for Hebrew */
  --lh-relaxed: 1.85;
  --ls-tight:  -0.02em;
  --ls-normal:  0;
  --ls-wide:    0.02em;

  /* ========= Layout ========= */
  --content-max:    1120px;
  --content-narrow: 720px;
  --content-wide:   1280px;

  /* ========= Motion ========= */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --transition: var(--duration-base) var(--ease-out);

  /* ========= Motion v2 — reveal layer (2026-06-12) ========= */
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1); /* = --ease-out; long elegant settle */
  --duration-reveal: 600ms;  /* scroll reveals — calm, elderly-adjacent taste */
  --duration-hero: 700ms;    /* hero entrance steps */
  --reveal-distance: 14px;   /* translateY only — RTL-neutral */
  --stagger-step: 70ms;      /* per-sibling delay */
}

/* ---------- 3. TYPOGRAPHY ---------- */
html { font-size: var(--font-size-base); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: var(--lh-normal);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings — Heebo */
h1, .h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);   /* 40 → 64px */
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-5);
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}
h2, .h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);      /* 32 → 48px */
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-4);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}
h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);    /* 24 → 32px */
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-3);
  font-weight: 700;
  color: var(--text-primary);
}
h4, .h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);                /* 24px */
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-2);
  font-weight: 600;
  color: var(--text-primary);
}
p {
  font-family: var(--font-body);
  margin: 0 0 var(--space-paragraph);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
}
.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}
a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent-bright); text-decoration: underline; }

/* WCAG 1.4.1 (Use of Color) — links inside running text must be distinguishable
   by more than color alone. Persistent underline for content links; nav links and
   buttons live in their own landmarks/styles and are intentionally excluded. */
main p a:not(.btn),
main li a:not(.btn),
main td a:not(.btn),
main th a:not(.btn),
.site-footer p a:not(.btn) { text-decoration: underline; }

::selection {
  background: var(--accent-glow-strong);
  color: var(--text-primary);
}

code, .code-inline {
  font-family: var(--font-mono);
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.9em;
  color: var(--accent-bright);
  border: 1px solid var(--border-subtle);
}

/* Gradient text (Hero premium accent) */
.gradient-text {
  background: linear-gradient(135deg, #F1F5F9 0%, #67E8F9 60%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 4. ACCESSIBILITY ---------- */

/* Skip-to-content link */
.skip-to-content,
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--text-inverse);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius-md) 0;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s var(--ease-out);
}
.skip-to-content:focus,
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-bright);
  outline-offset: -3px;
}
[dir="rtl"] .skip-to-content,
[dir="rtl"] .skip-link {
  left: auto;
  right: 0;
  border-radius: 0 0 0 var(--radius-md);
}

/* Focus indicators — WCAG 2.4.7 + 2.4.13 (A11Y_SPEC) */
*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* High-contrast mode — strengthen outlines */
@media (prefers-contrast: more) {
  :root { --border-default: rgba(255,255,255,0.30); --border-strong: rgba(255,255,255,0.45); }
  *:focus-visible {
    outline-width: 4px;
    outline-color: var(--accent-bright);
  }
  a { text-decoration: underline; }
}

/* Reduced motion (critical for elderly) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in, .reveal, [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.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;
}

/* 2.4.11 Focus Not Obscured — anchors not hidden by sticky header */
section[id],
[id].legal-section {
  scroll-margin-top: 88px;
}

/* ---------- 5. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: min(var(--content-max), 100%);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.container-narrow {
  width: 100%;
  max-width: min(var(--content-narrow), 100%);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.container-wide {
  width: 100%;
  max-width: min(var(--content-wide), 100%);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container,
  .container-narrow,
  .container-wide { padding-inline: var(--space-6); }
}

main { display: block; }

section {
  padding-block: var(--space-section-mobile);
}
@media (min-width: 768px) {
  section { padding-block: var(--space-9); }
}
@media (min-width: 1024px) {
  section { padding-block: var(--space-section-desktop); }
}

/* Section rhythm — subtle luminance alternation + gradient dividers */
.section-alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}
.section-dark {
  background: var(--bg-base);
  color: var(--text-secondary);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-primary);
}
.section-fade-top {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

/* Safe-area for notch / gesture bar */
.site-header {
  padding-block-start: max(var(--space-3), env(safe-area-inset-top));
}

/* ---------- 6. HEADER + NAV (glassmorphism) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(140%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(140%);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--highlight-top);
  transition: box-shadow var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(17, 24, 39, 0.96); }
}
/* deepen the glass once content scrolls underneath (wired by motion.js) */
.site-header.is-scrolled {
  background: rgba(13, 18, 32, 0.82);
  box-shadow: var(--shadow-md), var(--highlight-top);
}
.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-logo:hover { color: var(--accent); }
.nav-logo-mark {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: none;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding-block: var(--space-2);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  transition: color var(--duration-fast) var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}
.nav-links a[aria-current="page"] {
  font-weight: 700;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  min-height: 48px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%2394A3B8' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  max-width: 180px;
  transition: border-color var(--duration-fast) var(--ease-out);
}
.lang-switcher select:hover {
  border-color: var(--border-accent);
}
.lang-switcher select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
[dir="rtl"] .lang-switcher select {
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-5);
  background-position: left 10px center;
}

/* ---------- 7. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 56px;            /* large for elderly */
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  line-height: 1.2;
  max-width: 100%;
}
.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: var(--glow-cta);
}
.btn-primary:hover {
  background: var(--cta-bg-hover);
  color: var(--cta-text);
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--cta-glow), 0 8px 20px rgba(0, 0, 0, 0.40);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-accent);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--accent-glow-soft);
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
  min-height: 56px;
  padding: var(--space-2) var(--space-4);
  font-size: 1rem;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 8. HERO (dark mesh + glow) ---------- */
.hero,
.hero-mesh {
  position: relative;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(34, 211, 238, 0.15), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(16, 185, 129, 0.10), transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(59, 130, 246, 0.08), transparent 60%);
  padding-block: clamp(80px, 12vw, 160px);
  text-align: center;
  overflow: hidden;
}
.hero::before,
.hero-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.7;
}
.hero > *,
.hero-mesh > * {
  position: relative;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
/* Hero family photo — integrated per design+marketing research 2026-06-12.
   The warmth is the asset; the page must REACT to it instead of framing it:
   16:7 crop removes the bright window (the main luminance clash); a NAVY
   scrim (not black) melts the edges into the page; a double glow (warm
   sampled from the couch #C99A5C + brand cyan) makes the photo emit light;
   a negative bottom margin rides the hero→#how seam so the card belongs to
   both sections; the pulsing ring is the product's remote pointer over the
   phone in the photo. */
/* bottom padding 1px (not 0) stops the photo's negative bottom margin from
   collapsing through the section edge — that collapse cancels the seam ride */
.hero.hero-mesh { overflow: visible; padding-block: clamp(80px, 12vw, 160px) 1px; }
#how { padding-top: clamp(96px, 12vw, 150px); }

.hero-photo {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: var(--space-8) auto calc(-1 * clamp(40px, 6vw, 72px));
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -10% -14% -16%;
  background:
    radial-gradient(50% 55% at 50% 62%, rgba(201, 154, 92, 0.16), transparent 70%),
    radial-gradient(55% 50% at 16% 6%, rgba(34, 211, 238, 0.13), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: cover;
  object-position: 50% 60%;
  display: block;
  border-radius: 20px;
  filter: brightness(0.93) saturate(0.86) contrast(1.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px -12px rgba(0, 0, 0, 0.55),
    0 30px 90px -25px rgba(201, 154, 92, 0.22),
    0 0 70px -15px rgba(34, 211, 238, 0.14);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.28) 0%,
      rgba(10, 14, 26, 0) 22%,
      rgba(10, 14, 26, 0) 58%,
      rgba(10, 14, 26, 0.55) 100%),
    radial-gradient(80% 90% at 15% 0%, rgba(34, 211, 238, 0.1), transparent 55%);
  z-index: 2;
}

/* The product's remote-pointer ring pulsing over the phone in the photo.
   Physical left/top on purpose — the photo itself never flips in RTL. */
.photo-pointer {
  position: absolute;
  left: 49%;
  top: 66%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--accent-glow-strong), inset 0 0 10px var(--accent-glow-soft);
  z-index: 3;
  pointer-events: none;
  animation: pointer-pulse 2.4s ease-out infinite;
}
.photo-pointer::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent-bright);
}
@keyframes pointer-pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.45); opacity: 0.25; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-pointer { animation: none; opacity: 0.9; }
}

/* Guidance chip — the son's words, in the site's glass style. */
.photo-chip {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 3;
  max-width: calc(100% - 28px);
}
.photo-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--cta-glow);
}
/* the data-lang utilities (span[data-lang].is-active, later in this file)
   out-specific a 2-class selector — 3 classes win without !important */
.hero-photo .photo-chip.is-active { display: inline-flex; }

@media (max-width: 600px) {
  .hero-photo img { aspect-ratio: 3 / 2; object-position: 52% 50%; border-radius: 14px; }
  .hero-photo::after { border-radius: 14px; }
  /* on the taller 3:2 mobile crop the faces sit near the top — anchor the
     chip on the dark bottom scrim instead, so it never covers a face */
  .photo-chip {
    font-size: 0.8125rem;
    padding: 6px 11px;
    inset-block-start: auto;
    inset-block-end: 12px;
  }
}
.hero-badge {
  display: inline-block;
  background: var(--accent-glow-soft);
  color: var(--accent-bright);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero h1,
.hero-h1 {
  font-family: var(--font-heading);
  color: var(--text-primary);
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-6);
  line-height: var(--lh-relaxed);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-trust {
  display: inline-flex;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding: var(--space-3) var(--space-5);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md), var(--highlight-top);
  flex-wrap: wrap;
  justify-content: center;
}
@supports not (backdrop-filter: blur(1px)) {
  .hero-trust { background: rgba(26, 34, 53, 0.92); }
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.hero-trust-item strong {
  color: var(--text-primary);
  font-weight: 800;
}

/* ---------- 9. CARDS / GRIDS ---------- */
.section-title {
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-7);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-2-md { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Card — dark surface + subtle border + hover glow */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md), var(--highlight-top);
  transition: transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
/* Cards are not links — hover confirms presence via light, not movement
   (standards law 2: only <a>/<button> may move; lift on a non-clickable
   card is a false affordance) */
.card:hover {
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg), var(--highlight-top);
  border-color: var(--border-strong);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.06));
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border-accent);
}
.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { color: var(--text-primary); margin-bottom: var(--space-2); }
.card p { color: var(--text-secondary); margin: 0; line-height: var(--lh-normal); }

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
  }
  .bento-item    { grid-column: span 6; }
  .bento-item.sm { grid-column: span 2; }
  .bento-item.md { grid-column: span 3; }
  .bento-item.lg { grid-column: span 4; }
  .bento-item.xl { grid-column: span 6; }
}

/* ---------- 10. STEPS ---------- */
.steps-grid {
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
  box-shadow: var(--glow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---------- 11. PRICING ---------- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-md), var(--highlight-top);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
/* dormant class (unused on index) — aligned with law 2: light, not movement */
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.pricing-card.featured {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  transform: translateY(-8px);
}
.pricing-card.featured:hover {
  transform: translateY(-12px);
}
.pricing-label {
  display: inline-block;
  background: var(--accent-glow-soft);
  color: var(--accent-bright);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
  border: 1px solid var(--border-accent);
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.pricing-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-features li {
  padding-inline-start: 28px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.55;
}
.pricing-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.4em;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

/* ---------- 12. TABLE WRAPPER (CRITICAL - P0 fix preserved) ---------- */
.table-wrap,
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), var(--highlight-top);
  margin: var(--space-6) 0;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) var(--bg-surface);
}
.table-wrap::after,
.data-table-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(to right, transparent, var(--bg-base));
  pointer-events: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
[dir="rtl"] .table-wrap::after,
[dir="rtl"] .data-table-wrap::after {
  right: auto;
  left: 0;
  background: linear-gradient(to left, transparent, var(--bg-base));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.table-wrap:focus-visible,
.data-table-wrap:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile scroll hint */
@media (max-width: 640px) {
  .table-wrap::before,
  .data-table-wrap::before {
    content: "← גללו אופקית →";
    display: block;
    text-align: center;
    padding: var(--space-2);
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-default);
  }
  html[lang="en"] .table-wrap::before,
  html[lang="en"] .data-table-wrap::before { content: "← swipe to scroll →"; }
  html[lang="ar"] .table-wrap::before,
  html[lang="ar"] .data-table-wrap::before { content: "← اسحب أفقياً →"; }
}

/* Legal / data table — dark, sticky header, subtle zebra */
.legal-table,
.data-table {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: var(--bg-card);
}
.legal-table caption,
.data-table caption {
  font-family: var(--font-heading);
  text-align: start;
  padding: var(--space-3) var(--space-4);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  caption-side: top;
}
.legal-table thead th,
.data-table thead th {
  background: var(--bg-surface);
  padding: var(--space-4);
  text-align: start;
  font-family: var(--font-heading);
  font-weight: 700;
  position: sticky;
  top: 0;
  color: var(--text-primary);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-strong);
  z-index: 1;
}
.legal-table td,
.legal-table th[scope="row"],
.data-table td,
.data-table th[scope="row"] {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 56px;
  text-align: start;
  overflow-wrap: break-word;
}
/* Global safety: no word ever overflows a table cell */
.legal-table td,
.legal-table th,
.data-table td,
.data-table th {
  overflow-wrap: break-word;
}
.legal-table tbody tr:nth-child(even),
.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
@media (hover: hover) and (pointer: fine) {
  .legal-table tbody tr:hover,
  .data-table tbody tr:hover {
    background: var(--bg-elevated);
    transition: background var(--duration-fast) var(--ease-out);
  }
}
.legal-table tbody tr:last-child td,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.legal-table tbody td:first-child,
.legal-table tbody th[scope="row"],
.data-table tbody td:first-child,
.data-table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--text-primary);
}
/* Premium column highlight (cyan tint) */
.col-premium {
  background: var(--accent-glow-soft);
}

/* Old .compare-table — backward compat */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
  display: block;
  overflow-x: auto;
  font-size: 1rem;
}
.compare-table thead { background: var(--bg-surface); }
.compare-table th, .compare-table td {
  padding: var(--space-4);
  text-align: start;
  border-bottom: 1px solid var(--border-default);
  font-size: 1rem;
  color: var(--text-secondary);
}
.compare-table th { font-weight: 700; color: var(--text-primary); }
.compare-table tr:last-child td { border-bottom: 0; }

/* ---------- 13. FOOTER (dark) ---------- */
.site-footer {
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding-block: var(--space-8) var(--space-5);
  margin-top: var(--space-8);
  padding-block-end: max(var(--space-5), env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-size: 1.0625rem;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-col p {
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- 14. LEGAL PAGES ---------- */
.legal-page main {
  padding-block: var(--space-7);
}
.legal-page h1 {
  margin-bottom: var(--space-3);
}
.legal-page .meta {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-size: 1rem;
}

/* Legal sections — generous spacing (A11Y 70ch) */
.legal-section,
.legal-page article section {
  margin-bottom: var(--space-8);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 88px;
}
.legal-section:last-child,
.legal-page article section:last-child {
  border-bottom: none;
}
.legal-section h2,
.legal-page article section h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-5);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
}
.legal-section h2:first-child,
.legal-page article section h2:first-child {
  margin-top: 0;
}
.legal-section h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
  color: var(--text-primary);
}
.legal-section p,
.legal-page p {
  margin-bottom: var(--space-paragraph-legal);
  line-height: var(--lh-normal);
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 70ch;
}
.legal-section ul,
.legal-section ol,
.legal-page ul,
.legal-page ol {
  margin: var(--space-5) 0;
  padding-inline-start: var(--space-6);
  font-size: 1.0625rem;
  line-height: var(--lh-normal);
  max-width: 70ch;
}
.legal-section li,
.legal-page li {
  margin-bottom: var(--space-3);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
}
.legal-section li::marker {
  color: var(--accent);
  font-weight: 700;
}
.legal-page address {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  font-style: normal;
  color: var(--text-secondary);
}

/* Legal hero — dark, compact */
.legal-hero {
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 70% 60% at 30% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(16, 185, 129, 0.08), transparent 55%);
  padding-block: var(--space-8) var(--space-7);
  text-align: center;
  border-block-end: 1px solid var(--border-subtle);
}
.legal-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.legal-meta {
  display: inline-flex;
  gap: var(--space-4);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
}
.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

/* Key Points box */
.key-points {
  max-width: var(--content-narrow);
  margin: var(--space-7) auto;
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--glow-accent);
}
.key-points h2 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.key-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.key-points-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.key-points-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

/* In-short box — accent-tinted on dark */
.in-short {
  display: flex;
  gap: var(--space-3);
  background: var(--info-bg);
  border-inline-start: 4px solid var(--info);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.in-short::before {
  content: "💡";
  font-size: 1.25rem;
  flex-shrink: 0;
}
.in-short p {
  margin: 0;
  font-size: 1rem;
  line-height: var(--lh-normal);
  color: var(--text-secondary);
  max-width: none;
}
.in-short strong {
  color: var(--text-primary);
}
[dir="rtl"] .in-short {
  border-inline-start: none;
  border-inline-end: 4px solid var(--info);
}

/* Pull-quote */
.pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  padding: var(--space-6) 0;
  color: var(--text-primary);
  border-block: 2px solid var(--accent);
  margin: var(--space-7) 0;
  line-height: 1.5;
  font-style: italic;
}

/* TOC (legal sidebar) */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-block: var(--space-7);
}
@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 260px 1fr;
    gap: var(--space-8);
  }
}
.legal-toc {
  align-self: start;
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
}
@media (min-width: 1024px) {
  .legal-toc {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}
.legal-toc h2 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  counter-reset: toc;
  max-width: none;
}
.legal-toc li {
  counter-increment: toc;
  margin: 0;
}
.legal-toc a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  border-inline-start: 2px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
}
.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--text-muted);
  font-weight: 600;
  margin-inline-end: 4px;
}
.legal-toc a:hover {
  background: var(--accent-glow-soft);
  color: var(--accent-bright);
  border-inline-start-color: var(--border-accent);
}
.legal-toc a.is-active,
.legal-toc a[aria-current="true"] {
  background: var(--accent-glow-soft);
  color: var(--accent-bright);
  border-inline-start-color: var(--accent);
  font-weight: 600;
}

.legal-content {
  min-width: 0;
}

/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow-strong);
  transform-origin: 0 50%;
  z-index: 100;
  pointer-events: none;
}
[dir="rtl"] .reading-progress {
  left: auto;
  right: 0;
  transform-origin: 100% 50%;
}

/* ---------- 15. PHONE FRAME ---------- */
.phone-frame {
  position: relative;
  padding: 12px 6px 16px;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
  border-radius: 36px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border-default);
  max-width: 280px;
  margin: 0 auto;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #000;
  border-radius: 999px;
}
.phone-frame img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

/* ---------- 16. UTILITY ---------- */
.text-center { text-align: center; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }
.muted       { color: var(--text-muted); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.flex { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.full { width: 100%; }

/* Fade-in on scroll (IntersectionObserver) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeInUp var(--duration-slow) var(--ease-out) both; }

/* Glow pulse for primary CTA (subtle attention) */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 24px var(--cta-glow); }
  50%      { box-shadow: 0 0 38px var(--cta-glow); }
}
.btn-cta--pulse { animation: glowPulse 3s var(--ease-soft) infinite; }

/* ---------- 17. LANGUAGE VISIBILITY ----------
   🔴 CRITICAL BUG FIX (v3.0):
   Previously `[data-lang]{display:none}` (0,1,0) was overridden by any later
   component rule that set `display` (e.g. `.hero-trust-sub{display:block}`),
   causing ALL 20 language variants to show simultaneously.
   The `:not(.is-active) { display:none !important }` utility guarantees every
   non-active variant is hidden REGARDLESS of the component's own display value.
   The !important is justified here — this is a pure visibility-toggle utility. */
[data-lang]:not(.is-active) { display: none !important; }
[data-lang].is-active { display: revert; }
h1[data-lang].is-active,
h2[data-lang].is-active,
h3[data-lang].is-active,
h4[data-lang].is-active,
p[data-lang].is-active,
li[data-lang].is-active,
div[data-lang].is-active,
section[data-lang].is-active,
article[data-lang].is-active { display: block; }
span[data-lang].is-active,
a[data-lang].is-active,
button[data-lang].is-active,
small[data-lang].is-active,
strong[data-lang].is-active,
em[data-lang].is-active { display: inline; }

/* ---------- 18. CUSTOM SCROLLBAR (dark) ---------- */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-overlay);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-surface);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---------- 19. MOBILE FONT SIZE ADJUST ---------- */
@media (max-width: 599px) {
  html { font-size: 17px; }
  .legal-section p,
  .legal-page p {
    font-size: 1.0625rem;
    line-height: var(--lh-normal);
  }
}

/* ---------- 20. PRINT (force light for ink) ---------- */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .skip-to-content,
  .lang-switcher,
  .legal-toc,
  .reading-progress {
    display: none !important;
  }
  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 12pt;
  }
  a { color: #000000; text-decoration: underline; }
  h1, h2, h3 { page-break-after: avoid; color: #000; }
  tr, li { page-break-inside: avoid; }
  .table-wrap, .data-table-wrap {
    overflow: visible;
    box-shadow: none;
    background: #FFF;
  }
  .legal-table, .data-table {
    min-width: 0;
    background: #FFF;
    color: #000;
  }
  .legal-table th, .legal-table td,
  .data-table th, .data-table td { color: #000; border-color: #999; }
}

/* =============================================================
   Marketing landing additions — DARK (v3.0)
   Classes referenced by the index.html marketing layout.
   ============================================================= */

/* ---------- M1. BODY + SECTION WRAPPERS ---------- */
body.marketing {
  background: var(--bg-base);
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.section {
  padding-block: var(--space-section-mobile, 4rem);
}
@media (min-width: 768px) {
  .section { padding-block: var(--space-9); }
}
@media (min-width: 1024px) {
  .section { padding-block: var(--space-section-desktop, 6rem); }
}

/* Subtle luminance tint between sections + gradient divider */
.section-tint {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

/* ---------- M2. STEP CARDS (Numbered) ---------- */
.step-card {
  position: relative;
  padding-top: calc(var(--space-9, 4rem));
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding-inline: var(--space-6);
  padding-bottom: var(--space-6);
  box-shadow: var(--shadow-md), var(--highlight-top);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.step-card:hover {
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.step-num {
  position: absolute;
  top: var(--space-4);
  inset-inline-start: var(--space-6);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---------- M3. BENTO LARGE CARD ---------- */
.bento-large {
  grid-column: span 1;
}
@media (min-width: 900px) {
  .bento-large { grid-column: span 2; }
}

/* ---------- M4. TRUST CARDS ---------- */
.trust-card {
  padding-bottom: calc(var(--space-6) + var(--space-2));
}
.trust-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.trust-card a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}
.trust-card a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- M5. HERO ADDITIONS ---------- */
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto var(--space-7);
}
.hero-trust-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-4);
}

/* ---------- M7. FOOTER GRID ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-5);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--space-8); }
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  display: inline-block;
  text-decoration: none;
}
.footer-brand:hover { color: var(--accent); }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-copy {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);    /* #94A3B8 — 7.5:1 on bg-base → AAA */
  text-align: center;
}

/* ---------- M8. PRICING NOTE ---------- */
.pricing-note {
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ---------- M9. LOGO ---------- */
.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo:hover { color: var(--accent); }
.logo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- M10. MOBILE RESPONSIVE OVERRIDES ---------- */
@media (max-width: 768px) {
  .section { padding-block: var(--space-8); }
  .hero { padding-block: var(--space-8); }
  .bento { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .step-card { padding-top: calc(var(--space-8, 3rem)); }
  .step-num { font-size: 2rem; }
}

/* ---------- M11. PRICING TABLE FITS ON MOBILE ---------- */
@media (max-width: 600px) {
  .legal-table { min-width: 0; font-size: 0.875rem; }
  .legal-table thead th,
  .legal-table td,
  .legal-table th[scope="row"] {
    padding: var(--space-2) var(--space-3);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  /* 3 columns: label wider, value columns narrower */
  .legal-table th:first-child,
  .legal-table td:first-child,
  .legal-table th[scope="row"] { width: 46%; }
  .legal-table th:nth-child(2),
  .legal-table td:nth-child(2),
  .legal-table th:nth-child(3),
  .legal-table td:nth-child(3) { width: 27%; text-align: center; }
}

/* ---------- 21. RTL FINE-TUNING (he/ar/fa) ---------- */
[dir="rtl"] body { text-align: start; }
[dir="rtl"] .pricing-features li { padding-inline-start: 28px; }
[dir="rtl"] .skip-to-content,
[dir="rtl"] .skip-link { text-align: start; }

/* ---------- 22. MOTION v2 — SCROLL REVEALS (2026-06-12) ----------
   Double gate: @media no-preference AND html.motion-ok (added by motion.js).
   No JS / reduced motion / old browser -> everything fully visible.
   transform+opacity ONLY (heavy 20-language DOM). translateY only — identical
   meaning in he/ar/fa RTL. NEVER put data-reveal on a data-lang element
   (19 hidden siblings never intersect -> invisible after language switch). */
@media (prefers-reduced-motion: no-preference) {
  html.motion-ok [data-reveal] {
    transition:
      opacity var(--duration-reveal) var(--ease-reveal),
      transform var(--duration-reveal) var(--ease-reveal);
    transition-delay: min(calc(var(--reveal-i, 0) * var(--stagger-step)), 420ms);
  }
  html.motion-ok [data-reveal]:not(.in-view) {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
  }
}

/* -- 22b. Hover micro-interactions (real pointers only) -- */
.card-icon, .step-num {
  transition: transform var(--duration-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-icon { transform: scale(1.06); }
  .step-card:hover .step-num { transform: scale(1.06); }
}
.btn:active { transition-duration: var(--duration-fast); }
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn-cta--pulse:hover,
.btn-cta--pulse:focus-visible { animation-play-state: paused; }

/* Nav links — center-out underline; scaleX from center = direction-neutral
   (identical in he/ar/fa), inset-inline = logical */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }

/* Pricing rows — label warm-up only; NO transform on table rows */
.legal-table tbody td:first-child,
.legal-table tbody th[scope="row"] {
  transition: color var(--duration-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .legal-table tbody tr:hover td:first-child,
  .legal-table tbody tr:hover th[scope="row"] { color: var(--accent-bright); }
}

/* -- 22c. Signature: hero entrance choreography -------------------
   Plays once on load; html.hero-done (added by motion.js after 1.8s)
   prevents replay on every language switch. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(var(--reveal-distance)); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes photo-in {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  html.motion-ok:not(.hero-done) .hero-badge { animation: rise-in var(--duration-hero) var(--ease-reveal) 0ms both; }
  html.motion-ok:not(.hero-done) .hero-h1 { animation: rise-in var(--duration-hero) var(--ease-reveal) 90ms both; }
  html.motion-ok:not(.hero-done) .hero-subtitle { animation: rise-in var(--duration-hero) var(--ease-reveal) 180ms both; }
  html.motion-ok:not(.hero-done) .hero-cta { animation: rise-in var(--duration-hero) var(--ease-reveal) 280ms both; }
  html.motion-ok:not(.hero-done) .hero-trust-sub { animation: rise-in var(--duration-hero) var(--ease-reveal) 380ms both; }
  html.motion-ok:not(.hero-done) .hero-photo { animation: photo-in 900ms var(--ease-reveal) 480ms both; }
}

/* -- 22d. Signature: ambient glow breath on the family photo ------ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes glow-breathe { 0%, 100% { opacity: 0.72; } 50% { opacity: 1; } }
  html.motion-ok .hero-photo::before {
    animation: glow-breathe 7s var(--ease-in-out) infinite;
  }
}
