/* ============================
   Golden Investments — Light Theme Design Tokens
   ============================ */
:root {
  --bg-page: #FAF7F0;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F3EEE1;
  --line: #E3DCC9;
  --line-strong: #D6CCAF;

  --navy-950: #12182A;
  --navy-900: #1A2238;

  --gold-600: #9C6F0B;
  --gold-500: #B8860B;
  --gold-400: #C9971F;
  --gold-300: #DDAF3F;
  --gold-tint: rgba(184, 134, 11, 0.10);

  --ink: #1C2233;
  --ink-muted: #5C6478;
  --ink-faint: #8B92A3;

  --up: #2E7D52;
  --down: #B0503D;

  --font-display: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

/* ============================
   Header
   ============================ */
#site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-ticker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--bg-surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tick-up { color: var(--up); }

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--gold-600); }

.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-surface);
  background: var(--navy-950);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover { background: var(--gold-500); transform: translateY(-1px); }

/* ============================
   Shared section rhythm
   ============================ */
main { padding-top: 5.25rem; }

section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5.5rem 2rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.25;
  max-width: 30ch;
  color: var(--ink);
}

.section-title.center { max-width: 22ch; margin: 0 auto 3rem; text-align: center; }

/* ============================
   Hero
   ============================ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 6.5rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy-950);
  color: var(--bg-surface);
}

.btn-primary:hover { background: var(--gold-500); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--bg-surface);
}

.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-600); }

.btn-large { padding: 1rem 2.25rem; font-size: 1.05rem; }

.hero-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
  max-width: 44ch;
}

.hero-chart {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(28, 34, 51, 0.06);
}

.grid-line { stroke: var(--line); stroke-width: 1; }

.candle.up { fill: var(--up); }
.candle.down { fill: var(--down); }
.wick.up { stroke: var(--up); stroke-width: 2; }
.wick.down { stroke: var(--down); stroke-width: 2; }

.trend-line {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 2;
  stroke-dasharray: 4 4;
  opacity: 0.7;
}

/* ============================
   Ticker
   ============================ */
.ticker-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-surface-alt);
  overflow: hidden;
  padding: 0.9rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-ticker 32s linear infinite;
  gap: 0.75rem;
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  white-space: nowrap;
  padding: 0 0.75rem;
}

.ticker-track .dot { color: var(--gold-500); padding: 0; }

@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================
   Services
   ============================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(28, 34, 51, 0.07);
}

.service-icon {
  font-size: 1.6rem;
  color: var(--gold-600);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.service-card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* ============================
   How it works
   ============================ */
.how-it-works {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.how-sub {
  color: var(--ink-muted);
  margin-top: 1rem;
  max-width: 34ch;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.step:last-child { border-bottom: none; padding-bottom: 0; }

.step-index {
  font-family: var(--font-mono);
  color: var(--gold-600);
  font-size: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.step p { color: var(--ink-muted); font-size: 0.98rem; }

/* ============================
   Insights / trust band
   ============================ */
.insights { background: var(--bg-surface-alt); max-width: 100%; }
.insights > * { max-width: var(--container); margin-left: auto; margin-right: auto; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.insight-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-surface);
}

.insight-figure {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.insight-label {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ============================
   About
   ============================ */
.about { max-width: 780px; }
.about p { color: var(--ink-muted); font-size: 1.05rem; margin-top: 1rem; }

/* ============================
   CTA
   ============================ */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-surface-alt), var(--bg-page));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
  padding: 5.5rem 2rem;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.cta p {
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

/* ============================
   Footer — kept dark as a deliberate bookend to the header,
   grounding an otherwise light page (see note to user)
   ============================ */
footer {
  max-width: 100%;
  padding: 4rem 2rem 2rem;
  background: var(--navy-950);
  color: #EDE9DF;
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand { max-width: 320px; }

.footer-logo { display: inline-block; margin-bottom: 0.75rem; color: var(--gold-300); }

.footer-brand p { color: #A9B0C0; font-size: 0.92rem; }

.footer-cols {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E7690;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: #A9B0C0;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--gold-300); }

.footer-disclosure {
  max-width: var(--container);
  margin: 2rem auto 0;
}

.footer-disclosure p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: #6E7690;
}

.footer-bottom {
  max-width: var(--container);
  margin: 1.5rem auto 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #6E7690;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-chart { order: -1; }
  .service-grid { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  section { padding: 3.5rem 1.25rem; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 2.5rem; }
}