:root {
  --brand-blue: #2139C2;
  --brand-blue-deep: #161E70;
  --accent-gold: #DB961F;
  --accent-yellow: #FFF522;
  --bg-light: #E8EBFF;
  --bg-card: #FFFFFF;
  --text: #2C3042;
  --text-muted: #6B6F82;
  --border: #D8DCF5;
  --warning: #C22121;
  --green: #1F8A5B;
  --shadow: 0 2px 8px rgba(33, 57, 194, 0.06);
  --shadow-md: 0 4px 16px rgba(33, 57, 194, 0.10);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Poppins', -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-light);
}

/* ============ TOP NAV ============ */
.topnav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 12px 0;
}
.topnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topnav .logo { height: 28px; }
.topnav-links {
  display: flex;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 500;
}
.topnav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.topnav-links a:hover { color: var(--brand-blue); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: white;
  padding: 80px 24px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 245, 34, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(219, 150, 31, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { max-width: 880px; margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 245, 34, 0.18);
  color: var(--accent-yellow);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent-yellow); }
.hero-tagline {
  font-size: 19px;
  font-weight: 300;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-meta {
  font-size: 13px;
  opacity: 0.7;
  font-weight: 400;
}

/* ============ MAIN CONTENT ============ */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

section {
  margin-bottom: 64px;
}

.section-header {
  margin-bottom: 32px;
}
.section-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--brand-blue-deep);
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-tagline {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ============ HOW TO USE GRID ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-blue-deep);
}
.step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ============ STAGE CARD ============ */
.stage {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.stage-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--brand-blue);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* ============ QUESTION BLOCK ============ */
.question {
  margin: 20px 0 12px;
  padding: 18px 20px;
  background: linear-gradient(to right, var(--bg-light) 0%, transparent 60%);
  border-left: 3px solid var(--brand-blue);
  border-radius: 4px;
}
.question .q-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.question .q-text {
  font-size: 16.5px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}
.why {
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent-gold);
  margin-left: 4px;
}
.why b { color: var(--accent-gold); }

/* ============ BRANCH BLOCK ============ */
.branches {
  margin: 12px 0 4px 0;
  padding-left: 4px;
}
.branch {
  background: #FAFBFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
}
.branch-trigger {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue-deep);
  margin-bottom: 6px;
}
.branch-trigger::before {
  content: 'IF THEY SAY ';
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-right: 4px;
}
.branch-followup {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  margin: 4px 0;
  padding-left: 14px;
  position: relative;
}
.branch-followup::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-style: normal;
  font-weight: 600;
}

/* ============ PAIN THEME GRID ============ */
.themes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.theme-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.theme-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.theme-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-gold);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}
.theme-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-blue-deep);
  margin-bottom: 4px;
}
.theme-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .themes { grid-template-columns: 1fr; }
}

/* ============ THEME SECTION ============ */
.theme-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  scroll-margin-top: 90px;
}
.theme-section h3 {
  font-size: 22px;
  color: var(--brand-blue-deep);
  margin-bottom: 6px;
  font-weight: 600;
}
.theme-section .theme-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--brand-blue);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.theme-section .listening {
  margin: 14px 0 18px;
  padding: 12px 16px;
  background: #FFFAE5;
  border-radius: 6px;
  font-size: 13.5px;
}
.listening b { color: var(--accent-gold); }

/* ============ TABLES ============ */
.solution-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}
.solution-table th {
  background: var(--brand-blue);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.solution-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.solution-table tr:nth-child(even) td { background: var(--bg-light); }
.solution-table .signal { font-weight: 500; color: var(--brand-blue-deep); }
.solution-table .frame {
  font-style: italic;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ BRIDGE BOX ============ */
.bridge-box {
  margin: 16px 0;
  background: linear-gradient(135deg, #FFFAE5 0%, #FFF522 100%);
  padding: 18px 22px;
  border-radius: 10px;
  border-left: 4px solid var(--accent-gold);
}
.bridge-box .bridge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bridge-box .bridge-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}

/* ============ PRINCIPLES ============ */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.principle {
  background: var(--bg-card);
  padding: 18px 20px;
  border-radius: 10px;
  border-left: 3px solid var(--brand-blue);
  box-shadow: var(--shadow);
}
.principle h5 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--brand-blue-deep);
}
.principle p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .principles { grid-template-columns: 1fr; }
}

/* ============ CHECKLIST ============ */
.checklist {
  background: var(--bg-card);
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-top: 16px;
}
.checklist h4 {
  font-size: 16px;
  color: var(--brand-blue-deep);
  margin-bottom: 12px;
  font-weight: 600;
}
.checklist ul {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--brand-blue);
  border-radius: 4px;
  background: white;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .checklist-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--brand-blue-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 24px;
  text-align: center;
  font-size: 13px;
}
footer a { color: var(--accent-yellow); text-decoration: none; }
footer .footer-row { margin: 6px 0; }

/* ============ PRINT ============ */
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .topnav, footer, .themes, .hero-meta { display: none; }
  .hero { background: white; color: var(--brand-blue-deep); padding: 0 0 24px 0; }
  .hero h1 { color: var(--brand-blue-deep); font-size: 24pt; }
  .hero h1 span { color: var(--brand-blue-deep); }
  .hero-eyebrow { display: none; }
  .hero-tagline { color: var(--text); }
  main { padding: 12px; max-width: 100%; }
  section { page-break-inside: avoid; margin-bottom: 24px; }
  .stage, .theme-section, .checklist { box-shadow: none; border: 1px solid #ddd; padding: 16px; }
  .question, .branch, .bridge-box { page-break-inside: avoid; }
  a { color: var(--brand-blue); }
}

/* ============ MOBILE ============ */
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero { padding: 56px 20px 72px; }
  .section-title { font-size: 26px; }
  .stage, .theme-section { padding: 24px 20px; }
  main { padding: 40px 18px 60px; }
  .topnav-links { display: none; }
}
