/* ============================================================
   wrplus.health — V1 stylesheet
   Brand: editorial + warm + trustworthy. Stripe meets magazine.
   Palette & type per Kabalbox/03_brand_logo.md
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #0B2545;
  --offwhite: #FAFAF7;
  --mint: #13C296;
  --sand: #F4A261;
  --red: #E63946;
  --forest: #264653;
  --border: #E9ECEF;

  /* Derived tones */
  --surface: #FFFFFF;
  --navy-deep: #081B33;
  --mint-dark: #0FA67E;
  --sand-dark: #E08A3C;
  --mint-tint: #E3F7F1;
  --sand-tint: #FBF1E5;
  --red-tint: #FBE6E8;
  --ink: #1F2D3D;
  --muted: #5C6B7A;
  --muted-on-navy: #9FB3C8;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(11, 37, 69, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 37, 69, 0.32);

  color-scheme: light;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

input, textarea, select, button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ------------------------------------------------------------ Helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.visually-hidden {
  position: absolute !important;
  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;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--navy);
  color: var(--offwhite);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--sand { background: var(--sand-tint); }
.section--navy { background: var(--navy); }

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.section__head { max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.section__head--navy h2 { color: var(--offwhite); }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }
.section__head--navy p { color: var(--muted-on-navy); }

.section-illu {
  display: block;
  width: clamp(240px, 34vw, 360px);
  height: auto;
  margin: 0 auto clamp(16px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--mint);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--on-navy { color: var(--mint); }

h2 { font-size: clamp(1.85rem, 1.1rem + 2.6vw, 2.7rem); }
h3 { font-size: 1.22rem; }

.hl {
  background-image: linear-gradient(transparent 62%, rgba(244, 162, 97, 0.5) 62%);
  background-repeat: no-repeat;
  padding-inline: 1px;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--sand);
  --btn-fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--sand); --btn-fg: var(--navy); }
.btn--primary:hover { background: var(--sand-dark); }

.btn--dark { --btn-bg: var(--navy); --btn-fg: var(--offwhite); }
.btn--dark:hover { background: var(--navy-deep); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--ghost-light { --btn-fg: var(--offwhite); border-color: rgba(255,255,255,0.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); border-color: var(--offwhite); }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: 0.92rem; border-radius: 9px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header--simple .nav { justify-content: space-between; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand svg { width: 34px; height: 34px; }
.brand .dot { color: var(--mint-dark); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 8px 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover { background: rgba(11, 37, 69, 0.06); color: var(--navy); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-switch svg { position: absolute; left: 10px; width: 17px; height: 17px; pointer-events: none; color: var(--muted); }
.lang-switch select {
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 30px 9px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.lang-switch select:hover { border-color: var(--navy); }
.lang-switch::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 19px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-2px); }

/* Mobile slide-down menu — kept hidden until the responsive breakpoint. */
.nav-panel { display: none; }

/* --------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(508px, 72vh, 720px);
  text-align: center;
  padding-block: clamp(64px, 9vw, 104px);
  background: var(--offwhite);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--offwhite) url("../img/hero-desktop.webp") center / cover no-repeat;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.38) 0%, rgba(250, 249, 246, 0.44) 50%, rgba(250, 249, 246, 0.66) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }

@media (max-width: 760px) {
  .hero { min-height: clamp(440px, 86vw, 580px); }
  .hero__video { display: none; }
  .hero__bg { background-image: url("../img/hero-mobile.webp"); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero h1 {
  font-size: clamp(2.45rem, 1.2rem + 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.hero__sub {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 620px;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--muted);
}
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__reassure {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__reassure svg { width: 16px; height: 16px; color: var(--mint-dark); }

/* --------------------------------------------------- Trust strip (navy) */
.trust {
  background: var(--navy);
  color: var(--offwhite);
  padding-block: clamp(34px, 5vw, 48px);
}
.trust__line {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.02rem;
  color: #DCE5EE;
}
.trust__line strong { color: var(--offwhite); }
.trust__stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust__stat { text-align: center; padding-inline: 8px; position: relative; }
.trust__stat + .trust__stat::before {
  content: "";
  position: absolute;
  left: 0; top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.trust__stat dt {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.95rem);
  font-weight: 600;
  color: var(--sand);
}
.trust__stat dd {
  margin-top: 4px;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  color: var(--muted-on-navy);
}

/* --------------------------------------------------------- Card grids */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Icon chip */
.chip {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  flex: none;
}
.chip svg { width: 24px; height: 24px; }
.chip--mint { background: var(--mint-tint); color: var(--mint-dark); }
.chip--sand { background: var(--sand-tint); color: #C9742E; }
.chip--red { background: var(--red-tint); color: var(--red); }
.chip--navy { background: rgba(11,37,69,0.07); color: var(--navy); }

/* ------------------------------------------------------- Pain section */
.pain__card { display: flex; flex-direction: column; gap: 16px; }
.pain__quote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--navy);
}
.pain__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.pain__author::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sand);
  flex: none;
}
.pain__closer {
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  color: var(--navy);
  max-width: 620px;
  margin-inline: auto;
}

/* ---------------------------------------------------- How it works */
.steps { counter-reset: step; }
.step { position: relative; }
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--sand);
  line-height: 1;
}
.step__num::before { counter-increment: step; content: "0" counter(step); }
.step h3 { margin-top: 14px; }
.step p { margin-top: 8px; color: var(--muted); }
.step::after {
  content: "";
  position: absolute;
  top: 18px; left: calc(100% - 8px);
  width: calc(100% - 36px);
  height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0 8px, transparent 8px 16px);
}
.step:last-child::after { display: none; }

/* ------------------------------------------------------- Why-us cards */
.why__card { display: flex; flex-direction: column; gap: 14px; }
.why__card h3 { font-size: 1.16rem; }
.why__card p { color: var(--muted); font-size: 0.99rem; }
.why__note {
  margin-top: 34px;
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  font-size: 0.92rem;
  color: var(--muted);
}
.why__note a { color: var(--mint-dark); font-weight: 600; }

/* ------------------------------------------------- Choose your situation */
.situation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  font: inherit;
  color: inherit;
  width: 100%;
}
.situation:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(244,162,97,0.6); }
.situation__icon { width: 52px; height: 52px; }
.situation h3 { font-size: 1.15rem; }
.situation p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.situation__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--mint-dark);
}
.situation:hover .situation__go .arrow { transform: translateX(4px); }
.situation__go .arrow { transition: transform 0.15s ease; }

/* ------------------------------------------------------ Testimonials */
.tcard { display: flex; flex-direction: column; gap: 18px; }
.tcard__quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--navy);
}
.tcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--offwhite);
  flex: none;
}
.tcard:nth-child(1) .tcard__avatar { background: var(--navy); }
.tcard:nth-child(2) .tcard__avatar { background: var(--mint-dark); }
.tcard:nth-child(3) .tcard__avatar { background: var(--sand); color: var(--navy); }
.tcard__name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.tcard__meta { font-size: 0.84rem; color: var(--muted); }
.tcard .stars { color: var(--sand); letter-spacing: 2px; font-size: 0.9rem; }

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}
.faq__icon {
  position: relative;
  width: 20px; height: 20px;
  flex: none;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--mint-dark);
  border-radius: 2px;
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { left: 9px; top: 0; width: 2px; height: 20px; transition: transform 0.2s ease; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 6px 24px; color: var(--muted); }
.faq__panel a { color: var(--mint-dark); font-weight: 600; }

/* ------------------------------------------------------ Final CTA + form */
.final { background: var(--navy); }
.final__head { text-align: center; max-width: 600px; margin: 0 auto clamp(34px, 4vw, 46px); }
.final__head h2 { color: var(--offwhite); }
.final__head p { margin-top: 12px; color: var(--muted-on-navy); font-size: 1.08rem; }

.formcard {
  max-width: 660px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--red); }
.field .opt { color: var(--muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(19, 194, 150, 0.16);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%235C6B7A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field .error-msg { font-size: 0.82rem; color: var(--red); font-weight: 600; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); background: var(--red-tint); }
.field.has-error .error-msg { display: block; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent input {
  width: 19px; height: 19px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--mint-dark);
}
.consent a { color: var(--navy); font-weight: 600; }
.consent.has-error { color: var(--red); }
.consent.has-error a { color: var(--red); }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.form-note svg { width: 15px; height: 15px; color: var(--mint-dark); flex: none; }

.form-alert {
  grid-column: 1 / -1;
  display: none;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  background: var(--red-tint);
  color: #A21F2B;
  border: 1px solid rgba(230, 57, 70, 0.3);
}
.form-alert.is-visible { display: flex; }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--navy); color: var(--muted-on-navy); padding-block: clamp(52px, 6vw, 76px); position: relative; overflow: hidden; }
.site-footer .container { position: relative; z-index: 1; }

/* ---------------------------------------------------- Foliage accents */
.foliage { position: absolute; z-index: 0; width: 150px; pointer-events: none; }
.foliage--fl { left: -40px; bottom: -26px; width: 172px; }
.foliage--fr { right: -40px; bottom: -26px; width: 172px; transform: scaleX(-1); }
.foliage--bl { left: -44px; bottom: -36px; width: 138px; opacity: 0.5; }
.foliage--br { right: -44px; bottom: -36px; width: 138px; opacity: 0.5; transform: scaleX(-1); }
.has-foliage { position: relative; overflow: hidden; }
.has-foliage > .container { position: relative; z-index: 1; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand .brand { color: var(--offwhite); margin-bottom: 14px; }
.footer__brand .brand .dot { color: var(--mint); }
.footer__tagline { font-size: 0.95rem; max-width: 280px; }
.footer__partner {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: #DCE5EE;
}
.footer__partner::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.footer__col h4 {
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--muted-on-navy); text-decoration: none; font-size: 0.93rem; transition: color 0.15s ease; }
.footer__col a:hover { color: var(--offwhite); }

.footer__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__langs button {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted-on-navy);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer__langs button:hover { color: var(--offwhite); border-color: rgba(255,255,255,0.4); }
.footer__langs button[aria-current="true"] { color: var(--navy); background: var(--mint); border-color: var(--mint); font-weight: 600; }

.footer__legal {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer__disclaimer { font-size: 0.78rem; line-height: 1.7; color: #7E93A8; max-width: 100%; }
.footer__disclaimer strong { color: #B7C6D6; }
.footer__copy {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #7E93A8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ----------------------------------------------------------- Legal pages */
.doc { padding-block: clamp(48px, 7vw, 88px); }
.doc__inner { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.doc .doc__meta { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.doc h2 { font-size: 1.4rem; margin-top: 40px; }
.doc h3 { font-size: 1.1rem; margin-top: 26px; }
.doc p, .doc li { color: var(--ink); margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc a { color: var(--mint-dark); font-weight: 600; }
.doc__callout {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--mint-tint);
  border-left: 3px solid var(--mint);
  border-radius: 8px;
  font-size: 0.95rem;
}

/* ----------------------------------------------------------- Thank you */
.ty { min-height: 70vh; display: flex; align-items: center; padding-block: 60px; }
.ty__inner { max-width: 620px; margin-inline: auto; text-align: center; }
.ty__badge {
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--mint-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ty__badge svg { width: 38px; height: 38px; color: var(--mint-dark); }
.ty h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); }
.ty__lead { margin-top: 14px; font-size: 1.1rem; color: var(--muted); }
.ty__points {
  margin: 32px 0;
  text-align: left;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ty__points li {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
}
.ty__points .n {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--offwhite);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------- 404 */
.nf { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.nf__inner { max-width: 520px; margin-inline: auto; }
.nf__code { font-family: var(--font-display); font-size: 5rem; color: var(--sand); line-height: 1; }

/* ------------------------------------------------------- Reveal anim */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------- Comparison table */
.compare { margin-inline: auto; }

.compare__scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.compare__table th,
.compare__table td {
  padding: 10px 9px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare__table thead th {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--offwhite);
  border-bottom-width: 2px;
}
.compare__table tbody th[scope="row"],
.compare__corner {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  min-width: 132px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
}
.compare__corner { background: var(--offwhite); border-bottom-width: 2px; }

/* WR Life column — figures pending, kept neutral */
.compare__col-wr { background: var(--offwhite); color: var(--muted); }

/* Monthly-premium row — the bottom line */
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td {
  border-bottom: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--mint-tint);
}

.compare__source {
  margin: 14px 4px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.compare__cta { margin-top: 24px; text-align: center; }

/* currency switcher above the table */
.compare__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 14px;
}
.compare__fxnote {
  margin-right: auto;
  font-size: 0.76rem;
  color: var(--muted);
}
.fx-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.fx-switch select {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.fx-switch select:hover { border-color: var(--navy); }

/* On narrow screens the table scrolls; keep columns legible */
@media (max-width: 760px) {
  .compare__table { min-width: 720px; }
}

/* -------------------------------------- When we send you elsewhere */
.whennot__card { border-left: 4px solid var(--sand); }
.whennot__card h3 { margin-bottom: 10px; }
.whennot__card p { color: var(--muted); }
.whennot__footer {
  max-width: 680px;
  margin: clamp(32px, 4vw, 46px) auto 0;
  text-align: center;
  font-size: 1.06rem;
  color: var(--forest);
}
.whennot__footer strong { color: var(--navy); font-weight: 700; }

/* ------------------------------------------- Closing CTA / questionnaire */
.final__cta { text-align: center; }
.final__cta .form-note { justify-content: center; margin-top: 16px; }

.q-main { padding: clamp(26px, 5vw, 56px) 0 clamp(48px, 7vw, 80px); }
.q-wrap { max-width: 640px; }
.q-head { text-align: center; margin-bottom: clamp(20px, 3vw, 34px); }
.q-head h1 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.4rem); }
.q-head p { margin-top: 12px; color: var(--muted); }

.form-progress { margin-bottom: 24px; }
.form-progress__track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.form-progress__fill {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--sand);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.form-progress__label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.form-step[hidden] { display: none; }
.form-step__title { font-size: 1.3rem; color: var(--navy); margin-bottom: 18px; }

.form-nav {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: space-between;
}
.form-nav--end { justify-content: flex-end; }
.form-nav .btn { flex: 1; max-width: 280px; }

.field__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio {
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio:hover { border-color: var(--navy); }
.radio input { width: 18px; height: 18px; accent-color: var(--mint-dark); flex: none; }
.radio:has(input:checked) { border-color: var(--mint-dark); background: var(--mint-tint); }
.field.has-error .radio { border-color: var(--red); }

.site-footer--mini { padding-block: 30px; }
.site-footer--mini .footer__copy { justify-content: space-between; }

/* ----------------------------------------------------------------- Blog */
.blog-hero { text-align: center; padding: clamp(28px, 5vw, 54px) 0 4px; }
.blog-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.7rem); }
.blog-hero p { margin-top: 12px; color: var(--muted); }

.blog-list { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.blog-card {
  display: block;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.blog-card__meta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mint-dark);
}
.blog-card h2, .blog-card h3 { font-size: 1.3rem; margin: 8px 0; }
.articles__all { text-align: center; margin-top: 26px; }
.articles__all a { color: var(--mint-dark); font-weight: 600; text-decoration: none; }
.blog-card p { color: var(--muted); }
.blog-card__more { display: inline-block; margin-top: 12px; color: var(--mint-dark); font-weight: 600; }

.article { max-width: 720px; margin: 0 auto; padding: clamp(24px, 4vw, 46px) 0; }
.article__crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.article__crumb a { color: var(--mint-dark); text-decoration: none; }
.article > h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.5rem); line-height: 1.16; }
.article__meta { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.article__body { margin-top: 26px; }
.article__body h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.article__body p { margin-bottom: 16px; }
.article__body ul { margin: 0 0 16px 22px; }
.article__body li { margin-bottom: 7px; }
.article__body strong { color: var(--navy); }
.article__cta {
  margin-top: 36px;
  padding: 26px 28px;
  text-align: center;
  background: var(--mint-tint);
  border-radius: var(--radius-lg);
}
.article__cta p { margin-bottom: 14px; font-weight: 600; color: var(--navy); }

/* ============================================================ Responsive */
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1140px) {
  .nav__links, .nav__actions .lang-switch, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .site-header--simple .nav__actions .lang-switch { display: inline-flex; }

  .nav-panel {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 18px clamp(20px, 5vw, 32px) 26px;
    display: none;
    flex-direction: column;
    gap: 6px;
  }
  body.menu-open .nav-panel { display: flex; }
  body.menu-open { overflow: hidden; }
  .nav-panel a.nav-panel__link {
    padding: 13px 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-panel .lang-switch { margin-top: 14px; }
  .nav-panel .lang-switch select { width: 100%; }
  .nav-panel .btn { margin-top: 14px; }
}

@media (max-width: 760px) {
  .grid--3 { grid-template-columns: 1fr; }
  .trust__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .trust__stat:nth-child(3)::before { display: none; }
  .step::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }

  /* testimonials become a swipeable row */
  .tcards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(clamp(20px, 5vw, 32px) * -1);
    padding-inline: clamp(20px, 5vw, 32px);
    scrollbar-width: none;
  }
  .tcards::-webkit-scrollbar { display: none; }
  .tcards .tcard { scroll-snap-align: center; }
}

@media (max-width: 560px) {
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .trust__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { width: 100%; }
  .card { padding: 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__copy { justify-content: flex-start; }
}
