/* ==========================================================================
   WorldBest Shares — styles.css
   Premium editorial finance journal. Mobile-first. Breakpoints: 720px / 1024px.
   Owned by the scaffold — do not edit from page tasks.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #fcfcf9;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --brand: #064e3b;
  --brand-2: #065f46;
  --accent: #b45309;
  --gain: #047857;
  --loss: #b91c1c;
  --line: #e7e5e4;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 6px 24px -8px rgba(28, 25, 23, 0.14);
  --container: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--brand); text-decoration: none; }
a:hover, a:focus { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Section scaffolding ---------- */
section { padding: 2.6rem 0; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title { margin-bottom: 0.35em; }

.section-lede {
  color: var(--muted);
  max-width: 46rem;
  font-size: 1.05rem;
}

.section-head { margin-bottom: 1.6rem; }

.section-more {
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 252, 249, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand:hover, .brand:focus { text-decoration: none; }

.brand-logo { width: 38px; height: 38px; flex: 0 0 auto; }

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-accent { color: var(--brand); }

/* Hamburger (mobile default) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
}
.nav-menu.open { display: flex; }

.nav-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav-menu a:hover, .nav-menu a:focus {
  background: var(--bg);
  color: var(--brand);
  text-decoration: none;
}
.nav-menu a.active {
  color: var(--brand);
  box-shadow: inset 3px 0 0 var(--accent);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 0.2rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .nav-menu a {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
  }
  .nav-menu a.active {
    box-shadow: inset 0 -3px 0 var(--accent);
    border-radius: 0;
    background: transparent;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #064e3b, #065f46);
  color: #f5f5f0;
  padding: 3.6rem 0 3.2rem;
}

.hero h1 {
  color: #ffffff;
  max-width: 18ch;
  margin-bottom: 0.5em;
}

.hero .hero-lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 42rem;
}

.accent-underline {
  background-image: linear-gradient(transparent 78%, #fbbf24 78%, #fbbf24 94%, transparent 94%);
  padding: 0 0.06em;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fcd34d;
  margin-bottom: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 720px) {
  .hero { padding: 4.6rem 0 4.2rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus { text-decoration: none; }

.btn-primary { background: var(--brand); color: #ffffff; }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-2); color: #ffffff; }

.btn-gold { background: var(--accent); color: #ffffff; }
.btn-gold:hover, .btn-gold:focus { background: #92400e; color: #ffffff; }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover, .btn-outline:focus { background: var(--brand); color: #ffffff; }

.btn-outline-light { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover, .btn-outline-light:focus { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* ---------- Stat strip (index levels) ---------- */
.stat-strip {
  padding: 0;
  margin-top: -1.7rem;
}

.stat-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.2rem 1.3rem;
}

.stat-item { border-left: 3px solid var(--accent); padding-left: 0.9rem; }

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand);
}

.stat-note {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

@media (min-width: 720px) {
  .stat-strip-inner { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
}

/* ---------- Data-as-of stamp ---------- */
.data-asof {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: #f5f5f0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin: 0.4rem 0 1rem;
}
.data-asof::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.45rem;
  vertical-align: 1px;
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Stock cards + metric chips ---------- */
.stock-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.stock-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stock-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.stock-name { font-size: 1.12rem; margin-bottom: 0.15em; }

.stock-ticker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  white-space: nowrap;
}

.stock-sector {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.metric-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 0.9rem;
}

.metric-chip {
  display: inline-flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.7rem;
  min-width: 4.6rem;
}

.chip-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.stock-thesis {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Editorial data tables ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  max-height: 72vh;
  overflow-y: auto;
}

.stock-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  min-width: 640px;
}

.stock-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.9rem 1rem 0.4rem;
}

.stock-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.stock-table tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.stock-table tbody tr:nth-child(even) { background: #faf9f5; }
.stock-table tbody tr:hover { background: #f0fdf4; }
.stock-table tbody tr:last-child td { border-bottom: none; }

.stock-table .cell-name { font-weight: 600; color: var(--ink); }
.stock-table .cell-ticker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--brand);
}

.num-gain { color: var(--gain); font-weight: 600; }
.num-loss { color: var(--loss); font-weight: 600; }

/* ---------- Preview / promo cards ---------- */
.promo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.promo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.promo-card h3 { margin-bottom: 0.35em; }
.promo-card p { color: var(--muted); font-size: 0.93rem; flex: 1 1 auto; }

.promo-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.promo-link { font-weight: 700; font-size: 0.92rem; }
.promo-link::after { content: " \2192"; }

/* ---------- Guides grid ---------- */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.guide-card h3 { font-size: 1.1rem; }
.guide-card p { color: var(--muted); font-size: 0.92rem; }

.guide-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* ---------- Guides long-form typography ---------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.7rem; }
.prose p, .prose li { font-size: 1.02rem; color: #292524; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 1.3rem;
  border-left: 4px solid var(--accent);
  background: #fffbeb;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-style: italic;
}
.prose code {
  background: #f5f5f0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 1rem 0 0;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-section { max-width: 46rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }

.faq-answer { padding: 0.9rem 1.2rem 0.3rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Broker CTA banner ---------- */
.broker-cta {
  background: linear-gradient(135deg, #064e3b, #065f46);
  border-radius: var(--radius);
  margin: 2.4rem auto;
  max-width: calc(var(--container) - 2.2rem);
  padding: 0;
}

.broker-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 2rem 1.5rem;
}

.broker-cta h2 { color: #ffffff; margin-bottom: 0.3em; font-size: 1.5rem; }
.broker-cta p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 36rem; }

@media (min-width: 720px) {
  .broker-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.2rem 2.4rem;
  }
}

/* ---------- Ad slot ---------- */
.ad-slot {
  max-width: var(--container);
  margin: 1.6rem auto;
  padding: 1.6rem 1rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #faf9f5;
  color: #a8a29e;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ad-slot:empty::after { content: "Advertisement"; }

/* ---------- Calculator UI ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}
@media (min-width: 1024px) { .calc-grid { grid-template-columns: 1.15fr 1fr; } }

.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.4rem;
  margin: 0;
}

.calc-field { margin-bottom: 1.4rem; }
.calc-field:last-child { margin-bottom: 0; }

.calc-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.calc-field input[type="number"],
.calc-field input[type="text"],
.calc-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s ease;
}
.calc-field input:focus, .calc-field select:focus {
  border-color: var(--brand);
  outline: none;
}

.calc-field input[type="range"] {
  width: 100%;
  margin-top: 0.8rem;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #ffffff;
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.3);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #ffffff;
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.3);
}
.calc-field input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 999px; background: var(--line);
}

.calc-hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; }

.calc-result {
  background: linear-gradient(160deg, #ecfdf5, #ffffff 55%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.5rem;
  position: sticky;
  top: 84px;
}

.calc-result-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.calc-result-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--brand);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.calc-result-breakdown {
  margin: 0 0 1.2rem;
  border-top: 1px solid var(--line);
}
.calc-result-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.calc-result-breakdown dt { color: var(--muted); margin: 0; }
.calc-result-breakdown dd { margin: 0; font-weight: 700; }

.calc-chart { width: 100%; height: auto; display: block; }
.calc-chart .bar-invested { fill: #a7f3d0; }
.calc-chart .bar-value { fill: var(--brand); }
.calc-chart .bar-gain { fill: var(--accent); }
.calc-chart text { font-family: var(--font-body); font-size: 11px; fill: var(--muted); }

.calc-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Fallback / notices ---------- */
.data-fallback {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: #92400e;
  font-size: 0.93rem;
}

.note-box {
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0c0a09;
  color: #d6d3d1;
  padding: 3rem 0 1.6rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #292524;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.footer-logo span { color: #fbbf24; }

.footer-brand-col p:last-child { color: #a8a29e; max-width: 30rem; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 0.8rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: #d6d3d1; }
.footer-col a:hover, .footer-col a:focus { color: #ffffff; }

.footer-compliance {
  padding: 1.4rem 0;
  border-bottom: 1px solid #292524;
}
.footer-compliance p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #a8a29e;
  max-width: 56rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
  padding-top: 1.3rem;
  font-size: 0.82rem;
  color: #a8a29e;
}
.footer-bottom p { margin: 0; }

.footer-legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.footer-legal-links a { color: #a8a29e; }
.footer-legal-links a:hover, .footer-legal-links a:focus { color: #ffffff; }

@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 4.5rem 0;
}
.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 14vw, 8rem);
  color: var(--brand);
  line-height: 1;
  margin: 0 0 0.2em;
}
.error-page p { color: var(--muted); max-width: 32rem; margin-left: auto; margin-right: auto; }
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.6rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .ad-slot, .broker-cta, .nav-toggle { display: none !important; }
  body { background: #ffffff; }
}
