/* Healthy Digital Plan — ClickFunnels-style quiz funnel */
:root {
  --bg: #f7f4ef;
  --bg-band: #fff7f2;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #ff6a3d;
  --accent-hover: #e85a30;
  --accent-soft: #ffe8e0;
  --green: #0f766e;
  --border: #e7e5e4;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
img, svg { display: block; }
.hidden { display: none !important; }

.wrap { width: min(100% - 2rem, 1040px); margin: 0 auto; }
.wrap.narrow { width: min(100% - 2rem, 640px); }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: min(100% - 2rem, 1040px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.logo-mark { display:inline-flex; }
.logo-text { font-size: 0.98rem; letter-spacing: -0.01em; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 44px;
}
.header-cta:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(900px 400px at 80% -10%, #ffe0d4 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}
.lead.tight { margin-bottom: 1rem; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.trust-strip span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.check-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.7rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  transition: background 0.15s, transform 0.15s;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; width: 100%; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-xl { font-size: 1.05rem; min-height: 56px; border-radius: 14px; }
.btn-ghost {
  background: #fff;
  color: var(--muted);
  border: 1.5px solid var(--border);
  flex: 0 0 auto;
  width: auto;
  padding-inline: 1.1rem;
}
.btn-ghost:hover:not(:disabled) { color: var(--text); }
.micro {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Quiz */
.progress-wrap { margin-bottom: 1.15rem; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
}
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff9a6b);
  border-radius: 99px;
  transition: width 0.25s ease;
}
.q-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.options { display: flex; flex-direction: column; gap: 0.6rem; }
.option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.05rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
  min-height: 52px;
}
.option:hover, .option:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}
.option.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.15);
  font-weight: 650;
}
.nav-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.nav-row .btn-primary { flex: 1; width: auto; }

/* Sections */
.section { padding: 3.5rem 0; }
.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 4px 14px rgba(28,25,23,0.04);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.step-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.band {
  background: var(--bg-band);
  border-top: 1px solid #f3d5c8;
  border-bottom: 1px solid #f3d5c8;
}
.band .lead { margin-left: auto; margin-right: auto; }
.band .btn-primary { width: auto; min-width: min(100%, 320px); }

/* Result */
.result-main { padding: 1.75rem 0 3rem; }
.disclosure {
  background: #fffbeb;
  border: 1px solid #f6e05e;
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  font-size: 0.86rem;
  color: #744210;
  margin-bottom: 1rem;
  line-height: 1.45;
}
.disclosure strong { display: block; margin-bottom: 0.25rem; color: #5c3d0e; }
.result-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.summary-list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}
.summary-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}
.summary-list li strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-size: 1rem;
}
.cta-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  text-align: center;
}
.fineprint {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.fineprint a { color: var(--muted); }

/* Footer */
.site-footer {
  background: #1c1917;
  color: #d6d3d1;
  padding: 2.75rem 0 1.5rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-logo { color: #fff; margin-bottom: 0.65rem; }
.footer-tag { margin: 0; font-size: 0.9rem; color: #a8a29e; max-width: 28rem; }
.site-footer h4 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #d6d3d1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #44403c;
  font-size: 0.78rem;
  color: #a8a29e;
}
.footer-bottom p { margin: 0; }

@media (max-width: 520px) {
  .header-cta { font-size: 0.8rem; padding: 0.55rem 0.8rem; }
  .logo-text { font-size: 0.88rem; }
}

.legal-main { padding: 2rem 0 3rem; }
.legal-main h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 0.35rem; }
.legal-copy h2 { text-align: left; font-size: 1.1rem; margin: 1.35rem 0 0.5rem; }
.legal-copy ul { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; color: var(--muted); }
.legal-copy p { color: var(--muted); }
.micro.left { text-align: left; margin-top: 1.25rem; }
