/* ============================================================
   Cracking the Code to Success & Profits — Design System
   Editorial Cream palette · Newsreader + Georgia · 2026
   ============================================================ */

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

:root {
  --cream:      #F5F0E8;
  --ink:        #1A1814;
  --ink-mid:    #3D3830;
  --ink-light:  #6B6355;
  --gold:       #8B6914;
  --gold-light: #C4922A;
  --rule:       #D4C9B0;
  --white:      #FFFFFF;
  --dark-mid:   #2A2720;
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

/* ── NAV ────────────────────────────────────────── */
nav {
  background: var(--ink);
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

nav .wordmark {
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  padding: 1rem 0;
  text-decoration: none;
  flex-shrink: 0;
}

nav .nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  flex-wrap: wrap;
}

nav .nav-links li a {
  display: flex;
  align-items: center;
  color: #A89F8F;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 100%;
  transition: color 0.15s;
  white-space: nowrap;
}

nav .nav-links li a:hover,
nav .nav-links li a.active { color: var(--cream); }

nav .nav-cta {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--gold-light);
  padding: 0.5rem 1.2rem;
  align-self: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

nav .nav-cta:hover { background: var(--gold-light); color: var(--ink); }

/* ── HERO ───────────────────────────────────────── */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 2rem 4.5rem;
  text-align: center;
}

.hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: normal;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero .sub {
  font-size: 1.05rem;
  color: #C4B99A;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta {
  display: inline-block;
  background: var(--gold-light);
  color: var(--ink);
  text-decoration: none;
  padding: 0.85rem 2.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  transition: background 0.2s;
}

.hero-cta:hover { background: #D4A030; }

.hero .hosts-line {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: #706050;
  letter-spacing: 0.04em;
}

/* ── PAGE HERO (interior pages) ─────────────────── */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

.page-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: normal;
  line-height: 1.25;
  max-width: 680px;
  margin: 0 auto 1rem;
}

.page-hero .sub {
  font-size: 1rem;
  color: #C4B99A;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── LAYOUT ─────────────────────────────────────── */
section { padding: 4rem 2rem; }

.container {
  max-width: 740px;
  margin: 0 auto;
}

.container-wide {
  max-width: 960px;
  margin: 0 auto;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 1.4rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

p { margin-bottom: 1.2rem; color: var(--ink-mid); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); }
a:hover { color: var(--gold-light); }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem auto;
  max-width: 180px;
}

/* ── SECTION BACKGROUNDS ────────────────────────── */
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--cream); }

/* ── GRID LAYOUTS ───────────────────────────────── */
.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.col-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── LISTS ──────────────────────────────────────── */
.arrow-list {
  list-style: none;
  margin-top: 1.5rem;
}

.arrow-list li {
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-mid);
  position: relative;
  font-size: 0.97rem;
}

.arrow-list li:first-child { border-top: 1px solid var(--rule); }

.arrow-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── STAT BLOCKS ────────────────────────────────── */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-block {
  flex: 1;
  min-width: 140px;
}

.stat-block .stat-num {
  font-size: 2.2rem;
  font-weight: normal;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-block .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ── QUOTE BLOCK ────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── FAQ ACCORDION ──────────────────────────────── */
.faq-list { margin-top: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item:first-child { border-top: 1px solid var(--rule); }

.faq-item summary {
  padding: 1.2rem 0;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 0 1.5rem;
  color: var(--ink-mid);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ── PERSON BIO ─────────────────────────────────── */
.bio-header {
  margin-bottom: 2rem;
}

.bio-name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: normal;
  margin-bottom: 0.3rem;
}

.bio-title {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.bio-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ── CTA STRIP ──────────────────────────────────── */
.cta-strip {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 4.5rem 2rem;
}

.cta-strip h2 {
  color: var(--cream);
  max-width: 560px;
  margin: 0 auto 1rem;
}

.cta-strip p {
  color: #C4B99A;
  max-width: 460px;
  margin: 0 auto 2rem;
  font-size: 0.96rem;
}

.btn {
  display: inline-block;
  background: var(--gold-light);
  color: var(--ink);
  text-decoration: none;
  padding: 0.85rem 2.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  transition: background 0.2s;
}

.btn:hover { background: #D4A030; color: var(--ink); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  text-decoration: none;
  padding: 0.7rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  transition: background 0.2s, color 0.2s;
  margin-top: 0.8rem;
}

.btn-outline:hover { background: var(--gold-light); color: var(--ink); }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--ink-light);
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--dark-mid);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

footer p { color: var(--ink-light); font-size: 0.8rem; margin: 0; }
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.8rem;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 680px) {
  nav .nav-links { display: none; }
  nav { justify-content: space-between; }
  .three-col, .two-col { grid-template-columns: 1fr; }
  .stat-row { gap: 1.5rem; }
}
