/* Déjà Vu Trade — site stylesheet */

:root {
  --navy: #0B1F3A;
  --navy-soft: #1F3864;
  --gold: #C9A14A;
  --gold-soft: #E8D49B;
  --cream: #FAF7EF;
  --paper: #FFFFFF;
  --ink: #18181B;
  --ink-soft: #3F3F46;
  --muted: #71717A;
  --hairline: #E4E4E7;
  --tag-spx: #1F3864;
  --tag-ndx: #0D47A1;
  --tag-gold: #E65100;
  --tag-grw: #6A1B9A;
  --tag-val: #455A64;
  --tag-ng: #BF360C;
  --tag-cl: #BF360C;
  --tag-corn: #8D6E63;
  --tag-util: #33691E;
  --tag-stp: #33691E;
  --tag-tran: #1A237E;
  --tag-cad: #455A64;
  --tag-efa: #1F3864;
  --tag-tw: #1F3864;
  --tag-xoi: #BF360C;
  --tag-ped: #555;
  --tag-prf: #555;
  --tag-pair: #555;
  --tag-ret: #1F3864;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Charter", "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-soft); text-decoration: underline; text-decoration-thickness: 0.5px;
    text-underline-offset: 2px; }
a:hover { color: var(--gold); }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- HEADER --- */
header.site {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
header.site .row { display:flex; justify-content:space-between; align-items:center; gap:16px; }
header.site .brand {
  font-family: "Arial", sans-serif;
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
header.site .brand .b1 { color: var(--gold); }
header.site nav { display:flex; gap:22px; }
header.site nav a {
  font-family: "Arial", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
}
header.site nav a:hover { color: var(--gold); }

/* --- HERO --- */
.hero {
  background: var(--navy);
  color: var(--gold-soft);
  padding: 80px 0 76px 0;
  border-bottom: 4px solid var(--gold);
}
.hero .container { text-align: center; }
.hero .eyebrow {
  font-family: "Arial", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 18px 0;
  opacity: 0.85;
}
.hero h1 {
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 14px 0;
  letter-spacing: -1px;
  color: var(--gold-soft);
}
.hero h1 .light { color: var(--gold); font-weight: 400; font-style: italic; }
.hero .sub {
  font-size: 17px;
  color: var(--gold-soft);
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto 36px auto;
  line-height: 1.55;
  font-style: italic;
}
.hero .signup {
  display: flex; gap: 10px; justify-content: center; max-width: 460px;
  margin: 0 auto;
}
.hero .signup input[type=email] {
  flex: 1; padding: 13px 16px; font-size: 15px; border: none;
  background: var(--cream); border-radius: 4px;
  font-family: inherit; color: var(--ink);
}
.hero .signup button {
  padding: 13px 22px; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.3px;
  background: var(--gold); color: var(--navy); border: none; border-radius: 4px;
  cursor: pointer; font-family: "Arial", sans-serif;
}
.hero .signup button:hover { background: var(--gold-soft); }
.hero .note { font-size: 12px; color: var(--gold-soft); opacity: 0.7;
              margin-top: 14px; }

/* --- SECTIONS --- */
section { padding: 64px 0; }
section.alt { background: var(--cream); }
section.dark { background: var(--navy); color: var(--gold-soft); }
section.dark a { color: var(--gold); }

.section-eyebrow {
  font-family: "Arial", sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 10px 0;
  text-align: center;
}
.section-eyebrow.left { text-align: left; }
section h2 {
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 28px 0;
  text-align: center;
  letter-spacing: -0.5px;
  color: var(--navy);
}
section.dark h2 { color: var(--gold-soft); }
section h2.left { text-align: left; }
section .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 36px auto;
  text-align: center;
  line-height: 1.55;
}
section.dark .lede { color: var(--gold-soft); opacity: 0.85; }

/* --- value props grid --- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 16px; }
.prop { }
.prop .n {
  font-family: "Georgia", serif; font-size: 32px; color: var(--gold);
  font-weight: 700; letter-spacing: -0.5px; margin-bottom: 6px;
}
.prop h3 {
  font-family: "Georgia", serif; font-size: 19px; margin: 0 0 8px 0;
  color: var(--navy);
}
section.dark .prop h3 { color: var(--gold-soft); }
.prop p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
section.dark .prop p { color: var(--gold-soft); opacity: 0.85; }

/* --- signal card --- */
.signal-card {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 6px; padding: 32px; box-shadow: 0 2px 14px rgba(0,0,0,0.04);
  max-width: 640px; margin: 0 auto;
}
.signal-card .tag {
  display: inline-block; background: var(--tag-gold); color: #fff;
  font-family: "Arial", sans-serif; font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; padding: 4px 9px; border-radius: 2px;
  text-transform: uppercase; margin-bottom: 14px;
}
.signal-card h3 {
  font-family: "Georgia", serif; font-size: 26px; margin: 0 0 6px 0;
  color: var(--navy); line-height: 1.2;
}
.signal-card .meta {
  font-family: "Arial", sans-serif; font-size: 11px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 700;
}
.signal-card .desc {
  font-size: 16px; line-height: 1.6; color: var(--ink-soft);
  margin-bottom: 16px;
}
.signal-card .desc b { color: var(--navy); }

/* --- weekly index table --- */
.week-list { border-collapse: collapse; width: 100%; font-size: 15px; }
.week-list th, .week-list td {
  padding: 11px 12px; border-bottom: 1px solid var(--hairline);
  text-align: left; vertical-align: middle;
}
.week-list th {
  font-family: "Arial", sans-serif; font-size: 10px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--navy);
}
.week-list td.wknum { font-family: "Arial", sans-serif; font-weight: 800;
                       color: var(--navy); width: 36px; }
.week-list td.dates { font-size: 13px; color: var(--muted); width: 130px;
                       font-family: "Arial", sans-serif; }
.week-list td.title a { color: var(--ink); text-decoration: none; font-weight: 600; }
.week-list td.title a:hover { color: var(--gold); }
.week-list td.tag-cell { text-align: right; width: 110px; }
.week-list .tag {
  display: inline-block; color: #fff; font-family: "Arial", sans-serif;
  font-size: 9px; font-weight: 800; letter-spacing: 1px; padding: 3px 7px;
  border-radius: 2px; text-transform: uppercase;
}
.qhead {
  font-family: "Arial", sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  margin: 38px 0 12px 0; padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}
.qhead:first-of-type { margin-top: 0; }

/* --- CTA strip --- */
.cta-strip {
  background: var(--navy); color: var(--gold-soft); padding: 56px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--gold-soft); margin-bottom: 18px; }
.cta-strip .signup {
  display: flex; gap: 10px; justify-content: center; max-width: 460px;
  margin: 22px auto 0 auto;
}
.cta-strip .signup input[type=email] {
  flex: 1; padding: 13px 16px; font-size: 15px; border: none;
  background: var(--paper); border-radius: 4px; font-family: inherit;
}
.cta-strip .signup button {
  padding: 13px 22px; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.3px;
  background: var(--gold); color: var(--navy); border: none;
  border-radius: 4px; cursor: pointer; font-family: "Arial", sans-serif;
}

/* --- FOOTER --- */
footer.site {
  background: #0a0a0a; color: #888; padding: 48px 0 36px 0;
  font-size: 13px; line-height: 1.6;
}
footer.site .container { max-width: 900px; }
footer.site .top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 36px; flex-wrap: wrap; margin-bottom: 28px;
}
footer.site .brand-block { max-width: 340px; }
footer.site .brand-block .b {
  font-family: "Arial", sans-serif; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); font-weight: 800;
  margin-bottom: 8px;
}
footer.site nav { display: flex; gap: 28px; }
footer.site nav a {
  color: #aaa; text-decoration: none; font-family: "Arial", sans-serif;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700;
}
footer.site nav a:hover { color: var(--gold); }
footer.site .disclosure {
  font-size: 12px; color: #666; padding-top: 22px; border-top: 1px solid #222;
  line-height: 1.55;
}
footer.site .disclosure b { color: #999; }
footer.site .copy { font-size: 11px; color: #555; margin-top: 18px; }

/* --- Signal page (per-week) --- */
.signal-page { max-width: 720px; padding: 56px 24px 80px 24px; }
.crumb {
  font-family: "Arial", sans-serif; font-size: 11px; letter-spacing: 1.3px;
  text-transform: uppercase; font-weight: 700; color: var(--muted);
  margin-bottom: 16px;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--navy); }
.signal-page .meta-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
  flex-wrap: wrap;
}
.signal-page .week-num {
  font-family: "Arial", sans-serif; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 800; color: var(--muted);
}
.signal-page h1 {
  font-family: "Georgia", serif; font-size: 40px; line-height: 1.15;
  margin: 8px 0 8px 0; color: var(--navy); letter-spacing: -0.5px;
}
.signal-page .summary {
  font-size: 18px; color: var(--ink-soft); margin: 0 0 32px 0;
  padding-bottom: 22px; border-bottom: 1px solid var(--hairline);
  line-height: 1.55; font-style: italic;
}
.signal-page .body p { font-size: 17px; line-height: 1.7; margin: 0 0 18px 0; }
.signal-page .body p b { color: var(--navy); }
.signal-page table.years {
  width: 100%; border-collapse: collapse; font-family: "Arial", sans-serif;
  font-size: 13px; margin: 28px 0;
}
.signal-page table.years th {
  background: var(--navy); color: #fff; padding: 7px 8px; text-align: center;
  font-weight: 700; font-size: 12px;
}
.signal-page table.years td {
  padding: 5px 8px; border-bottom: 1px solid var(--hairline); text-align: center;
  font-variant-numeric: tabular-nums;
}
.signal-page table.years td.year { font-weight: 700; text-align: left; }
.signal-page table.years td.pos { color: #1B5E20; text-align: right; }
.signal-page table.years td.neg { color: #B71C1C; text-align: right; }
.signal-page .read-note {
  font-size: 13px; color: var(--muted); font-style: italic;
  margin-top: 8px;
}
.signal-page .next-prev {
  display: flex; justify-content: space-between; margin-top: 48px;
  padding-top: 22px; border-top: 1px solid var(--hairline);
}
.signal-page .next-prev a {
  font-family: "Arial", sans-serif; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700; text-decoration: none;
  color: var(--navy-soft);
}
.signal-page .next-prev a:hover { color: var(--gold); }

/* --- Responsive --- */
@media (max-width: 720px) {
  .hero h1 { font-size: 38px; }
  .hero { padding: 56px 0 52px 0; }
  section { padding: 48px 0; }
  section h2 { font-size: 28px; }
  .props { grid-template-columns: 1fr; gap: 24px; }
  .hero .signup, .cta-strip .signup { flex-direction: column; }
  header.site nav { gap: 14px; }
  header.site nav a { font-size: 11px; }
  footer.site .top { flex-direction: column; }
  .signal-page h1 { font-size: 30px; }
  .week-list td.dates { display: none; }
}
