/* Many Qualify To Buy — site styles */
:root {
  --cream: #f7f1e8;
  --cream-dark: #ebe2d4;
  --ink: #1a2332;
  --navy: #1e2d45;
  --navy-deep: #152033;
  --forest: #2c4a3e;
  --terracotta: #c45c3e;
  --terracotta-dark: #a34830;
  --gold: #c9a227;
  --muted: #5c6570;
  --white: #ffffff;
  --border: rgba(26, 35, 50, 0.12);
  --shadow: 0 8px 32px rgba(21, 32, 51, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 92, 62, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(44, 74, 62, 0.07), transparent);
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--terracotta-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  min-height: 48px;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-block { width: 100%; }

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36em;
  margin: 0 0 2rem;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 4rem 0 5rem; }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  margin: 0 0 1.25rem;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 32em;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.hero-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(196, 92, 62, 0.25) 0%, transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 13px
    );
  pointer-events: none;
}

.hero-card-inner { position: relative; z-index: 1; }

.hero-card h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-card li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.98rem;
  line-height: 1.4;
}
.hero-card li:last-child { border-bottom: none; }

.hero-card .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold);
}

.hero-card-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Audience grids */
.audience-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(21, 32, 51, 0.04);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.card-tag.yes {
  background: rgba(44, 74, 62, 0.12);
  color: var(--forest);
}

.card-tag.no {
  background: rgba(196, 92, 62, 0.12);
  color: var(--terracotta-dark);
}

.card ul {
  margin: 1rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--muted);
}

.card li { margin-bottom: 0.5rem; }
.card li strong { color: var(--ink); font-weight: 600; }

.card.card-yes { border-top: 4px solid var(--forest); }
.card.card-no { border-top: 4px solid var(--terracotta); }

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 1.15rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
}

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

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

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terracotta);
  flex-shrink: 0;
  line-height: 1;
}

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

.faq-item .faq-body {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.faq-item .faq-body p { margin: 0 0 0.75rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Form section */
.form-section {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(196, 92, 62, 0.2), transparent),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(201, 162, 39, 0.1), transparent);
  pointer-events: none;
}

.form-section .container { position: relative; z-index: 1; }

.form-section .section-label { color: var(--gold); }
.form-section .section-title { color: var(--white); }
.form-section .section-lead { color: rgba(247, 241, 232, 0.75); }

.form-wrap {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 640px;
}

@media (min-width: 640px) {
  .form-wrap { padding: 2.25rem 2rem; }
}

.form-progress {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-progress.js-on { display: flex; }

.progress-dot {
  flex: 1;
  height: 4px;
  background: var(--cream-dark);
  border-radius: 2px;
  transition: background 0.2s;
}

.progress-dot.active,
.progress-dot.done {
  background: var(--terracotta);
}

.form-step-panel { display: block; }
.form-step-panel.hidden-js { display: none; }

.js-enabled .form-step-panel.hidden-js { display: none; }
.js-enabled .form-step-panel.active { display: block; }

.form-nav {
  display: none;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.js-enabled .form-nav { display: flex; }
.js-enabled .form-submit-native { display: none; }

.field {
  margin-bottom: 1.25rem;
}

.field label,
.field .label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.field .hint {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  min-height: 48px;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6570' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196, 92, 62, 0.2);
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .field-row.two { grid-template-columns: 1fr 1fr; }
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-height: 48px;
}

.radio-option:hover,
.checkbox-option:hover {
  border-color: rgba(196, 92, 62, 0.4);
}

.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
  border-color: var(--terracotta);
  background: rgba(196, 92, 62, 0.06);
}

.radio-option input,
.checkbox-option input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}

.radio-option span,
.checkbox-option span {
  font-size: 0.98rem;
  line-height: 1.4;
}

.consent-box {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.consent-box label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
}

.consent-box input {
  margin-top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}

.form-step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.form-privacy-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 0;
  text-align: center;
}

/* Trust strip */
.trust-strip {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--forest);
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 241, 232, 0.75);
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.footer-contact a {
  color: var(--cream);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-start;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { text-decoration: underline; }

.eho {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.eho svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-legal {
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 58em;
}

.footer-legal p { margin: 0 0 0.65rem; }
.footer-legal p:last-child { margin-bottom: 0; }

.footer-legal a {
  color: rgba(247, 241, 232, 0.9);
}

/* Inner pages (thanks, privacy) */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 32em;
  margin: 0 auto;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  box-shadow: 0 2px 12px rgba(21, 32, 51, 0.04);
}

@media (min-width: 640px) {
  .content-card { padding: 2.5rem 2.25rem; }
}

.content-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.content-card p { margin: 0 0 1rem; color: var(--muted); }
.content-card p:last-child { margin-bottom: 0; }

.content-card .highlight {
  background: var(--cream);
  border-left: 4px solid var(--terracotta);
  padding: 1rem 1.15rem;
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
}

.content-card .highlight p { margin: 0; color: var(--ink); }

.content-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li {
  color: var(--muted);
}

.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

.check-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  background: rgba(44, 74, 62, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}

.check-icon svg { width: 28px; height: 28px; }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
