/* =========================================================
   Quwa: design tokens
   Brand colours come straight from the logo files:
   sky #6DABDD (ring), maroon #8A1538 (drop), ink #171513 (letters), paper #FAF8F5 (app icon)
   ========================================================= */
:root {
  /* Sky blue: the ring. Use 500 for shapes; 700+ for text and icons on light backgrounds */
  --sky-900: #143A57;
  --sky-800: #1F4F73;
  --sky-700: #2C6E9E;   /* 5.4:1 on white */
  --sky-500: #6DABDD;   /* brand sky (decorative, large shapes) */
  --sky-300: #A9CDEB;
  --sky-200: #CFE3F4;
  --sky-100: #E6F1FA;
  --sky-50:  #F3F8FC;

  /* Qatar maroon: the drop. Actions and blood */
  --maroon-950: #2A0711;
  --maroon-900: #3D0C1B;
  --maroon-800: #5C1229;
  --maroon-600: #8A1538;
  --maroon-500: #A3264C;
  --maroon-200: #E9C4CF;
  --maroon-100: #F6E8EC;
  --maroon-50:  #FBF4F6;

  --ink:   #171513;      /* logo letters */
  --ink-2: #4A4743;      /* 8.9:1 on white */
  --ink-3: #6B6762;      /* 5.4:1 on white */
  --paper: #FAF8F5;      /* app icon background */
  --white: #FFFFFF;
  --line:  #E7E3DE;

  /* Semantic */
  --bg: var(--white);
  --text: var(--ink);
  --text-muted: var(--ink-2);
  --primary: var(--maroon-600);
  --primary-hover: var(--maroon-800);
  --on-primary: var(--white);
  --good: var(--sky-500);
  --good-text: var(--sky-800);
  --focus: var(--sky-700);

  /* Type */
  --font-latin: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Instrument Sans", Tahoma, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-hero: clamp(2.6rem, 1.5rem + 4vw, 4.75rem);

  /* Space (8pt) */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;

  /* Shape: rounded like the logo's caps */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(23 21 19 / 0.05), 0 4px 16px rgb(23 21 19 / 0.06);
  --shadow-2: 0 2px 6px rgb(23 21 19 / 0.08), 0 24px 60px rgb(23 21 19 / 0.16);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  color-scheme: light;
}

/* =========================================================
   Language switching
   ========================================================= */
html[lang="en"] .ar,
html[lang="ar"] .en { display: none !important; }

:lang(ar) { font-family: var(--font-ar); }
/* Arabic needs no letter-spacing (it breaks letter joining) and a taller line */
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] * { letter-spacing: 0 !important; }

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-latin);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; }
h2 { font-size: var(--fs-xl); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-md); letter-spacing: -0.01em; line-height: 1.3; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 600; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
strong, b { font-weight: 600; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible { outline-color: var(--sky-300); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Shared icon look: one stroke weight, round caps like the logo */
.system__icon svg, .perk__icon svg, .overlay-card__icon svg, .explain svg, .join__privacy svg,
.contact__link svg, .menu-btn svg, .form__done-icon svg {
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   Logo
   ========================================================= */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo__svg { height: 26px; width: auto; display: block; }
.logo__ring { fill: var(--sky-500); }
.logo__drop { fill: var(--maroon-600); }
.logo__letters { fill: currentColor; }
.logo__ar { font-family: var(--font-ar); font-weight: 600; font-size: 1.125rem; line-height: 1; color: var(--maroon-600); padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.logo--footer { color: var(--white); }
.logo--footer .logo__svg { height: 30px; }
.logo--footer .logo__ar { color: var(--sky-300); border-color: rgb(255 255 255 / 0.18); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--lg { --h: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: transparent; color: var(--ink); border-color: #CFCAC4; }
.btn--outline:hover { border-color: var(--sky-700); color: var(--sky-800); background: var(--sky-50); }

/* =========================================================
   Nav (floating pill)
   ========================================================= */
.nav { position: fixed; inset-inline: 0; top: 12px; z-index: 100; padding-inline: 12px; }
.nav__bar {
  max-width: 1160px; margin-inline: auto; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: 20px 8px;
  background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgb(23 21 19 / 0.06); border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
}
.nav__links { display: none; gap: 4px; }
.nav__links a {
  padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.nav__links a:hover { background: var(--sky-50); color: var(--sky-800); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.lang-toggle {
  min-height: 44px; padding: 0 14px; border: 0; background: transparent; border-radius: var(--r-pill);
  font-size: 0.9375rem; font-weight: 600; color: var(--sky-800);
}
.lang-toggle:hover { background: var(--sky-50); }
.nav__cta { display: none; }
.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--sky-100); color: var(--sky-900);
}
.menu-btn svg { width: 22px; height: 22px; }
.mobile-menu {
  max-width: 1160px; margin: 8px auto 0; padding: 12px;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  display: grid; gap: 2px;
}
.mobile-menu a:not(.btn) { padding: 14px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.mobile-menu a:not(.btn):hover { background: var(--sky-50); }
.mobile-menu .btn { margin-top: 8px; }

@media (max-width: 420px) { .logo__ar { display: none; } }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1060px) {
  .nav__links { display: flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* =========================================================
   Hero: the logo's ring holds a blood sample
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--paper);
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero__grid { display: grid; gap: var(--s4); align-items: center; }
.hero__visual { position: relative; order: -1; width: min(100%, 360px); margin-inline: auto; }
.hero__kicker { font-size: 0.9375rem; font-weight: 500; color: var(--sky-800); margin-bottom: var(--s2); }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.04em; line-height: 1; max-width: 13ch; color: var(--ink); }
html[lang="ar"] .hero__title { line-height: 1.3; max-width: 14ch; }
.hero__lead { margin-top: var(--s3); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; max-width: 34ch; line-height: 1.45; color: var(--ink); }
.hero__problem { margin-top: var(--s2); max-width: 52ch; color: var(--ink-2); }
.hero__ctas { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: 12px; }

.ring { display: block; width: 100%; height: auto; overflow: visible; }
.ring__disc { fill: var(--sky-100); }
.ring__arc { fill: none; stroke: var(--sky-500); stroke-width: 92; stroke-linecap: round; }
.ring__drop { fill: var(--maroon-600); }


@media (min-width: 900px) {
  .hero { min-height: min(100svh, 920px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s6); }
  .hero__visual { order: 0; width: 100%; max-width: 540px; }
}

/* The page's one orchestrated motion moment: the ring draws itself, then the drop falls into place */
@media (prefers-reduced-motion: no-preference) {
  .ring__arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease-out) 0.15s forwards; }
  .ring__photo, .ring__disc { animation: fade 0.9s ease 0.35s both; }
  .ring__drop { transform-box: fill-box; transform-origin: 30% 30%; animation: drop-in 0.7s var(--ease-out) 1.1s both; }
  .hero__kicker, .hero__title, .hero__lead, .hero__problem, .hero__ctas { animation: rise 0.9s var(--ease-out) both; }
  .hero__title { animation-delay: 0.08s; }
  .hero__lead { animation-delay: 0.18s; }
  .hero__problem { animation-delay: 0.26s; }
  .hero__ctas { animation-delay: 0.34s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop-in { from { opacity: 0; transform: translate(-14px, -14px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--sky { background: var(--sky-50); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--maroon-900); color: var(--white); }
.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { margin-top: var(--s2); font-size: var(--fs-md); color: var(--text-muted); line-height: 1.5; }
.section--dark .section__lead { color: rgb(255 255 255 / 0.78); }
.fineprint { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5) var(--s3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step__media { position: relative; margin: 0 0 var(--s3); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sky-100); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--sky-500); color: var(--ink); font-weight: 600; font-size: 0.9375rem; margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); }

.overlay-card {
  position: absolute; inset-inline: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: rgb(255 255 255 / 0.96); color: var(--ink); box-shadow: var(--shadow-1);
  font-size: 0.875rem; line-height: 1.35;
}
.overlay-card strong { display: block; font-weight: 600; font-size: 0.9375rem; }
.overlay-card small { display: block; color: var(--ink-2); font-size: 0.8125rem; }
.overlay-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-800); flex: none; }
.overlay-card__icon svg { width: 20px; height: 20px; }
.overlay-card__icon--green { background: var(--sky-500); color: var(--white); }
.overlay-card--chart { flex-direction: column; align-items: stretch; gap: 6px; }
.overlay-card__title { font-weight: 600; font-size: 0.9375rem; }
.spark { width: 100%; height: 48px; overflow: visible; }
html[dir="rtl"] .spark { transform: scaleX(-1); }
.spark__band { fill: var(--sky-100); }
.spark__line { fill: none; stroke: var(--maroon-600); stroke-width: 2; stroke-linecap: round; }
.spark circle { fill: var(--white); stroke: var(--maroon-600); stroke-width: 2; }
.spark .spark__now { fill: var(--sky-500); stroke: var(--white); }
.spark__labels { display: flex !important; justify-content: space-between; }

/* ---------- What's tested ---------- */
.tested { display: grid; gap: var(--s5); }
@media (min-width: 960px) {
  .tested { grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: start; }
  .tested__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.tested__photo { margin: var(--s4) 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.tested__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 960px) { .tested__photo { aspect-ratio: 4 / 4.2; } }
.systems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--sky-200); }
@media (min-width: 640px) { .systems { grid-template-columns: 1fr 1fr; column-gap: var(--s4); } }
.system { padding: var(--s3) 0; border-bottom: 1px solid var(--sky-200); display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-content: start; }
.system__icon { grid-row: span 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--sky-700); border: 1px solid var(--sky-200); }
.system__icon svg { width: 24px; height: 24px; }
.system h3 { font-size: 1.125rem; margin-top: 2px; }
.system p { margin-top: 6px; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.system small { margin-top: 8px; display: block; font-size: 0.8125rem; color: var(--sky-800); font-weight: 500; text-align: start; }
html[dir="rtl"] .system small { text-align: right; }

/* ---------- Membership + mock-up ---------- */
.members { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 1000px) { .members { grid-template-columns: 5fr 7fr; } }
.perks { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.perks li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.perk__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(109 171 221 / 0.14); color: var(--sky-300); border: 1px solid rgb(109 171 221 / 0.3); }
.perk__icon svg { width: 22px; height: 22px; }
.perks h3 { font-size: 1.125rem; }
.perks p { margin-top: 4px; color: rgb(255 255 255 / 0.75); }

.mock { margin: 0; }
.app {
  background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35), 0 0 0 1px rgb(255 255 255 / 0.08);
  font-size: 0.9375rem;
}
.app__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app__brand { display: inline-flex; color: var(--ink); }
.app__logo { height: 16px; }
.app__meta { color: var(--ink-3); font-size: 0.8125rem; flex: 1; }
.app__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-800); font-weight: 600; font-size: 0.8125rem; }
.app__summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); font-size: 0.8125rem; }
.pill b { font-weight: 700; }
.pill--good { background: var(--sky-100); color: var(--sky-900); }
.pill--ok { background: #F1EFEC; color: var(--ink-2); }
.pill--watch { background: var(--maroon-100); color: var(--maroon-800); }
.app__body { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .app__body { grid-template-columns: 1.15fr 1fr; } }
.markers { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.marker {
  width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name val" "range tag";
  gap: 8px 12px; align-items: center; text-align: start;
  padding: 12px; border: 1.5px solid transparent; border-radius: 12px; background: transparent;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.marker:hover { background: #F7F6F4; }
.marker.is-active { background: var(--sky-50); border-color: var(--sky-300); }
.marker__name { grid-area: name; font-weight: 600; font-size: 0.9375rem; }
.marker__val { grid-area: val; font-weight: 600; font-variant-numeric: tabular-nums; }
.marker__val small { font-weight: 400; color: var(--ink-3); font-size: 0.75rem; }
.range { grid-area: range; position: relative; height: 6px; border-radius: 3px; background: #ECE9E5; }
.range__opt { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--from); inset-inline-end: calc(100% - var(--to)); border-radius: 3px; background: var(--sky-200); }
.range__dot { position: absolute; top: 50%; inset-inline-start: var(--pos); width: 12px; height: 12px; margin-inline-start: -6px; translate: 0 -50%; border-radius: 50%; background: var(--sky-700); border: 2px solid var(--white); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1); }
.range__dot--low { background: var(--maroon-600); }
.range__dot--watch { background: var(--maroon-500); }
.tag { grid-area: tag; justify-self: end; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); }
.tag--good { color: var(--sky-900); background: var(--sky-100); }
.tag--low { color: var(--white); background: var(--maroon-600); }
.tag--watch { color: var(--maroon-800); background: var(--maroon-100); }

.explain { padding: 18px; background: #FBFAF8; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .explain { border-top: 0; border-inline-start: 1px solid var(--line); } }
.explain__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.explain__ai { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sky-800); font-size: 0.875rem; }
.explain__ai svg { width: 18px; height: 18px; }
.xl-switch { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: #EFECE8; }
.xl-switch button { min-width: 44px; min-height: 32px; padding: 0 10px; border: 0; border-radius: var(--r-pill); background: transparent; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.xl-switch button[aria-pressed="true"] { background: var(--white); color: var(--sky-900); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.explain__text p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
.explain__text p[lang="ar"] { line-height: 1.85; }
@media (prefers-reduced-motion: no-preference) {
  .explain__text:not([hidden]) p:not([hidden]) { animation: fade 0.28s ease both; }
}
.explain__doc { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--sky-800); font-weight: 500; padding-top: 12px; border-top: 1px dashed var(--line); }
.explain__doc svg { width: 18px; height: 18px; }
.mock__caption { margin-top: 14px; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.65); text-align: center; }

/* ---------- Pricing ---------- */
.price-card {
  position: relative; max-width: 520px; margin-inline: auto; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg); border: 1.5px solid var(--sky-200); background: var(--white);
  box-shadow: 0 30px 60px -30px rgb(44 110 158 / 0.35);
}
.price-card__name { font-size: 1.125rem; color: var(--ink-2); font-weight: 500; }
.price { margin-top: var(--s2); }
.price__was { font-size: 0.9375rem; color: var(--ink-3); }
.price__was s { margin-inline-start: 6px; }
.price__now { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price__amount { font-size: clamp(3rem, 2.4rem + 3vw, 4.25rem); font-weight: 600; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price__amount small { font-size: 0.4em; letter-spacing: 0; font-weight: 500; margin-inline-end: 4px; vertical-align: 0.9em; color: var(--ink-2); }
.price__per { color: var(--ink-2); }
.price__badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--maroon-50); color: var(--maroon-800); font-size: 0.875rem; font-weight: 600; }
.price__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50% 0 50% 50%; background: var(--maroon-600); transform: rotate(-45deg); }
.checks { list-style: none; margin: var(--s4) 0; padding: var(--s3) 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 34px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4F73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.price-card__note { margin-top: 14px; text-align: center; font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- Join / form ---------- */
.join { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .join { grid-template-columns: 5fr 7fr; gap: var(--s6); } }
.join__privacy { margin-top: var(--s3); display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink-2); }
.join__privacy svg { width: 22px; height: 22px; color: var(--sky-700); margin-top: 2px; }
.join__privacy a, .consent a, .notice a { color: var(--sky-800); text-underline-offset: 3px; }
.join__photo { display: none; margin: var(--s4) 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.join__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 960px) { .join__photo { display: block; } }

.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.form__fields { display: grid; gap: 28px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: 10px; padding: 0; font-size: 1rem; }
.field input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 1rem;
  border: 1.5px solid #D6D1CB; border-radius: 12px; background: var(--white);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
html[dir="rtl"] #f-contact { text-align: right; }
.field input[type="text"]:hover { border-color: #B9B3AC; }
.field input[type="text"]:focus { outline: none; border-color: var(--sky-700); box-shadow: 0 0 0 4px var(--sky-100); }
.field__hint { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-3); }
.field legend + .field__hint { margin: -4px 0 12px; }
.field__error { margin-top: 8px; font-size: var(--fs-sm); color: #A11D2E; font-weight: 500; display: flex; gap: 6px; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #A11D2E; color: var(--white); font-size: 0.75rem; font-weight: 700; margin-top: 2px; }
.field.is-invalid input[type="text"] { border-color: #A11D2E; }
.field.is-invalid .choice span { border-color: #E0A5B0; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice > span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid #D6D1CB; border-radius: var(--r-pill); font-size: 0.9375rem;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.choice:hover > span { border-color: var(--sky-700); }
.choice input:checked + span { background: var(--sky-800); border-color: var(--sky-800); color: var(--white); }
.choice input[type="checkbox"]:checked + span::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field > label.consent { display: flex; margin-bottom: 0; font-weight: 400; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sky-800); flex: none; cursor: pointer; }

/* Spam trap: visually removed without off-screen offsets (those create horizontal scroll in RTL) */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

.form__submit { position: relative; }
.form__submit .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 0.35); border-top-color: var(--white); animation: spin 0.8s linear infinite; }
.form__submit[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.form__submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { padding: 12px 16px; border-radius: 12px; background: #FBEAEC; color: #8B1A28; font-size: 0.9375rem; }

.form__done { text-align: center; padding: var(--s5) var(--s2); }
.form__done:focus { outline: none; }
.form__done-icon { width: 64px; height: 64px; margin: 0 auto var(--s3); border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-800); }
.form__done-icon svg { width: 32px; height: 32px; stroke-width: 2.25; }
.form__done h3 { font-size: var(--fs-lg); }
.form__done p { margin-top: 12px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .form__done:not([hidden]) .form__done-icon { animation: pop 0.5s var(--ease-out) both; }
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Team ---------- */
.team { display: grid; gap: var(--s5); }
.team__story { max-width: 700px; }
.team__story > p:last-child { margin-top: var(--s2); color: var(--text-muted); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s2); }
@media (min-width: 760px) { .people { grid-template-columns: repeat(3, 1fr); gap: var(--s3); max-width: 960px; } }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-md); background: #E8E6E3; }
.person h3 { margin-top: 14px; font-size: 1.0625rem; }
.person p { margin-top: 4px; color: var(--ink-3); font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s4); }
@media (min-width: 960px) { .faq { grid-template-columns: 4fr 8fr; gap: var(--s6); } }
.faq__list { border-top: 1px solid var(--sky-200); }
.faq details { border-bottom: 1px solid var(--sky-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C6E9E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--sky-200); transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sky-800); }
.faq details p { padding: 0 0 20px; max-width: 64ch; color: var(--text-muted); }

/* ---------- Notices ---------- */
.notices { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .notices { grid-template-columns: 1fr 1fr; } }
.notice { padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.notice h3 { font-size: var(--fs-lg); margin-bottom: var(--s3); }
.notice p { color: var(--ink-2); font-size: 0.9375rem; }
.notice p + p { margin-top: 12px; }
.notice strong { color: var(--ink); }
.notice--medical { background: var(--maroon-50); border-color: var(--maroon-100); }
.notice__urgent { padding: 12px 14px; border-radius: 12px; background: var(--white); border-inline-start: 3px solid var(--maroon-600); }

/* ---------- Contact ---------- */
.contact__inner { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1fr 1fr; } }
.contact__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact__link {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; min-height: 72px;
  border-radius: var(--r-md); border: 1px solid rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.05);
  text-decoration: none; transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.contact__link:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.3); }
.contact__link svg { width: 26px; height: 26px; color: var(--sky-300); }
.contact__link > span { display: grid; }
.contact__link strong { font-weight: 600; }
.contact__link span span { color: rgb(255 255 255 / 0.72); font-size: 0.9375rem; }
html[dir="rtl"] .contact__link span[dir="ltr"] { text-align: right; }
.contact__link--wa { background: var(--sky-500); border-color: var(--sky-500); color: var(--ink); }
.contact__link--wa:hover { background: var(--sky-300); border-color: var(--sky-300); }
.contact__link--wa svg { color: var(--ink); }
.contact__link--wa span span { color: rgb(23 21 19 / 0.78); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgb(255 255 255 / 0.7); padding-block: var(--s5); font-size: var(--fs-sm); }
.footer__inner { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4); } .footer__copy { grid-column: 1 / -1; } }
.footer__note { max-width: 52ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__links a { text-decoration: none; padding: 10px 0; }
.footer__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { color: rgb(255 255 255 / 0.5); border-top: 1px solid rgb(255 255 255 / 0.1); padding-top: var(--s3); }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
