/* ═══════════════════════════════════════════════════════════════
   Bee666 Forecast System — site identity
   Ground: deep night navy. Accent: engraved gold.
   Display: Marcellus · Body: IBM Plex Sans · Numbers: IBM Plex Mono
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink:      #0c0e1a;   /* page ground — deep space navy */
  --panel:    #141830;   /* raised surfaces */
  --panel-2:  #1a1f3d;   /* hover / inner surfaces */
  --line:     #262c4e;   /* hairlines */
  --gold:     #e8b34b;   /* engraved gold accent */
  --gold-dim: #a9873f;
  --text:     #e9e4d6;   /* warm parchment */
  --muted:    #8a8fa8;   /* cool grey-violet */
  --up:       #4caf7d;
  --down:     #d95757;
  --radius: 10px;
  --w: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Marcellus", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.mono, .price, .tick-label {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 14, 26, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "Marcellus", serif;
  font-size: 19px; color: var(--text);
}
.brand img { height: 34px; width: auto; } /* true aspect — never squeeze the logo */
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .cta {
  color: #10121f; background: var(--gold);
  padding: 9px 18px; border-radius: 6px; font-weight: 600;
}
.nav .cta:hover { background: #f2c363; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #10121f; }
.btn-gold:hover { background: #f2c363; text-decoration: none; }
.btn-ghost { border-color: var(--gold-dim); color: var(--gold); }
.btn-ghost:hover { background: rgba(232, 179, 75, 0.08); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px; padding-bottom: 72px;
  min-height: 560px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12;
}
.hero h1 em {
  font-style: normal; color: var(--gold);
}
.hero .lede {
  margin-top: 20px; color: var(--muted);
  font-size: 18px; max-width: 34em;
}
.hero .actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.spiral-stage { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; }
.spiral-stage canvas { width: 100%; height: 100%; display: block; }

/* eyebrow — protractor-tick motif: structure encodes the degree system */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px;
  background:
    repeating-linear-gradient(90deg,
      var(--gold-dim) 0 1px, transparent 1px 8px);
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 84px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p { color: var(--muted); margin-top: 12px; }

/* charts grid */
.grid-4 {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.chart-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.chart-card .glyph {
  width: 44px; height: 44px; margin-bottom: 16px;
  color: var(--gold);
}
.chart-card h3 { font-size: 19px; margin-bottom: 8px; }
.chart-card p { color: var(--muted); font-size: 14px; }

/* steps — a real sequence, so numbering carries meaning */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step) "°";              /* degrees, not plain numbers */
  font-family: "IBM Plex Mono", monospace;
  color: var(--gold); font-size: 15px;
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ── TradingView ────────────────────────────────────────── */
.tv-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  background: var(--panel);
}

/* ── Pricing ────────────────────────────────────────────── */
.tiers {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 820px;
}
.tier {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--gold-dim); position: relative; }
.tier.featured::after {
  content: "Full service";
  position: absolute; top: -12px; left: 28px;
  background: var(--gold); color: #10121f;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.tier h3 { font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-family: "IBM Plex Sans", sans-serif; font-weight: 600; }
.tier .price { font-size: 40px; color: var(--text); margin: 14px 0 4px; }
.tier .price small { font-size: 15px; color: var(--muted); }
.tier ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 11px; }
.tier li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--text); }
.tier li.dim { color: var(--muted); }
.tier li::before {
  content: "◆"; position: absolute; left: 2px; top: 0;
  color: var(--gold); font-size: 11px; line-height: 2.1;
}
.tier li.dim::before { content: "◇"; color: var(--muted); }
.tier .btn { margin-top: auto; text-align: center; }
.tier .after { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { max-width: 760px; }
.faq details {
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); margin-bottom: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600;
  list-style: none; position: relative; padding-right: 34px;
}
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  color: var(--gold); font-size: 20px; font-family: "IBM Plex Mono", monospace;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 14.5px; }

/* ── Disclaimer strip ───────────────────────────────────── */
.disclaimer-strip {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  background: rgba(232, 179, 75, 0.05);
  padding: 22px 26px;
  font-size: 13.5px; color: var(--muted);
}
.disclaimer-strip strong { color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 13.5px; color: var(--muted);
}
.site-footer .cols {
  display: grid; gap: 32px;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 30px;
}
.site-footer h4 {
  font-family: "IBM Plex Sans", sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.fine { border-top: 1px solid var(--line); padding-top: 22px; font-size: 12.5px; line-height: 1.7; }

/* ── Legal / prose pages ────────────────────────────────── */
.prose { max-width: 72ch; padding: 64px 0 90px; }
.prose h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 13px; margin-bottom: 36px; }
.prose h2 { font-size: 21px; margin: 38px 0 12px; color: var(--gold); }
.prose p, .prose li { color: #c9c4b8; font-size: 15.5px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin-bottom: 8px; }
.prose .callout {
  border-left: 3px solid var(--gold);
  background: var(--panel);
  padding: 16px 20px; border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .spiral-stage { margin: 0 auto; max-width: 420px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav a:not(.cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spiral-stage canvas { display: none; }
  .spiral-stage::after {
    content: ""; display: block; width: 100%; height: 100%;
    border: 1px solid var(--line); border-radius: 50%;
    background:
      radial-gradient(circle at center, transparent 30%, rgba(232,179,75,.06) 31%, transparent 32%),
      radial-gradient(circle at center, transparent 55%, rgba(232,179,75,.06) 56%, transparent 57%);
  }
}
