/* ============================================
   LegalSpire — Design Tokens & Global Styles
   Navy + Gold + Ivory · Bilingual EN/HE
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5a6378;
  --color-dark: #0a1628;
  --color-dark-2: #14253d;
  --color-cream: #f7f3ec;
  --color-cream-dark: #ebe2cf;
  --color-blue: #1e3a5f;
  --color-blue-light: #2c5282;
  --color-gold: #c5a572;
  --color-gold-dark: #a88a55;
  --color-success: #2e8b57;
  --color-border: #e3dccb;
  --font-sans: 'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Inter', 'Heebo', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1240px;
  --section-py: 96px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
  --shadow-md: 0 16px 40px rgba(10,22,40,0.12);
  --shadow-gold: 0 8px 24px rgba(197,165,114,0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }

html[dir="rtl"] body { font-family: 'Heebo', 'Inter', system-ui, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5 { font-family: 'Heebo', serif; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); line-height: 1.15; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; }
.section--cream { background: var(--color-cream); }
.section--cream-dark { background: var(--color-cream-dark); }
.section--dark { background: var(--color-dark); color: #fff; }

/* HEADER */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 100; background: rgba(0,2,4,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 80px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.site-header__inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 24px; position: relative; }
.site-header__cta-wrap { justify-self: start; }
.site-header__logo-wrap { justify-self: end; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 26px; letter-spacing: 0.5px; color: #fff; }
.logo__mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%); display: grid; place-items: center; color: var(--color-dark); font-family: var(--font-display); font-weight: 900; font-size: 22px; box-shadow: 0 4px 16px rgba(197,165,114,0.4); letter-spacing: -1px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo__primary { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: 0.5px; }
.logo__secondary { font-size: 10px; letter-spacing: 3px; color: var(--color-gold); font-weight: 500; text-transform: uppercase; }
.main-nav { display: flex; }
.main-nav__list { display: flex; gap: 8px; align-items: center; }
.main-nav__list a { color: #fff; padding: 10px 16px; font-size: 15px; font-weight: 500; border-radius: var(--radius-pill); transition: background .2s ease; }
.main-nav__list a:hover, .main-nav__list a.active { background: rgba(255,255,255,0.1); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; color: #fff; align-items: center; justify-content: center; font-size: 24px; }

/* LANGUAGE TOGGLE — bold high-contrast gold pill */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 4px; background: rgba(197,165,114,0.22); border: 1.5px solid var(--color-gold); border-radius: var(--radius-pill); margin-inline-start: 12px; box-shadow: 0 2px 12px rgba(197,165,114,0.25); }
.lang-toggle__btn { padding: 7px 14px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; color: #fff; background: transparent; border-radius: var(--radius-pill); text-transform: uppercase; transition: all .2s ease; cursor: pointer; font-family: inherit; line-height: 1; }
.lang-toggle__btn.is-active { background: var(--color-gold); color: var(--color-dark); box-shadow: 0 2px 8px rgba(197,165,114,0.55); }
.lang-toggle__btn:hover:not(.is-active) { color: var(--color-gold); background: rgba(255,255,255,0.06); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--color-dark-2); color: #fff; }
.btn--dark:hover { background: #2a3a23; box-shadow: var(--shadow-md); }
.btn--blue { background: var(--color-blue); color: #fff; }
.btn--blue:hover { background: var(--color-blue-light); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--color-gold); color: var(--color-dark); }
.btn--gold:hover { background: var(--color-gold-dark); color: #fff; box-shadow: var(--shadow-gold); }
.btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(197,165,114,0.45); }
.btn--ghost:hover { background: rgba(197,165,114,0.18); border-color: var(--color-gold); }
.btn--outline { background: transparent; color: var(--color-dark); border: 1.5px solid var(--color-dark); }
.btn--outline:hover { background: var(--color-dark); color: #fff; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* HERO */
.hero { position: relative; min-height: 100vh; background: var(--color-dark); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 120px 24px 80px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 30%, rgba(197,165,114,0.12) 0%, transparent 60%), linear-gradient(180deg, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.7) 50%, rgba(10,22,40,0.95) 100%); z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 980px; }
.hero__tagline { display: inline-block; font-size: clamp(13px, 1.2vw, 15px); font-weight: 600; margin-bottom: 24px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-gold); padding: 8px 18px; border: 1px solid rgba(197,165,114,0.4); border-radius: var(--radius-pill); background: rgba(197,165,114,0.08); }
.hero__title { font-family: var(--font-display); font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.05; margin: 8px 0 24px; }
.hero__title .accent { color: var(--color-gold); font-style: italic; }
.hero__subtitle { font-size: clamp(18px, 2vw, 24px); font-weight: 400; opacity: 0.9; max-width: 720px; margin: 0 auto 16px; }
.hero__highlight { font-size: clamp(16px, 1.6vw, 18px); font-weight: 500; margin-top: 24px; color: rgba(255,255,255,0.7); }
.hero__cta-row { position: relative; z-index: 3; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero__stats { position: relative; z-index: 2; display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero__stat { text-align: center; }
.hero__stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--color-gold); }
.hero__stat-label { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 4px; }


/* MARQUEE */
.marquee { background: var(--color-cream); padding: 24px 0; overflow: hidden; position: relative; }
.marquee__track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 36s linear infinite; font-family: var(--font-display); font-size: clamp(22px, 3vw, 44px); font-weight: 600; font-style: italic; color: rgba(30,58,95,0.22); letter-spacing: 0.5px; }
.marquee__track span { display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTION TITLES */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title__eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 8px; }
.section-title__heading { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; color: var(--color-dark); margin-bottom: 16px; }
.section-title__lead { font-size: 17px; color: var(--color-text); max-width: 720px; margin: 0 auto; line-height: 1.7; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.training-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.training-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.training-card__media { aspect-ratio: 4/3; background: #ddd; overflow: hidden; }
.training-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.training-card:hover .training-card__media img { transform: scale(1.05); }
.training-card__body { padding: 20px 24px 28px; text-align: center; }
.training-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--color-dark); }
.training-card__desc { font-size: 14px; line-height: 1.6; color: var(--color-text-muted); margin-top: 10px; }
.training-card__icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%); display: grid; place-items: center; color: var(--color-dark); margin: -36px auto 16px; position: relative; z-index: 2; box-shadow: var(--shadow-gold); }
.training-card__icon svg { width: 28px; height: 28px; }
.section__cta { text-align: center; margin-top: 40px; }

/* ABOUT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-split__media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.about-split__media img { width: 100%; height: 100%; object-fit: cover; }
.about-split__eyebrow { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 8px; }
.about-split__title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; color: var(--color-dark); }
.about-split__body p { font-size: 17px; line-height: 1.8; color: var(--color-text); }

/* PRICING */
.pricing-title { font-size: clamp(36px, 5vw, 60px); font-weight: 800; text-align: center; color: var(--color-dark); margin-bottom: 32px; line-height: 1.15; }
.pricing-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; }
.pricing-tab { padding: 12px 28px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-dark); font-weight: 600; background: #fff; color: var(--color-dark); transition: all .2s ease; }
.pricing-tab.is-active { background: var(--color-dark); color: var(--color-gold); border-color: var(--color-dark); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pricing-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.price-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); display: flex; flex-direction: column; }
.price-card__title { font-size: 22px; font-weight: 700; text-align: center; padding: 20px 16px 4px; color: var(--color-dark); }
.price-card__desc { font-size: 15px; text-align: center; padding: 0 16px 12px; color: var(--color-text-muted); }
.price-card__media { position: relative; aspect-ratio: 16/10; background: #ddd; overflow: hidden; }
.price-card__media img { width: 100%; height: 100%; object-fit: cover; }
.price-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%); display: flex; align-items: end; justify-content: space-between; padding: 16px; color: #fff; }
.price-card__price { font-weight: 800; font-size: 20px; }
.price-card__price small { display: block; font-size: 13px; font-weight: 400; opacity: 0.9; }
.price-card__cta { padding: 10px 22px; border-radius: var(--radius-pill); background: rgba(25,33,21,0.85); color: #fff; font-weight: 600; font-size: 14px; }
.price-card__cta:hover { background: var(--color-dark-2); }
.pricing-notes { margin-top: 40px; background: rgba(255,255,255,0.5); border-radius: var(--radius-md); padding: 24px 28px; max-width: 900px; margin-inline: auto; }
.pricing-notes h4 { color: var(--color-blue); font-family: var(--font-display); font-size: 20px; text-align: center; margin-bottom: 12px; }
.pricing-notes ul li { padding: 6px 28px; position: relative; font-size: 15px; }
.pricing-notes ul li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--color-gold-dark); font-weight: 700; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.testimonial-card__video { aspect-ratio: 16/9; background: #000; position: relative; }
.testimonial-card__video video { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__body { padding: 20px 24px; }
.testimonial-card__quote { font-size: 15px; line-height: 1.7; color: var(--color-text); margin-bottom: 12px; }
.testimonial-card__author { font-weight: 700; color: var(--color-dark); font-size: 15px; }

/* CONTACT FAQ */
.contact-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-block__eyebrow { font-size: 14px; color: var(--color-text-muted); margin-bottom: 8px; }
.contact-block__title { font-family: var(--font-display); font-size: 40px; color: var(--color-dark); margin-bottom: 24px; line-height: 1.1; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"] { padding: 14px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: transparent; font-family: inherit; font-size: 15px; width: 100%; }
.contact-form input:focus { outline: 2px solid var(--color-blue); }
.contact-policy { display: flex; gap: 8px; align-items: start; font-size: 14px; color: var(--color-text-muted); margin: 8px 0 16px; }
.contact-info { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.contact-info__row { display: flex; align-items: center; gap: 8px; }
.contact-info__row svg { color: var(--color-blue); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--color-dark); color: #fff; display: grid; place-items: center; transition: background .2s ease; }
.socials a:hover { background: var(--color-blue); }
.faq-block__title { font-family: var(--font-display); font-size: 40px; color: var(--color-dark); text-align: center; margin-bottom: 24px; }
.faq { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); overflow: hidden; }
.faq__item { border-top: 1px solid var(--color-border); }
.faq__item:first-child { border-top: 0; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-weight: 600; font-size: 16px; color: var(--color-dark); text-align: start; }
.faq__q::after { content: "\25BE"; transition: transform .2s ease; color: var(--color-text-muted); }
.faq__item.is-open .faq__q::after { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; color: var(--color-text); font-size: 15px; }
.faq__item.is-open .faq__a { max-height: 500px; padding: 0 24px 18px; }

/* FOOTER */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.85); padding: 56px 0 32px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.site-footer h5 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer ul li { padding: 4px 0; }
.site-footer ul li a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.7); }
.site-footer__bottom a { color: rgba(255,255,255,0.9); margin-inline-start: 12px; }
.site-footer__bottom a:hover { color: var(--color-blue-light); }

/* WHATSAPP FAB */
.wa-fab { position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--color-success); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(19,196,71,0.4); z-index: 99; transition: transform .2s ease; }
.wa-fab:hover { transform: scale(1.08); }


/* INNER PAGE HEADERS */
.page-hero { background: var(--color-dark); color: #fff; padding: 160px 24px 80px; text-align: center; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.5px; }
.page-hero__breadcrumb { font-size: 13px; letter-spacing: 3px; color: var(--color-gold); margin-bottom: 16px; text-transform: uppercase; font-weight: 600; }
.page-hero__lead { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,0.78); max-width: 720px; margin: 20px auto 0; line-height: 1.6; }

/* ARTICLE */
.article { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.article h2 { margin: 28px 0 12px; color: var(--color-dark); font-size: 24px; font-family: var(--font-display); }
.article h3 { margin: 20px 0 8px; color: var(--color-dark); font-size: 19px; }
.article p { margin-bottom: 14px; }
.article ul li { padding: 4px 24px; position: relative; }
.article ul li::before { content: "\2022"; position: absolute; inset-inline-start: 8px; color: var(--color-gold-dark); }

/* EXTENSIONS — AI pill, features, stats, CTA bands */
.ai-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: linear-gradient(135deg, rgba(197,165,114,0.18), rgba(197,165,114,0.08)); border: 1px solid rgba(197,165,114,0.5); border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-gold-dark); }
.ai-pill::before { content: "\2726"; color: var(--color-gold); }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-gold-dark); font-weight: 600; margin-bottom: 16px; }
.section--dark .eyebrow { color: var(--color-gold); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.feature-item { padding: 32px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-gold); }
.feature-item__icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-blue) 100%); display: grid; place-items: center; color: var(--color-gold); margin-bottom: 20px; }
.feature-item__icon svg { width: 24px; height: 24px; }
.feature-item__title { font-family: var(--font-display); font-size: 22px; color: var(--color-dark); margin-bottom: 10px; }
.feature-item__desc { font-size: 15px; line-height: 1.7; color: var(--color-text-muted); margin: 0; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 700; color: var(--color-gold); line-height: 1; }
.stat__label { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 8px; }
.cta-band { background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-blue) 100%); color: #fff; text-align: center; padding: 80px 24px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(197,165,114,0.2) 0%, transparent 50%); }
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.cta-band__lead { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.logos-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; padding: 32px 0; opacity: 0.6; }
.logos-strip__item { font-family: var(--font-display); font-size: 22px; font-weight: 700; font-style: italic; color: var(--color-text-muted); letter-spacing: 0.5px; }
.compare-table { width: 100%; margin-top: 48px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--color-border); }
.compare-table thead th { background: var(--color-dark); color: #fff; font-family: var(--font-display); font-size: 18px; }
.compare-table tbody tr:hover { background: var(--color-cream); }
.compare-table .check { color: var(--color-gold-dark); font-weight: 700; }
.compare-table .x { color: var(--color-text-muted); opacity: 0.5; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.team-card { text-align: center; background: #fff; border-radius: var(--radius-md); padding: 32px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.team-card__avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; background: var(--color-cream-dark); border: 3px solid var(--color-gold); }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-family: var(--font-display); font-size: 20px; color: var(--color-dark); margin-bottom: 4px; }
.team-card__role { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-gold-dark); margin-bottom: 12px; }
.team-card__bio { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand__mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%); display: grid; place-items: center; color: var(--color-dark); font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.footer-brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; }
.ai-demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; background: var(--color-dark); color: #fff; border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden; }
.ai-demo::before { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(197,165,114,0.25) 0%, transparent 70%); }
.ai-demo__title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.ai-demo__lead { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.ai-demo__visual { position: relative; z-index: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(197,165,114,0.25); border-radius: var(--radius-md); padding: 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.ai-demo__visual .chip { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(197,165,114,0.2); color: var(--color-gold); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin: 0 4px; }
.ai-demo__visual .you { color: var(--color-gold); }
.ai-demo__visual .ai { color: #b8c5d6; }
.intro-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--color-text); max-width: 800px; margin: 0 auto 48px; text-align: center; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-split__media { aspect-ratio: 16/10; max-width: 600px; margin: 0 auto; }
  .contact-faq { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-demo { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 720px) {
  :root { --section-py: 56px; }
  .container { padding: 0 16px; }
  .site-header { height: 64px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__cta-wrap { display: none; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; background: rgba(0,2,4,0.98); backdrop-filter: blur(16px); transform: translateY(-150%); transition: transform .25s ease; padding: 16px 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav__list a { padding: 14px 16px; }
  .menu-toggle { display: flex; }
  /* Lift lang-toggle to be visible next to hamburger */
  .lang-toggle { position: absolute; top: 50%; inset-inline-end: 64px; transform: translateY(-50%); margin: 0; padding: 3px; }
  .lang-toggle__btn { padding: 5px 10px; font-size: 11px; }
  .logo__primary { font-size: 18px; }
  .logo__secondary { font-size: 9px; letter-spacing: 2px; }
  .logo__mark { width: 36px; height: 36px; font-size: 16px; }
  .hero { padding: 96px 16px 60px; min-height: 90vh; }
  .cards-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--two { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: start; }
  .wa-fab { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 0; }
  .team-grid { grid-template-columns: 1fr; }
  .ai-demo { padding: 32px 24px; }
  .hero__stats { gap: 28px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 14px; }
  .cta-band { padding: 56px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* RTL HARDENING */
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
html[dir="rtl"] .hero { text-align: center; }
html[dir="rtl"] .pricing-tab, html[dir="rtl"] .price-card__cta { font-family: 'Heebo', 'Inter', sans-serif; }
html[dir="rtl"] .ai-demo__visual { font-family: 'Heebo', 'JetBrains Mono', monospace; direction: ltr; text-align: start; }
html[dir="rtl"] .compare-table th, html[dir="rtl"] .compare-table td { text-align: right; }
html[dir="rtl"] .stats-strip, html[dir="rtl"] .hero__stats, html[dir="rtl"] .logos-strip { direction: rtl; }
html[dir="rtl"] .footer-brand { direction: rtl; }
html[dir="rtl"] .site-footer__bottom { direction: rtl; }
html[dir="rtl"] .wa-fab { left: auto; right: 24px; }
html[dir="rtl"] .lang-toggle { margin-inline-end: 12px; margin-inline-start: 0; }
html[dir="rtl"] .training-card__body, html[dir="rtl"] .testimonial-card__body, html[dir="rtl"] .feature-item, html[dir="rtl"] .article { text-align: right; }
html[dir="rtl"] .pricing-notes ul li { padding: 6px 28px 6px 0; }
html[dir="rtl"] .pricing-notes ul li::before { right: 0; left: auto; }
html[dir="rtl"] .article ul li { padding-right: 24px; padding-left: 0; }
html[dir="rtl"] .article ul li::before { right: 8px; left: auto; }

/* OFFLINE BANNER */
.api-offline-banner { position: fixed; top: 0; inset-inline: 0; z-index: 200; background: linear-gradient(90deg, #c5a572 0%, #a88a55 100%); color: #0a1628; padding: 10px 24px; font-size: 13px; text-align: center; font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.api-offline-banner code { background: rgba(10,22,40,0.15); padding: 2px 8px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }


/* ============================================
   MOBILE COMPATIBILITY — comprehensive overrides
   Appended last so these win over earlier rules.
   ============================================ */

/* Prevent ugly tap-flash on iOS / Android */
* { -webkit-tap-highlight-color: transparent; }

/* Account for fixed header on anchor links */
html { scroll-padding-top: 88px; }
@media (max-width: 720px) { html { scroll-padding-top: 72px; } }

/* Tablet-and-down: page-hero, table overflow */
@media (max-width: 1024px) {
  .page-hero { padding: 128px 20px 64px; }
  /* Pricing compare table can be wide — allow horizontal scroll */
  .compare-table-wrap, .article .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 560px; }
}

/* Phone (≤720px) — comprehensive cleanup */
@media (max-width: 720px) {
  /* HEADER reads cleaner with smaller logo + larger tap targets */
  .site-header { height: 60px; }
  .site-header__inner { padding: 0 12px; gap: 8px; }
  .main-nav { inset: 60px 0 auto 0; padding: 14px 18px 20px; }
  .main-nav__list a { padding: 16px 14px; font-size: 16px; min-height: 44px; display: flex; align-items: center; }
  .menu-toggle { width: 44px; height: 44px; font-size: 22px; }
  .logo__primary { font-size: 17px; }
  .logo__secondary { font-size: 8.5px; letter-spacing: 1.5px; }
  .logo__mark { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }

  /* Lang toggle — bigger tap target, position fits in 360px headers */
  .lang-toggle { inset-inline-end: 56px; padding: 2px; gap: 0; }
  .lang-toggle__btn { padding: 8px 10px; font-size: 11.5px; min-width: 32px; min-height: 30px; }

  /* HERO — tighter spacing on phones */
  .hero { padding: 88px 16px 56px; min-height: auto; }
  .hero__tagline { padding: 6px 14px; letter-spacing: 2px; margin-bottom: 18px; }
  .hero__title { font-size: clamp(34px, 9vw, 44px); line-height: 1.1; margin: 4px 0 18px; }
  .hero__subtitle { font-size: 16px; line-height: 1.55; }
  .hero__highlight { font-size: 14px; margin-top: 18px; }
  .hero__cta-row { gap: 10px; margin-top: 24px; flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { width: 100%; }
  .hero__stats { gap: 18px 24px; margin-top: 36px; padding-top: 24px; flex-direction: row; }
  .hero__stat { min-width: 0; }
  .hero__stat-num { font-size: 28px; }
  .hero__stat-label { font-size: 11px; letter-spacing: 1.5px; }

  /* Inner-page hero (Features, About, Privacy, …) */
  .page-hero { padding: 88px 18px 48px; }
  .page-hero__title { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; }
  .page-hero__breadcrumb { font-size: 11.5px; letter-spacing: 2px; margin-bottom: 10px; }
  .page-hero__lead { font-size: 15px; margin-top: 16px; }

  /* Section titles */
  .section-title { margin-bottom: 28px; }
  .section-title__heading { font-size: clamp(26px, 7vw, 36px); }
  .section-title__lead { font-size: 15px; line-height: 1.6; }

  /* Buttons — bigger tap targets, no horizontal overflow */
  .btn { padding: 14px 22px; font-size: 14.5px; min-height: 44px; }
  .btn--lg { padding: 16px 24px; font-size: 15px; }

  /* Forms — bump to 16px to prevent iOS zoom-on-focus */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea,
  input[type="password"],
  input[type="email"],
  input[type="text"],
  textarea,
  select { font-size: 16px !important; min-height: 44px; }

  /* FAQ tap targets */
  .faq__q { padding: 18px 18px; font-size: 15px; min-height: 56px; }
  .faq__item.is-open .faq__a { padding: 0 18px 18px; }

  /* Pricing — already stacks to 1col, just tighten card chrome */
  .pricing-tabs { flex-wrap: wrap; gap: 8px; }
  .pricing-tab { padding: 10px 18px; font-size: 14px; }
  .price-card__title { font-size: 19px; }
  .price-card__desc { font-size: 13px; }

  /* AI demo + cards — readable on phones */
  .ai-demo { gap: 24px; }
  .ai-demo__title { font-size: clamp(22px, 6vw, 28px); }
  .ai-demo__lead { font-size: 14px; }
  .ai-demo__visual { padding: 18px; font-size: 12px; }

  /* Team / training cards — comfortable padding */
  .training-card__body { padding: 16px 18px 22px; }
  .training-card__title { font-size: 19px; }
  .team-card { padding: 24px 18px; }
  .team-card__avatar { width: 96px; height: 96px; }

  /* CTA band — tighter */
  .cta-band { padding: 48px 20px; border-radius: 18px; }
  .cta-band__title { font-size: clamp(24px, 6vw, 32px); }
  .cta-band__lead { font-size: 15px; }

  /* Stats strip — 2x2 already, just tighten */
  .stats-strip { gap: 16px; padding: 28px 0; }
  .stat__num { font-size: clamp(28px, 8vw, 40px); }
  .stat__label { font-size: 11px; }

  /* Logos strip — wrap cleanly */
  .logos-strip { gap: 24px; padding: 24px 0; }
  .logos-strip__item { font-size: 18px; }

  /* Article (Privacy / Accessibility) — readable line length */
  .article { font-size: 15px; line-height: 1.7; padding: 0 4px; }
  .article h2 { font-size: 21px; margin: 20px 0 10px; }
  .article h3 { font-size: 17px; }
  .article ul li { padding: 3px 18px; }

  /* Footer — readable + tappable */
  .site-footer { padding: 40px 0 24px; }
  .site-footer__grid { gap: 24px; }
  .site-footer h5 { font-size: 15px; }
  .site-footer ul li a { display: inline-block; padding: 4px 0; }
  .site-footer__bottom { font-size: 12px; gap: 8px; }
  .site-footer__bottom a { margin-inline-start: 0; }

  /* WhatsApp FAB — clearly tappable */
  .wa-fab { width: 52px; height: 52px; bottom: 14px; left: 14px; box-shadow: 0 6px 20px rgba(19,196,71,0.4); }
  html[dir="rtl"] .wa-fab { right: 14px; left: auto; }

  /* Try-demo browser frame — shrink chrome to maximize iframe */
  .demo-page-wrap { padding: 88px 8px 32px !important; }
  .demo-page-header { margin-bottom: 22px; }
  .demo-page-header__title { font-size: clamp(28px, 7vw, 36px) !important; }
  .demo-page-header__lead { font-size: 14px; }
  .demo-page-header__notes { gap: 8px 14px; font-size: 12px; }
  .demo-browser { width: 100% !important; border-radius: 12px; }
  .demo-browser__chrome { padding: 8px 10px; gap: 8px; }
  .demo-browser__url { font-size: 10.5px; padding: 5px 10px; }
  .demo-browser__url::before { display: none; }
  .demo-browser__viewport { height: 70vh !important; min-height: 480px; }
  .demo-cta-band { width: 100% !important; padding: 18px 20px; text-align: center; }
  .demo-cta-band .btn { width: 100%; }
}

/* Very small phones (≤380px) — keep below the iPhone SE width safe */
@media (max-width: 380px) {
  .site-header__inner { padding: 0 10px; gap: 4px; }
  .logo__primary { font-size: 15px; }
  .logo__secondary { display: none; } /* save space */
  .lang-toggle { inset-inline-end: 50px; }
  .lang-toggle__btn { padding: 7px 8px; font-size: 11px; min-width: 28px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero__title { font-size: 30px; }
  .page-hero__title { font-size: 26px; }
  .hero__stats { gap: 12px 18px; }
}

/* Landscape phones — let the hero breathe vertically */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 72px 24px 40px; }
  .hero__stats { display: none; }
}

/* Reduce expensive backdrop-blur on smaller devices */
@media (max-width: 720px) {
  .site-header { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* Prevent any element from causing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; }

/* Print: keep it readable */
@media print {
  .site-header, .wa-fab, .menu-toggle, .lang-toggle { display: none !important; }
}


/* ============================================
   HEADER MOBILE FIX — lang-toggle position
   Earlier rule used inset-inline-end which in RTL puts the pill on the
   same side as the logo (since logo uses justify-self: end). Anchor the
   lang-toggle to the inline-START edge so it always sits next to the
   hamburger (which lives in the 1fr column = start in both LTR and RTL).
   ============================================ */
@media (max-width: 720px) {
  .lang-toggle {
    inset-inline-start: 56px;
    inset-inline-end: auto;
  }
  /* keep menu toggle and lang-toggle visually paired even on very small screens */
  .site-header__inner > .menu-toggle { justify-self: start; }
  .site-header__logo-wrap { min-width: 0; }
}
@media (max-width: 380px) {
  .lang-toggle { inset-inline-start: 50px; inset-inline-end: auto; }
}

/* Marquee — looks cluttered on phones, let it breathe */
@media (max-width: 720px) {
  .marquee { padding: 16px 0; }
  .marquee__track { gap: 36px; font-size: 22px; animation-duration: 28s; }
}


/* ============================================
   ACCESSIBILITY WIDGET (Israeli norm — IS 5568)
   ============================================ */
.a11y-skip {
  position: fixed; top: -100px; left: 0;
  background: var(--color-gold); color: var(--color-dark);
  padding: 12px 20px; font-weight: 700; z-index: 9999;
  text-decoration: none; border-radius: 0 0 8px 0;
  transition: top .15s ease;
}
.a11y-skip:focus { top: 0; outline: 3px solid var(--color-blue); }

/* Floating circular toggle button — opposite side from WhatsApp FAB */
.a11y-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-blue); color: #fff;
  display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(10,22,40,0.35), 0 0 0 4px rgba(74,123,175,0.18);
  cursor: pointer; z-index: 99;
  transition: transform .15s ease, box-shadow .15s ease;
}
.a11y-fab:hover { transform: scale(1.06); }
.a11y-fab:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }
html[dir="rtl"] .a11y-fab { right: auto; left: 24px; }

/* Panel */
.a11y-panel {
  position: fixed; bottom: 96px; right: 24px;
  width: 320px; max-width: calc(100vw - 32px);
  background: #fff; color: var(--color-text);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(10,22,40,0.35), 0 0 0 1px rgba(10,22,40,0.06);
  z-index: 100;
  opacity: 0; transform: translateY(8px) scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.a11y-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
html[dir="rtl"] .a11y-panel { right: auto; left: 24px; }
.a11y-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.a11y-panel__head strong { font-family: var(--font-display); font-size: 18px; color: var(--color-dark); }
.a11y-x {
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; line-height: 1;
  color: var(--color-text-muted);
  background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.a11y-x:hover { background: var(--color-cream); color: var(--color-dark); }
.a11y-panel__body { padding: 14px 16px 18px; max-height: 70vh; overflow-y: auto; }
.a11y-row { margin-bottom: 14px; }
.a11y-row__label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 8px;
}
.a11y-row__body { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.a11y-fontval { font-weight: 700; font-size: 13px; color: var(--color-blue); min-width: 48px; text-align: center; }
.a11y-chip {
  padding: 8px 14px; border-radius: 999px;
  background: var(--color-cream); color: var(--color-dark);
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease;
  min-height: 36px;
}
.a11y-chip:hover { background: var(--color-cream-dark); }
.a11y-chip.is-active { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.a11y-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--color-cream); color: var(--color-dark);
  font-size: 13px; font-weight: 600; text-align: start;
  cursor: pointer; border: 1.5px solid transparent;
  min-height: 44px;
}
.a11y-toggle:hover { background: var(--color-cream-dark); }
.a11y-toggle.is-active { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }
.a11y-toggle__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--color-text-muted);
  flex-shrink: 0;
}
.a11y-toggle.is-active .a11y-toggle__dot { background: var(--color-gold); border-color: var(--color-gold); }
.a11y-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--color-border);
}
.a11y-reset {
  background: transparent; color: var(--color-dark);
  font-weight: 600; font-size: 13px;
  text-decoration: underline; cursor: pointer; padding: 6px 0;
}
.a11y-link { color: var(--color-blue); font-weight: 600; font-size: 13px; text-decoration: underline; }

/* Mobile: smaller FAB, full-width-ish panel */
@media (max-width: 720px) {
  .a11y-fab { width: 50px; height: 50px; bottom: 14px; right: 14px; }
  html[dir="rtl"] .a11y-fab { left: 14px; right: auto; }
  .a11y-panel { right: 14px; bottom: 76px; width: calc(100vw - 28px); max-width: 360px; }
  html[dir="rtl"] .a11y-panel { left: 14px; right: auto; }
}

/* ── Applied a11y modes (set on <html>) ─────────────────────── */
html.a11y-contrast-dark { background: #0a1628; color: #fff; }
html.a11y-contrast-dark body { background: #0a1628 !important; color: #fff !important; }
html.a11y-contrast-dark .section--cream,
html.a11y-contrast-dark .section--cream-dark,
html.a11y-contrast-dark .article,
html.a11y-contrast-dark .training-card,
html.a11y-contrast-dark .price-card,
html.a11y-contrast-dark .faq,
html.a11y-contrast-dark .feature-item,
html.a11y-contrast-dark .team-card { background: #14253d !important; color: #fff !important; }
html.a11y-contrast-dark .article h2,
html.a11y-contrast-dark .article h3,
html.a11y-contrast-dark h1, html.a11y-contrast-dark h2, html.a11y-contrast-dark h3 { color: #fff !important; }

html.a11y-contrast-high { background: #fff !important; color: #000 !important; filter: contrast(1.3); }
html.a11y-contrast-high body, html.a11y-contrast-high a, html.a11y-contrast-high p, html.a11y-contrast-high h1,
html.a11y-contrast-high h2, html.a11y-contrast-high h3, html.a11y-contrast-high li { color: #000 !important; }
html.a11y-contrast-high a { text-decoration: underline !important; }

html.a11y-contrast-invert { filter: invert(1) hue-rotate(180deg); background: #fff; }
html.a11y-contrast-invert img, html.a11y-contrast-invert video, html.a11y-contrast-invert iframe { filter: invert(1) hue-rotate(180deg); }

html.a11y-links a:not(.btn):not(.lang-toggle__btn) { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4 { outline: 2px solid var(--color-gold) !important; outline-offset: 4px; background: rgba(197,165,114,0.08); padding: 4px 8px; }
html.a11y-font * { font-family: 'Arial', 'Heebo', sans-serif !important; letter-spacing: 0.02em !important; }
html.a11y-stopanim *, html.a11y-stopanim *::before, html.a11y-stopanim *::after { animation: none !important; transition: none !important; }
html.a11y-bigcursor, html.a11y-bigcursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M5 3l25 14-11 2-5 13z' fill='black' stroke='white' stroke-width='2'/></svg>") 5 3, auto !important; }

