/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0d0d0d;
  --white:       #ffffff;
  --off-white:   #f7f5f2;
  --red:         #c0392b;
  --red-dark:    #a93226;
  --gray-light:  #e8e4df;
  --gray-mid:    #9e9890;
  --gray-dark:   #4a4640;
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --max-w:       680px;
  --radius:      4px;
}

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

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ────────────────────────────────────────────────────── */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 28px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-headline em {
  font-style: italic;
  color: var(--black);
}

.hero-subhead {
  font-size: 1.1875rem;
  color: var(--gray-dark);
  max-width: 560px;
  margin-bottom: 0;
  line-height: 1.75;
}

/* ─── Capture Box ───────────────────────────────────────────────── */
.capture-section {
  padding: 48px 0;
}

.capture-box {
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--white);
}

.capture-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.capture-headline {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 6px;
  font-weight: 400;
}

.capture-sub {
  font-size: 0.9rem;
  color: var(--gray-mid);
  margin-bottom: 24px;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capture-form input[type="text"],
.capture-form input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--black);
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}

.capture-form input:focus {
  border-color: var(--red);
  background: var(--white);
}

.capture-form input::placeholder {
  color: var(--gray-mid);
}

.btn-primary {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  -webkit-appearance: none;
}

.btn-primary:hover  { background: var(--red-dark); }
.btn-primary:active { transform: scale(0.99); }

.btn-primary.loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  margin-right: 8px;
  flex-shrink: 0;
}

.btn-primary.loading .btn-spinner {
  display: block;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-mid);
  text-align: center;
  margin-top: 4px;
}

/* ─── Body Content ──────────────────────────────────────────────── */
.content-section {
  padding: 56px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

.content-section h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.3;
}

.content-section p {
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.content-section p:last-child { margin-bottom: 0; }

/* ─── Module List ───────────────────────────────────────────────── */
.module-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.module-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--gray-light);
}

.module-item:last-child {
  border-bottom: 1px solid var(--gray-light);
}

.module-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--red);
  padding-top: 2px;
  font-style: italic;
}

.module-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--black);
  margin-bottom: 4px;
}

.module-desc {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin: 0;
}

/* ─── Hero headline line break spacing ──────────────────────────── */
.hero-headline .hero-headline-break {
  display: block;
  margin-top: 16px;
}

/* ─── For Who (single box) ───────────────────────────────────────── */
.fit-box {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-left: 3px solid var(--red);
  margin-top: 8px;
}

.fit-box p {
  font-size: 0.9375rem;
  color: var(--gray-dark);
  margin: 0;
  line-height: 1.7;
}

/* ─── Headshot Placeholder ───────────────────────────────────────── */
.headshot-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin: 20px 0 24px;
  border: 2px dashed var(--gray-mid);
}


/* ─── About ─────────────────────────────────────────────────────── */
.about-section {
  padding: 56px 0;
}

.about-section h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.about-section p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: 14px;
}

/* ─── Bottom CTA ────────────────────────────────────────────────── */
.bottom-cta {
  padding: 56px 0 72px;
}

/* ─── Confirmation Page ─────────────────────────────────────────── */
.confirmation-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 80px 24px;
  text-align: center;
}

.confirmation-inner { max-width: 680px; }

.confirmation-icon {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.confirmation-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirmation-inner h1 {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.confirmation-inner p {
  color: var(--gray-dark);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ─── Legal Pages ───────────────────────────────────────────────── */
.legal-page {
  padding: 64px 0 80px;
  flex: 1;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 28px 0 10px;
}

.legal-page p, .legal-page li {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 12px;
  line-height: 1.75;
}

.legal-page ul { padding-left: 20px; }

/* ─── Error State ───────────────────────────────────────────────── */
.form-error {
  display: none;
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--red-dark);
}

.form-error.visible { display: block; }

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--gray-light);
  background: var(--white);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-links, .footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 10px;
}

.footer-links a, .footer-social a {
  font-size: 0.8125rem;
  color: var(--gray-mid);
}

.footer-links a:hover, .footer-social a:hover {
  color: var(--black);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 12px;
}

/* ─── Sales Page — new elements ─────────────────────────────────── */
.product-image {
  display: block;
  margin: 28px auto;
  max-width: 100%;
}

.headshot-img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px auto 24px;
  border: 2px solid var(--red);
}

.secure-badge {
  display: block;
  margin: 16px auto 0;
  max-width: 50%;
}

.bullet-list {
  list-style: none;
  margin: 16px 0 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-list li {
  font-size: 1.0625rem;
  color: var(--gray-dark);
  padding-left: 20px;
  position: relative;
  line-height: 1.65;
}

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

.warning-box {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fffbf0;
  border: 1px solid #e8d89a;
  border-left: 3px solid #c9a227;
}

.warning-box p {
  font-size: 1.0625rem;
  color: var(--gray-dark);
  margin: 0 0 10px;
  line-height: 1.7;
}

.warning-box p:last-child { margin-bottom: 0; }

#payment-element { margin-top: 4px; }

.content-section h2.product-headline {
  text-align: center;
  font-size: 3rem;
}

.name-email-row {
  display: flex;
  gap: 12px;
}

.name-email-row input {
  flex: 1;
  min-width: 0;
}

.bottom-cta h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.3;
}

.bottom-cta p {
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-size: 1.125rem;
}

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

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .hero { padding: 48px 0 24px; }
  .capture-box { padding: 24px 20px; }
  .module-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .name-email-row { flex-direction: column; }
  .content-section h2.product-headline { font-size: 2.25rem; }
}
