/* ==========================================================================
   Trends for Everyone — Design System & Styles
   Lunettes de vue · Belgique (fr-BE)
   --------------------------------------------------------------------------
   1. Fonts           6. Layout primitives     11. Sections
   2. Tokens          7. Buttons               12. Quiz
   3. Reset / base    8. Form controls         13. Legal pages
   4. Typography      9. Components            14. Motion & reveal
   5. Utilities      10. Header / footer       15. Print
   ========================================================================== */

/* 1. FONTS — voir fonts.css (base64, compatible file://) */

/* 2. TOKENS ================================================================ */
:root {
  /* — Brand palette (the only 7 colours of the system) — */
  --basil: #5C9E6B;      /* Primary · jeune basilic */
  --coral: #E8907A;      /* Accent · corail chaud */
  --cream: #F5F1E8;      /* Background · crème */
  --mint: #D9E9DC;       /* Section surface · menthe claire */
  --graphite: #2E332C;   /* Text · graphite chaud */
  --beige: #D9C9B0;      /* Secondary · beige poudré */
  --pine: #2F5A3D;       /* Deep · pin forestier */

  /* — Semantic roles (derived only by mixing the palette) — */
  --c-primary: var(--basil);
  --c-primary-ink: var(--pine);                                    /* primary used as text: AA on cream */
  --c-secondary: var(--pine);
  --c-accent: var(--coral);
  --c-accent-hover: color-mix(in srgb, var(--coral) 86%, var(--graphite));
  --c-accent-soft: color-mix(in srgb, var(--coral) 22%, var(--cream));
  --c-bg: var(--cream);
  --c-surface: var(--mint);
  --c-surface-2: color-mix(in srgb, var(--beige) 38%, var(--cream));
  --c-surface-raised: color-mix(in srgb, var(--cream) 70%, var(--mint));
  --c-text: var(--graphite);
  --c-text-muted: color-mix(in srgb, var(--graphite) 74%, var(--cream));
  --c-text-inverse: var(--cream);
  --c-border: color-mix(in srgb, var(--beige) 80%, var(--graphite) 8%);
  --c-border-strong: color-mix(in srgb, var(--graphite) 38%, var(--cream));
  --c-hover: color-mix(in srgb, var(--mint) 60%, var(--cream));
  --c-focus: var(--pine);
  --c-disabled-bg: color-mix(in srgb, var(--beige) 55%, var(--cream));
  --c-disabled-text: color-mix(in srgb, var(--graphite) 45%, var(--cream));
  --c-success: var(--basil);
  --c-success-bg: var(--mint);
  --c-warning: color-mix(in srgb, var(--beige) 55%, var(--coral));
  --c-warning-bg: color-mix(in srgb, var(--beige) 45%, var(--cream));
  --c-error: color-mix(in srgb, var(--coral) 48%, var(--graphite));  /* ≥ 4.5:1 on cream */
  --c-error-bg: color-mix(in srgb, var(--coral) 18%, var(--cream));

  /* — Typography — */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.5rem, 1.55rem + 4.3vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --fs-h4: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-h5: 1.125rem;
  --fs-h6: .8125rem;
  --fs-lead: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-caption: .8125rem;
  --fs-button: 1rem;
  --fs-label: .9375rem;

  /* — Spacing scale 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128 — */
  --s-1: .25rem;  --s-2: .5rem;  --s-3: .75rem;  --s-4: 1rem;  --s-5: 1.5rem;
  --s-6: 2rem;    --s-7: 3rem;   --s-8: 4rem;    --s-9: 6rem;  --s-10: 8rem;
  --section-y: clamp(var(--s-8), 4rem + 4vw, var(--s-10));

  /* — Shape & depth — */
  --r-xs: 8px; --r-sm: 14px; --r-md: 24px; --r-lg: 40px; --r-pill: 999px;
  --shadow-1: 0 1px 2px color-mix(in srgb, var(--pine) 10%, transparent), 0 4px 14px -6px color-mix(in srgb, var(--pine) 18%, transparent);
  --shadow-2: 0 2px 4px color-mix(in srgb, var(--pine) 8%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--pine) 38%, transparent);
  --shadow-3: 0 30px 70px -30px color-mix(in srgb, var(--graphite) 55%, transparent);

  /* — Layout — */
  --container: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --header-h: 72px;

  /* — Motion — */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-1: 150ms; --dur-2: 280ms; --dur-3: 520ms; --dur-4: 900ms;
}

/* 3. RESET / BASE ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--c-primary-ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--graphite); }
::selection { background: var(--coral); color: var(--graphite); }
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] { display: none !important; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--pine); color: var(--cream); padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill); font-weight: 600; text-decoration: none;
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: var(--s-4); color: var(--cream); }

/* 4. TYPOGRAPHY =========================================================== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  color: var(--graphite);
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1, .h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; font-stretch: 88%; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.028em; font-weight: 700; font-stretch: 90%; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.018em; font-weight: 650; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
h5, .h5 { font-size: var(--fs-h5); line-height: 1.3; font-weight: 600; font-family: var(--font-body); }
h6, .eyebrow {
  font-family: var(--font-body); font-size: var(--fs-h6); line-height: 1.3;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
p { text-wrap: pretty; max-width: 68ch; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text-muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.caption { font-size: var(--fs-caption); line-height: 1.4; letter-spacing: .01em; color: var(--c-text-muted); }
em.hl, .hl {
  font-style: normal;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--coral) 55%, transparent) 62%, color-mix(in srgb, var(--coral) 55%, transparent) 92%, transparent 92%);
  padding-inline: .06em;
}
.serif-italic { font-family: var(--font-body); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eyebrow { color: var(--c-primary-ink); display: inline-flex; align-items: center; gap: var(--s-2); }
.eyebrow::before {
  content: ""; width: 22px; height: 10px; flex: none;
  background:
    radial-gradient(circle at 5px 5px, transparent 3px, currentColor 3.2px 5px, transparent 5.2px),
    radial-gradient(circle at 17px 5px, transparent 3px, currentColor 3.2px 5px, transparent 5.2px),
    linear-gradient(currentColor, currentColor) 10px 4px / 2px 2px no-repeat;
}
.eyebrow--light { color: var(--mint); }

/* 5. UTILITIES ============================================================ */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 28px; height: 28px; }

/* 6. LAYOUT PRIMITIVES ==================================================== */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--mint { background: var(--mint); }
.section--beige { background: var(--c-surface-2); }
.section--pine { background: var(--pine); color: var(--cream); }
.section--pine h2, .section--pine h3, .section--pine h4 { color: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(var(--s-6), 2rem + 2vw, var(--s-8)); }
.section-head.text-center { margin-inline: auto; }
.section-head h2 { margin-top: var(--s-3); }
.section-head .lead { margin-top: var(--s-4); }
.grid { display: grid; gap: var(--s-5); }

/* 7. BUTTONS ============================================================== */
.btn {
  --btn-bg: var(--coral); --btn-fg: var(--graphite); --btn-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill); border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: var(--fs-button); font-weight: 650; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2), border-color var(--dur-2);
}
.btn::after { /* light sweep micro-interaction */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--cream) 45%, transparent) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform var(--dur-3) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--primary { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--coral) 90%, var(--graphite)); }
.btn--primary:hover { --btn-bg: var(--c-accent-hover); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--coral) 90%, var(--graphite)); }
.btn--secondary { --btn-bg: var(--pine); --btn-fg: var(--cream); }
.btn--secondary:hover { --btn-bg: var(--graphite); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-bd: var(--c-border-strong); }
.btn--ghost:hover { --btn-bg: var(--graphite); --btn-fg: var(--cream); --btn-bd: var(--graphite); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: color-mix(in srgb, var(--cream) 55%, transparent); }
.btn--ghost-light:hover { --btn-bg: var(--cream); --btn-fg: var(--pine); --btn-bd: var(--cream); }
.btn--sm { min-height: 42px; padding: var(--s-2) var(--s-4); font-size: var(--fs-small); }
.btn--lg { min-height: 60px; padding: var(--s-4) var(--s-6); font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--icon { width: 48px; min-height: 48px; padding: 0; --btn-bg: var(--cream); --btn-fg: var(--graphite); --btn-bd: var(--c-border); }
.btn--icon:hover { --btn-bg: var(--graphite); --btn-fg: var(--cream); --btn-bd: var(--graphite); }
.btn:disabled, .btn[aria-disabled="true"] {
  --btn-bg: var(--c-disabled-bg); --btn-fg: var(--c-disabled-text); --btn-bd: transparent;
  cursor: not-allowed; transform: none; box-shadow: none;
}
.btn:disabled::after { display: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 650; color: var(--c-primary-ink); text-decoration: none;
}
.link-arrow:hover { color: var(--graphite); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }

/* 8. FORM CONTROLS ======================================================== */
.field { display: grid; gap: var(--s-2); }
.field + .field { margin-top: var(--s-4); }
.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field + .field { margin-top: 0; } }
.label { font-size: var(--fs-label); font-weight: 600; color: var(--graphite); display: flex; justify-content: space-between; gap: var(--s-2); }
.label .opt { font-weight: 400; color: var(--c-text-muted); font-size: var(--fs-caption); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: var(--s-3) var(--s-4);
  background: var(--cream); color: var(--graphite);
  border: 2px solid var(--c-border); border-radius: var(--r-sm);
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--graphite) 50%, var(--cream)); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-border-strong); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--basil);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--basil) 25%, transparent);
}
.input:disabled { background: var(--c-disabled-bg); color: var(--c-disabled-text); cursor: not-allowed; }
.select {
  appearance: none; padding-right: var(--s-7); cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--graphite) 50%),
    linear-gradient(135deg, var(--graphite) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--c-error); background: var(--c-error-bg); }
.field.is-valid .input { border-color: var(--basil); }
.field-error {
  font-size: var(--fs-caption); color: var(--c-error); font-weight: 600;
  display: none; align-items: center; gap: var(--s-1);
}
.field.is-invalid .field-error { display: flex; animation: shake var(--dur-3) var(--ease-out); }
.field-hint { font-size: var(--fs-caption); color: var(--c-text-muted); }

.check {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start;
  font-size: var(--fs-small); line-height: 1.5; cursor: pointer;
}
.check input {
  appearance: none; width: 24px; height: 24px; margin-top: 1px; flex: none; cursor: pointer;
  border: 2px solid var(--c-border-strong); border-radius: 7px; background: var(--cream);
  display: grid; place-content: center;
  transition: background-color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.check input::after {
  content: ""; width: 12px; height: 7px; border: solid var(--cream); border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform var(--dur-2) var(--ease-spring);
}
.check input:checked { background: var(--pine); border-color: var(--pine); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:active { transform: scale(.9); }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]::after { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--cream); transform: scale(0); margin: 0; }
.check input[type="radio"]:checked::after { transform: scale(1); }
.field.is-invalid .check input { border-color: var(--c-error); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

/* 9. COMPONENTS =========================================================== */
/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-1);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-caption); font-weight: 650; letter-spacing: .02em; line-height: 1.3;
  background: var(--mint); color: var(--pine);
}
.badge--coral { background: var(--c-accent-soft); color: var(--graphite); }
.badge--beige { background: var(--beige); color: var(--graphite); }
.badge--pine { background: var(--pine); color: var(--cream); }
.badge--outline { background: transparent; border: 1.5px solid currentColor; }
.ad-label { /* Belgian law: commercial communication must be identifiable */
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); border: 1px solid var(--c-border-strong); border-radius: 4px; padding: 2px 8px;
}

/* Card */
.card {
  background: var(--cream); border-radius: var(--r-md); padding: var(--s-5);
  border: 1px solid color-mix(in srgb, var(--beige) 70%, transparent);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

/* Icon tile */
.icon-tile {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none;
  background: var(--mint); color: var(--pine);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--coral { background: var(--c-accent-soft); color: var(--graphite); }
.icon-tile--pine { background: var(--pine); color: var(--cream); }

/* Toasts */
.toast-region {
  position: fixed; z-index: 300; left: 50%; bottom: var(--s-5); transform: translateX(-50%);
  display: grid; gap: var(--s-2); width: min(92vw, 420px); pointer-events: none;
}
.toast {
  pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center;
  padding: var(--s-4); border-radius: var(--r-sm); box-shadow: var(--shadow-3);
  background: var(--graphite); color: var(--cream); font-size: var(--fs-small); line-height: 1.45;
  animation: toast-in var(--dur-3) var(--ease-spring) both;
}
.toast.is-leaving { animation: toast-out var(--dur-2) ease-in both; }
.toast--success .toast-icon { color: var(--mint); }
.toast--error { background: var(--c-error); }
.toast button { color: var(--cream); opacity: .75; padding: 4px; border-radius: 6px; }
.toast button:hover { opacity: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* Modal (native <dialog>) */
.modal {
  border: 0; padding: 0; background: transparent; color: var(--graphite);
  width: min(94vw, 880px); max-height: 92vh; margin: auto; overflow: visible;
}
.modal::backdrop { background: color-mix(in srgb, var(--graphite) 62%, transparent); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in var(--dur-3) var(--ease-out); }
.modal[open]::backdrop { animation: fade-in var(--dur-3) var(--ease-out); }
.modal__inner {
  position: relative; background: var(--cream); border-radius: var(--r-lg); overflow: auto; max-height: 92vh;
  display: grid; box-shadow: var(--shadow-3);
}
@media (min-width: 760px) { .modal__inner { grid-template-columns: 1.05fr 1fr; } }
.modal__media { background: var(--mint); min-height: 240px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (min-width: 760px) { .modal__media img { aspect-ratio: auto; } }
.modal__body { padding: clamp(var(--s-5), 4vw, var(--s-7)); display: grid; gap: var(--s-4); align-content: start; }
.modal__close { position: absolute; top: var(--s-3); right: var(--s-3); z-index: 2; }
.modal__specs { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); font-size: var(--fs-small); }
.modal__specs dt { color: var(--c-text-muted); }
.modal__specs dd { font-weight: 600; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }

/* Tabs */
.tabs { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: center; margin-bottom: var(--s-6); }
.tab {
  min-height: 44px; padding: var(--s-2) var(--s-5); border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-small); color: var(--graphite);
  background: transparent; border: 2px solid var(--c-border);
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.tab:hover { border-color: var(--graphite); }
.tab[aria-selected="true"] { background: var(--graphite); color: var(--cream); border-color: var(--graphite); }
.tab:active { transform: scale(.96); }

/* Accordion */
.accordion { display: grid; gap: var(--s-3); }
.acc-item { background: var(--cream); border-radius: var(--r-md); border: 1px solid var(--c-border); transition: box-shadow var(--dur-2), border-color var(--dur-2); }
.acc-item.is-open { box-shadow: var(--shadow-1); border-color: var(--basil); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5); text-align: left; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.3; letter-spacing: -.01em; border-radius: var(--r-md);
}
.acc-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: none; position: relative;
  background: var(--mint); transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-out);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 2px; border-radius: 2px;
  background: var(--pine); transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--coral); transform: rotate(180deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0); }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: var(--graphite); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 var(--s-5) var(--s-5); color: var(--c-text-muted); }

/* Progress bar */
.progress { height: 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--beige) 60%, var(--cream)); overflow: hidden; }
.progress__bar {
  height: 100%; width: var(--p, 0%); border-radius: inherit;
  background: linear-gradient(90deg, var(--basil), var(--pine));
  transition: width var(--dur-3) var(--ease-out); position: relative;
}
.progress__bar::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; margin-right: -2px;
  border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--cream);
}

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; font-size: var(--fs-small); color: var(--c-text-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--c-border-strong); }
.breadcrumbs a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pine); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--graphite); font-weight: 600; }

/* Stats / facts band */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { border-top: 2px solid color-mix(in srgb, var(--cream) 30%, transparent); padding-top: var(--s-4); }
.fact__num { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--cream); font-stretch: 85%; }
.fact__num sup, .fact__num small { font-size: .42em; letter-spacing: 0; vertical-align: top; margin-left: 2px; color: var(--coral); }
.fact__label { margin-top: var(--s-2); font-size: var(--fs-small); color: color-mix(in srgb, var(--cream) 80%, var(--pine)); max-width: 26ch; }

/* 10. HEADER / FOOTER ===================================================== */
.topbar {
  background: var(--graphite); color: color-mix(in srgb, var(--cream) 85%, var(--graphite));
  font-size: var(--fs-caption); text-align: center; padding: 8px var(--gutter); line-height: 1.4;
}
.topbar { max-width: none; }
.topbar strong { color: var(--cream); }
.topbar a { color: var(--mint); }
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: 0 8px 30px -22px color-mix(in srgb, var(--pine) 60%, transparent); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -.03em; line-height: 1;
}
.logo:hover { color: var(--graphite); }
.logo__mark { display: inline-flex; align-items: center; flex: none; }
.logo__mark i {
  width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--pine); display: block;
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2);
}
.logo__mark i:last-child { border-color: var(--coral); }
.logo__mark b { width: 6px; height: 3px; background: var(--graphite); display: block; border-radius: 2px; }
.logo:hover .logo__mark i:first-child { transform: translateX(-2px) rotate(-8deg); background: var(--mint); }
.logo:hover .logo__mark i:last-child { transform: translateX(2px) rotate(8deg); background: var(--c-accent-soft); }
.logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .06em; color: var(--c-text-muted); margin-top: 3px; text-transform: uppercase; }

.nav { display: none; }
.nav ul { display: flex; gap: var(--s-1); list-style: none; padding: 0; }
.nav a {
  display: block; padding: var(--s-2) var(--s-3); border-radius: var(--r-pill);
  font-weight: 550; font-size: var(--fs-small); color: var(--graphite); text-decoration: none;
  transition: background-color var(--dur-2);
}
.nav a:hover, .nav a.is-active { background: var(--mint); color: var(--pine); }
.header-cta { display: none; }
.menu-toggle {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--graphite); color: var(--cream);
}
.menu-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background-color var(--dur-2); }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur-3) var(--ease-out);
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
@media (min-width: 1040px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--cream); padding: var(--s-6) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-6); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; padding: 0; display: grid; }
.mobile-menu li { border-bottom: 1px solid var(--c-border); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) 0;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 650; letter-spacing: -.02em;
  color: var(--graphite); text-decoration: none;
}
.mobile-menu.is-open li { animation: slide-up var(--dur-3) var(--ease-out) both; }
.mobile-menu.is-open li:nth-child(2) { animation-delay: 40ms; } .mobile-menu.is-open li:nth-child(3) { animation-delay: 80ms; }
.mobile-menu.is-open li:nth-child(4) { animation-delay: 120ms; } .mobile-menu.is-open li:nth-child(5) { animation-delay: 160ms; }
.mobile-menu.is-open li:nth-child(6) { animation-delay: 200ms; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: var(--s-4); }
body.menu-open { overflow: hidden; }
@keyframes slide-up { from { opacity: 0; transform: translateY(14px); } }

.site-footer { background: var(--graphite); color: color-mix(in srgb, var(--cream) 78%, var(--graphite)); padding-top: var(--s-9); font-size: var(--fs-small); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--coral); text-decoration: underline; }
.site-footer .logo { color: var(--cream); }
.site-footer .logo small { color: color-mix(in srgb, var(--cream) 60%, var(--graphite)); }
.site-footer .logo__mark i:first-child { border-color: var(--basil); }
.site-footer .logo__mark b { background: var(--cream); }
.footer-grid { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-title { color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; margin-bottom: var(--s-4); letter-spacing: -.01em; }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.footer-company { display: grid; gap: var(--s-2); font-style: normal; line-height: 1.55; }
.footer-company dt { font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--cream) 55%, var(--graphite)); margin-top: var(--s-2); }
.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--cream) 25%, transparent);
  transition: background-color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.socials a:hover { background: var(--coral); border-color: var(--coral); color: var(--graphite); transform: translateY(-3px); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  padding-block: var(--s-5); display: flex; justify-content: center; text-align: center;
  font-size: var(--fs-caption);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(3.5rem, 15.5vw, 15rem); color: color-mix(in srgb, var(--cream) 8%, var(--graphite));
  white-space: nowrap; overflow: hidden; user-select: none; text-align: center; padding-bottom: var(--s-3);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-5); border-radius: var(--r-pill);
  background: var(--graphite); color: var(--cream); box-shadow: var(--shadow-3);
  transform: translateY(140%); transition: transform var(--dur-3) var(--ease-out);
  font-size: var(--fs-small); font-weight: 600; white-space: nowrap;
}
.sticky-cta.is-visible { transform: none; }
@media (min-width: 1040px) { .sticky-cta { display: none; } }

/* Cookie banner */
.cookie {
  position: fixed; z-index: 250; left: var(--s-3); right: var(--s-3); bottom: var(--s-3);
  max-width: 560px; background: var(--cream); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: var(--s-5); box-shadow: var(--shadow-3); display: grid; gap: var(--s-4);
  animation: slide-up var(--dur-3) var(--ease-out) both;
}
@media (min-width: 700px) { .cookie { left: var(--s-5); bottom: var(--s-5); } }
.cookie h2 { font-size: 1.25rem; }
.cookie p { font-size: var(--fs-small); color: var(--c-text-muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cookie__actions .btn { flex: 1 1 140px; }
.cookie__prefs { display: grid; gap: var(--s-3); padding: var(--s-4); background: var(--c-surface-2); border-radius: var(--r-sm); }

/* 11. SECTIONS ============================================================ */

/* — Hero — */
.hero { padding-block: clamp(var(--s-6), 2rem + 3vw, var(--s-8)) clamp(var(--s-8), 4rem + 3vw, var(--s-9)); position: relative; overflow: hidden; }
.hero::before { /* soft mint lens glow */
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  right: -320px; top: -260px; z-index: -1;
  background: radial-gradient(circle, var(--mint) 0 45%, transparent 70%);
}
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr 1fr; gap: var(--s-8); } }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero h1 { max-width: 13ch; }
.hero h1 .strike { position: relative; white-space: nowrap; color: var(--pine); }
.hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .14em; border-radius: 99px;
  background: var(--coral); transform-origin: left; transform: scaleX(0);
  animation: underline 900ms var(--ease-out) 500ms forwards; z-index: -1;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { margin-top: var(--s-5); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__quick { margin-top: var(--s-6); }
.hero__quick p { font-size: var(--fs-small); font-weight: 600; margin-bottom: var(--s-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill); background: var(--cream); border: 1.5px solid var(--c-border);
  font-weight: 600; font-size: var(--fs-small); color: var(--graphite);
  transition: background-color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.chip .icon { color: var(--pine); }
.chip:hover { background: var(--mint); border-color: var(--basil); transform: translateY(-2px); }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--c-border); }
.trust-row li { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 550; }
.trust-row .icon { color: var(--basil); }

.hero__visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; padding-bottom: var(--s-6); }
.lens-frame { /* the signature: a photo framed as a lens */
  position: relative; aspect-ratio: 5 / 6; border-radius: 46% 46% var(--r-lg) var(--r-lg) / 38% 38% var(--r-lg) var(--r-lg);
  overflow: hidden; background: var(--mint); box-shadow: var(--shadow-3);
  outline: 10px solid var(--cream); outline-offset: -1px;
}
.lens-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.hero__visual:hover .lens-frame img { transform: scale(1.08); }
.lens-mini {
  position: absolute; width: 36%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  left: -6%; bottom: 2%; border: 8px solid var(--cream); box-shadow: var(--shadow-2); background: var(--beige);
  animation: float 7s ease-in-out infinite;
}
.lens-mini img { width: 100%; height: 100%; object-fit: cover; }
.lens-bridge { /* coral bridge linking the two "lenses" */
  position: absolute; left: 24%; bottom: 20%; width: 18%; height: 12px; border-radius: 99px; background: var(--coral);
  transform: rotate(-24deg); box-shadow: 0 0 0 5px var(--cream); z-index: 1;
}
.float-card {
  position: absolute; background: var(--cream); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4);
  box-shadow: var(--shadow-2); display: flex; gap: var(--s-3); align-items: center; font-size: var(--fs-small); line-height: 1.3;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.float-card--test { right: -4%; top: 12%; width: 220px; flex-direction: column; align-items: stretch; animation: float 8s ease-in-out -2s infinite; }
.float-card--test .progress { height: 6px; }
.float-card--test .progress__bar { animation: fill-loop 4.5s var(--ease-out) infinite; }
.float-card--test .progress__bar::after { display: none; }
.float-card--rdv { right: 2%; bottom: 8%; animation: float 9s ease-in-out -4s infinite; }
@keyframes fill-loop { 0% { width: 8%; } 60%, 85% { width: 100%; } 100% { width: 8%; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .float-card--test { right: 0; top: 4%; width: 180px; } .float-card--rdv { display: none; } .lens-mini { left: 0; width: 34%; } .lens-bridge { left: 26%; } }

/* — Eye-chart marquee (signature band) — */
.eyechart { background: var(--graphite); color: var(--cream); overflow: hidden; padding-block: var(--s-5); border-block: 1px solid color-mix(in srgb, var(--cream) 10%, transparent); }
.eyechart__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.eyechart:hover .eyechart__track { animation-play-state: paused; }
.eyechart__group { display: flex; align-items: baseline; gap: var(--s-6); padding-right: var(--s-6); }
.eyechart__item { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.eyechart__item.e1 { font-size: 3.2rem; }
.eyechart__item.e2 { font-size: 2.2rem; filter: blur(.6px); color: var(--mint); }
.eyechart__item.e3 { font-size: 1.5rem; filter: blur(1.4px); }
.eyechart__item.e4 { font-size: 1.1rem; filter: blur(2.2px); color: var(--beige); }
.eyechart__item.is-word { font-size: 1.625rem; font-stretch: 80%; letter-spacing: -.01em; color: var(--coral); }
.eyechart__item.is-word::before { content: "◉ "; font-size: .7em; vertical-align: middle; color: var(--basil); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* — Article / problem (advertorial editorial styling) — */
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; font-size: var(--fs-small); color: var(--c-text-muted); margin-top: var(--s-4); }
.article-meta span { display: inline-flex; align-items: center; gap: var(--s-2); }
.problem__grid { display: grid; gap: var(--s-7); }
@media (min-width: 980px) { .problem__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); align-items: start; } }
.prose > * + * { margin-top: var(--s-4); }
.prose p { font-size: 1.125rem; line-height: 1.7; }
.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 700; font-size: 4.6em; line-height: .82;
  margin: .06em .1em 0 0; color: var(--pine);
}
.signs { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 640px) { .signs { grid-template-columns: 1fr 1fr; } }
.sign {
  display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4); border-radius: var(--r-sm);
  background: var(--c-surface-2); transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-out);
}
.sign:hover { background: var(--mint); transform: translateX(4px); }
.sign .icon-tile { width: 44px; height: 44px; border-radius: 14px; background: var(--cream); }
.sign .icon-tile .icon { width: 22px; height: 22px; }
.sign h3, .sign h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.sign p { font-size: var(--fs-small); color: var(--c-text-muted); margin-top: 2px; }
.callout {
  margin-top: var(--s-6); padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6); border-left: 5px solid var(--coral);
  background: var(--c-accent-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
}

/* Animated "before / after" photo loop (GIF-like, built from real photos) */
.blur-loop { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-2); background: var(--mint); }
.blur-loop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blur-loop .is-blurred { filter: blur(9px) saturate(.85); transform: scale(1.06); animation: sharpen 6s var(--ease-out) infinite; }
.blur-loop__lens { /* the lens that "reveals" the sharp image */
  position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; top: 18%; left: 50%;
  border: 6px solid var(--graphite); box-shadow: 0 0 0 6px color-mix(in srgb, var(--cream) 70%, transparent), var(--shadow-3);
  overflow: hidden; animation: lens-move 6s var(--ease-out) infinite; background-size: cover;
}
.blur-loop__tag {
  position: absolute; left: var(--s-4); bottom: var(--s-4); z-index: 2;
  background: var(--graphite); color: var(--cream); padding: 6px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.blur-loop__tag::before { content: "●"; color: var(--coral); margin-right: 6px; animation: blink 1.2s steps(2) infinite; }
@keyframes sharpen { 0%, 20% { filter: blur(9px) saturate(.85); } 45%, 80% { filter: blur(0) saturate(1); } 100% { filter: blur(9px) saturate(.85); } }
@keyframes lens-move { 0% { transform: translate(-50%, 0) scale(1); opacity: 1; } 35% { transform: translate(-20%, 55%) scale(1.05); opacity: 1; } 45%, 80% { transform: translate(-50%, 30%) scale(2.6); opacity: 0; } 100% { transform: translate(-50%, 0) scale(1); opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
.photo-stack { position: relative; display: grid; gap: var(--s-4); }
.photo-stack__note { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; background: var(--cream); border-radius: var(--r-md); padding: var(--s-3); border: 1px solid var(--c-border); }
.photo-stack__note img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.photo-stack__note p { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 980px) { .problem__aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* — Solution — */
.solution__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .solution__grid { grid-template-columns: 1fr 1.05fr; gap: var(--s-8); } }
.duo { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-4); align-items: end; }
.duo img { width: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.duo img:first-child { aspect-ratio: 3 / 4; }
.duo img:last-child { aspect-ratio: 4 / 5; margin-bottom: var(--s-8); border-radius: 50% 50% var(--r-lg) var(--r-lg); }
.duo__badge {
  position: absolute; left: 50%; top: 8%; transform: translateX(-50%) rotate(-6deg);
  width: 118px; height: 118px; border-radius: 50%; background: var(--coral); color: var(--graphite);
  display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: .9375rem; line-height: 1.1; box-shadow: 0 0 0 6px var(--mint), var(--shadow-2);
  animation: spin-slow 16s linear infinite;
}
.duo__badge b { font-size: 1.75rem; display: block; letter-spacing: -.03em; }
@keyframes spin-slow { 50% { transform: translateX(-50%) rotate(6deg); } }
.pillars { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { display: flex; gap: var(--s-4); padding: var(--s-5); background: var(--cream); border-radius: var(--r-md); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.pillar:hover .icon-tile { transform: rotate(-8deg) scale(1.06); background: var(--coral); color: var(--graphite); }
.pillar h3 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.pillar p { font-size: var(--fs-small); color: var(--c-text-muted); margin-top: var(--s-1); }

/* — Steps / timeline — */
.timeline { display: grid; gap: var(--s-5); counter-reset: step; position: relative; }
@media (min-width: 720px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
  .timeline::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--basil) 0 8px, transparent 8px 16px);
    transform-origin: left; transform: scaleX(var(--line, 0)); transition: transform 1.6s var(--ease-out);
  }
  .timeline.is-in::before { --line: 1; }
}
.step { position: relative; display: flex; flex-direction: column; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--cream); border: 2px solid var(--basil); color: var(--pine);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  transition: background-color var(--dur-3), color var(--dur-3), transform var(--dur-3) var(--ease-spring);
}
.step:hover .step__num { background: var(--pine); color: var(--cream); transform: scale(1.08); }
.step__card { margin-top: var(--s-4); background: var(--cream); border-radius: var(--r-md); overflow: hidden; flex: 1; display: flex; flex-direction: column; border: 1px solid var(--c-border); transition: box-shadow var(--dur-3), transform var(--dur-3) var(--ease-out); }
.step:hover .step__card { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.step:hover .step__media img { transform: scale(1.06); }
.step__media .badge { position: absolute; left: var(--s-3); top: var(--s-3); }
.step__body { padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.step__body h3 { font-size: 1.25rem; display: flex; gap: var(--s-2); align-items: center; }
.step__body h3 .icon { color: var(--basil); }
.step__body p { font-size: var(--fs-small); color: var(--c-text-muted); }

/* — Benefits bento — */
.bento { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento__photo--tall { grid-row: span 2; }
  .bento__wide { grid-column: span 2; }
}
.benefit {
  position: relative; overflow: hidden; background: var(--cream); border-radius: var(--r-md); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3); border: 1px solid var(--c-border);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), background-color var(--dur-3);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.benefit:hover .icon-tile { transform: rotate(-10deg) scale(1.08); }
.benefit h3 { font-size: 1.1875rem; font-family: var(--font-display); font-weight: 650; margin-top: auto; }
.benefit p { font-size: var(--fs-small); color: var(--c-text-muted); }
.benefit--pine { background: var(--pine); border-color: var(--pine); }
.benefit--pine h3 { color: var(--cream); }
.benefit--pine p { color: color-mix(in srgb, var(--cream) 78%, var(--pine)); }
.benefit--coral { background: var(--coral); border-color: var(--coral); }
.benefit--coral p { color: var(--graphite); }
.benefit--coral .icon-tile { background: var(--cream); }
.bento__photo { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 280px; background: var(--beige); }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bento__photo:hover img { transform: scale(1.05); }
.bento__photo figcaption {
  position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3);
  background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(8px);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); font-size: var(--fs-small); font-weight: 600; line-height: 1.35;
}

/* — Models — */
.models { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model {
  background: var(--cream); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--c-border); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), opacity var(--dur-3);
}
.model:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.model.is-hidden { display: none; }
.model.is-entering { animation: pop-in var(--dur-3) var(--ease-out) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.model__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); cursor: zoom-in; }
.model__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.model__media .badge { position: absolute; left: var(--s-3); top: var(--s-3); z-index: 2; }
.magnifier { /* lens-shaped magnifier following the pointer */
  position: absolute; width: 150px; height: 150px; border-radius: 50%; pointer-events: none; z-index: 3;
  border: 5px solid var(--graphite); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cream) 80%, transparent), var(--shadow-3);
  background-repeat: no-repeat; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.model__media.is-zooming .magnifier { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .magnifier { display: none; } }
.model__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.model__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.model__name { font-size: 1.5rem; }
.model__price { font-size: var(--fs-small); color: var(--c-text-muted); white-space: nowrap; }
.model__price b { font-family: var(--font-display); font-size: 1.375rem; color: var(--graphite); letter-spacing: -.02em; }
.model__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.model__desc { font-size: var(--fs-small); color: var(--c-text-muted); }
.model__body .btn { margin-top: auto; }
.model--cta { background: var(--pine); border-color: var(--pine); color: var(--cream); justify-content: center; padding: var(--s-6); gap: var(--s-4); }
.model--cta h3 { color: var(--cream); font-size: var(--fs-h3); }
.model--cta p { color: color-mix(in srgb, var(--cream) 80%, var(--pine)); }
.model--cta:hover { box-shadow: var(--shadow-3); }
.fineprint { margin-top: var(--s-5); font-size: var(--fs-caption); color: var(--c-text-muted); text-align: center; max-width: none; }

/* — Testimonials slider — */
.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: var(--s-2) var(--gutter) var(--s-5); margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-3); }
.slider__dots { display: flex; gap: 6px; }
.slider__dots button { width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--c-border-strong); transition: width var(--dur-3) var(--ease-out), background-color var(--dur-2); }
.slider__dots button[aria-current="true"] { width: 32px; background: var(--pine); }
.slider__arrows { display: flex; gap: var(--s-2); }
.review {
  scroll-snap-align: start; background: var(--cream); border-radius: var(--r-md); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4); border: 1px solid var(--c-border);
}
.review__stars { display: flex; gap: 2px; color: var(--coral); }
.review__stars .icon { fill: currentColor; width: 18px; height: 18px; stroke-width: 1.2; }
.review blockquote { font-size: 1.0625rem; line-height: 1.6; flex: 1; }
.review blockquote p::before { content: "« "; color: var(--basil); font-weight: 700; }
.review blockquote p::after { content: " »"; color: var(--basil); font-weight: 700; }
.review figcaption { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px dashed var(--c-border); }
.review__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--mint); }
.review__name { font-weight: 700; line-height: 1.3; }
.review__meta { font-size: var(--fs-caption); color: var(--c-text-muted); }
.review .badge { align-self: flex-start; }
.disclosure-note { display: inline-flex; gap: var(--s-2); align-items: center; font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: var(--s-3); }

/* — Quiz section — */
.quiz-section { background: var(--mint); position: relative; overflow: hidden; }
.quiz-section::after { /* oversized lens outlines as decoration */
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 28px solid color-mix(in srgb, var(--basil) 16%, transparent);
  right: -200px; bottom: -220px; pointer-events: none;
}
.quiz-layout { display: grid; gap: var(--s-6); align-items: start; position: relative; z-index: 1; }
@media (min-width: 1040px) { .quiz-layout { grid-template-columns: .8fr 1.2fr; gap: var(--s-8); } }
.quiz-aside h2 { margin-top: var(--s-3); }
.quiz-aside .lead { margin-top: var(--s-4); }
.quiz-aside__photo { margin-top: var(--s-6); position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; display: none; }
.quiz-aside__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1040px) { .quiz-aside { position: sticky; top: calc(var(--header-h) + 24px); } .quiz-aside__photo { display: block; } }
.reassure { display: grid; gap: var(--s-3); margin-top: var(--s-5); list-style: none; padding: 0; }
.reassure li { display: flex; gap: var(--s-3); align-items: center; font-weight: 550; font-size: var(--fs-small); }
.reassure .icon { color: var(--pine); width: 22px; height: 22px; }

.quiz {
  background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  padding: clamp(var(--s-5), 3vw + .5rem, var(--s-7)); position: relative; min-height: 560px;
  display: flex; flex-direction: column;
}
.quiz__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.quiz__head-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font-size: var(--fs-small); }
.quiz__count { font-weight: 700; color: var(--pine); font-variant-numeric: tabular-nums; }
.quiz__back { display: inline-flex; align-items: center; gap: var(--s-1); font-weight: 600; color: var(--graphite); padding: 6px 10px 6px 4px; border-radius: var(--r-pill); transition: background-color var(--dur-2); }
.quiz__back:hover { background: var(--mint); }
.quiz__back[hidden] { display: inline-flex !important; visibility: hidden; }
.quiz__stage { position: relative; flex: 1; }
.quiz-step { animation: step-in var(--dur-3) var(--ease-out) both; }
.quiz-step.is-back { animation-name: step-in-back; }
.quiz-step.is-leaving { animation: step-out var(--dur-2) ease-in both; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-28px); } }
@keyframes step-out { to { opacity: 0; transform: translateX(-20px); } }
.quiz-step:focus { outline: none; }
.quiz-step__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.15; letter-spacing: -.02em; }
.quiz-step__hint { margin-top: var(--s-2); color: var(--c-text-muted); font-size: var(--fs-small); }
.options { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 560px) { .options--2 { grid-template-columns: 1fr 1fr; } }
.option {
  position: relative; display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 64px;
  padding: var(--s-3) var(--s-4); text-align: left; background: var(--cream);
  border: 2px solid var(--c-border); border-radius: var(--r-sm); font-weight: 600; font-size: 1rem; line-height: 1.3;
  transition: border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.option:hover { border-color: var(--basil); background: color-mix(in srgb, var(--mint) 55%, var(--cream)); transform: translateY(-2px); }
.option:active { transform: scale(.98); }
.option__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--pine); flex: none; transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-3) var(--ease-spring); }
.option__icon .icon { width: 22px; height: 22px; }
.option__text small { display: block; font-weight: 400; font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: 2px; }
.option__check {
  margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--c-border-strong); flex: none;
  display: grid; place-items: center; transition: background-color var(--dur-2), border-color var(--dur-2);
}
.option__check::after { content: ""; width: 11px; height: 6px; border: solid var(--cream); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform var(--dur-3) var(--ease-spring); }
.option[aria-checked="true"] { border-color: var(--pine); background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--basil) 20%, transparent); }
.option[aria-checked="true"] .option__icon { background: var(--pine); color: var(--cream); transform: rotate(-8deg) scale(1.05); }
.option[aria-checked="true"] .option__check { background: var(--pine); border-color: var(--pine); }
.option[aria-checked="true"] .option__check::after { transform: rotate(-45deg) scale(1); }
.option.is-picked { animation: pick var(--dur-3) var(--ease-spring); }
@keyframes pick { 40% { transform: scale(1.03); } }
.option__key { font-size: 11px; font-weight: 700; color: var(--c-text-muted); border: 1px solid var(--c-border); border-radius: 5px; padding: 1px 6px; display: none; }
@media (hover: hover) and (min-width: 900px) { .option__key { display: inline-block; } }
.quiz__foot { display: flex; justify-content: flex-end; margin-top: var(--s-6); }

.quiz-welcome { display: grid; gap: var(--s-5); }
.quiz-welcome__visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.quiz-welcome__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--mint); }
.quiz-welcome__visual img:nth-child(2) { transform: translateY(-10px); border-color: var(--c-accent-soft); }
.quiz-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.quiz-summary { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

.quiz-thanks { text-align: center; display: grid; gap: var(--s-4); justify-items: center; }
.quiz-thanks__check {
  width: 88px; height: 88px; border-radius: 50%; background: var(--pine); color: var(--cream); display: grid; place-items: center;
  animation: pop var(--dur-4) var(--ease-spring) both; box-shadow: 0 0 0 10px var(--mint);
}
.quiz-thanks__check .icon { width: 42px; height: 42px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 700ms var(--ease-out) 300ms forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.reco { width: 100%; text-align: left; display: grid; grid-template-columns: 110px 1fr; gap: var(--s-4); align-items: center; background: var(--c-surface-2); border-radius: var(--r-md); padding: var(--s-3); }
.reco img { width: 110px; height: 110px; border-radius: var(--r-sm); object-fit: cover; }
.next-steps { width: 100%; text-align: left; display: grid; gap: var(--s-3); list-style: none; padding: 0; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-3); align-items: start; font-size: var(--fs-small); counter-increment: ns; }
.next-steps li::before { content: counter(ns); width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--pine); font-weight: 700; display: grid; place-items: center; }
.resources { width: 100%; display: grid; gap: var(--s-2); text-align: left; }
@media (min-width: 560px) { .resources { grid-template-columns: 1fr 1fr; } }
.resource { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); border: 1.5px solid var(--c-border); color: var(--graphite); text-decoration: none; font-weight: 600; font-size: var(--fs-small); transition: border-color var(--dur-2), background-color var(--dur-2); }
.resource:hover { border-color: var(--basil); background: var(--mint); color: var(--graphite); }
.resource .icon { color: var(--pine); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.confetti i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 3px; animation: confetti 1.8s var(--ease-out) forwards; }
@keyframes confetti { to { transform: translateY(620px) rotate(540deg); opacity: 0; } }

/* — Contact — */
.contact__grid { display: grid; gap: var(--s-6); }
@media (min-width: 980px) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: start; } }
.advisor { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-4); align-items: center; margin-top: var(--s-5); }
.advisor img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 4px solid var(--mint); }
.contact-list { display: grid; gap: var(--s-3); list-style: none; padding: 0; margin-top: var(--s-6); }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); background: var(--cream); border-radius: var(--r-sm); border: 1px solid var(--c-border); color: var(--graphite); text-decoration: none; transition: border-color var(--dur-2), transform var(--dur-3) var(--ease-out); }
.contact-list a:hover { border-color: var(--basil); transform: translateX(4px); color: var(--graphite); }
.contact-list small { display: block; color: var(--c-text-muted); font-size: var(--fs-caption); }
.contact-list strong { font-weight: 650; }
.form-card { background: var(--cream); border-radius: var(--r-lg); padding: clamp(var(--s-5), 3vw, var(--s-7)); box-shadow: var(--shadow-2); border: 1px solid var(--c-border); }
.form-card h3 { margin-bottom: var(--s-2); }
.form-card > p { color: var(--c-text-muted); margin-bottom: var(--s-5); font-size: var(--fs-small); }
.form-card .check { margin-top: var(--s-5); }
.form-card .btn { margin-top: var(--s-5); }

/* — FAQ — */
.faq__grid { display: grid; gap: var(--s-6); }
@media (min-width: 980px) { .faq__grid { grid-template-columns: .75fr 1.25fr; gap: var(--s-8); align-items: start; } .faq__intro { position: sticky; top: calc(var(--header-h) + 24px); } }

/* — Network / partners — */
.network { position: relative; overflow: hidden; background: var(--graphite); color: var(--cream); border-radius: var(--r-lg); }
.network__bg { position: absolute; inset: 0; }
.network__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.network__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--graphite) 30%, color-mix(in srgb, var(--graphite) 50%, transparent)); }
.network__inner { position: relative; padding: clamp(var(--s-6), 5vw, var(--s-9)) clamp(var(--s-5), 5vw, var(--s-8)); display: grid; gap: var(--s-6); }
@media (min-width: 980px) { .network__inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.network h2 { color: var(--cream); }
.network p { color: color-mix(in srgb, var(--cream) 82%, var(--graphite)); }
.cities { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; }
.city {
  display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill);
  border: 1.5px solid color-mix(in srgb, var(--cream) 30%, transparent); font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.city::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 25%, transparent); animation: ping 2.4s ease-out infinite; }
.city:nth-child(2n)::before { animation-delay: .6s; background: var(--basil); box-shadow: 0 0 0 4px color-mix(in srgb, var(--basil) 25%, transparent); }
.city:hover { background: var(--cream); color: var(--graphite); border-color: var(--cream); transform: translateY(-2px); }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } }
.commitments { display: grid; gap: var(--s-3); margin-top: var(--s-5); list-style: none; padding: 0; }
.commitments li { display: flex; gap: var(--s-3); align-items: center; font-size: var(--fs-small); }
.commitments .icon { color: var(--coral); }

/* — Final CTA — */
.final-cta { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--coral); display: grid; }
@media (min-width: 900px) { .final-cta { grid-template-columns: 1.2fr .8fr; } }
.final-cta__body { padding: clamp(var(--s-6), 5vw, var(--s-9)); position: relative; z-index: 1; }
.final-cta__body .lead { color: var(--graphite); margin-top: var(--s-4); }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.final-cta__media { position: relative; min-height: 320px; }
.final-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .final-cta__media img { border-radius: 50% 0 0 50% / 60% 0 0 60%; } }
.final-cta::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 24px solid color-mix(in srgb, var(--cream) 22%, transparent); left: -140px; bottom: -200px; }


/* Contact modal */
.modal--contact { width: min(94vw, 600px); }
.modal--contact .modal__inner { grid-template-columns: 1fr; }
.modal--contact .modal__body { gap: var(--s-3); padding-top: clamp(var(--s-6), 5vw, var(--s-7)); }
.modal--contact form { margin-top: var(--s-3); }
.modal--contact .check { margin-top: var(--s-4); }
.modal--contact .btn--block { margin-top: var(--s-5); }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-2); margin-top: var(--s-2); }
.contact-alt a { color: var(--c-text-muted); }
button.link-arrow { padding: 0; font-size: inherit; }

/* 13. LEGAL PAGES ========================================================= */
.legal-hero { background: var(--mint); padding-block: var(--s-7) var(--s-8); }
.legal-hero h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); margin-top: var(--s-4); }
.legal-hero p { margin-top: var(--s-4); color: var(--c-text-muted); }
.legal-layout > * { min-width: 0; }
.legal-layout { display: grid; gap: var(--s-6); padding-block: var(--s-8); }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px 1fr; gap: var(--s-8); } }
.toc { font-size: var(--fs-small); }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.toc h2 { font-family: var(--font-body); font-size: var(--fs-h6); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-3); }
.toc ol { padding-left: 1.2em; display: grid; gap: var(--s-2); }
.toc a { color: var(--c-text-muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--pine); text-decoration: underline; }
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-top: var(--s-8); padding-top: var(--s-2); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.25rem; margin-top: var(--s-6); }
.legal p, .legal li { line-height: 1.7; }
.legal p { margin-top: var(--s-4); max-width: none; }
.legal ul, .legal ol { margin-top: var(--s-3); padding-left: 1.3em; display: grid; gap: var(--s-2); }
.table-wrap { overflow-x: auto; margin-top: var(--s-5); border-radius: var(--r-sm); border: 1px solid var(--c-border); max-width: 100%; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.legal th, .legal td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--c-border); vertical-align: top; min-width: 140px; }
.legal th { background: var(--mint); font-weight: 700; }
.legal-box { margin-top: var(--s-5); padding: var(--s-5); background: var(--c-surface-2); border-radius: var(--r-md); }
.legal-box dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: var(--s-2) var(--s-4); }
.legal-box dt { color: var(--c-text-muted); font-size: var(--fs-small); }
.legal-box dd { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal-box dl { grid-template-columns: 1fr; gap: 2px; } .legal-box dd { margin-bottom: var(--s-3); } }
.legal .todo { background: var(--c-warning-bg); border: 1px dashed var(--c-warning); padding: 2px 8px; border-radius: 6px; font-weight: 600; }

/* 14. MOTION & REVEAL ===================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-28px); }
.reveal--scale { transform: scale(.94); }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .blur-loop .is-blurred { filter: none; }
  .blur-loop__lens { display: none; }
  .eyechart__track { animation: none; }
}

/* 15. PRINT =============================================================== */
@media print {
  .site-header, .topbar, .sticky-cta, .cookie, .toast-region, .mobile-menu, .toc, .site-footer .socials { display: none !important; }
  body { background: #fff; }
  .legal-layout { display: block; }
}

/* =========================================================================
   16. ARTICLE LAYOUT (v2 — editorial advertorial)
   ========================================================================= */
.container--article { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.container--quiz { width: min(100% - 2 * var(--gutter), 680px); margin-inline: auto; }
.site-header--article { height: auto; }
.site-header--article .container { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.site-header--article .btn { margin-left: auto; }
.site-header--article .btn { display: none; }
@media (min-width: 720px) { .site-header--article .btn { display: inline-flex; } }
.site-header--center .container { justify-content: center; }

.notice {
  display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); max-width: none;
  background: var(--mint); border-left: 5px solid var(--basil); font-size: 1.0625rem; line-height: 1.5;
}
.notice .icon { color: var(--pine); width: 26px; height: 26px; margin-top: 1px; }
.notice a { font-weight: 600; }

.article__head { padding-top: clamp(var(--s-6), 4vw, var(--s-7)); }
.kicker { color: var(--pine); font-weight: 600; font-size: var(--fs-small); letter-spacing: .02em; }
.article__title { margin-top: var(--s-3); font-size: clamp(2rem, 1.35rem + 3vw, 3.4rem); line-height: 1.06; max-width: 20ch; }
.byline { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); padding-block: var(--s-4); border-block: 1px solid var(--c-border); font-size: var(--fs-small); line-height: 1.4; }
.byline p { max-width: none; }
.byline span:not(.byline__avatar):not(.logo__mark) { color: var(--c-text-muted); }
.byline__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; flex: none; }
.byline__avatar .logo__mark i { width: 14px; height: 14px; border-width: 2.5px; }
.article__hero { margin-top: var(--s-5); border-radius: var(--r-md); overflow: hidden; background: var(--mint); aspect-ratio: 5 / 3; box-shadow: var(--shadow-2); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

.article__body { padding-bottom: var(--s-8); }
.article__body > p { font-size: 1.125rem; line-height: 1.75; margin-top: var(--s-4); max-width: none; }
.article__body > p.lead-in { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.3125rem); line-height: 1.65; margin-top: var(--s-6); font-weight: 500; }
.article__body > h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); margin-top: var(--s-8); line-height: 1.12; }
.article__body > h2 + p { margin-top: var(--s-4); }

.media { margin-top: var(--s-6); }
.media figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--c-text-muted); text-align: center; }
.blur-loop--wide { aspect-ratio: 30 / 19; border-radius: var(--r-md); }
.blur-loop--wide .blur-loop__lens { width: 30%; top: 14%; }

/* "Cinemagraph" — a real photo in slow motion with a sweeping lens highlight (GIF-like) */
.cine { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 30 / 19; background: var(--mint); box-shadow: var(--shadow-2); }
.cine img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; transform-origin: 60% 45%; }
.cine--alt img { transform-origin: 35% 40%; animation-duration: 16s; }
.cine__lens {
  position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; top: 20%; left: -40%;
  border: 5px solid var(--cream); box-shadow: 0 0 0 5px color-mix(in srgb, var(--graphite) 55%, transparent), inset 0 0 40px color-mix(in srgb, var(--cream) 35%, transparent);
  backdrop-filter: saturate(1.35) contrast(1.08) brightness(1.06); -webkit-backdrop-filter: saturate(1.35) contrast(1.08) brightness(1.06);
  animation: lens-sweep 7s var(--ease-out) infinite;
}
.cine--alt .cine__lens { animation-delay: -3s; top: 30%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, 1%); } }
@keyframes lens-sweep { 0% { left: -40%; } 45%, 55% { left: 40%; } 100% { left: 110%; } }

.pullquote { margin: var(--s-6) 0 0; padding: var(--s-5) var(--s-6); border-radius: var(--r-md); background: var(--c-surface-2); border-left: 5px solid var(--basil); }
.pullquote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; max-width: none; }
.pullquote footer { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--c-text-muted); }
.pullquote--coral { background: var(--c-accent-soft); border-left-color: var(--coral); }

.checklist { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.checklist__item { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-border); }
.checklist__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--basil); color: var(--cream); display: grid; place-items: center; margin-top: 2px; }
.checklist__icon .icon { width: 18px; height: 18px; stroke-width: 3; }
.checklist h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
.checklist p { color: var(--c-text-muted); margin-top: 2px; font-size: 1rem; }

.howto { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; gap: var(--s-4); }
.howto li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: start; padding: var(--s-5); background: var(--cream); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.howto__n { width: 56px; height: 56px; border-radius: 50%; background: var(--pine); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.howto h3 { font-size: 1.25rem; }
.howto p { color: var(--c-text-muted); margin-top: var(--s-1); }

/* Province picker */
.province-box {
  margin-top: var(--s-8); padding: clamp(var(--s-5), 4vw, var(--s-7)); border-radius: var(--r-lg);
  background: var(--mint); border: 2px solid var(--basil); scroll-margin-top: calc(var(--header-h) + 16px);
}
.province-box__title { text-align: center; font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
.province-box__sub { text-align: center; margin: var(--s-2) auto 0; color: var(--c-text-muted); }
.regions { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.region {
  width: 100%; display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-5) var(--s-3) var(--s-3);
  background: var(--cream); border: 2px solid transparent; border-radius: var(--r-sm); box-shadow: var(--shadow-1);
  color: var(--graphite); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; text-align: left;
  transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), background-color var(--dur-2);
}
.region:hover, .region.is-active { border-color: var(--basil); transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--graphite); }
.region.is-active { background: color-mix(in srgb, var(--mint) 55%, var(--cream)); }
.region__img { width: 56px; height: 64px; object-fit: contain; flex: none; }
.region__name { flex: 1; }
.region__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: var(--graphite); flex: none; transition: transform var(--dur-2) var(--ease-out); }
.region:hover .region__go { transform: translateX(4px); }

.network-box { margin-top: var(--s-6); padding: clamp(var(--s-5), 4vw, var(--s-7)); border-radius: var(--r-lg); background: var(--pine); color: var(--cream); text-align: center; }
.network-box__title { color: var(--cream); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.network-box .cities { justify-content: center; margin-top: var(--s-5); }
.network-box__more { margin: var(--s-4) auto 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--mint); }
.city--light:hover { background: var(--cream); color: var(--graphite); }
.article__contact { text-align: center; margin-top: var(--s-7) !important; font-size: 1rem !important; color: var(--c-text-muted); }
.footer-grid--simple { grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid--simple { grid-template-columns: 1.3fr 1fr 1fr; } }

/* =========================================================================
   17. QUESTIONNAIRE PAGE
   ========================================================================= */
.page-quiz { background: var(--cream); }
.qpage { padding-block: var(--s-5) var(--s-8); min-height: 70vh; }
.qbanner {
  display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-5) var(--s-3) var(--s-3);
  background: var(--mint); border-radius: var(--r-pill); font-size: 1rem; line-height: 1.45;
}
.qbanner p { max-width: none; }
.qbanner__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 4px solid var(--cream); flex: none; box-shadow: var(--shadow-1); }
@media (max-width: 520px) { .qbanner { border-radius: var(--r-md); font-size: var(--fs-small); } .qbanner__avatar { width: 58px; height: 58px; } }
.qcard { margin-top: var(--s-5); background: var(--cream); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(var(--s-5), 4vw, var(--s-7)); box-shadow: var(--shadow-2); min-height: 420px; position: relative; }
.qhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); font-size: var(--fs-small); }
.qstage { margin-top: var(--s-6); }
.qstep { animation: step-in var(--dur-3) var(--ease-out) both; }
.qstep.is-back { animation-name: step-in-back; }
.qtitle { text-align: center; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); line-height: 1.2; letter-spacing: -.02em; margin-inline: auto; max-width: 26ch; }
.qtitle:focus { outline: none; }
.qtitle--sm { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); max-width: 34ch; }
.qsub { text-align: center; margin: var(--s-3) auto 0; color: var(--c-text-muted); }
.answers { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.answer {
  width: 100%; min-height: 64px; padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  border: 2px solid var(--c-border); background: var(--cream); color: var(--graphite);
  font-weight: 600; font-size: 1.0625rem; line-height: 1.3; text-align: center;
  transition: border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2), color var(--dur-2);
}
.answer:hover { border-color: var(--basil); background: color-mix(in srgb, var(--mint) 55%, var(--cream)); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.answer.is-active { border-color: var(--pine); background: var(--pine); color: var(--cream); animation: pick var(--dur-3) var(--ease-spring); }
.regions--quiz { margin-top: var(--s-6); }
.qform { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.qinput { text-align: center; font-size: 1.125rem; min-height: 60px; }
.qinput.is-bad { border-color: var(--c-error); background: var(--c-error-bg); animation: shake var(--dur-3) var(--ease-out); }
.qerr { display: none; justify-content: center; }
.qnext { margin-top: var(--s-2); }
.qsmall { font-size: var(--fs-caption); color: var(--c-text-muted); line-height: 1.5; text-align: center; max-width: none; }
.qconsent { margin-top: var(--s-2); font-size: var(--fs-caption); line-height: 1.5; text-align: left; }
.gender { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.gender__btn {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r-sm);
  border: 2px solid var(--c-border); background: var(--cream); font-weight: 600; transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2);
}
.gender__btn .icon { width: 30px; height: 30px; color: var(--pine); }
.gender__btn:hover { border-color: var(--basil); }
.gender__btn.is-active { border-color: var(--pine); background: var(--pine); color: var(--cream); }
.gender__btn.is-active .icon { color: var(--cream); }
.gender__btn.is-bad { border-color: var(--c-error); }
.qloading { display: grid; justify-items: center; gap: var(--s-4); padding-block: var(--s-8); text-align: center; }
.qloading__lens { display: flex; align-items: center; animation: lens-bob 1s ease-in-out infinite; }
.qloading__lens i { width: 44px; height: 44px; border-radius: 50%; border: 6px solid var(--pine); display: block; }
.qloading__lens i:last-child { border-color: var(--coral); }
.qloading__lens b { width: 12px; height: 6px; background: var(--graphite); border-radius: 3px; display: block; }
.qloading__text { font-family: var(--font-display); font-size: 1.375rem; font-weight: 650; }
.qloading__bar { width: min(280px, 80%); height: 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--beige) 60%, var(--cream)); overflow: hidden; }
.qloading__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--basil), var(--pine)); border-radius: inherit; }
.qloading.is-run .qloading__bar span { animation: loadfill 1s linear forwards; }
@keyframes loadfill { to { width: 100%; } }
@keyframes lens-bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.qtrust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); font-size: var(--fs-small); font-weight: 550; }
.qtrust li { display: flex; align-items: center; gap: var(--s-2); }
.qtrust .icon { color: var(--basil); }

/* =========================================================================
   18. MERCI PAGE
   ========================================================================= */
.merci-hero { background: var(--mint); padding-block: var(--s-8) var(--s-7); text-align: center; position: relative; }
.merci-hero::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 28px; height: 28px; background: var(--mint); transform: translateX(-50%) rotate(45deg); }
.merci-title { display: inline-flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; justify-content: center; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); color: var(--pine); text-transform: uppercase; letter-spacing: -.01em; }
.merci-check { width: 72px; height: 72px; border-radius: 50%; border: 4px solid var(--pine); display: grid; place-items: center; animation: pop var(--dur-4) var(--ease-spring) both; }
.merci-check .icon { width: 38px; height: 38px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 700ms var(--ease-out) 300ms forwards; }
.merci-lead { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); font-weight: 600; line-height: 1.35; margin: var(--s-5) auto 0; max-width: 34ch; }
.merci-text { margin: var(--s-4) auto 0; color: var(--c-text-muted); font-size: 1.125rem; max-width: 52ch; }
.merci-photo { margin-top: var(--s-7); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 15 / 8; background: var(--mint); box-shadow: var(--shadow-2); }
.merci-photo img { width: 100%; height: 100%; object-fit: cover; }
.merci-h2 { text-align: center; margin-top: var(--s-8); font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
.merci-sub { text-align: center; margin: var(--s-3) auto 0; color: var(--c-text-muted); }
.howto--merci { margin-top: var(--s-6); }
.merci-box { margin-top: var(--s-8); padding: clamp(var(--s-5), 4vw, var(--s-7)); background: var(--pine); color: var(--cream); border-radius: var(--r-lg); }
.merci-box__title { color: var(--cream); text-align: center; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); }
.merci-icons { list-style: none; padding: 0; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 700px) { .merci-icons { grid-template-columns: repeat(3, 1fr); } }
.merci-icons li { display: grid; justify-items: center; gap: var(--s-3); text-align: center; font-weight: 550; }
.merci-icons .icon-tile { background: var(--coral); color: var(--graphite); }
.merci-adv { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 760px) { .merci-adv { grid-template-columns: repeat(3, 1fr); } }
.merci-adv > div { background: var(--cream); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--s-5); border-top: 5px solid var(--basil); }
.merci-adv h3 { font-size: 1.0625rem; letter-spacing: .04em; color: var(--pine); }
.merci-adv p { margin-top: var(--s-3); color: var(--c-text-muted); font-size: var(--fs-small); }
.mb-merci { margin-bottom: var(--s-8); }
