/* ==========================================================================
   XAU FRONTIER — xaufrontier.com
   Built to Brand Kit v1. Gold is scarce: dark surfaces everywhere,
   gold for the mark, key numbers, and one accent per screen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted — no third-party requests)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — Brand Kit v1 */
  --gold:       #D9B24A;
  --champagne:  #F0D488;
  --obsidian:   #0B0B0D;
  --charcoal:   #141416;
  --bone:       #EFEADD;
  --ink:        #1A1913;

  /* Derived surfaces */
  --surface-2:  #1B1B1E;
  --hairline:   rgba(239, 234, 221, 0.10);
  --hairline-gold: rgba(217, 178, 74, 0.28);
  --text:       var(--bone);
  --text-muted: rgba(239, 234, 221, 0.62);
  --text-dim:   rgba(239, 234, 221, 0.42);

  /* Semantic (signal direction only — never decorative) */
  --buy:  #4FB477;
  --sell: #D9534F;

  /* Type */
  --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-body:    'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label:   'Barlow Condensed', 'Arial Narrow', sans-serif;

  /* Rhythm */
  --wrap: 1140px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --radius: 14px;
  --radius-sm: 9px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  /* offset for the sticky header when jumping to an anchor */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--obsidian);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

::selection { background: var(--gold); color: var(--ink); }

/* --------------------------------------------------------------------------
   4. Typography primitives
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.02em;
}

h1.display { font-size: clamp(2.85rem, 8.5vw, 5.75rem); }
h2.display { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h3.display { font-size: clamp(1.4rem, 2.6vw, 1.75rem); letter-spacing: 0.035em; }

.overline {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8125rem;
  color: var(--gold);
  display: block;
}

.lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.42vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.62;
}

.gold { color: var(--gold); }
.num  { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* Wordmark — Brand Kit tracking: XAU 0.03em, FRONTIER 0.06em */
.wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--bone);
}
.wordmark .wm-xau  { letter-spacing: 0.03em; }
.wordmark .wm-fron { letter-spacing: 0.06em; margin-left: 0.24em; color: var(--gold); }

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { padding-block: var(--section-y); position: relative; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head .overline { margin-bottom: 0.85rem; }
.section-head h2 { margin-bottom: 1rem; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--hairline-gold), transparent 70%);
  border: 0;
}

/* --------------------------------------------------------------------------
   6. Brand mark (inline SVG candles)
   -------------------------------------------------------------------------- */
/* The mark's shapes paint with currentColor, so `color` is what tints it.
   A descendant selector (.mark line) would not match — those shapes live in
   the shadow tree <use> clones, which selectors cannot reach. */
.mark { flex: none; color: var(--gold); }

.lockup { display: inline-flex; align-items: center; gap: 0.7em; }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 1.0625rem;
  padding: 0.95em 1.75em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease),
              border-color 0.22s var(--ease), color 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 rgba(217, 178, 74, 0);
}
.btn-primary:hover {
  background: var(--champagne);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(217, 178, 74, 0.55);
}

.btn-ghost {
  border-color: var(--hairline-gold);
  color: var(--text);
  background: rgba(217, 178, 74, 0.04);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.68em 1.2em; font-size: 0.9375rem; letter-spacing: 0.11em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--hairline);
  background: rgba(11, 11, 13, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.nav-brand { display: inline-flex; align-items: center; gap: 0.65rem; margin-right: auto; }
.nav-brand .mark { width: 34px; height: 24px; }
.nav-brand .wordmark { font-size: 1.4rem; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
  padding-block: 0.25rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; padding: 0.5rem; margin-right: -0.5rem; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--text); }

/* The in-menu CTA is for the mobile panel only — .nav-cta covers desktop. */
.nav-links .btn { display: none; }

@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--hairline);
    padding: 0.5rem var(--gut) 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.38s var(--ease);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding-block: 1rem; border-bottom: 1px solid var(--hairline); font-size: 1.1rem; }
  .nav-links a::after { display: none; }
  .nav-links .btn {
    display: inline-flex;
    margin-top: 1.25rem;
    width: 100%;
    border-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

/* Scarce gold: a single soft bloom, plus a faint chart grid. */
.hero::before {
  content: '';
  position: absolute;
  top: -18%;
  left: 50%;
  width: min(940px, 120%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 178, 74, 0.13) 0%, rgba(217, 178, 74, 0.05) 38%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(239, 234, 221, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 234, 221, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 25%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero h1 { margin: 1.1rem 0 0; }
.hero h1 .line-2 { color: var(--gold); display: block; }
.hero .lede { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2.25rem; }

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-note svg { width: 1rem; height: 1rem; flex: none; stroke: var(--text-dim); }

/* --------------------------------------------------------------------------
   10. Signal card
   -------------------------------------------------------------------------- */
.signal-card {
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.9);
}

.signal-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--hairline);
  background: rgba(217, 178, 74, 0.035);
}
.signal-card__head .mark { width: 26px; height: 18px; }
.signal-card__chan {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.9375rem;
}
.signal-card__live {
  margin-left: auto;
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8125rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(217, 178, 74, 0.5); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 6px rgba(217, 178, 74, 0); }
}

.signal-card__body { padding: 1.5rem 1.25rem 1.25rem; }

.signal-pair {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}
.signal-pair__sym {
  font-family: var(--font-display);
  font-size: 2.15rem;
  letter-spacing: 0.045em;
}
.tag {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  line-height: 1.5;
}
.tag-buy  { background: rgba(79, 180, 119, 0.14); color: var(--buy);  border: 1px solid rgba(79, 180, 119, 0.32); }
.tag-id   { background: rgba(239, 234, 221, 0.05); color: var(--text-dim); border: 1px solid var(--hairline); margin-left: auto; }

.signal-rows { display: grid; gap: 1px; background: var(--hairline); border-radius: var(--radius-sm); overflow: hidden; }
.signal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--surface-2);
}
.signal-row__label {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.signal-row__val {
  font-weight: 600;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
}
.signal-row--tp .signal-row__val { color: var(--buy); }
.signal-row--sl .signal-row__val { color: var(--sell); }
.signal-row--entry .signal-row__val { color: var(--gold); }

.signal-card__foot {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--hairline);
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Ticker
   -------------------------------------------------------------------------- */
.ticker {
  border-block: 1px solid var(--hairline);
  background: var(--charcoal);
  overflow: hidden;
  padding-block: 0.85rem;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__item {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-inline: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--hairline-gold);
  margin-left: 1.6rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   12. Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.card {
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 1.9rem);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.card:hover {
  border-color: var(--hairline-gold);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.9688rem; }

.card__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(217, 178, 74, 0.09);
  border: 1px solid var(--hairline-gold);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; }

/* Numbered steps */
.step { position: relative; }
.step__n {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  display: block;
}

/* --------------------------------------------------------------------------
   13. Anatomy (annotated signal explainer)
   -------------------------------------------------------------------------- */
.anatomy {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
/* The list runs much taller than the intro; pinning the intro keeps it beside
   the item you are reading instead of stranding it against dead space. */
@media (min-width: 941px) {
  .anatomy > .section-head { position: sticky; top: 108px; }
}
@media (max-width: 940px) { .anatomy { grid-template-columns: 1fr; } }

.anatomy-list { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.anatomy-item { background: var(--charcoal); padding: 1.35rem 1.5rem; }
.anatomy-item dt {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.anatomy-item dd { color: var(--text-muted); font-size: 0.9688rem; margin: 0; }

/* --------------------------------------------------------------------------
   14. Beginner band
   -------------------------------------------------------------------------- */
.band {
  background: var(--charcoal);
  border-block: 1px solid var(--hairline);
}

.checklist { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 1rem;
}
.checklist svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 0.24em;
  stroke: var(--gold);
  fill: none;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.4rem 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q svg {
  width: 20px; height: 20px;
  flex: none;
  stroke: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq-q[aria-expanded='true'] svg { transform: rotate(45deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a[data-open='true'] { grid-template-rows: 1fr; }
.faq-a p {
  color: var(--text-muted);
  padding-bottom: 1.4rem;
  padding-right: 2rem;
  max-width: 68ch;
  font-size: 0.9688rem;
}

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: auto 0 -55% 0;
  height: 130%;
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(217, 178, 74, 0.14), transparent 70%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; }
.cta .mark { width: 62px; height: 43px; margin: 0 auto 1.75rem; }
.cta h2 { margin-bottom: 1rem; }
.cta .lede { margin: 0 auto 2.25rem; }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   17. Risk notice
   -------------------------------------------------------------------------- */
.risk {
  border: 1px solid rgba(217, 83, 79, 0.3);
  background: rgba(217, 83, 79, 0.05);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.75rem);
}
.risk h2 {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1rem;
  color: #E8837F;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.risk h2 svg { width: 18px; height: 18px; stroke: #E8837F; fill: none; flex: none; }
.risk p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.risk p + p { margin-top: 0.7rem; }
.risk a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
  background: var(--charcoal);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.footer-brand .lockup { margin-bottom: 1.1rem; }
.footer-brand .mark { width: 38px; height: 27px; }
.footer-brand .wordmark { font-size: 1.55rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.9375rem; max-width: 34ch; }

.footer-col h3 {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}
.footer-col li + li { margin-top: 0.65rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9375rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.footer-bar .tagline {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   19. Legal pages
   -------------------------------------------------------------------------- */
.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal-body { max-width: 74ch; }
.legal-body h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 2.5rem 0 0.85rem;
  color: var(--bone);
}
.legal-body h2:first-of-type { margin-top: 1.75rem; }
.legal-body p, .legal-body li { color: var(--text-muted); font-size: 1rem; }
.legal-body p + p { margin-top: 0.9rem; }
.legal-body ul { display: grid; gap: 0.6rem; margin: 1rem 0 0 1.15rem; list-style: disc; }
.legal-body ul li::marker { color: var(--gold); }
.legal-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-body strong { color: var(--bone); font-weight: 600; }
.legal-meta {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   20. Reveal on scroll

   Fail-safe by design: .reveal is only hidden once main.js has confirmed it
   can un-hide it (it sets .js on <html> before observing anything). If the
   script is blocked, errors, or never loads, every section renders normally
   instead of leaving a blank page.
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  z-index: 200;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   21. Motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

@media print {
  .site-header, .ticker, .cta, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
