/* Exit Code — sales UI for 50+ readers: large type, high contrast, calm column */

:root {
  --cta: #0174C7;
  --cta-dark: #015a9a;
  --cta-text: #ffffff;
  --stars: #b45309;
  --text: #1a1a1a;
  --text-strong: #0a0a0a;
  --text-soft: #3d3d3d;
  --bg: #f7fafc;
  --surface: #ffffff;
  --line: #c5d0db;
  --max: 680px;
  --pad: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Verdana, "DejaVu Sans", "Geneva", sans-serif;
  font-size: 20px;
  line-height: 1.65;
  color: var(--text);
  background:
    linear-gradient(180deg, #dceef8 0%, var(--bg) 220px, var(--bg) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--pad) 72px;
}

/* —— Brand / hero —— */
.brand {
  text-align: center;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.brand-name {
  margin: 0;
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--cta);
  letter-spacing: -0.02em;
}

.brand-tag {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-soft);
}

.headline {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 28px;
  text-align: left;
}

h2 {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-strong);
  margin: 48px 0 18px;
}

h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-strong);
  margin: 28px 0 10px;
}

/* —— Story / body copy —— */
.story p,
.pricing-block p,
.closing p,
.howto p,
.chapters-intro,
.sources > p,
.simple-body p {
  margin: 0 0 16px;
  max-width: 100%;
  color: var(--text);
}

.story strong,
.pricing-block strong,
.closing strong {
  color: var(--text-strong);
  font-weight: 700;
}

.story em {
  font-style: italic;
  color: var(--text-strong);
}

/* —— Chapters / lists —— */
.chapter {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
}

.chapter:last-child { border-bottom: 0; padding-bottom: 0; }

.chapter p { margin: 0 0 10px; }

.chapter-note {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.sources ul,
.qual ul,
.pricing-block ul,
.howto ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.sources li,
.qual li,
.pricing-block li {
  margin: 0 0 14px;
  padding-left: 1.35em;
  position: relative;
  line-height: 1.55;
}

.sources li::before,
.qual li::before,
.pricing-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cta);
  font-weight: 700;
}

.howto-step { margin-bottom: 22px; }
.howto-step h3 { margin-top: 8px; }

/* —— CTA —— */
.cta-wrap {
  text-align: center;
  margin: 36px 0;
}

a.cta,
button.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: min(100%, 420px);
  min-height: 64px;
  padding: 18px 32px;
  background: var(--cta);
  color: var(--cta-text) !important;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--cta-dark);
}

a.cta:hover,
button.cta:hover {
  background: var(--cta-dark);
}

a.cta:focus-visible,
button.cta:focus-visible {
  outline: 3px solid #0a0a0a;
  outline-offset: 3px;
}

.cta-sub {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.95;
}

/* —— Reviews (simple stack, no carousel) —— */
.reviews { margin: 40px 0; }

.stars {
  color: var(--stars);
  font-size: 22px;
  letter-spacing: 2px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 0;
}

.review-item {
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.review-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.review-item blockquote {
  margin: 10px 0;
  padding: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  quotes: none;
}

.review-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  color: var(--text-soft);
}

.review-item figcaption strong {
  color: var(--text-strong);
  font-size: 17px;
}

/* checkout page compact reviews */
.review-card {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.review-card blockquote {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.5;
}

.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  color: var(--text-soft);
}

.review-card.compact { margin-bottom: 16px; }

/* hide legacy carousel chrome if present */
.carousel-viewport { overflow: visible; }
.carousel-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: none !important;
}
.carousel-track .review-card {
  flex: none;
  width: 100%;
}
.carousel-nav { display: none; }

/* —— Pricing —— */
.price-line {
  font-size: 24px;
  line-height: 1.4;
  margin: 28px 0;
  color: var(--text-strong);
}

.price-line s {
  color: var(--text-soft);
  margin-right: 8px;
  font-weight: 400;
}

/* —— FAQ —— */
.faq-item {
  margin: 0 0 4px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text-strong);
  list-style-position: outside;
  padding: 4px 0;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
}

.faq-item p {
  margin: 12px 0 4px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
}

/* —— Footer / legal —— */
.site-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.legal,
.copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

.copy a {
  color: var(--cta-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.subhead {
  color: var(--text-soft);
  font-size: 19px;
  margin: 0 0 12px;
}

.stripe-badge {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

/* —— Checkout —— */
.checkout-box {
  max-width: 100%;
  margin: 28px 0;
  padding: 28px 24px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 8px;
}

.order-summary {
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--text-strong);
}

.email-field {
  display: block;
  margin: 16px 0;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-strong);
}

.email-field input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 20px;
  line-height: 1.3;
  border: 2px solid #7a8794;
  border-radius: 6px;
  font-family: inherit;
  color: var(--text-strong);
  background: #fff;
}

.email-field input:focus {
  outline: 3px solid var(--cta);
  outline-offset: 1px;
  border-color: var(--cta);
}

#payment-element { margin: 20px 0; min-height: 48px; }

.bump {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 20px 0;
  padding: 18px 16px;
  border: 2px solid var(--cta);
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.45;
  background: #eef6fc;
}

.bump input {
  margin-top: 4px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.total {
  font-size: 22px;
  color: var(--text-strong);
  margin: 20px 0;
}

.checkout-box .cta {
  width: 100%;
  min-width: 0;
}

.error {
  color: #8b0000;
  margin-top: 14px;
  font-size: 18px;
}

.downloads {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.downloads li { margin: 16px 0; }

.downloads .cta { width: 100%; min-width: 0; }

.simple-body a,
.page > p > a {
  color: var(--cta-dark);
  font-size: 18px;
}

/* —— Mobile —— */
@media (max-width: 640px) {
  :root { --pad: 20px; }

  body { font-size: 19px; line-height: 1.6; }

  .page { padding: 24px var(--pad) 56px; }

  .brand-name { font-size: 34px; }

  .headline {
    font-size: 26px;
    line-height: 1.3;
  }

  h2 { font-size: 23px; }
  h3 { font-size: 19px; }

  a.cta,
  button.cta {
    width: 100%;
    min-width: 0;
    font-size: 20px;
    min-height: 60px;
    padding: 16px 20px;
  }

  .cta-sub { font-size: 15px; }

  .checkout-box { padding: 22px 16px; }

  .chapter-note { font-size: 17px; }
}
