/* WE Autopilot — visual system (ASSUMPTION colors) */
:root {
  --navy: #0B1F3A;
  --cream: #F7F1E8;
  --green: #2F6B4F;
  --green-dark: #24553F;
  --slate: #4A5568;
  --sand: #E2D6C5;
  --danger: #B42318;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--green); color: var(--cream);
  padding: 0.75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; min-height: 64px;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 10px; height: 22px; background: var(--green); border-radius: 2px; flex-shrink: 0;
}
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--sand);
  border-radius: var(--radius-sm); padding: 0.5rem 0.7rem; color: var(--navy); cursor: pointer;
}
.nav-links {
  display: flex; align-items: center; gap: 0.35rem 1.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nav-links a {
  color: var(--navy); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.nav-links a:hover { color: var(--green); }
.nav-links .nav-cta { margin-left: 0.25rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    flex-direction: column; align-items: stretch; padding: 1rem; gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.5rem; }
  .nav-links .nav-cta { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 46px; padding: 0.7rem 1.35rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }
.btn-secondary.on-dark { color: var(--cream); border-color: var(--cream); }
.btn-secondary.on-dark:hover { background: var(--cream); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--sand); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Typography */
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 4.5vw, 2.85rem); line-height: 1.15; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.12rem; color: var(--slate); max-width: 42rem; }
.muted { color: var(--slate); }
.small { font-size: 0.9rem; }
.micro { font-size: 0.85rem; color: var(--slate); }

/* Sections */
.section { padding: 4rem 0; }
.section-tight { padding: 3rem 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark .lead, .section-dark .muted, .section-dark .micro { color: rgba(247, 241, 232, 0.78); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-alt { background: #fff8ef; border-block: 1px solid var(--sand); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(47, 107, 79, 0.12), transparent 55%),
    var(--cream);
}
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 860px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
}
.trust-line { margin-top: 1.25rem; font-size: 0.92rem; color: var(--slate); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card-cream { background: var(--cream); }
.card-dark { background: rgba(247, 241, 232, 0.06); border-color: rgba(247, 241, 232, 0.15); color: var(--cream); }
.card h3 { margin-bottom: 0.5rem; }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.list-check { list-style: none; margin: 1rem 0 0; padding: 0; }
.list-check li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.65rem; color: var(--slate);
}
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green);
}

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  color: var(--navy);
  counter-increment: step; background: #fff; border: 1px solid var(--sand);
  border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4rem; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.2rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.steps strong { color: var(--navy); }

.pill {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 999px;
  background: rgba(47, 107, 79, 0.12); color: var(--green); margin-bottom: 0.65rem;
}
.pill-muted { background: var(--sand); color: var(--slate); }

.pod-card.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow); }
.price-tag { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin: 0.5rem 0; }
.price-tag span { font-size: 0.95rem; font-weight: 500; color: var(--slate); }

/* Mock pulse card */
.mock {
  background: var(--navy); color: var(--cream); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); min-height: 280px;
}
.mock-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; margin-bottom: 0.75rem; }
.mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(247, 241, 232, 0.12); font-size: 0.95rem;
}
.mock-row:last-child { border-bottom: 0; }
.mock-val { font-weight: 700; color: #a8d5be; }

/* Placeholder proof */
.placeholder-box {
  border: 1px dashed var(--sand); border-radius: var(--radius); padding: 1.25rem;
  background: rgba(255,255,255,0.6); color: var(--slate); font-size: 0.95rem;
}
.placeholder-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--slate); background: var(--sand);
  padding: 0.2rem 0.45rem; border-radius: 4px; margin-bottom: 0.6rem;
}

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.25rem; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; color: var(--slate); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--sand); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 1rem 1.15rem; border-bottom: 1px solid var(--sand); }
th { background: var(--navy); color: var(--cream); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* Forms */
.form-card { max-width: 720px; margin: 0 auto; }
.form-progress {
  height: 6px; background: var(--sand); border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem;
}
.form-progress-bar { height: 100%; width: 0%; background: var(--green); transition: width 0.25s ease; }
.form-step { display: none; }
.form-step.active { display: block; }
.field { margin-bottom: 1.25rem; }
.field label, .field .label {
  display: block; font-weight: 600; margin-bottom: 0.45rem; font-size: 0.98rem;
}
.field .hint { display: block; font-size: 0.85rem; color: var(--slate); font-weight: 400; margin-top: 0.2rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--sand); border-radius: var(--radius-sm);
  background: #fff; font: inherit; color: var(--navy);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green);
}
.choices { display: grid; gap: 0.5rem; }
.choice {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.75rem 0.9rem; border: 1px solid var(--sand); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
}
.choice:hover, .choice:has(input:checked) { border-color: var(--green); background: rgba(47, 107, 79, 0.05); }
.choice input { margin-top: 0.2rem; accent-color: var(--green); }
.field-error { color: var(--danger); font-size: 0.85rem; margin-top: 0.35rem; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field.has-error .choices { border-color: var(--danger); }
.form-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; margin-top: 1.5rem; }
.step-meta { font-size: 0.9rem; color: var(--slate); margin-bottom: 1rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(247, 241, 232, 0.8); padding: 3rem 0 2rem; font-size: 0.92rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 2rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: var(--cream); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.footer-cols h4 { color: var(--cream); margin: 0 0 0.75rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(247, 241, 232, 0.15); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; font-size: 0.85rem;
}

.assumption {
  display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--slate); border: 1px solid var(--sand);
  padding: 0.15rem 0.4rem; border-radius: 4px; vertical-align: middle; margin-left: 0.35rem;
}

.two-col-split { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .two-col-split { grid-template-columns: 1fr; } }

.does-card h3 { color: var(--green); }
.doesnt-card h3 { color: var(--slate); }

.page-hero { padding: 3.5rem 0 2rem; }
.legal-content { max-width: 720px; }
.legal-content h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal-content p, .legal-content li { color: var(--slate); }

.thank-steps { list-style: none; margin: 0; padding: 0; }
.thank-steps li {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px solid var(--sand);
}
.thank-steps .num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
