/* ==========================================================================
   AXIOM MEDIA — Shared stylesheet (static multi-page site)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Syne:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #0C0C0C;
  --surface: #151513;
  --surface-2: #1B1B18;
  --paper: #F2EEE6;
  --muted: rgba(242,238,230,0.68);
  --muted-strong: rgba(242,238,230,0.85);
  --gold: #D4A359;
  --gold-light: #F0D597;
  --gold-dark: #8A6A3A;
  --green: #1C3B2B;
  --green-light: #2E5540;
  --border: rgba(212,163,89,0.18);
  --border-strong: rgba(212,163,89,0.38);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 100px;
  --ticker-h: 36px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Fixed grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/rect%3E%3C/svg%3E");
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Ticker ---------- */
.ticker {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--ticker-h);
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  height: 100%;
}
.ticker-item span.label {
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-family: var(--font-body);
}
.ticker-item span.dot { color: var(--border-strong); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: var(--ticker-h);
  z-index: 40;
  background: rgba(12,12,12,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { height: 36px; width: auto; display: block; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 640px) {
  .logo-word { font-size: 15px; letter-spacing: 0.25em; }
}
.logo-tagline {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.nav-link-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 32px;
}
.nav-link {
  position: relative;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-strong);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.3s cubic-bezier(0.22,1,0.36,1);
}
@media (hover: hover) { .nav-link:hover::after { right: 0; } }
.nav-links { display: none; }
@media (min-width: 1024px) { .nav-links { display: flex; } }

/* ---------- Buttons ---------- */
.nav-cta-full { display: none; }
.nav-cta-short { display: inline; }
@media (min-width: 420px) {
  .nav-cta-full { display: inline; }
  .nav-cta-short { display: none; }
}
@media (max-width: 359px) {
  .logo { gap: 8px; }
  .logo-word { font-size: 12px; letter-spacing: 0.14em; }
  .nav-inner .btn-sm { padding: 9px 14px; font-size: 12px; gap: 6px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
}
@media (hover: hover) { .btn:hover { transform: scale(1.05); } }
.btn:active { transform: scale(0.95); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: 13px; min-height: 44px; }
.btn-outline {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--border-strong);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
@media (hover: hover) {
  .btn-outline:hover { background-color: rgba(212,163,89,0.08); border-color: var(--gold); }
}
.btn-full { width: 100%; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s cubic-bezier(0.22,1,0.36,1);
}
@media (hover: hover) { .btn-shine:hover::after { left: 125%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 188px 24px 96px;
  background: var(--ink);
}
.hero-bg-1 {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(212,163,89,0.12) 0%, rgba(12,12,12,0) 70%);
}
.hero-bg-2 {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 45% at 88% 100%, rgba(28,59,43,0.35) 0%, rgba(12,12,12,0) 65%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  display: none;
  background: radial-gradient(500px circle at var(--hx,50%) var(--hy,30%), rgba(240,213,151,0.09), transparent 70%);
  transition: background 0.2s ease-out;
}
@media (min-width: 640px) { .hero-glow { display: block; } }
.hero-inner { position: relative; max-width: 880px; }
.hero-eyebrow {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}
.hero-h1 {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.22;
  font-size: clamp(1.75rem, 1rem + 3.4vw, 3.5rem);
}
@media (min-width: 640px) { .hero-h1 { line-height: 1.16; } }
@media (min-width: 1024px) { .hero-h1 { line-height: 1.14; } }
.hero-sub {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: 16px;
  color: var(--paper);
  line-height: 1.7;
}
@media (min-width: 640px) { .hero-sub { font-size: 18px; } }
.hero-cta { margin-top: 36px; display: flex; justify-content: center; }
.hero-trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-strong);
}
.hero-trust .dot { color: var(--border-strong); }

/* Hero entrance stagger */
.hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-in:nth-child(1) { animation-delay: .05s; }
.hero-in:nth-child(2) { animation-delay: .16s; }
.hero-in:nth-child(3) { animation-delay: .27s; }
.hero-in:nth-child(4) { animation-delay: .38s; }
.hero-in:nth-child(5) { animation-delay: .49s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections ---------- */
section { padding: 96px 24px; }
@media (max-width: 640px) { section { padding: 64px 20px; } }
.section-tag {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.section-heading { max-width: 720px; }
.section-heading.center { margin: 0 auto; text-align: center; }
.section-h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--paper);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
}
.section-intro {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted-strong);
}
@media (min-width: 640px) { .section-intro { font-size: 18px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.975);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero-in { animation: none !important; }
  .reveal, .hero-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Spotlight hover ---------- */
.spotlight { position: relative; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease; }
.spotlight::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(480px circle at var(--mx,50%) var(--my,50%), rgba(212,163,89,0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}
@media (hover: hover) {
  .spotlight:hover::before { opacity: 1; }
  .spotlight:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,0.5); }
}
.spotlight-glow { position: relative; }
.spotlight-glow::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(480px circle at var(--mx,50%) var(--my,50%), rgba(212,163,89,0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}
@media (hover: hover) { .spotlight-glow:hover::before { opacity: 1; } }

/* ---------- Problem cards ---------- */
.problem-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
.problem-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
}
.problem-top { display: flex; align-items: center; gap: 16px; }
.problem-num {
  display: flex; align-items: center; justify-content: center;
  height: 44px; width: 44px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--gold);
  font-size: 14px; font-weight: 600;
}
.problem-title { margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--paper); }
.problem-body { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--muted); }

/* ---------- How it works timeline ---------- */
.timeline { margin-top: 64px; position: relative; }
.timeline-line {
  position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px;
  background: var(--border);
  display: none;
}
@media (min-width: 640px) { .timeline-line { display: block; } }
.timeline-list { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 640px) { .timeline-list { gap: 56px; } }
.step-row { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 640px) { .step-row { flex-direction: row; gap: 32px; } }
.step-num-wrap { display: flex; align-items: center; gap: 16px; }
@media (min-width: 640px) { .step-num-wrap { width: 56px; flex-direction: column; gap: 0; } }
.step-num {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  height: 56px; width: 56px; border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--surface);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.step-card { flex: 1; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); padding: 28px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--paper); }
.step-body { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--muted); }

/* ---------- Engagement tiers ---------- */
.tiers-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .tiers-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; } }
@media (min-width: 1024px) { .tiers-grid { gap: 32px; } }
.tier-outer { height: 100%; }
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
}
.tier-card.featured {
  background: linear-gradient(160deg, #17281F 0%, var(--surface) 55%, var(--surface) 100%);
  border-color: var(--gold);
  border-width: 1.5px;
  box-shadow: 0 24px 64px -24px rgba(212,163,89,0.35);
}
@media (min-width: 768px) {
  .tier-card.featured { transform: translateY(-12px) scale(1.05); position: relative; z-index: 10; }
}
.tier-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 6px 16px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; white-space: nowrap;
}
.tier-tag { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--gold); }
.tier-name { margin-top: 12px; font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--paper); }
.tier-price-row { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.tier-price { font-family: var(--font-serif); font-weight: 700; font-size: 40px; color: var(--paper); }
.tier-card.featured .tier-price { color: var(--gold-light); }
.tier-price-unit { font-size: 14px; color: var(--muted); }
.tier-price-badge {
  margin-top: 12px; display: inline-flex; align-items: center; width: fit-content;
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 4px 12px;
  font-size: 13px; font-weight: 500; color: var(--muted-strong);
}
.tier-list { margin-top: 28px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.tier-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--muted-strong); }
.tier-list svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.tier-cta { margin-top: 32px; }
.tier-guarantee-line { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.tiers-footnotes { margin-top: 56px; max-width: 720px; margin-inline: auto; text-align: center; }
.tiers-footnotes p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.tiers-footnotes p + p { margin-top: 8px; }

/* ---------- Guarantee ---------- */
.guarantee-wrap { max-width: 880px; margin: 0 auto; }
.guarantee-card {
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: radial-gradient(120% 100% at 50% 0%, #16281E 0%, var(--ink) 60%);
  box-shadow: 0 32px 80px -32px rgba(0,0,0,0.6);
  padding: 40px 32px;
}
@media (min-width: 640px) { .guarantee-card { padding: 56px; } }
.guarantee-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.guarantee-icon {
  display: flex; align-items: center; justify-content: center;
  height: 56px; width: 56px; border-radius: 999px;
  border: 2px solid var(--gold); background: var(--green);
}
.guarantee-tag { margin-top: 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }
.guarantee-h2 { margin-top: 12px; font-family: var(--font-serif); font-weight: 700; color: var(--paper); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.guarantee-copy { margin-top: 20px; max-width: 640px; font-size: 17px; line-height: 1.75; color: var(--muted-strong); }
@media (min-width: 640px) { .guarantee-copy { font-size: 18px; } }
.guarantee-copy strong { color: var(--paper); font-weight: 600; }
.guarantee-backing { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 40px; }
.guarantee-backing-tag { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--gold); }
.backing-list { margin-top: 32px; }
.backing-row { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.backing-row:last-child { border-bottom: none; }
.backing-icon { display: flex; align-items: center; justify-content: center; height: 40px; width: 40px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--border-strong); }
.backing-text { font-size: 16px; line-height: 1.6; color: var(--muted-strong); }
.backing-text strong { color: var(--paper); font-weight: 600; }
.guarantee-footnote { margin-top: 24px; text-align: center; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 44px;
  padding: 24px 12px; margin: 0 -12px;
  border-radius: 8px;
  text-align: left;
  transition: background-color 0.25s ease;
}
@media (hover: hover) { .faq-btn:hover { background-color: rgba(212,163,89,0.05); } }
.faq-q { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--paper); }
.faq-chevron { flex-shrink: 0; color: var(--gold); transition: transform 0.3s ease; }
.faq-btn[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s cubic-bezier(0.22,1,0.36,1); }
.faq-panel.open { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-answer { padding-bottom: 24px; padding-right: 32px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.faq-footnote { margin-top: -12px; padding-bottom: 24px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- Executive briefing CTA ---------- */
.exec-cta-box {
  max-width: 720px; margin: 0 auto;
  border-radius: 24px; border: 1px solid var(--border-strong);
  background: var(--surface-2);
  padding: 40px 24px; text-align: center;
}
@media (min-width: 640px) { .exec-cta-box { padding: 56px; } }
.exec-cta-body { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--muted-strong); }
@media (min-width: 640px) { .exec-cta-body { font-size: 18px; } }
.exec-cta-btn { margin-top: 32px; display: flex; justify-content: center; }
.exec-cta-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: var(--ink); border-top: 1px solid var(--border); }
.footer-inner { padding: 64px 24px 0; }
@media (min-width: 640px) { .footer-inner { padding: 80px 24px 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer-link::before { content: ''; position: absolute; top: -10px; bottom: -10px; left: -4px; right: -4px; }
@media (hover: hover) { .footer-link:hover { color: var(--gold-light) !important; } }
.footer-legal { display: flex; flex-direction: column; }
.footer-legal-link {
  position: relative;
  width: fit-content;
  min-height: 44px;
  display: flex; align-items: center;
  font-size: 15px;
  color: var(--muted-strong);
  transition: color 0.2s ease;
}
@media (hover: hover) { .footer-legal-link:hover { color: var(--gold-light); } }
.footer-bottom {
  margin-top: 56px; padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: 13px; color: var(--muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom a { min-height: 44px; display: flex; align-items: center; }

/* ---------- Legal / static page content ---------- */
.legal-main { padding-top: calc(var(--header-h) + 56px); }
.legal-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.legal-updated { margin-top: 12px; font-size: 13px; color: var(--muted); }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.legal-section p { font-size: 16px; line-height: 1.8; color: var(--muted-strong); }
.legal-disclaimer {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; line-height: 1.7; color: var(--muted);
}
.legal-back { margin-top: 40px; }

/* ---------- 404 ---------- */
.notfound-main {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 24px 80px;
}
.notfound-code {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--gold);
  line-height: 1;
}
.notfound-title { margin-top: 16px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); color: var(--paper); }
.notfound-body { margin-top: 16px; max-width: 480px; font-size: 17px; line-height: 1.7; color: var(--muted-strong); }
.notfound-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -16px 48px -16px rgba(0,0,0,0.6);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1160px; margin: 0 auto; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 768px) { .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }
.cookie-text { font-size: 14px; line-height: 1.6; color: var(--muted-strong); }
.cookie-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0 !important; }
