/* ============================================
   WunderHub | Wunderflats Design System
   Brand: Purple Haze, Fast Black, Cream Dip,
          Gold, Red, Blue, Cold Grey
   Type:  TT Norms Pro (display) / Inter (body)
   ============================================ */

/* ---- Tokens ----------------------------------- */
:root {
  /* Brand */
  --c-purple: #542EBC;
  --c-purple-soft: #6E4DD2;
  --c-purple-deep: #3A1E94;
  --c-black: #170C37;
  --c-cream: #FBEEDB;
  --c-cream-deep: #F5E1C5;
  --c-gold: #E6C346;
  --c-red: #EC664C;
  --c-blue: #9AB4DE;
  --c-grey: #B6BEC5;
  --c-grey-light: #E6E8EC;
  --c-white: #FFFFFF;

  /* Semantic */
  --text: var(--c-black);
  --text-soft: #4A4263;
  --text-muted: #76708F;
  --text-on-dark: #F4F1FA;
  --text-on-purple: #FBEEDB;
  --bg: #FFFFFF;
  --bg-alt: var(--c-cream);
  --bg-dark: var(--c-black);
  --border: rgba(23, 12, 55, 0.08);
  --border-strong: rgba(23, 12, 55, 0.16);

  /* Type */
  --font-display: "TT Norms Pro", "Helvetica Neue", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.0625rem;
  --fs-h6: 0.95rem;
  --fs-h5: 1.0625rem;
  --fs-h4: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.35rem, 1.15rem + 0.75vw, 1.65rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-display: clamp(2.5rem, 1.8rem + 2.8vw, 4rem);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-1: 0 2px 8px rgba(23, 12, 55, 0.05);
  --shadow-2: 0 12px 32px rgba(23, 12, 55, 0.08);
  --shadow-3: 0 24px 64px rgba(23, 12, 55, 0.16);
}

/* ---- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--c-purple); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding: 0; margin: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--text);
}
p { margin: 0 0 1em; }

/* ---- Layout helpers ---------------------------- */
.wf-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wf-narrow { max-width: var(--container-narrow); }
.wf-section { padding-block: clamp(2.75rem, 2rem + 2.5vw, 4.5rem); }
.wf-section--tight { padding-block: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.wf-section--cream { background: var(--bg-alt); }
.wf-section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.wf-section--purple { background: var(--c-purple); color: var(--text-on-purple); }
.wf-section--purple h1, .wf-section--purple h2, .wf-section--purple h3,
.wf-section--dark h1, .wf-section--dark h2, .wf-section--dark h3 {
  color: var(--c-cream);
}

.wf-eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: var(--s-4);
}
.wf-section--dark .wf-eyebrow,
.wf-section--purple .wf-eyebrow { color: var(--c-gold); }

/* ---- Buttons --------------------------------- */
.wf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.wf-btn:hover { text-decoration: none; transform: translateY(-1px); }
.wf-btn--primary { background: var(--c-purple); color: var(--c-white); }
.wf-btn--primary:hover { background: var(--c-purple-deep); color: var(--c-white); }
.wf-btn--gold { background: var(--c-gold); color: var(--c-black); }
.wf-btn--gold:hover { background: #D6B33A; color: var(--c-black); }
.wf-btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.wf-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.wf-btn--ghost-dark { background: transparent; border-color: var(--c-black); color: var(--c-black); }
.wf-btn--ghost-dark:hover { background: var(--c-black); color: var(--c-cream); }
.wf-btn--cream { background: var(--c-cream); color: var(--c-black); }
.wf-btn--cream:hover { background: var(--c-cream-deep); color: var(--c-black); }

.wf-btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---- Nav ------------------------------------- */
.wf-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.wf-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: 72px;
}
.wf-nav__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--c-black);
}
.wf-nav__logo:hover { text-decoration: none; }
.wf-nav__logo-mark { color: var(--c-purple); }
.wf-nav__sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.wf-nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  font-weight: 500;
}
.wf-nav__list a {
  color: var(--text-soft);
  padding: 0.5rem 0;
  position: relative;
}
.wf-nav__list a:hover { color: var(--c-black); text-decoration: none; }
.wf-nav__list a.is-active { color: var(--c-black); }
.wf-nav__list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--c-purple);
  border-radius: 3px;
}
.wf-nav__cta { display: inline-flex; }
.wf-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
@media (max-width: 820px) {
  .wf-nav__list, .wf-nav__cta { display: none; }
  .wf-nav__toggle { display: inline-flex; }
}

/* ---- Hero ------------------------------------ */
.wf-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.8rem + 3vw, 6rem);
  background: linear-gradient(180deg, var(--c-cream) 0%, #FFF7E8 100%);
}
.wf-hero--purple {
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  color: var(--text-on-purple);
}
.wf-hero--purple h1 { color: var(--c-cream); }
.wf-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 900px) {
  .wf-hero__grid { grid-template-columns: 1fr; gap: var(--s-7); }
}
.wf-hero h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--s-5);
  line-height: 1.05;
  max-width: 16ch;
}
.wf-hero--purple h1 { max-width: 14ch; }
.wf-hero__lead {
  font-size: var(--fs-body-lg);
  max-width: 44ch;
  color: var(--text-soft);
  margin-bottom: var(--s-6);
  line-height: 1.6;
}
.wf-hero--purple .wf-hero__lead { color: rgba(251, 238, 219, 0.85); }
.wf-hero .wf-btn-row { margin-bottom: 0; }
.wf-hero--purple .wf-hero__lead { color: rgba(251, 238, 219, 0.85); }
.wf-hero__art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-3);
}
.wf-hero__art img, .wf-hero__art svg { width: 100%; height: 100%; object-fit: cover; }
.wf-hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ---- Stats bar ------------------------------- */
.wf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  margin-top: calc(-1 * var(--s-7));
  position: relative;
  z-index: 2;
}
@media (max-width: 720px) {
  .wf-stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}
.wf-stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--c-purple);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.wf-stat__label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- Countries strip ------------------------- */
.wf-countries {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-5);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--border);
}
.wf-countries__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wf-country {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--c-cream);
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-black);
}
.wf-country__flag { font-size: 1.05rem; }

/* ---- Section header -------------------------- */
.wf-sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
.wf-sec-head__text { max-width: 56ch; }
.wf-sec-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--s-2);
}
.wf-sec-head p {
  color: var(--text-soft);
  font-size: var(--fs-body-lg);
  margin: 0;
}
.wf-sec-head__link {
  font-weight: 600;
  color: var(--c-purple);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .wf-sec-head { flex-direction: column; align-items: flex-start; }
}

/* ---- Card grid ------------------------------- */
.wf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 920px) { .wf-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .wf-grid-3 { grid-template-columns: 1fr; } }

.wf-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1000px) { .wf-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .wf-grid-4 { grid-template-columns: 1fr; } }

/* ---- Card ------------------------------------ */
.wf-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: var(--text);
  height: 100%;
}
.wf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-strong);
  text-decoration: none;
}
.wf-card__media {
  aspect-ratio: 16 / 10;
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.wf-card__media svg, .wf-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.wf-card__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.wf-card__category {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-purple);
}
.wf-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
  color: var(--c-black);
}
.wf-card__excerpt {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}
.wf-card__meta {
  margin-top: auto;
  padding-top: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.wf-card__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-grey); }

/* ---- CTA banner ------------------------------ */
.wf-cta {
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  color: var(--text-on-purple);
  position: relative;
  overflow: hidden;
}
.wf-cta--cream {
  background: var(--c-cream);
  color: var(--c-black);
}
.wf-cta--cream h2 { color: var(--c-black); }
.wf-cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  .wf-cta__inner { grid-template-columns: 1fr; gap: var(--s-6); }
}
.wf-cta h2 {
  font-size: var(--fs-h2);
  color: var(--c-cream);
  margin-bottom: var(--s-4);
}
.wf-cta p {
  font-size: var(--fs-body-lg);
  color: rgba(251, 238, 219, 0.88);
  margin-bottom: var(--s-5);
  max-width: 50ch;
}
.wf-cta--cream p { color: var(--text-soft); }
.wf-cta__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.wf-cta__stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 238, 219, 0.18);
  border-radius: var(--r-md);
  padding: var(--s-4);
}
.wf-cta__stat-v {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.wf-cta__stat-l { font-size: 0.85rem; color: rgba(251, 238, 219, 0.78); }
.wf-cta__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ---- Protection promise --------------------- */
.wf-protection-section { background: var(--bg-alt); }
.wf-protection-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--s-7);
}
.wf-protection-head h2 {
  font-size: var(--fs-h2);
  margin: var(--s-2) 0 var(--s-4);
}
.wf-protection-head__lead {
  color: var(--text-soft);
  font-size: var(--fs-body-lg);
  margin: 0;
  line-height: 1.55;
}
.wf-promise {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: var(--s-4);
  align-items: stretch;
}
@media (max-width: 980px) { .wf-promise { grid-template-columns: 1fr; } }
.wf-promise__card {
  background: var(--c-black);
  color: var(--text-on-dark);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.wf-promise__card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(230, 195, 70, 0.18), transparent 60%);
  pointer-events: none;
}
.wf-promise__card h3 {
  color: var(--c-gold);
  font-size: var(--fs-h4);
  margin: var(--s-2) 0 var(--s-3);
  position: relative;
}
.wf-promise__card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 241, 250, 0.84);
  margin: 0 0 var(--s-3);
  position: relative;
}
.wf-promise__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-cream);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
}
.wf-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (max-width: 580px) { .wf-features { grid-template-columns: 1fr; } }
.wf-feature {
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.wf-feature__icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--c-cream);
  color: var(--c-purple);
  display: grid; place-items: center;
}
.wf-feature__body { flex: 1; }
.wf-feature h4 {
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  letter-spacing: -0.005em;
}
.wf-feature p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-soft);
}

/* ---- Page header ---------------------------- */
.wf-pagehead {
  background: var(--c-cream);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.wf-pagehead__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-purple);
}
.wf-pagehead h1 {
  font-size: var(--fs-h1);
  max-width: 18ch;
  margin: var(--s-3) 0 var(--s-4);
}
.wf-pagehead p {
  font-size: var(--fs-body-lg);
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0;
}

/* ---- Article ---------------------------------- */
.wf-article {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(2rem, 1.5rem + 2vw, 4rem);
}
.wf-article__head {
  margin-bottom: var(--s-7);
}
.wf-article__category {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-purple);
}
.wf-article__head h1 {
  font-size: var(--fs-h1);
  margin: var(--s-3) 0 var(--s-4);
  max-width: 24ch;
}
.wf-article__lead {
  font-size: 1.25rem;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.wf-article__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  font-size: 0.9rem; color: var(--text-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s-4);
}
.wf-article__hero {
  margin: var(--s-6) calc(-1 * var(--gutter)) var(--s-6);
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--c-cream);
}
@media (min-width: 720px) {
  .wf-article__hero {
    margin: var(--s-7) 0;
    border-radius: var(--r-xl);
  }
}
.wf-article__hero svg, .wf-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.wf-article__body { font-size: 1.075rem; line-height: 1.7; color: var(--text); }
.wf-article__body h2 {
  font-size: var(--fs-h3);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.wf-article__body h3 {
  font-size: var(--fs-h4);
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}
.wf-article__body p { color: var(--text); }
.wf-article__body ul {
  margin: var(--s-3) 0 var(--s-5);
  padding-left: 1.2rem;
}
.wf-article__body ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}
.wf-article__body strong { color: var(--c-black); }
.wf-callout {
  background: var(--c-cream);
  border-left: 4px solid var(--c-purple);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin: var(--s-6) 0;
}
.wf-callout h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--c-purple-deep);
}
.wf-callout p:last-child { margin: 0; }

/* ---- Footer ---------------------------------- */
.wf-footer {
  background: var(--c-black);
  color: var(--text-on-dark);
  padding-block: var(--s-8) var(--s-6);
  margin-top: var(--s-8);
}
.wf-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(244, 241, 250, 0.12);
}
@media (max-width: 700px) {
  .wf-footer__top { grid-template-columns: 1fr; gap: var(--s-5); }
}
.wf-footer__brand-block { max-width: 36ch; }
.wf-footer__col h5 {
  color: var(--c-cream);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
  letter-spacing: 0.02em;
}
.wf-footer__col ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2) var(--s-4);
}
@media (max-width: 480px) {
  .wf-footer__col ul { grid-template-columns: 1fr; }
}
.wf-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-cream);
  margin-bottom: var(--s-3);
  display: inline-flex;
  gap: 0.4rem;
}
.wf-footer__brand-mark { color: var(--c-gold); }
.wf-footer__tagline {
  color: rgba(244, 241, 250, 0.7);
  font-size: 0.95rem;
  max-width: 32ch;
  margin-bottom: var(--s-4);
}
.wf-footer__social { display: flex; gap: var(--s-3); }
.wf-footer__social a {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: rgba(244, 241, 250, 0.06);
  color: var(--c-cream);
  display: grid; place-items: center;
  transition: background 0.15s ease;
}
.wf-footer__social a:hover { background: rgba(244, 241, 250, 0.16); text-decoration: none; }
.wf-footer h5 {
  color: var(--c-cream);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--s-4);
  letter-spacing: 0.02em;
}
.wf-footer ul { display: flex; flex-direction: column; gap: var(--s-2); }
.wf-footer ul a {
  color: rgba(244, 241, 250, 0.72);
  font-size: 0.92rem;
}
.wf-footer ul a:hover { color: var(--c-cream); text-decoration: none; }
.wf-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  font-size: 0.85rem;
  color: rgba(244, 241, 250, 0.55);
}
.wf-footer__copy {
  font-size: 0.85rem;
  color: rgba(244, 241, 250, 0.55);
}
.wf-footer__legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.wf-footer__legal a {
  color: rgba(244, 241, 250, 0.7);
}
.wf-footer__legal a:hover { color: var(--c-cream); text-decoration: none; }
.wf-footer__sep {
  color: rgba(244, 241, 250, 0.3);
}
.wf-footer__lang { display: flex; gap: var(--s-3); }
.wf-footer__lang a { color: rgba(244, 241, 250, 0.7); }
.wf-footer__lang a:hover { color: var(--c-cream); text-decoration: none; }

/* ---- Misc ------------------------------------ */
.wf-arrow::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.15s ease;
}
a:hover .wf-arrow::after, .wf-arrow:hover::after { transform: translateX(3px); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---- Trust badges (Google + Trustpilot inline) ---- */
.wf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  align-items: center;
}
.wf-hero--purple .wf-trust { border-top-color: rgba(251, 238, 219, 0.18); }
.wf-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
}
.wf-hero--purple .wf-trust__item {
  background: rgba(251, 238, 219, 0.1);
  border-color: rgba(251, 238, 219, 0.18);
}
.wf-trust__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.wf-trust__icon svg { width: 100%; height: 100%; }
.wf-trust__stars {
  color: var(--c-gold);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.wf-trust__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-black);
  line-height: 1;
}
.wf-hero--purple .wf-trust__score { color: var(--c-cream); }
.wf-trust__src {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1;
}
.wf-hero--purple .wf-trust__src { color: rgba(251, 238, 219, 0.7); }

/* ---- Category tabs ---- */
.wf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}
.wf-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.wf-tab:hover { color: var(--c-black); border-color: var(--border-strong); text-decoration: none; }
.wf-tab.is-active {
  background: var(--c-black);
  color: var(--c-cream);
  border-color: var(--c-black);
}
.wf-tab.is-active:hover { color: var(--c-cream); }

/* ---- Article author bio block ---- */
.wf-author-bio {
  margin-top: var(--s-6);
  padding: var(--s-5);
  background: var(--c-cream);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
}
.wf-author-bio__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-purple);
  color: var(--c-cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  flex: 0 0 auto;
}
.wf-author-bio__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-black);
  margin: 0;
}
.wf-author-bio__role {
  font-size: 0.82rem;
  color: var(--c-purple);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.wf-author-bio__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0.5rem 0 0;
}

/* ---- Trust band (countries + partner logos in one) ---- */
.wf-trustband {
  padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
}
.wf-trustband__inner {
  text-align: center;
}
.wf-trustband__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  line-height: 1.4;
}
.wf-trustband__title strong {
  color: var(--c-purple);
  font-weight: 600;
}
.wf-trustband__countries {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  margin: 0 0 var(--s-6);
  font-size: 0.92rem;
  color: var(--text-soft);
}
.wf-trustband__country {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.wf-trustband__country-flag { font-size: 1.05rem; line-height: 1; }
.wf-logos__grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 0.75rem + 1vw, 2.5rem);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 980px) { .wf-logos__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: var(--s-5); } }
@media (max-width: 540px) { .wf-logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wf-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.wf-logos__item img {
  max-height: 32px;
  max-width: 100%;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
  object-fit: contain;
}
.wf-logos__item img:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.wf-logos__item--text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.85;
  letter-spacing: -0.01em;
}

/* ---- Testimonial ---- */
.wf-testimonial {
  background: var(--c-cream);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 2rem + 2vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  position: relative;
  overflow: hidden;
}
.wf-testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.3rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 7rem;
  line-height: 1;
  color: var(--c-purple);
  opacity: 0.22;
  pointer-events: none;
}
.wf-testimonial__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
}
.wf-testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--c-black);
  letter-spacing: -0.015em;
  margin: 0;
}
.wf-testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.wf-testimonial__avatar {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-purple);
  color: var(--c-cream);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.wf-testimonial__author-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.15rem;
}
.wf-testimonial__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.wf-testimonial__role {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---- Newsletter ---- */
.wf-newsletter {
  background: var(--c-black);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.wf-newsletter__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (max-width: 720px) { .wf-newsletter__grid { grid-template-columns: 1fr; } }
.wf-newsletter h3 {
  color: var(--c-cream);
  font-size: var(--fs-h3);
  margin: 0 0 var(--s-3);
}
.wf-newsletter p {
  color: rgba(244, 241, 250, 0.78);
  font-size: 0.95rem;
  margin: 0;
}
.wf-newsletter form {
  display: flex;
  gap: var(--s-2);
  background: rgba(251, 238, 219, 0.08);
  border: 1px solid rgba(251, 238, 219, 0.14);
  border-radius: var(--r-pill);
  padding: 0.4rem;
}
.wf-newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.7rem 1rem;
  color: var(--c-cream);
  font-size: 0.95rem;
}
.wf-newsletter input::placeholder { color: rgba(244, 241, 250, 0.55); }
.wf-newsletter button {
  border: 0;
  background: var(--c-gold);
  color: var(--c-black);
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  cursor: pointer;
}

/* ---- Article rendered from markdown ---- */
.wf-article__body img {
  max-width: 100%;
  border-radius: var(--r-md);
  margin-block: var(--s-4);
}
.wf-article__body blockquote {
  border-left: 4px solid var(--c-purple);
  background: var(--c-cream);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  margin: var(--s-5) 0;
  font-style: normal;
  color: var(--c-purple-deep);
}
.wf-article__body blockquote p:last-child { margin: 0; }
.wf-article__body code {
  background: var(--c-cream);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.92em;
}
.wf-article__body pre {
  background: var(--c-black);
  color: var(--c-cream);
  padding: var(--s-4);
  border-radius: var(--r-md);
  overflow-x: auto;
}
.wf-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--s-5);
  font-size: 0.95rem;
}
.wf-article__body th, .wf-article__body td {
  text-align: left;
  padding: var(--s-3);
  border-bottom: 1px solid var(--border);
}
.wf-article__body th {
  background: var(--c-cream);
  font-weight: 600;
}

/* ---- Loading state ---- */
.wf-loading {
  text-align: center;
  padding: var(--s-7);
  color: var(--text-muted);
}

/* ---- Nav actions (search icon + CTA) ---- */
.wf-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.wf-nav__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.wf-nav__icon:hover {
  background: var(--c-cream);
  color: var(--c-black);
  text-decoration: none;
}
@media (max-width: 820px) {
  .wf-nav__actions { display: none; }
}

/* ---- Pagination ---- */
.wf-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
}
.wf-pagination__list {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.wf-pagination__page {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  border-radius: var(--r-sm);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.wf-pagination__page:hover {
  background: var(--c-cream);
  color: var(--c-black);
  text-decoration: none;
}
.wf-pagination__page.is-active {
  background: var(--c-black);
  color: var(--c-cream);
}
.wf-pagination__page.is-active:hover { background: var(--c-black); color: var(--c-cream); }
.wf-pagination__ellipsis {
  color: var(--text-muted);
  padding: 0 0.4rem;
}
.wf-pagination__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-pill);
  text-decoration: none;
}
.wf-pagination__nav:hover {
  color: var(--c-black);
  background: var(--c-cream);
  text-decoration: none;
}
.wf-pagination__nav svg { transition: transform 0.15s ease; }
.wf-pagination__nav[rel="prev"] svg { transform: rotate(180deg); }

/* ---- Search ---- */
.wf-search-form {
  margin-top: var(--s-3);
  max-width: 520px;
}
.wf-search-input {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 1rem;
  background: var(--c-white);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wf-search-input:focus {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 4px rgba(84, 46, 188, 0.12);
}
.wf-search-hint {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.wf-search-count {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 var(--s-4);
}
.wf-search-empty {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  padding: var(--s-7) 0;
}
