/* ============================================
   The Quiet Reversal — Site Styles
   Shared by all pages: index, free-pdf, thanks
   Brand design system: cream/navy/red
   Playfair Display + Poppins + Merriweather
   ============================================ */

:root {
  --cream: #F5F0E8;
  --cream-light: #FAF7F1;
  --cream-deep: #EDE6D6;
  --navy: #1B2A4E;
  --navy-soft: #2E4068;
  --red: #B03A2E;
  --red-soft: #C85447;
  --green: #2D6A4F;
  --grey: #6B7280;
  --grey-light: #E5E1DA;
  --border: #D9D3C7;
  --reading: #2A3654;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--reading);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   COLD-VISITOR BANNER
   Sits at top of sales page only.
   Catches anyone who lands cold on the root.
   ============================================ */

.cold-banner {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  border-bottom: 1px solid var(--navy-soft);
}

.cold-banner a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--red-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
  margin-left: 8px;
  transition: text-decoration-color 0.15s;
}

.cold-banner a:hover {
  text-decoration-color: var(--cream);
}

/* ============================================
   LAYOUT WRAPPER — single column, max 700px reading width
   Centered on the page for a long-scroll sales experience.
   ============================================ */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: var(--navy);
  margin: 72px 0 20px;
  letter-spacing: -0.005em;
}

h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
  margin-bottom: 18px;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--red);
  margin: 36px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin: 24px 0 10px;
}

p {
  margin-bottom: 22px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--reading);
}

strong { font-weight: 700; color: var(--navy); }
em { font-style: italic; }

a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red-soft);
  transition: background 0.15s;
}

a:hover { background: rgba(176, 58, 46, 0.08); }

ul, ol {
  margin: 0 0 22px 0;
  padding-left: 28px;
}

li {
  margin-bottom: 10px;
  padding-left: 6px;
  line-height: 1.75;
  font-size: 17px;
  font-family: 'Merriweather', Georgia, serif;
  color: var(--reading);
}

ul li::marker { color: var(--red); }

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 56px auto;
  max-width: 200px;
  position: relative;
}

hr::before {
  content: "❦";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--red);
  padding: 0 12px;
  font-size: 14px;
}

/* ============================================
   HERO — top of sales page
   ============================================ */

.hero {
  text-align: left;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy-soft);
  margin-bottom: 32px;
}

/* ============================================
   CTA BUTTONS — real anchor tags styled as buttons
   ============================================ */

.cta-row {
  margin: 32px 0 8px;
}

.cta-button {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  padding: 18px 36px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--red);
  background: var(--red);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.trust-line {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--grey);
  font-style: italic;
  margin-top: 14px;
}

/* ============================================
   VALUE STACK
   ============================================ */

.value-stack {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  background: var(--cream-light);
  border: 1px solid var(--border);
}

.value-stack th,
.value-stack td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}

.value-stack th {
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.value-stack td:first-child {
  width: 44px;
  text-align: center;
  font-size: 20px;
}

.value-stack td:last-child {
  width: 110px;
  text-align: right;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  color: var(--red);
  white-space: nowrap;
}

.value-stack tr:last-child td { border-bottom: none; }

.value-totals {
  background: var(--navy);
  color: var(--cream);
  padding: 28px 32px;
  margin: 16px 0 24px;
  border-radius: 2px;
  text-align: center;
}

.value-totals .total-line {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 4px 0;
  color: var(--cream);
}

.value-totals .total-line.price {
  font-size: 32px;
  font-weight: 700;
  margin-top: 8px;
}

.value-totals .savings {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
  margin-top: 12px;
}

/* ============================================
   GUARANTEE BLOCK
   ============================================ */

.guarantee {
  background: rgba(45, 106, 79, 0.06);
  border: 1px solid rgba(45, 106, 79, 0.3);
  border-left: 4px solid var(--green);
  padding: 36px 40px;
  margin: 32px 0;
  border-radius: 2px;
}

.guarantee h2 {
  margin-top: 0;
}

.guarantee h2::before {
  background: var(--green);
}

.guarantee-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
  margin: 20px 0;
  padding: 24px 28px;
  background: var(--cream-light);
  border-left: 2px solid var(--green);
}

/* ============================================
   WHO COMPARISON — for / not for grid
   ============================================ */

.who-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.who-column {
  background: var(--cream-light);
  border: 1px solid var(--border);
  padding: 28px 30px;
  border-radius: 2px;
}

.who-column.for {
  border-top: 3px solid var(--green);
}

.who-column.not-for {
  border-top: 3px solid var(--red);
}

.who-column h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.who-column.for h4 { color: var(--green); }
.who-column.not-for h4 { color: var(--red); }

.who-column ul {
  font-size: 15px;
  padding-left: 22px;
  margin-bottom: 0;
}

.who-column li {
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.55;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  margin: 32px 0;
}

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

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy);
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 16px;
  color: var(--reading);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 12px;
  font-size: 16px;
}

.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--grey);
  line-height: 1.6;
}

.site-footer p {
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
  color: var(--grey);
}

.site-footer em {
  font-style: italic;
}

/* ============================================
   OPT-IN FORM (lead magnet page + thanks page)
   ============================================ */

.optin-card {
  background: var(--cream-light);
  border: 1px solid var(--border);
  padding: 40px 44px;
  margin: 32px 0 24px;
  border-radius: 2px;
  border-left: 4px solid var(--navy);
}

.optin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 8px;
}

.optin-form input[type="email"] {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--navy);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
}

.optin-form input[type="email"]:focus {
  border-color: var(--navy);
}

.optin-form button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  padding: 16px 28px;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
}

.optin-form button:hover {
  background: var(--red);
}

.optin-tiny {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--grey);
  margin-top: 12px;
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 700px) {
  .page { padding: 32px 18px 64px; }

  h1, .hero-headline { font-size: 32px; }
  h2 { font-size: 24px; margin-top: 56px; }
  h3 { font-size: 16px; }

  .hero-sub { font-size: 17px; }

  .who-comparison { grid-template-columns: 1fr; gap: 16px; }

  .guarantee { padding: 24px 22px; }
  .guarantee-quote { padding: 18px 20px; font-size: 16px; }

  .value-totals { padding: 22px 20px; }
  .value-totals .total-line.price { font-size: 26px; }

  .optin-card { padding: 28px 22px; }

  .cta-button { padding: 16px 24px; font-size: 15px; }

  .value-stack { font-size: 14px; }
  .value-stack th, .value-stack td { padding: 12px 10px; }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
  body { background: white; color: black; font-size: 11pt; }
  .cold-banner, .cta-row { display: none; }
  .page { max-width: 100%; padding: 0; }
  a { color: black; border-bottom: none; }
  h2::before { background: black; }
  .value-totals, .guarantee { background: white; border: 2px solid black; }
  .value-totals .total-line { color: black; }
}
