/* =============================================================================
   ADIG Theme — main stylesheet
   Reference: hybrid dark/light prototype (April 2026)
   ============================================================================= */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* ── Design tokens — light theme (default) ── */
:root {
  --bg:         #f5f5f0;
  --surface:    #edeae3;
  --surface-2:  #e5e1d8;
  --border:     #e8e2d9;
  --gold:       #d4a853;
  --gold-light: #e8bc5e;
  --green-mid:  #2c5f4a;
  --text:       #0d1a12;
  --text-muted: #4a6355;
  --text-dim:   #6b8070;
  --display:    'Space Grotesk', system-ui, sans-serif;
  --sans:       'Space Grotesk', system-ui, sans-serif;
}

/* ── Base ── */
body {
  background: #ffffff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#main {
  flex: 1;
}

a { color: inherit; text-decoration: none; }

/* =============================================================================
   NAV
   ============================================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 32px 32px 0;
  pointer-events: none;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
  background: rgba(13, 26, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #1e3d27;
  border-radius: 12px;
  pointer-events: all;
  /* Nav pill is always dark — keep text cream regardless of global theme */
  --text:       #f5f0e8;
  --text-muted: #9aad9e;
  --text-dim:   #829e87;
}

.nav__logo {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo span { color: var(--gold); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--text); }

.nav__links .current-menu-item > a,
.nav__links .current-menu-ancestor > a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Auth and member items injected into nav__links via wp_nav_menu_items filter */
.nav__item--auth,
.nav__item--member,
.nav__item--dashboard,
.nav__item--signout { display: flex; align-items: center; }

.nav__item--member a,
.nav__item--dashboard a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav__item--member a:hover,
.nav__item--dashboard a:hover { color: var(--text); }

.nav__item--member a[aria-current="page"],
.nav__item--dashboard a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.nav__item--signout a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.nav__item--signout a:hover { opacity: 1; }

/* Separate the auth/member block from the static nav links */
.nav__item--auth:first-of-type,
.nav__item--member:first-of-type { margin-left: 8px; }

/* Burger button — hidden on desktop */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 1001; /* always above the drawer */
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f5f0e8;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__burger.is-open { pointer-events: none; }
body.menu-open { pointer-events: none; }
body.menu-open .nav__mobile { pointer-events: auto; }

/* Mobile drawer — hidden by default */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0d1a12;
  z-index: 1000;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  /* needed to anchor the close button */
  isolation: isolate;
}
.nav__mobile.is-open {
  transform: translateY(0);
}
.nav__mobile-inner {
  padding: 88px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.nav__mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile-links li a {
  display: block;
  font-size: 26px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f0e8;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.nav__mobile-links li a:hover { color: var(--gold); }
.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav__mobile-actions .btn { justify-content: center; width: 100%; }
.nav__mobile-signout {
  font-size: 14px;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  text-align: center;
  padding: 8px;
  transition: color 0.2s;
}
.nav__mobile-signout:hover { color: #f5f0e8; }

.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #f5f0e8;
  transition: background 0.2s;
}
.nav__mobile-close:hover { background: rgba(255,255,255,0.15); }
.nav__mobile-close svg { width: 20px; height: 20px; }

/* Prevent body scroll when menu open */
body.menu-open { overflow: hidden; }

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn--gold,
.nav__links .btn--gold {
  background: var(--gold);
  color: #0d1a12;
}

.btn--gold:hover { background: var(--gold-light); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover { border-color: var(--text-muted); }

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn--ghost:hover { color: var(--text); }

.btn--lg {
  padding: 14px 36px;
  font-size: 15px;
}

.btn svg { width: 16px; height: 16px; }

/* =============================================================================
   HERO
   ============================================================================= */

.hero {
  min-height: calc(100vh - 32px);
  position: relative;
  overflow: hidden;
  padding: 120px 56px 80px;
  margin: 16px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(44, 95, 74, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(212, 168, 83, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding-bottom: 50px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero__headline {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
}

/* Force 2-line heading: each word group on its own line */
.hero__headline span,
.hero__headline em {
  display: block;
  white-space: nowrap;
}

/* Space Grotesk has no italic — emphasis via colour only */
.hero__headline em {
  font-style: normal;
  color: #a67c20;
}

.hero__headline strong {
  font-weight: 400;
  font-style: normal;
  display: block;
  color: var(--text-muted);
  font-size: 0.38em;
  letter-spacing: 0.01em;
  margin-top: 20px;
  line-height: 1.5;
}

.hero__sub {
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero video wrap — right column (default) */
.hero__video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 460px;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 45%, black 55%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 45%, black 55%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  mask-composite: intersect;
}

/* Hero video wrap — full bleed background */
.hero--video-bg .hero__video-wrap {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
}

/* Gradient scrim — darkens left so text stays readable */
.hero--video-bg .hero__video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13, 26, 18, 0.82) 0%, rgba(13, 26, 18, 0.45) 55%, rgba(13, 26, 18, 0.15) 100%),
    linear-gradient(to top, rgba(13, 26, 18, 0.5) 0%, transparent 40%);
  pointer-events: none;
}

/* Live video */
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

/* Content sits above video */
.hero--video-bg .hero__inner {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
}

.hero--video-bg .hero__content {
  max-width: 600px;
}

/* Placeholder */
.hero__video-placeholder {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.hero__video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(44, 95, 74, 0.12) 0%, transparent 100%);
  pointer-events: none;
}

.hero__video-placeholder__inner {
  text-align: center;
  padding: 48px;
  position: relative;
}

.hero__video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--gold);
}

.hero__video-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.hero__video-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero__video-sub {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Text overlay — sits above video or placeholder */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px 36px;
  background: linear-gradient(to top, rgba(13, 26, 18, 0.72) 0%, transparent 60%);
  pointer-events: none;
}

.hero__video-line {
  font-family: var(--display);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  animation: videoLineIn 0.6s ease forwards;
}

.hero__video-line[data-delay="0"] { animation-delay: 0.4s; }
.hero__video-line[data-delay="1"] { animation-delay: 1.0s; }
.hero__video-line[data-delay="2"] { animation-delay: 1.6s; }

.hero__video-line[data-delay="2"] {
  color: var(--gold);
}

@keyframes videoLineIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero photo — single portrait image */
.hero__photo {
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.map-country-base {
  fill: #1a3322;
  stroke: #243d2c;
  stroke-width: 0.6px;
}

/* =============================================================================
   SECTION BASE
   ============================================================================= */

.section {
  padding: 120px 72px;
}

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section__headline {
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.section__headline em {
  font-style: normal;
  color: var(--gold);
}

.section__body {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

/* =============================================================================
   WHAT WE DO
   ============================================================================= */

.what { background: var(--surface); }

.what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.what__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.what__card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.what__card-icon {
  display: flex;
  align-items: center;
  color: var(--gold);
}

.what__card-icon i[data-lucide] { width: 24px; height: 24px; color: var(--gold); }

.what__card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.what__card-body {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================================================
   HOW IT WORKS
   ============================================================================= */

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.how__step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
}

.how__step-num {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.how__step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.how__step-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

.how__step-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =============================================================================
   COUNTRIES
   ============================================================================= */

.countries { background: var(--surface); }

.countries__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.countries__text { display: flex; flex-direction: column; }
.countries__text .section__body { margin-bottom: 36px; }

/* Map in light context */
.section--light .map-country-base {
  fill: #c8dfd0;
  stroke: #a0c0ae;
}

/* =============================================================================
   GUIDANCE CATEGORIES
   ============================================================================= */

.guidance__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.guidance__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}

.guidance__card-icon {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.guidance__card-icon i[data-lucide],
.guidance__card-icon svg { width: 24px; height: 24px; color: #d4a853; stroke: #d4a853; }

.guidance__card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.guidance__card-body {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================================================
   STATS STRIP
   ============================================================================= */

.stats-strip {
  border-top: 1px solid rgba(212, 168, 83, 0.15);
  padding: 48px 72px 56px;
}

.stats-strip__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.stats-strip__item {
  flex: 1;
  text-align: center;
}

.stats-strip__number {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-strip__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.stats-strip__sub {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

.stats-strip__divider {
  width: 1px;
  height: 60px;
  background: rgba(212, 168, 83, 0.2);
  flex-shrink: 0;
}

/* =============================================================================
   SIGNPOSTING
   ============================================================================= */

.signpost {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signpost__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.signpost__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.06);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.signpost__card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.signpost__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.signpost__card-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text);
}

.signpost__card-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.signpost__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.signpost__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.signpost__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =============================================================================
   CTA STRIP
   ============================================================================= */

.cta-strip {
  padding: 120px 72px;
  text-align: center;
  background: var(--bg);
}

.cta-strip__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-strip__headline {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.cta-strip__headline em {
  font-style: normal;
  color: #a67c20;
}

.cta-strip__body {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-strip__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-strip__map {
  margin-top: 64px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}

.cta-strip__map svg {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 72px 40px;
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__logo {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.footer__logo span { color: #a67c20; }

.footer__tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  font-size: 12px;
  color: var(--text-dim);
}

.footer__legal a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer__legal a:hover { color: var(--text-muted); }

.footer__legal span { margin: 0 8px; }

/* =============================================================================
   LIGHT SECTION OVERRIDES
   ============================================================================= */

.section--light {
  background: #ffffff;
  color: #0d1a12;
  padding-top: 0;
}

.section--light > .section__inner {
  border-top: 1px solid #e8e2d9;
  padding-top: 100px;
}

/* Remove top border on the first light section (What we do) */
.what > .section__inner { border-top: none; }

.section--light .section__eyebrow        { color: #a67c20; }
.section--light .section__eyebrow::before { background: #a67c20; }
.section--light .section__headline        { color: #0d1a12; }
.section--light .section__headline em     { color: #a67c20; }
.section--light .section__body            { color: #3d5c44; }

/* What cards */
.section--light .what__card              { background: #f5f5f0; border-color: #e8e2d9; }
.section--light .what__card-icon i[data-lucide] { color: #d4a853; }
.section--light .what__card-title        { color: #0d1a12; }
.section--light .what__card-body         { color: #3d5c44; }

/* How steps */
.section--light .how__step               { background: #f5f5f0; border-color: #e8e2d9; }
.section--light .how__step-num           { color: #e8e2d9; }
.section--light .how__step-title         { color: #0d1a12; }
.section--light .how__step-body          { color: #3d5c44; }
.section--light .how__step-tag           { color: #a67c20; }

/* Guidance cards */
.section--light .guidance__card          { background: #f5f5f0; border-color: #e8e2d9; }
.section--light .guidance__card-title    { color: #0d1a12; }
.section--light .guidance__card-body     { color: #3d5c44; }
.section--light .guidance__card-icon i[data-lucide],
.section--light .guidance__card-icon svg { color: #d4a853; stroke: #d4a853; }

/* Countries */
.section--light .countries__split .section__body { color: #3d5c44; }
.section--light .btn--outline            { border-color: #e8e2d9; color: #0d1a12; }
.section--light .btn--outline:hover      { border-color: #2c5f4a; }

/* Signpost */
.signpost--light {
  background: #ffffff;
  border-top: none;
  border-bottom: none;
  padding: 0 72px;
}

.signpost--light .signpost__inner {
  border-top: 1px solid #e8e2d9;
  border-bottom: 1px solid #e8e2d9;
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 0;
}

.signpost--light .signpost__badge        { border-color: rgba(166, 124, 32, 0.35); background: rgba(166, 124, 32, 0.08); color: #a67c20; }
.signpost--light .section__headline      { color: #0d1a12; }
.signpost--light .section__headline em   { color: #a67c20; }
.signpost--light .section__body          { color: #3d5c44; }
.signpost--light .signpost__card         { background: #f5f5f0; border-color: #e8e2d9; }
.signpost--light .signpost__card::before { background: linear-gradient(90deg, #a67c20, transparent); }
.signpost--light .signpost__card-title   { color: #0d1a12; }
.signpost--light .signpost__card-body    { color: #3d5c44; }
.signpost--light .signpost__list li      { color: #3d5c44; }
.signpost--light .signpost__list li::before { background: #a67c20; }
.signpost--light .btn--outline           { border-color: #e8e2d9; color: #0d1a12; }

/* =============================================================================
   AUTH PAGES (registration, login)
   ============================================================================= */

.auth-page {
  background: #ffffff;
  padding: 120px 72px 100px;
}

.auth-page__inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left — sell column */
.auth-page__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-page__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #a67c20;
}

.auth-page__headline {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0d1a12;
  margin-bottom: 20px;
}

.auth-page__body {
  font-size: 15px;
  color: #3d5c44;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Proof points */
.auth-page__proof {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-page__proof li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.auth-page__proof i[data-lucide],
.auth-page__proof svg {
  width: 20px;
  height: 20px;
  color: #a67c20;
  stroke: #a67c20;
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-page__proof strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0d1a12;
  margin-bottom: 4px;
}

.auth-page__proof div {
  font-size: 13px;
  color: #3d5c44;
  line-height: 1.6;
}

/* Right — form column */
.auth-page__card {
  background: #f5f5f0;
  border: 1px solid #e8e2d9;
  border-radius: 20px;
  padding: 40px;
}

.auth-page__form-headline {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin-bottom: 6px;
}

.auth-page__form-sub {
  font-size: 13px;
  color: #3d5c44;
  margin-bottom: 28px;
}

.auth-page__switch {
  font-size: 13px;
  color: #3d5c44;
  text-align: center;
  margin-top: 20px;
}

.auth-page__switch a {
  color: #a67c20;
  text-decoration: none;
  font-weight: 500;
}

.auth-page__switch a:hover { text-decoration: underline; }

/* ── User Registration plugin form overrides ── */

.auth-page__form .ur-form-grid,
.auth-page__form .ur-form-row {
  margin-bottom: 0 !important;
}

.auth-page__form .ur-form-grid .ur-grid-title,
.auth-page__form label {
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0d1a12 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.auth-page__form input[type="text"],
.auth-page__form input[type="email"],
.auth-page__form input[type="password"],
.auth-page__form input[type="tel"],
.auth-page__form select,
.auth-page__form textarea {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e8e2d9 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  color: #0d1a12 !important;
  outline: none !important;
  transition: border-color 0.15s !important;
  box-shadow: none !important;
  margin-bottom: 20px !important;
}

.auth-page__form input:focus,
.auth-page__form select:focus,
.auth-page__form textarea:focus {
  border-color: #a67c20 !important;
}

.auth-page__form input::placeholder,
.auth-page__form textarea::placeholder {
  color: #829e87 !important;
}

/* Submit button — ensure UR wrappers don't constrain width */
.auth-page__form .ur-form-grid,
.auth-page__form .ur-button-container {
  display: block !important;
  width: 100% !important;
}

/* Submit button */
.auth-page__form input[type="submit"],
.auth-page__form button[type="submit"],
.auth-page__form .ur-submit-button,
.auth-page__form button.ur-submit-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 14px 24px !important;
  background: #a67c20 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  margin-top: 8px !important;
  box-shadow: none !important;
}

.auth-page__form input[type="submit"]:hover,
.auth-page__form button[type="submit"]:hover,
.auth-page__form .ur-submit-button:hover,
.auth-page__form button.ur-submit-button:hover {
  background: #8a6418 !important;
}

/* Required asterisk */
.auth-page__form .required {
  color: #a67c20 !important;
}

/* Error/validation messages */
.auth-page__form .ur-field-error,
.auth-page__form .ur-field-message,
.auth-page__form .user-registration-error {
  font-size: 12px !important;
  color: #c0392b !important;
  margin-top: -16px !important;
  margin-bottom: 12px !important;
}

/* Hide error icon when the plugin outputs no message text */
.auth-page__form .user-registration-error:empty { display: none !important; }

/* =============================================================================
   ONBOARDING
   ============================================================================= */

.onboarding {
  background: #ffffff;
  color: #0d1a12;
  padding: 0 0 100px;
}

.onboarding__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header bar */
.onboarding__header {
  padding: 112px 0 56px;
}

.onboarding__progress-wrap { max-width: 320px; }

.onboarding__progress-wrap { flex: 1; max-width: 320px; }

.onboarding__progress-label {
  font-size: 12px;
  font-weight: 500;
  color: #3d5c44;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.onboarding__progress-bar {
  height: 3px;
  background: #e8e2d9;
  border-radius: 100px;
  overflow: hidden;
}

.onboarding__progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* Error */
.onboarding__error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 32px;
}

/* Step header */
.onboarding__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.onboarding__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #a67c20;
}

.onboarding__headline {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin-bottom: 16px;
}

.onboarding__body {
  font-size: 15px;
  font-weight: 400;
  color: #3d5c44;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Country grid — chip picker */
.onboarding__country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 48px;
}

.country-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f5f5f0;
  border: 1px solid #e8e2d9;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.country-chip:hover {
  border-color: #2c5f4a;
}

.country-chip--selected {
  border-color: #a67c20;
  background: rgba(166, 124, 32, 0.06);
}

.country-chip__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.country-chip .fi {
  width: 24px !important;
  height: 18px !important;
  border-radius: 3px;
  flex-shrink: 0;
}

.country-chip__name {
  font-size: 13px;
  font-weight: 500;
  color: #0d1a12;
  line-height: 1.3;
  flex: 1;
}

.country-chip__check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid #d0c9bf;
  background: #ffffff;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

/* Checkmark via pseudo-element */
.country-chip__check::after {
  content: '';
  position: absolute;
  display: none;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.country-chip--selected .country-chip__check {
  background: #a67c20;
  border-color: #a67c20;
}

.country-chip--selected .country-chip__check::after {
  display: block;
}

/* Field groups */
.onboarding__field-group {
  margin-bottom: 40px;
}

.onboarding__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0d1a12;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* Option list — full width stacked (experience) */
.onboarding__option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Option grid — 2-col (capacity, timeline, gender) */
.onboarding__option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Compact grid — 3-col (age band) */
.onboarding__option-grid--compact {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f5f5f0;
  border: 1px solid #e8e2d9;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.option-card:hover {
  border-color: #2c5f4a;
}

.option-card--selected {
  border-color: #a67c20;
  background: rgba(166, 124, 32, 0.06);
}

.option-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card__label {
  font-size: 14px;
  font-weight: 500;
  color: #0d1a12;
  line-height: 1.4;
  flex: 1;
}

.option-card__radio {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #d0c9bf;
  background: #ffffff;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

/* Inner dot */
.option-card__radio::after {
  content: '';
  position: absolute;
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.option-card--selected .option-card__radio {
  background: #a67c20;
  border-color: #a67c20;
}

.option-card--selected .option-card__radio::after {
  display: block;
}

/* Actions */
.onboarding__actions {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.onboarding__back {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #3d5c44;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.onboarding__back:hover { opacity: 1; }

/* =============================================================================
   COUNTRY SINGULAR
   ============================================================================= */

/* Hero — full-bleed card, nav floats over it */
.country-single__hero {
  background: var(--bg);
  background-image: radial-gradient(ellipse at 65% 50%, var(--surface) 0%, var(--bg) 70%);
  border: 1px solid var(--border);
  margin: 16px;
  border-radius: 20px;
  padding: 112px 56px 56px;
}

body[data-theme="light"] .country-single__hero {
  border: 1px solid var(--border);
  background-image: radial-gradient(ellipse at 65% 50%, var(--surface) 0%, var(--bg) 70%);
}
body[data-theme="light"] .country-single__name {
  color: #0d1a12;
}
body[data-theme="light"] .country-single__overview {
  color: #3d5c44;
}
body[data-theme="light"] .country-single__stat dd {
  color: #0d1a12;
}
body[data-theme="light"] .country-single__stat dt {
  color: #4a6355;
}
body[data-theme="light"] .country-single__stats {
  border-top-color: rgba(13, 26, 18, 0.15);
}
body[data-theme="light"] .country-single__back {
  color: #4a6355;
}

/* Hero inner — two column layout */
.country-single__hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.country-single__hero-content {
  display: flex;
  flex-direction: column;
}

/* Back link */
.country-single__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #4a6355;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.15s;
}

.country-single__back svg {
  width: 16px;
  height: 16px;
}

.country-single__back:hover { color: var(--text); }

/* Identity — flag + name */
.country-single__identity {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.country-single__flag {
  width: 72px !important;
  height: 52px !important;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.country-single__name {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d1a12;
  line-height: 1.0;
  margin-bottom: 8px;
}

.country-single__iso {
  font-size: 12px;
  font-weight: 500;
  color: #6b8070;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Overview text */
.country-single__overview {
  font-size: 15px;
  color: #3d5c44;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

/* Stats strip */
.country-single__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 0;
  margin: 0;
  border-top: 1px solid rgba(13, 26, 18, 0.15);
  padding-top: 24px;
}

.country-single__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
}

.country-single__stat dt {
  font-size: 10px;
  font-weight: 600;
  color: #4a6355;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country-single__stat dd {
  font-size: 14px;
  font-weight: 600;
  color: #0d1a12;
  margin: 0;
}

/* Map silhouette */
.country-single__map.country-single__map--inline { display: none; } /* hidden on desktop — shown mobile only */

.country-single__map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
}

.country-single__map-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 340px;
  fill: #2c5f4a;
  opacity: 0.7;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
}

/* Body — light treatment */
.country-single__body {
  background: #ffffff;
  padding: 0 0 100px;
}

.country-single__body-inner {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Citation — sits below stats strip inside the dark hero */
.country-single__citation-text {
  font-size: 11px;
  color: #829e87;
  line-height: 1.6;
  margin-top: 16px;
  opacity: 0.8;
}

.country-single__citation-text a {
  color: #9aad9e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.country-single__citation-text a:hover { color: var(--text); }

.country-single__intro {
  padding: 48px 0 40px;
  border-bottom: 1px solid #e8e2d9;
  margin-bottom: 40px;
}

.country-single__intro-text {
  font-size: 16px;
  color: #3d5c44;
  line-height: 1.7;
  max-width: 560px;
}

/* Guidance category cards */
.country-single__categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide-category {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
  background: #f5f5f0;
  border-radius: 12px;
  transition: background 0.15s;
}

.guide-category:hover {
  background: #f0f0ea;
}

.guide-category__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.guide-category__icon i,
.guide-category__icon svg {
  width: 24px;
  height: 24px;
  color: #d4a853;
  stroke: #d4a853;
}

.guide-category__content {
  flex: 1;
}

.guide-category__title {
  font-size: 16px;
  font-weight: 600;
  color: #0d1a12;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.guide-category__desc {
  font-size: 14px;
  color: #3d5c44;
  line-height: 1.5;
}

.guide-category__status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.guide-category__status--soon {
  color: #9aad9e;
}

/* =============================================================================
   COUNTRIES ARCHIVE
   ============================================================================= */

.countries-archive {
  background: #ffffff;
  padding: 0 72px 100px;
}

.countries-archive__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.countries-archive__header {
  padding: 140px 0 56px;
  max-width: 600px;
}

.countries-archive__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.countries-archive__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #a67c20;
}

.countries-archive__headline {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin-bottom: 20px;
  line-height: 1.1;
}

.countries-archive__body {
  font-size: 16px;
  color: #3d5c44;
  line-height: 1.7;
}

/* Country card grid */
.countries-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f5f5f0;
  border: 1px solid #e8e2d9;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.country-card:hover {
  border-color: #2c5f4a;
  background: #f0f0ea;
}

.country-card .fi {
  width: 28px !important;
  height: 20px !important;
  border-radius: 3px;
  flex-shrink: 0;
}

.country-card__name {
  font-size: 14px;
  font-weight: 500;
  color: #0d1a12;
  line-height: 1.3;
  flex: 1;
}

.country-card__arrow {
  width: 16px;
  height: 16px;
  color: #9aad9e;
  flex-shrink: 0;
  transition: color 0.15s;
}

.country-card:hover .country-card__arrow {
  color: #2c5f4a;
}

/* =============================================================================
   DASHBOARD
   ============================================================================= */

.dashboard {
  background: #ffffff;
  padding: 0 72px 100px;
}

.dashboard__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* Welcome */
.dashboard__welcome {
  padding: 140px 0 56px;
  border-bottom: 1px solid #e8e2d9;
  margin-bottom: 56px;
}

.dashboard__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #a67c20;
}

.dashboard__headline {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1a12;
  line-height: 1.1;
}

/* Sections */
.dashboard__section {
  margin-bottom: 56px;
}

.dashboard__section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.dashboard__section-title {
  font-size: 18px;
  font-weight: 600;
  color: #0d1a12;
  letter-spacing: -0.02em;
}

.dashboard__section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #a67c20;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.dashboard__section-link svg {
  width: 14px;
  height: 14px;
}

.dashboard__section-link:hover { opacity: 0.75; }

/* Country grid — reuses .country-card from archive */
.dashboard__country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

/* Empty state */
.dashboard__empty {
  padding: 40px;
  background: #f5f5f0;
  border-radius: 12px;
  text-align: center;
  color: #3d5c44;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Quick links */
.dashboard__quick-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard__quick-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #f5f5f0;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s;
}

.dashboard__quick-link:hover { background: #f0f0ea; }

.dashboard__quick-link i,
.dashboard__quick-link svg:not(.country-card__arrow) {
  width: 20px;
  height: 20px;
  stroke: #a67c20;
  flex-shrink: 0;
}

.dashboard__quick-link strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0d1a12;
  margin-bottom: 2px;
}

.dashboard__quick-link span {
  font-size: 13px;
  color: #3d5c44;
}

/* =============================================================================
   FLAG ICONS
   ============================================================================= */

.fi {
  width: 40px !important;
  height: 28px !important;
  background-size: cover !important;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
}

/* ==========================================================================
   Profile Edit
   ========================================================================== */

.profile-edit {
  background: #ffffff;
  color: #0d1a12;
  padding: 0 72px 100px;
}

.profile-edit__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.profile-edit__header {
  padding: 112px 0 56px;
}

.profile-edit__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3d5c44;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.profile-edit__back:hover { color: #0d1a12; }
.profile-edit__back svg { width: 16px; height: 16px; }

.profile-edit__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-edit__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #a67c20;
}

.profile-edit__headline {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin: 0 0 16px;
}

.profile-edit__sub {
  font-size: 15px;
  color: #3d5c44;
  margin: 0;
  line-height: 1.7;
}

/* Flash notices */
.profile-edit__notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}
.profile-edit__notice svg { width: 16px; height: 16px; flex-shrink: 0; }
.profile-edit__notice--success {
  background: #f0faf3;
  border: 1px solid #86efac;
  color: #15803d;
}
.profile-edit__notice--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* Sections */
.profile-edit__section {
  border-top: 1px solid #e8e2d9;
  padding-top: 40px;
  margin-bottom: 40px;
}

.profile-edit__section--first { border-top: none; padding-top: 0; }

.profile-edit__name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-edit__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-edit__label {
  font-size: 13px;
  font-weight: 500;
  color: #0d1a12;
}

.profile-edit__input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: #0d1a12;
  background: #fff;
  border: 1px solid #ccc5ba;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.profile-edit__input:focus { border-color: #d4a853; }

@media (max-width: 600px) {
  .profile-edit__name-grid { grid-template-columns: 1fr; }
}

.profile-edit__section-header { margin-bottom: 24px; }

.profile-edit__section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d1a12;
  margin: 0 0 6px;
}

.profile-edit__section-desc {
  font-size: 14px;
  color: #3d5c44;
  margin: 0;
  line-height: 1.6;
}

/* Actions */
.profile-edit__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid #e8e2d9;
  margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE — Tablet (≤ 900px) and Mobile (≤ 600px)
   ========================================================================== */

/* ── Tablet ── */
@media (max-width: 900px) {

  /* Stats strip */
  .stats-strip { padding: 40px 36px; }
  .stats-strip__inner { flex-wrap: wrap; gap: 32px 0; }
  .stats-strip__item { flex: 0 0 50%; }
  .stats-strip__divider { display: none; }

  /* Nav */
  .nav { padding: 16px 16px 0; }
  .nav__inner { gap: 24px; padding: 0 16px; }
  .nav__links { gap: 20px; }
  .nav__item--member { display: none; }

  /* Hero */
  .hero { padding: 100px 32px 64px; margin: 8px; border-radius: 16px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__photo { border-radius: 8px; }
  .hero__photo img { height: auto; object-fit: unset; }
  .hero--video-bg .hero__video-wrap { display: block; }
  .cta-strip__map { display: none; }
  .hero__sub { max-width: 100%; }

  /* Sections */
  .section { padding: 80px 32px; }

  /* What we do */
  .what__grid { grid-template-columns: 1fr; gap: 48px; }

  /* How it works */
  .how__steps { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }

  /* Countries */
  .countries__split { grid-template-columns: 1fr; gap: 40px; }

  /* Guidance */
  .guidance__grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }

  /* Signposting */
  .signpost__inner { grid-template-columns: 1fr; gap: 40px; }

  /* CTA strip */
  .cta-strip { padding: 80px 32px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Dashboard */
  .dashboard { padding: 0 32px 64px; }
  .dashboard__quick-links { grid-template-columns: 1fr; }

  /* Country single */
  .country-single__hero { padding: 100px 32px 48px; }
  .country-single__hero-inner { grid-template-columns: 1fr; gap: 0; }
  .country-single__map { display: none; }
  .country-single__map--inline { display: flex; min-height: 180px; opacity: 0.6; margin: 16px 0; }
  .country-single__map--inline .country-single__map-svg { max-width: 200px; }
  .country-single__body { padding: 40px 32px; }
  .country-single__categories { grid-template-columns: 1fr; }

  /* Profile edit */
  .profile-edit { padding: 0 32px 64px; }

  /* Saved items */
  .saved-items { padding: 0 32px 64px; }
  .saved-items__header { padding: 100px 0 40px; }

  /* Countries archive */
  .countries-archive { padding: 0 32px 64px; }
  .countries-archive__header { padding: 100px 0 48px; }
  .countries-archive__grid { grid-template-columns: repeat(2, 1fr); }

  /* Auth page (sign-in / register) */
  .auth-page { padding: 96px 32px 80px; }
  .auth-page__inner { grid-template-columns: 1fr; gap: 48px; }
  .auth-page__sell { display: none; }

  /* Auth simple (lost password / reset password) */
  .auth-simple { padding: 80px 24px 60px; }

  /* Signposting */
  .signpost-page__hero { padding: 100px 32px 64px; }
  .signpost-page__how { padding: 64px 32px; }
  .signpost-page__how-steps { grid-template-columns: 1fr; gap: 12px; }
  .signpost-page__form-section { padding: 64px 32px; }

  /* 404 */
  .error-404 { padding: 100px 32px 80px; }
}

/* ── Mobile ── */
@media (max-width: 600px) {

  /* Stats strip */
  .stats-strip { padding: 32px 36px; }
  .stats-strip__item { flex: 0 0 100%; }

  /* Nav — burger menu */
  .nav { padding: 24px 22px 0; }
  .nav__inner { padding: 0 12px; gap: 8px; height: 60px; width: 100%; box-sizing: border-box; }
  .nav__right { display: none; }
  .nav__item--member { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: block; }

  /* Logged-out: keep Join free visible in top bar beside burger */
  body:not(.logged-in) .nav__right { display: flex; margin-left: auto; }
  body:not(.logged-in) .nav__links { display: none; }
  body:not(.logged-in) .nav__item--auth { display: flex; }
  body:not(.logged-in) .nav__item--auth .btn--ghost { display: none; }
  body:not(.logged-in) .nav__item--auth .btn--gold { display: inline-flex; }

  /* Hero */
  .hero { padding: 100px 36px 56px; margin: 12px; border-radius: 12px; }
  .hero__headline { font-size: clamp(40px, 11vw, 64px); }
  .hero__sub { font-size: 15px; }
  .hero__eyebrow { margin-bottom: 20px; }

  /* Sections */
  .section { padding: 56px 36px; }
  .section__headline { font-size: clamp(28px, 8vw, 44px); }

  /* What we do */
  .what__card { padding: 20px; }

  /* How it works */
  .how__step { padding: 28px 24px; }
  .how__step-num { font-size: 48px; margin-bottom: 16px; }
  .how__step-title { font-size: 16px; }

  /* Guidance */
  .guidance__grid { grid-template-columns: 1fr; gap: 12px; }
  .guidance__card { padding: 24px 20px; }

  /* Signposting */
  .signpost { padding: 56px 36px; }
  .signpost__inner { gap: 32px; }
  .signpost__card { padding: 24px 20px; }

  /* CTA strip */
  .cta-strip { padding: 56px 36px; }
  .cta-strip__headline { font-size: clamp(28px, 8vw, 44px); }
  .cta-strip__actions { flex-direction: column; align-items: stretch; gap: 12px; }

  /* Footer */
  .footer { padding: 48px 36px 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__top > *:first-child { grid-column: 1 / -1; } /* brand col full width */

  /* Buttons — full width on mobile */
  .btn { width: 100%; justify-content: center; }
  /* Exceptions — must stay auto width */
  .nav__item--auth .btn { width: auto; justify-content: flex-start; }
  .hero__actions { flex-direction: column; align-items: stretch; }

  /* Dashboard */
  .dashboard { padding: 0 36px 48px; }
  .dashboard__welcome { padding: 100px 0 56px; margin-bottom: 32px; }
  .dashboard__headline { font-size: clamp(24px, 7vw, 36px); }
  .dashboard__country-grid { grid-template-columns: 1fr 1fr; }
  .dashboard__quick-links { gap: 8px; }
  .dashboard__quick-link { padding: 16px; gap: 12px; }

  /* Country single */
  .country-single__hero { padding: 100px 36px 40px; margin: 12px; border-radius: 12px; }
  .country-single__body-inner { padding: 0; }
  .country-single__stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .country-single__body { padding: 32px 36px; }
  .country-single__categories { gap: 10px; }
  .guide-category { padding: 20px; flex-wrap: wrap; }
  .guide-category__status { width: 100%; padding-top: 12px; border-top: 1px solid #e8e2d9; margin-top: 4px; }

  /* Onboarding / Profile */
  .onboarding__inner { padding: 0 36px; }
  .onboarding__header { padding: 80px 0 40px; }
  .onboarding__headline { font-size: clamp(24px, 7vw, 36px); }
  .profile-edit { padding: 0 36px 48px; }
  .profile-edit__header { padding: 100px 0 40px; }
  .profile-edit__headline { font-size: clamp(24px, 7vw, 36px); }
  .profile-edit__actions { flex-direction: column; align-items: flex-start; }

  /* Sign-in / Registration */
  .auth-card { padding: 32px 24px; margin: 16px; }
  .auth-page { padding: 104px 36px 60px; }
  .auth-page__card { padding: 32px 24px; }
  /* Stack Remember Me + Lost password vertically on small screens */
  .user-registration-before-login-btn { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
  .auth-page__headline { font-size: clamp(28px, 8vw, 40px); }

  /* Auth simple (lost password / reset password) */
  .auth-simple { padding: 64px 36px 48px; }
  .auth-simple__card { padding: 32px 24px; }

  /* Saved items */
  .saved-items { padding: 0 36px 48px; }
  .saved-items__header { padding: 100px 0 40px; }
  .saved-items__headline { font-size: clamp(24px, 7vw, 36px); }

  /* Countries archive */
  .countries-archive { padding: 0 36px 48px; }
  .countries-archive__headline { font-size: clamp(28px, 8vw, 44px); }
  .countries-archive__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Signposting */
  .signpost-page__hero { padding: 100px 36px 48px; }
  .signpost-page__headline { font-size: clamp(28px, 8vw, 44px); }
  .signpost-page__how { padding: 48px 36px; }
  .signpost-page__how-step { padding: 24px 20px; }
  .signpost-page__how-num { font-size: 40px; }
  .signpost-page__form-section { padding: 48px 36px; }
  .signpost-page__coming-soon { flex-direction: column; gap: 12px; }

  /* 404 */
  .error-404 { padding: 80px 36px 60px; }
  .error-404__headline { font-size: clamp(24px, 7vw, 36px); }

  /* Dashboard link hidden — Dashboard is in mobile drawer instead */
  .nav__item--dashboard { display: none; }
}

/* ==========================================================================
   Auth — Simple (Lost Password / Reset Password)
   ========================================================================== */

.auth-simple {
  background: #ffffff;
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.auth-simple__inner {
  width: 100%;
  max-width: 440px;
}

.auth-simple__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3d5c44;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.auth-simple__back:hover { color: #0d1a12; }
.auth-simple__back svg { width: 16px; height: 16px; }

.auth-simple__card {
  background: #ffffff;
  border: 1px solid #e8e2d9;
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 24px;
}

.auth-simple__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.auth-simple__icon svg { width: 28px; height: 28px; }
.auth-simple__icon--success { background: #f0faf3; color: #15803d; }
.auth-simple__icon--error   { background: #fef2f2; color: #b91c1c; }

.auth-simple__headline {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin: 0 0 12px;
  line-height: 1.15;
}

.auth-simple__body {
  font-size: 14px;
  color: #3d5c44;
  line-height: 1.7;
  margin: 0 0 16px;
}

.auth-simple__form { margin-top: 28px; }

.auth-simple__field { margin-bottom: 20px; }

.auth-simple__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0d1a12;
  margin-bottom: 8px;
}

.auth-simple__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d4cec6;
  border-radius: 8px;
  font-size: 15px;
  color: #0d1a12;
  background: #faf9f7;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.auth-simple__input:focus {
  outline: none;
  border-color: #a67c20;
  background: #ffffff;
}

.auth-simple__switch {
  text-align: center;
  font-size: 13px;
  color: #3d5c44;
}
.auth-simple__switch a {
  color: #a67c20;
  font-weight: 600;
  text-decoration: none;
}
.auth-simple__switch a:hover { text-decoration: underline; }

/* Auth page notice (sign-in success after reset) */
.auth-page__notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.auth-page__notice svg { width: 14px; height: 14px; flex-shrink: 0; }
.auth-page__notice--success {
  background: #f0faf3;
  border: 1px solid #86efac;
  color: #15803d;
}

/* ==========================================================================
   Sectors Archive (placeholder)
   ========================================================================== */

.sectors-archive {
  background: #ffffff;
  padding: 0 72px 100px;
}

.sectors-archive__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.sectors-archive__header {
  padding: 140px 0 56px;
  max-width: 640px;
}

.sectors-archive__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sectors-archive__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #a67c20;
}

.sectors-archive__headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin-bottom: 20px;
  line-height: 1.1;
}

.sectors-archive__body {
  font-size: 16px;
  color: #3d5c44;
  line-height: 1.7;
}

.sectors-archive__placeholder {
  padding: 80px 0;
  border-top: 1px solid #e8e2d9;
}

.sectors-archive__placeholder-inner {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sectors-archive__placeholder-icon {
  width: 36px;
  height: 36px;
  color: #a67c20;
  opacity: 0.7;
}

.sectors-archive__placeholder-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d1a12;
}

.sectors-archive__placeholder-body {
  font-size: 15px;
  color: #3d5c44;
  line-height: 1.7;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .sectors-archive { padding: 0 32px 64px; }
  .sectors-archive__header { padding: 120px 0 48px; }
}

/* ==========================================================================
   Signposting Page
   ========================================================================== */

.signpost-page { background: var(--bg); color: var(--text); }

.signpost-page__hero {
  padding: 140px 72px 80px;
  border-bottom: 1px solid var(--border);
}
.signpost-page__hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.signpost-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.signpost-page__back:hover { color: var(--text); }
.signpost-page__back svg { width: 16px; height: 16px; }

.signpost-page__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.signpost-page__headline {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 24px;
}
.signpost-page__headline em { font-style: normal; color: var(--gold); }

.signpost-page__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

.signpost-page__how {
  padding: 80px 72px;
  border-bottom: 1px solid var(--border);
}
.signpost-page__how-inner { max-width: 1080px; margin: 0 auto; }
.signpost-page__how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.signpost-page__how-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}
.signpost-page__how-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}
.signpost-page__how-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.signpost-page__how-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.signpost-page__form-section { padding: 80px 72px; }
.signpost-page__form-inner { max-width: 720px; margin: 0 auto; }
.signpost-page__form-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.signpost-page__form-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.signpost-page__form-headline {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 40px;
}

.signpost-page__coming-soon {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.signpost-page__coming-soon i[data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.signpost-page__coming-soon strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.signpost-page__coming-soon p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.signpost-page__coming-soon a {
  color: var(--gold);
  text-decoration: none;
}
.signpost-page__coming-soon a:hover { text-decoration: underline; }

/* ==========================================================================
   Saved Items Page
   ========================================================================== */

.saved-items {
  background: #ffffff;
  color: #0d1a12;
  padding: 0 72px 100px;
}

.saved-items__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.saved-items__header { padding: 112px 0 48px; }

.saved-items__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3d5c44;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.saved-items__back:hover { color: #0d1a12; }
.saved-items__back svg { width: 16px; height: 16px; }

.saved-items__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8892a;
  margin-bottom: 12px;
}

.saved-items__headline {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1a12;
  margin: 0;
}

.saved-items__empty {
  text-align: center;
  padding: 80px 32px;
  border-top: 1px solid #e5e7eb;
}

.saved-items__empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.saved-items__empty-icon i[data-lucide] { width: 28px; height: 28px; color: #9ca3af; }

.saved-items__empty-title {
  font-size: 20px;
  font-weight: 600;
  color: #0d1a12;
  margin: 0 0 12px;
}

.saved-items__empty-body {
  font-size: 15px;
  color: #3d5c44;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Content pages (page.php)
   ========================================================================== */

.content-page {
  color: var(--text);
  min-height: 100vh;
}

.content-page__header {
  background: #ffffff;
  padding: 120px 56px 0;
}

.content-page__header-inner {
  max-width: 800px;
  margin: 0 auto;
  border-bottom: 1px solid #e2e8e4;
  padding-bottom: 72px;
}

.content-page__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c20;
  margin-bottom: 20px;
}

.content-page__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0d1a12;
}

.content-page__body {
  padding: 72px 32px 120px;
  background: #ffffff;
}

.content-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Prose typography ── */

.prose {
  color: #3d4f42;
  font-size: 16px;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d1a12;
  margin: 56px 0 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8e4;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0d1a12;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}

.prose p {
  margin: 0 0 20px;
}

.prose p:last-child { margin-bottom: 0; }

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 83, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.prose a:hover {
  text-decoration-color: var(--gold);
}

.prose ul,
.prose ol {
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #3d4f42;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.prose ol {
  counter-reset: prose-counter;
}

.prose ol li {
  counter-increment: prose-counter;
}

.prose ol li::before {
  content: counter(prose-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.8;
}

.prose strong {
  font-weight: 600;
  color: var(--text);
}

.prose em {
  color: var(--text-dim);
  font-style: italic;
}

.prose em a {
  color: var(--text-dim);
}

.prose .btn {
  display: inline-block;
  margin-top: 8px;
}

.prose .btn--gold,
.prose .btn--gold:hover {
  color: #0d1a12;
}

.prose .btn--gold:hover {
  background: var(--gold-light);
}

/* Legal pages: extra spacing on dl-style content */
.prose p + h2 { margin-top: 48px; }

@media (max-width: 768px) {
  .content-page__header { padding: 60px 24px 0; }
  .content-page__title  { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .content-page__body   { padding: 56px 24px 80px; }
}

@media (max-width: 480px) {
  .content-page__header { padding: 48px 20px 0; }
  .content-page__body   { padding: 48px 20px 64px; }
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
  background: var(--bg);
  color: var(--text);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.error-404__inner { text-align: center; max-width: 480px; }

.error-404__eyebrow {
  font-family: var(--display);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--border);
  margin-bottom: 24px;
}

.error-404__headline {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 16px;
}

.error-404__body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 40px;
}

.error-404__actions { display: flex; justify-content: center; }

/* ── Very small screens (≤ 400px) ── */
@media (max-width: 400px) {
  /* Country grid: 2 cols is too tight — drop to 1 */
  .dashboard__country-grid { grid-template-columns: 1fr; }
  /* Countries archive grid: same */
  .countries-archive__grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   LIGHT THEME  (?theme=light)
   Override design tokens only — everything that references var(--x) cascades
   ============================================================================= */

/* ==========================================================================
   DARK MODE — only active via ?theme=dark query parameter
   ========================================================================== */

body[data-theme="dark"] {
  --bg:         #0d1a12;
  --surface:    #152a1c;
  --surface-2:  #1a3322;
  --border:     #1e3d27;
  --text:       #f5f0e8;
  --text-muted: #9aad9e;
  --text-dim:   #829e87;
}

/* Dark hero — stronger gradient on dark surface */
body[data-theme="dark"] .hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(44, 95, 74, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
}

/* Dark country hero — deeper gradient, no light border */
body[data-theme="dark"] .country-single__hero {
  background-image: radial-gradient(ellipse at 65% 50%, var(--surface-2) 0%, var(--bg) 70%);
  border: none;
}
body[data-theme="dark"] .country-single__back     { color: #9aad9e; }
body[data-theme="dark"] .country-single__name     { color: #f5f0e8; }
body[data-theme="dark"] .country-single__iso      { color: #829e87; }
body[data-theme="dark"] .country-single__overview { color: #9aad9e; }
body[data-theme="dark"] .country-single__stats    { border-top-color: rgba(154, 173, 158, 0.2); }
body[data-theme="dark"] .country-single__stat dt  { color: #829e87; }
body[data-theme="dark"] .country-single__stat dd  { color: #f5f0e8; }

/* ==========================================================================
   ONBOARDING — Select all countries
   ========================================================================== */

.onboarding__country-select-all {
  margin-bottom: 20px;
}

.onboarding__select-all-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.onboarding__select-all-label:hover { color: var(--text); }

.onboarding__select-all-input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   MOBILE FIXES
   ========================================================================== */

/* Hero — prevent headline overflow clipping on narrow viewports */
@media (max-width: 600px) {
  .hero__headline {
    font-size: clamp(28px, 9vw, 44px);
    overflow-wrap: break-word;
    word-break: break-word;
  }
  /* Override the desktop white-space:nowrap so long phrases can wrap */
  .hero__headline span,
  .hero__headline em { white-space: normal; }

  /* Sign in — show as text link in mobile top bar for logged-out users */
  body:not(.logged-in) .nav__right { gap: 8px; }
  body:not(.logged-in) .nav__item--auth .btn--ghost {
    display: inline-flex;
    background: none;
    border: none;
    padding: 4px 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: none;
  }
  body:not(.logged-in) .nav__item--auth .btn--ghost:hover { color: var(--text); }
}
