/* Mykel Insures funnel styles. No external dependencies. */
:root {
  --green-950: #0c2b23;
  --green-900: #123a2f;
  --green-700: #1d5c4b;
  --green-100: #e3efe9;
  --gold-500: #d9a441;
  --gold-600: #c08c2e;
  --ink: #16211d;
  --muted: #5c6b64;
  --line: #d8e0da;
  --bg: #f7f9f6;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(12, 43, 35, .12);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  background: var(--green-950);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  border: 1px solid rgba(217,164,65,.55);
  display: grid; place-items: center;
  font-weight: 800; color: var(--gold-500); font-size: 1.05rem;
}
.brand-name { font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem; }
.brand-name span { color: var(--gold-500); }
.brand-sub { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #bcd2c7; }
.header-cta {
  background: var(--gold-500); color: #231a05; font-weight: 800;
  padding: 10px 20px; border-radius: 999px; text-decoration: none; font-size: .92rem;
  white-space: nowrap;
}
.header-cta:hover { background: var(--gold-600); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 62%, #0e352a 100%); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-500);
  border: 1px solid rgba(217,164,65,.5); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
.hero .lede { font-size: 1.12rem; color: #cfe0d6; max-width: 34rem; margin: 0 0 26px; }
.hero .lede strong { color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 1.05rem; padding: 16px 34px; border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-gold { background: var(--gold-500); color: #231a05; box-shadow: 0 10px 28px rgba(217,164,65,.35); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); font-size: .95rem; padding: 14px 26px; }
.btn-ghost:hover { border-color: #fff; }
.micro { font-size: .8rem; color: #9db5a9; margin: 14px 0 0; }

/* Trust card */
.trust-card {
  background: var(--card); color: var(--ink); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.trust-card h3 { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: -.01em; }
.trust-card p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.stat { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.stat:first-of-type { border-top: 0; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--green-700); white-space: nowrap; }
.stat p { margin: 2px 0 0; font-size: .9rem; }
.stat .src { display: block; font-size: .72rem; color: var(--muted); }

/* Quiz */
.quiz-section { padding: 64px 0; }
.quiz-shell {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow);
  max-width: 680px; margin: 0 auto; padding: 40px; border-top: 6px solid var(--green-700);
}
.quiz-shell h2 { margin: 0 0 8px; font-size: 1.7rem; letter-spacing: -.015em; }
.quiz-shell .sub { color: var(--muted); margin: 0 0 22px; }
.progress { height: 8px; background: var(--green-100); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--green-700), var(--gold-500)); border-radius: 999px; transition: width .3s ease; }
.progress-label { font-size: .78rem; color: var(--muted); margin: 0 0 20px; font-weight: 600; }
.q { display: none; }
.q.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q h3 { font-size: 1.3rem; margin: 0 0 16px; letter-spacing: -.01em; }
.opts { display: grid; gap: 10px; }
.opt {
  border: 1.5px solid var(--line); background: #fff; border-radius: 12px;
  padding: 14px 18px; font-size: 1rem; font-weight: 600; color: var(--ink);
  cursor: pointer; text-align: left; font-family: inherit; width: 100%;
  transition: border-color .12s ease, background .12s ease;
}
.opt:hover { border-color: var(--green-700); background: #f2f7f4; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.q-back { background: none; border: 0; color: var(--muted); font-size: .85rem; cursor: pointer; margin-top: 18px; padding: 0; text-decoration: underline; font-family: inherit; }

/* Capture form */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(29,92,75,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent {
  display: flex; gap: 10px; align-items: flex-start; background: #f2f7f4;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 18px 0;
  font-size: .8rem; color: var(--muted);
}
.consent input { margin-top: 4px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--green-700); }
.form-err { display: none; background: #fdeeee; border: 1px solid #e5a49f; color: #8c2f28; border-radius: 10px; padding: 12px 14px; font-size: .88rem; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Results */
.results { text-align: center; }
.results .check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-100);
  color: var(--green-700); font-size: 2rem; font-weight: 800; display: grid;
  place-items: center; margin: 0 auto 16px;
}
.results h3 { font-size: 1.5rem; margin: 0 0 10px; }
.results .recap {
  background: #f2f7f4; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; text-align: left; margin: 18px 0 22px; font-size: .95rem;
}
.results .recap li { margin: 6px 0; }
.results .recap ul { margin: 0; padding-left: 20px; }
.save-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* FAQ */
.faq-section { padding: 20px 0 64px; }
.faq-section h2 { text-align: center; font-size: 1.8rem; margin: 0 0 8px; }
.faq-section .sub { text-align: center; color: var(--muted); margin: 0 0 28px; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { color: var(--green-700); }
.faq p { color: var(--muted); margin: 10px 0 0; }
.faq .src { font-size: .75rem; }

/* Disclosures + footer */
.disclosures { background: #eef3ef; border-top: 1px solid var(--line); padding: 36px 0; font-size: .78rem; color: var(--muted); }
.disclosures p { margin: 0 0 10px; max-width: 70rem; }
.site-footer { background: var(--green-950); color: #9db5a9; padding: 26px 0; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-inner a { color: #d9e6dd; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .quiz-shell { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .q.active { animation: none; } }
