/* Shared design system for lead-capture pages (ad funnel + SEO pages).
   Matches the color/type tokens used across the rest of the site. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: oklch(22% 0.03 255);
  background: oklch(98% 0.01 75);
  -webkit-font-smoothing: antialiased;
}
header {
  padding: 20px 24px;
  border-bottom: 1px solid oklch(90% 0.01 80);
  background: oklch(99% 0.005 80);
}
header .brand {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: oklch(26% 0.06 255);
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}
.hero {
  text-align: center;
  margin-bottom: 44px;
}
.badge {
  display: inline-block;
  background: oklch(94% 0.05 55);
  color: oklch(38% 0.14 45);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.18;
  color: oklch(24% 0.06 255);
  margin: 0 0 16px;
}
p.sub {
  font-size: 1.1rem;
  color: oklch(32% 0.03 255);
  margin: 0 auto;
  max-width: 52ch;
}

/* Content sections used on SEO pages (feature grid, reason grid) */
.content-section {
  margin-bottom: 48px;
}
.content-section h2 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: oklch(24% 0.06 255);
  margin: 0 0 20px;
  text-align: center;
}
.feature-grid, .reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid oklch(90% 0.01 80);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: oklch(26% 0.06 255);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Rubik', sans-serif;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.feature-card h3, .reason-grid h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: oklch(24% 0.06 255);
}
.feature-card p, .reason-grid p {
  margin: 0;
  color: oklch(35% 0.02 255);
  font-size: 0.95rem;
}
.content-section > p.lead {
  text-align: center;
  color: oklch(38% 0.02 255);
  max-width: 60ch;
  margin: 0 auto 28px;
}

/* Lead-capture form card (reused for the ad funnel and SEO CTA sections) */
.card {
  background: white;
  border: 1px solid oklch(90% 0.01 80);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1rem;
  color: oklch(22% 0.03 255);
}
.field-group label .hint {
  font-weight: 500;
  color: oklch(45% 0.02 255);
  font-size: 0.88rem;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 10px;
  padding: 14px 16px;
  border: 2px solid oklch(85% 0.01 80);
  background: white;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}
.opt:has(input:checked) {
  border-color: oklch(58% 0.19 45);
  background: oklch(96% 0.03 55);
}
.opt input {
  accent-color: oklch(58% 0.19 45);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
input[type="email"], input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 8px;
  border: 2px solid oklch(85% 0.01 80);
  font-size: 1.1rem;
  font-family: inherit;
}
input[type="email"]:focus, input[type="tel"]:focus {
  outline: none;
  border-color: oklch(58% 0.19 45);
}
button[type="submit"] {
  margin-top: 4px;
  background: oklch(58% 0.19 45);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
}
button[type="submit"]:hover:not(:disabled) {
  background: oklch(50% 0.19 45);
}
button[type="submit"]:disabled {
  background: oklch(75% 0.02 45);
  cursor: not-allowed;
}
.error {
  color: oklch(48% 0.18 25);
  font-weight: 600;
  font-size: 0.9rem;
  margin: -8px 0 0;
  display: none;
}
.error.show { display: block; }
.disclaimer {
  margin: 0;
  text-align: center;
  color: oklch(45% 0.02 255);
  font-size: 0.85rem;
}
#thanksStage {
  display: none;
  background: oklch(94% 0.06 150);
  border: 1px solid oklch(70% 0.1 150);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
#thanksStage .check {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
#thanksStage h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.3rem;
  color: oklch(28% 0.08 150);
  margin: 0 0 8px;
}
#thanksStage p {
  color: oklch(30% 0.05 150);
  margin: 0;
}
footer {
  text-align: center;
  padding: 0 24px 40px;
  color: oklch(45% 0.02 255);
  font-size: 0.85rem;
}
footer a { color: oklch(58% 0.19 45); }
