/* ============================================================
   Lipedema App · ALZIEBAQ × EuroPack
   Design system inherited from carousels (EuroPack Highlights v3)
   Arabic-first · RTL · mobile-first responsive
   ============================================================ */

/* ===== FONTS ===== */
@font-face { font-family: 'Thmanyah Sans'; src: url('assets/fonts/thmanyahsans-Light.woff2')   format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('assets/fonts/thmanyahsans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('assets/fonts/thmanyahsans-Medium.woff2')  format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('assets/fonts/thmanyahsans-Bold.woff2')    format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('assets/fonts/thmanyahsans-Black.woff2')   format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Thmanyah Serif'; src: url('assets/fonts/thmanyahserifdisplay-Bold.woff2')  format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Thmanyah Serif'; src: url('assets/fonts/thmanyahserifdisplay-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* ===== TOKENS ===== */
:root {
  --cream:       #F5EFE6;
  --cream-deep:  #EDE5D6;
  --paper:       #FAF7F0;
  --off-white:   #FAFAF7;
  --red:         #E63946;
  --red-deep:    #C82C39;
  --orange:      #F39323;
  --ink:         #141414;
  --ink-soft:    #1F1F1F;
  --graphite:    #4A4A4A;
  --softgrey:    #8A8A8A;
  --sand:        #D9CDB8;
  --sand-light:  #E8DEC9;
  --hairline:    rgba(20,20,20,0.10);
  --hairline-cream: rgba(245,239,230,0.14);

  --wrap: 1240px;
  --wrap-narrow: 860px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 6px 14px rgba(20,20,20,0.06);
  --shadow-md: 0 18px 40px rgba(20,20,20,0.10);
  --shadow-lg: 0 32px 80px rgba(20,20,20,0.16);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { font-family: 'Thmanyah Sans', system-ui, sans-serif; }
/* direction comes from <html dir=""> set by i18n.js */
body {
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
strong { font-weight: 700; }
em { font-style: normal; font-weight: 500; color: var(--red); }

/* Numerals in Latin direction (for product codes, dates) */
[dir="ltr"], .ltr { direction: ltr; unicode-bidi: isolate; }

/* ===== UTIL ===== */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--wrap-narrow); }

.accent { color: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Thmanyah Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: none;
  margin-bottom: 18px;
}
.eyebrow--line::before {
  content: '';
  width: 44px;
  height: 3px;
  background: var(--red);
  display: inline-block;
}
.eyebrow--cream { color: var(--cream); }
.eyebrow--cream.eyebrow--line::before { background: var(--cream); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Thmanyah Sans', sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--red); box-shadow: 0 14px 28px rgba(230,57,70,0.32); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.section--dark .btn--ghost { color: var(--cream); border-color: var(--cream); }
.section--dark .btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn--lg { padding: 22px 38px; font-size: 18px; border-radius: 100px; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: rgba(245,239,230,0.85);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__brand { display: inline-flex; align-items: center; gap: 18px; direction: ltr; }
.nav__logo { height: 32px; width: auto; }
.nav__logo--eu { height: 24px; }
.nav__sep { width: 1px; height: 28px; background: var(--ink); opacity: 0.18; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}
.nav__links a:hover { color: var(--red); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; right: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.24s;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--red); }
.nav__cta .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; }
.nav__cta:hover .dot { background: var(--cream); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

@media (max-width: 880px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav { padding: 14px var(--gutter); }
  .nav__logo { height: 26px; }
  .nav__logo--eu { display: none; }
  .nav__sep { display: none; }
  .nav__cta { padding: 9px 16px; font-size: 13px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 100px) 0 clamp(60px, 9vw, 120px);
  background: var(--cream);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/grid-dots.jpg');
  background-size: 360px 360px;
  background-repeat: repeat;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; }
.hero__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.28;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 8px 0 28px;
  padding-block: 0.04em;
}
.hero__title .accent {
  color: var(--red);
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.hero__title .accent::after {
  content: '';
  position: absolute;
  bottom: 0.06em; left: 0; right: 0;
  height: 0.08em;
  background: var(--red);
  opacity: 0.22;
  border-radius: 4px;
  pointer-events: none;
}
.hero__lede {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--graphite);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero__lede strong { color: var(--ink); font-weight: 700; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__trust {
  display: flex;
  list-style: none;
  gap: clamp(20px, 3vw, 40px);
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--graphite);
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: 'Thmanyah Serif', serif; font-weight: 900; font-size: 24px; color: var(--ink); line-height: 1; }

.hero__visual { position: relative; }
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__stat {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--ink);
  color: var(--cream);
  padding: 24px 28px;
  border-radius: var(--radius);
  max-width: 260px;
  box-shadow: var(--shadow-md);
}
.hero__stat-num {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.hero__stat-label { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.hero__stat-source { font-size: 11px; color: rgba(245,239,230,0.55); letter-spacing: 0.5px; direction: ltr; text-align: right; }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--graphite);
  z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__photo { aspect-ratio: 4/3; }
  .hero__stat { bottom: -20px; right: 12px; padding: 18px 22px; }
  .hero__stat-num { font-size: 40px; }
  .hero__scroll { display: none; }
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
}
.section--cream { background: var(--cream); }
.section--white { background: var(--off-white); }
.section--dark  { background: var(--ink); color: var(--cream); }
.section--dark .section__title { color: var(--cream); }
.section--dark .section__lead  { color: rgba(245,239,230,0.78); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section__head--start { text-align: right; margin-right: 0; }
.section__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.24;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 24px;
  padding-block: 0.04em;
}
.section__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--graphite);
  max-width: 640px;
  margin: 0 auto;
}
.section__head--start .section__lead { margin: 0; }

/* ===== FACTS GRID ===== */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.fact {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.24s, box-shadow 0.24s;
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fact__num {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  letter-spacing: -1px;
}
.fact__title { font-family: 'Thmanyah Serif', serif; font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.fact p { color: var(--graphite); font-size: 15px; line-height: 1.6; }
.fact p a { color: var(--red); border-bottom: 1px dashed var(--red); }

/* ===== COMPARE ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.compare__col {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 36px 30px;
}
.compare__col--faded { background: var(--cream-deep); color: var(--softgrey); }
.compare__col--faded ul { color: var(--graphite); }
.compare__col--accent { border-color: var(--red); box-shadow: 0 22px 44px rgba(230,57,70,0.10); }
.compare__tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  background: var(--ink); color: var(--cream);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.compare__tag--red { background: var(--red); }
.compare ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.compare li {
  font-size: 16px; line-height: 1.55;
  padding-right: 24px; position: relative;
}
.compare li::before {
  content: '·';
  position: absolute;
  right: 0; top: -6px;
  color: var(--red);
  font-size: 36px;
  line-height: 1;
}
.compare__col--faded li::before { color: var(--softgrey); }

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
}

/* ===== TYPES ===== */
.types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.type {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.24s, box-shadow 0.24s, border-color 0.24s;
}
.type:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow-md); }
.type__svg { width: 70px; height: 175px; }
.type__num {
  font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--red);
}
.type h3 { font-family: 'Thmanyah Serif', serif; font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.25; }
.type p { font-size: 13px; line-height: 1.5; color: var(--graphite); }

@media (max-width: 920px) {
  .types { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .types { grid-template-columns: repeat(2, 1fr); }
}

/* ===== QUIZ ===== */
.quiz {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.section--dark { position: relative; overflow: hidden; }
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/img/grid-dots.jpg');
  background-size: 360px 360px;
  background-repeat: repeat;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}

.quiz__stage[hidden] { display: none !important; }

/* --- INTRO --- */
.quiz__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.24;
  letter-spacing: -0.5px;
  color: var(--cream);
  text-align: center;
  margin-bottom: 24px;
  padding-block: 0.04em;
}
.quiz__title .accent { color: var(--red); }
.quiz__lede {
  color: rgba(245,239,230,0.78);
  font-size: 18px;
  line-height: 1.65;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.quiz__stage[data-stage="intro"] { text-align: center; display: flex; flex-direction: column; align-items: center; }
.quiz__privacy {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(245,239,230,0.55);
  letter-spacing: 0.5px;
}

/* --- PROGRESS --- */
.quiz__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.quiz__progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(245,239,230,0.12);
  border-radius: 100px;
  overflow: hidden;
}
.quiz__progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.quiz__progress-text { font-size: 13px; color: rgba(245,239,230,0.6); letter-spacing: 1px; font-weight: 700; white-space: nowrap; }

/* --- Q/A --- */
.quiz__qa { min-height: 360px; display: flex; flex-direction: column; }
.quiz__question {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.4;
  color: var(--cream);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
  padding-block: 0.04em;
}
.quiz__sub {
  text-align: center;
  font-size: 15px;
  color: rgba(245,239,230,0.65);
  margin-bottom: 32px;
  line-height: 1.6;
}

.quiz__options {
  display: grid;
  gap: 10px;
}
.quiz__options--two   { grid-template-columns: 1fr 1fr; }
.quiz__options--three { grid-template-columns: repeat(3, 1fr); }
.quiz__options--five  { grid-template-columns: repeat(5, 1fr); gap: 8px; }

@media (max-width: 640px) {
  .quiz__options--two   { grid-template-columns: 1fr; }
  .quiz__options--three { grid-template-columns: 1fr; }
  .quiz__options--five  { grid-template-columns: repeat(2, 1fr); }
}

.quiz__opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 18px;
  border: 1.5px solid rgba(245,239,230,0.15);
  background: rgba(245,239,230,0.04);
  border-radius: var(--radius);
  color: var(--cream);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Thmanyah Sans', sans-serif;
  font-weight: 500;
}
.quiz__opt:hover { border-color: var(--cream); background: rgba(245,239,230,0.08); transform: translateY(-2px); }
.quiz__opt[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 14px 28px rgba(230,57,70,0.32);
}
.quiz__opt-icon { font-size: 28px; line-height: 1; }
.quiz__opt-label { font-size: 16px; font-weight: 700; line-height: 1.3; }
.quiz__opt-hint { font-size: 12px; color: rgba(245,239,230,0.55); line-height: 1.4; }
.quiz__opt[aria-pressed="true"] .quiz__opt-hint { color: rgba(245,239,230,0.85); }

/* Slider question */
.quiz__slider { padding: 12px 8px; }
.quiz__slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(to left, var(--red) var(--val, 0%), rgba(245,239,230,0.15) var(--val, 0%));
  outline: none;
  direction: ltr;
}
.quiz__slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--red);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.quiz__slider input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--red);
  cursor: pointer;
}
.quiz__slider-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.quiz__slider-value strong {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--red);
}
.quiz__slider-value span { font-size: 18px; color: rgba(245,239,230,0.6); }
.quiz__slider-labels { display: flex; justify-content: space-between; font-size: 12px; color: rgba(245,239,230,0.5); margin-top: 12px; letter-spacing: 0.5px; }

/* Multi-select intro */
.quiz__multi-hint {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}

/* --- NAV BUTTONS --- */
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

/* --- RESULT --- */
.result { text-align: center; }
.result__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  background: var(--red);
  color: var(--cream);
}
.result__badge::before { content: '●'; font-size: 12px; line-height: 1; }
.result__badge.low { background: rgba(245,239,230,0.18); }
.result__badge.med { background: var(--orange); }
.result__badge.high { background: var(--red); }

.result__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.24;
  color: var(--cream);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  padding-block: 0.04em;
}
.result__summary {
  font-size: 19px;
  color: rgba(245,239,230,0.78);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.result__score {
  background: rgba(245,239,230,0.06);
  border: 1px solid rgba(245,239,230,0.14);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.result__score-meter { height: 12px; background: rgba(245,239,230,0.12); border-radius: 100px; overflow: hidden; }
.result__score-fill { height: 100%; width: 0%; background: var(--red); border-radius: 100px; transition: width 1.2s cubic-bezier(0.4,0,0.2,1); }
.result__score-num {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
}
.result__score-num .result__score-max { color: rgba(245,239,230,0.4); font-size: 22px; margin-right: 4px; }

.result__detail {
  background: rgba(245,239,230,0.06);
  border: 1px solid rgba(245,239,230,0.14);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.result__detail h3 {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 6px;
}
.result__detail p { color: rgba(245,239,230,0.78); font-size: 15px; line-height: 1.65; }

.result__recommendation {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  text-align: right;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 22px;
  align-items: center;
}
.result__recommendation h3 { font-family: 'Thmanyah Serif', serif; font-weight: 900; font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.result__recommendation p { color: var(--graphite); font-size: 15px; line-height: 1.6; }
.result__rec-img {
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand-light);
  aspect-ratio: 1;
}
.result__rec-img img { width: 100%; height: 100%; object-fit: cover; }
.result__rec-code {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Thmanyah Sans', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 100px;
  direction: ltr;
}

@media (max-width: 640px) {
  .result__recommendation { grid-template-columns: 1fr; }
  .result__rec-img { aspect-ratio: 4/3; max-width: 220px; }
  .result__score { grid-template-columns: 1fr; }
}

.result__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 20px; }
.result__disclaimer { font-size: 12px; color: rgba(245,239,230,0.45); margin-top: 16px; }

/* ===== PRODUCTS ===== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s, box-shadow 0.24s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product--featured { border-color: var(--red); }
.product__pin {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  background: var(--red);
  color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 100px;
}
.product__photo {
  aspect-ratio: 4/3;
  background: var(--cream-deep);
  overflow: hidden;
}
.product__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.product__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__code {
  display: inline-block;
  font-family: 'Thmanyah Sans', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  direction: ltr;
}
.product h3 { font-family: 'Thmanyah Serif', serif; font-weight: 900; font-size: 22px; color: var(--ink); line-height: 1.25; }
.product__body > p { font-size: 14px; line-height: 1.55; color: var(--graphite); }
.product__feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.product__feats li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  padding-right: 18px;
  position: relative;
}
.product__feats li::before {
  content: '';
  position: absolute;
  right: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}

@media (max-width: 920px) { .products { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.faq__item {
  border-bottom: 1px solid var(--hairline);
  padding: 6px 0;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Thmanyah Serif', serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.18s;
}
.faq__item summary:hover { color: var(--red); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: var(--red);
  flex: 0 0 auto;
  transition: transform 0.24s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 0 22px;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}

/* ===== FINAL CTA ===== */
.cta {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/img/grid-dots.jpg');
  background-size: 360px 360px;
  background-repeat: repeat;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.cta__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.24;
  letter-spacing: -1px;
  margin-bottom: 24px;
  padding-block: 0.04em;
}
.cta__title .accent { color: var(--red); }
.cta__lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(245,239,230,0.78);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 56px; }

.cta__locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding-top: 36px;
  border-top: 1px solid rgba(245,239,230,0.14);
}
.cta__locations strong { font-family: 'Thmanyah Serif', serif; font-weight: 700; font-size: 18px; color: var(--cream); display: block; margin-bottom: 4px; }
.cta__locations div { font-size: 14px; color: rgba(245,239,230,0.6); line-height: 1.5; }

@media (max-width: 720px) {
  .cta__locations { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0a0a;
  color: rgba(245,239,230,0.7);
  padding: 64px 0 32px;
}
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; padding-bottom: 36px; border-bottom: 1px solid rgba(245,239,230,0.1); margin-bottom: 36px; }
.footer__brand-stack { display: inline-flex; align-items: center; gap: 18px; direction: ltr; }
.footer__logo { height: 36px; width: auto; }
.footer__logo--eu { height: 26px; filter: invert(1); }
.footer__sep { width: 1px; height: 28px; background: rgba(245,239,230,0.2); }
.footer__tag { font-size: 14px; color: rgba(245,239,230,0.55); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,239,230,0.1);
  margin-bottom: 24px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: 'Thmanyah Serif', serif; font-weight: 700; font-size: 15px; color: var(--cream); margin-bottom: 4px; letter-spacing: 0.5px; }
.footer__col a { font-size: 14px; color: rgba(245,239,230,0.6); transition: color 0.18s; }
.footer__col a:hover { color: var(--red); }

.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 12px; color: rgba(245,239,230,0.4); }

@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== FLOATING WA ===== */
.float-wa {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px; /* trailing edge — RTL: left · LTR: right */
  z-index: 150;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.6);
  animation: pulse-ring 1.8s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ============================================================
   LIBRARY TEASER (landing page) — dark editorial band
   ============================================================ */
.lib { position: relative; overflow: hidden; }
.lib::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/img/grid-dots.jpg');
  background-size: 360px 360px;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}
.lib .container { position: relative; z-index: 1; }
.lib__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.lib__head .eyebrow { justify-content: center; }
.lib__head .section__title { color: var(--cream); }
.lib__head .section__lead { color: rgba(245,239,230,0.78); margin: 0 auto; }

.lib__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin-bottom: 44px;
}
@media (max-width: 920px) {
  .lib__grid { grid-template-columns: 1fr; }
}

/* Featured */
.lib-feat {
  display: flex;
  flex-direction: column;
  background: rgba(245,239,230,0.05);
  border: 1px solid rgba(245,239,230,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s, background 0.3s;
}
.lib-feat:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  background: rgba(245,239,230,0.08);
}
.lib-feat__num {
  position: absolute;
  inset-inline-end: clamp(20px, 3vw, 40px);
  top: clamp(8px, 2vw, 20px);
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(70px, 9vw, 130px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,239,230,0.14);
  direction: ltr;
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.3s;
}
.lib-feat:hover .lib-feat__num { -webkit-text-stroke-color: rgba(230,57,70,0.5); }
.lib-feat__cat {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--red); margin-bottom: 16px; position: relative; z-index: 1;
}
.lib-feat__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--cream);
  margin-bottom: 16px;
  padding-block: 0.04em;
  position: relative; z-index: 1;
}
.lib-feat__excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245,239,230,0.72);
  margin-bottom: 28px;
  flex: 1;
}
.lib-feat__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Thmanyah Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
  transition: gap 0.24s, color 0.24s;
}
.lib-feat:hover .lib-feat__go { color: var(--red); gap: 12px; }

/* Compact rows */
.lib-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lib-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: rgba(245,239,230,0.04);
  border: 1px solid rgba(245,239,230,0.12);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  flex: 1;
  transition: background 0.24s, border-color 0.24s, transform 0.24s;
}
.lib-row:hover {
  background: rgba(245,239,230,0.08);
  border-color: var(--red);
  transform: translateX(-4px);
}
html[dir="ltr"] .lib-row:hover { transform: translateX(4px); }
.lib-row__num {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,239,230,0.22);
  direction: ltr;
  transition: color 0.24s, -webkit-text-stroke-color 0.24s;
}
.lib-row:hover .lib-row__num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.lib-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lib-row__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.35;
  color: var(--cream);
}
.lib-row__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(245,239,230,0.5);
}
.lib-row__arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(245,239,230,0.18);
  border-radius: 50%;
  color: var(--cream);
  flex: 0 0 auto;
  transition: background 0.24s, border-color 0.24s, color 0.24s;
}
.lib-row:hover .lib-row__arrow {
  background: var(--red); border-color: var(--red); color: var(--cream);
}

.lib__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.lib__note {
  font-size: 13px;
  color: rgba(245,239,230,0.5);
  letter-spacing: 0.5px;
}

/* ============================================================
   FOLLOW / SUBSCRIBE
   ============================================================ */
.follow {
  background: var(--cream-deep);
  padding: clamp(56px, 7vw, 90px) 0;
  border-top: 1px solid var(--hairline);
}
.follow__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.follow__title {
  font-family: 'Thmanyah Serif', serif;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 10px 0 14px;
  padding-block: 0.04em;
}
.follow__title .accent { color: var(--red); }
.follow__lede {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--graphite);
  max-width: 520px;
}
.follow__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.follow__form input {
  flex: 1 1 200px;
  padding: 16px 20px;
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  background: var(--paper);
  font-family: 'Thmanyah Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s;
  direction: rtl;
}
.follow__form input[name="email"] { direction: ltr; text-align: start; }
.follow__form input:focus { border-color: var(--red); }
.follow__form .btn { flex: 0 0 auto; padding: 16px 32px; }
.follow__msg {
  flex-basis: 100%;
  font-size: 14px;
  margin: 4px 2px 0;
  min-height: 20px;
  color: var(--graphite);
}
.follow__msg[data-state="ok"]  { color: #1f9d55; font-weight: 600; }
.follow__msg[data-state="err"] { color: var(--red); font-weight: 600; }

@media (max-width: 880px) {
  .follow__inner { grid-template-columns: 1fr; }
}

:lang(en) .follow__title { font-family: 'Fraunces', Georgia, serif; }
:lang(ku) .follow__title { font-family: 'Vazirmatn', 'Thmanyah Serif', serif; }
:lang(en) .follow__form input[name="email"] { direction: ltr; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   ============== i18n LAYER — Language switcher + EN/KU =====
   ============================================================ */

/* ----- Nav right group ----- */
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ----- Language switcher ----- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--cream-deep);
  border: 1px solid var(--hairline);
  border-radius: 100px;
}
.lang-switch__btn {
  position: relative;
  padding: 7px 14px;
  border-radius: 100px;
  font-family: 'Thmanyah Sans', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--graphite);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}
.lang-switch__short { display: none; }

@media (max-width: 1080px) {
  .lang-switch__full { display: none; }
  .lang-switch__short { display: inline; }
  .lang-switch__btn { padding: 7px 11px; font-size: 12px; letter-spacing: 1px; }
}

@media (max-width: 560px) {
  .nav__right { gap: 8px; }
  .lang-switch { padding: 3px; }
  .lang-switch__btn { padding: 6px 9px; font-size: 11px; }
}

/* ============================================================
   ENGLISH (LTR) — Latin display fonts
   ============================================================ */

:lang(en) body,
html[lang="en"] body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.005em;
}

:lang(en) .hero__title,
:lang(en) .section__title,
:lang(en) .quiz__title,
:lang(en) .quiz__question,
:lang(en) .result__title,
:lang(en) .cta__title,
:lang(en) .fact__title,
:lang(en) .type figcaption h3,
:lang(en) .product h3,
:lang(en) .faq__item summary,
:lang(en) .compare__tag,
:lang(en) .footer__col h4,
:lang(en) .result__detail h3,
:lang(en) .result__recommendation h3 {
  font-family: 'Fraunces', 'Georgia', serif;
  letter-spacing: -0.02em;
}

:lang(en) .fact__num,
:lang(en) .hero__stat-num,
:lang(en) .hero__trust strong,
:lang(en) .result__score-num,
:lang(en) .quiz__slider-value strong {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}

:lang(en) .eyebrow,
:lang(en) .nav__cta,
:lang(en) .nav__links a,
:lang(en) .btn,
:lang(en) .product__code,
:lang(en) .stamp,
:lang(en) .result__badge {
  font-family: 'Inter', system-ui, sans-serif;
}

:lang(en) .nav__links {
  font-size: 14px;
}

/* English (Fraunces) — tighter line-height, generous size; descenders are minimal */
:lang(en) .hero__title {
  font-size: clamp(50px, 7.8vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  padding-block: 0;
}
:lang(en) .section__title,
:lang(en) .cta__title {
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  padding-block: 0;
}
:lang(en) .quiz__title {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  padding-block: 0;
}
:lang(en) .result__title {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  padding-block: 0;
}
:lang(en) .quiz__question {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  padding-block: 0;
}

/* ============================================================
   KURDISH (Sorani RTL) — Vazirmatn fallback for Sorani-specific letters
   ============================================================ */

:lang(ku) body,
html[lang="ku"] body {
  font-family: 'Vazirmatn', 'Thmanyah Sans', system-ui, sans-serif;
}
:lang(ku) .hero__title,
:lang(ku) .section__title,
:lang(ku) .quiz__title,
:lang(ku) .quiz__question,
:lang(ku) .result__title,
:lang(ku) .cta__title,
:lang(ku) .fact__title,
:lang(ku) .type figcaption h3,
:lang(ku) .product h3,
:lang(ku) .faq__item summary {
  font-family: 'Vazirmatn', 'Thmanyah Serif', serif;
  font-weight: 900;
}
:lang(ku) .fact__num,
:lang(ku) .hero__stat-num,
:lang(ku) .hero__trust strong,
:lang(ku) .result__score-num,
:lang(ku) .quiz__slider-value strong {
  font-family: 'Vazirmatn', 'Thmanyah Serif', serif;
  font-weight: 900;
}

/* Kurdish (Vazirmatn) — needs extra room for stacked diacritics (ێ ۆ ڕ ڵ) */
:lang(ku) .hero__title {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.34;
  letter-spacing: -0.3px;
  padding-block: 0.06em;
}
:lang(ku) .section__title,
:lang(ku) .cta__title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.32;
  padding-block: 0.06em;
}
:lang(ku) .quiz__title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.32;
  padding-block: 0.06em;
}
:lang(ku) .result__title {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.32;
  padding-block: 0.06em;
}
:lang(ku) .quiz__question {
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.5;
  padding-block: 0.06em;
}

/* ============================================================
   DIRECTION-AWARE TWEAKS (LTR icon flip)
   ============================================================ */

/* Chevron icons drawn for RTL ("next" points left). Flip on LTR. */
html[dir="ltr"] .icon-next,
html[dir="ltr"] .icon-prev {
  transform: scaleX(-1);
}

/* Compare list bullets — start-side aligned */
.compare li {
  padding-right: 24px;
  padding-left: 0;
}
.compare li::before {
  right: 0;
  left: auto;
}
html[dir="ltr"] .compare li {
  padding-right: 0;
  padding-left: 24px;
}
html[dir="ltr"] .compare li::before {
  right: auto;
  left: 0;
}

/* Product feats — start-side aligned */
.product__feats li {
  padding-right: 18px;
  padding-left: 0;
}
.product__feats li::before {
  right: 0;
  left: auto;
}
html[dir="ltr"] .product__feats li {
  padding-right: 0;
  padding-left: 18px;
}
html[dir="ltr"] .product__feats li::before {
  right: auto;
  left: 0;
}

/* FAQ summary chevron rotates differently in LTR */
html[dir="ltr"] .faq__item summary::after { /* unchanged behavior; + and × both work universally */ }

/* hero stat — flip outer offset for LTR so the badge sticks out of the photo on the inside (toward copy) */
html[dir="ltr"] .hero__stat {
  right: auto;
  left: -28px;
}
@media (max-width: 880px) {
  html[dir="ltr"] .hero__stat { right: auto; left: 12px; }
}

/* product__pin (top corner badge) — flip side for English so it's at the start corner */
html[dir="ltr"] .product__pin {
  right: auto;
  left: 16px;
}

/* product__code corner badge */
html[dir="ltr"] .product-card .code {
  right: auto;
  left: 18px;
}

/* nav__cta dot — already inline-flex, no fix needed */

/* English numerals are wider; ensure score badge doesn't overflow */
:lang(en) .result__score { gap: 18px; }
:lang(en) .result__score-num { font-size: 42px; }
:lang(en) .result__score-num .result__score-max { font-size: 19px; margin-right: 0; margin-left: 4px; }

/* English compare bullets — period is too small; use a dot */
:lang(en) .compare li::before {
  content: '·';
  font-size: 28px;
  top: -2px;
}

/* English eyebrow gets a touch more letter-spacing */
:lang(en) .eyebrow {
  letter-spacing: 2.5px;
  font-size: 12px;
}

/* English nav links don't need underline-only — add light hover */
:lang(en) .nav__links a { font-weight: 500; }

/* Quiz options spacing for English */
:lang(en) .quiz__opt-label { letter-spacing: -0.01em; }
:lang(en) .quiz__opt-hint { letter-spacing: 0.2px; }

/* English type cards: bigger heading */
:lang(en) .type figcaption h3 { font-size: 18px; }
:lang(en) .type__num { font-size: 10px; }

/* English FAQ + sign keeps direction-neutral */
:lang(en) .faq__item summary { letter-spacing: -0.01em; }
