/* Monarca Familia · La Ruta Monarca.
   The page is built from a monarch wing: orange fields, black veins, the black wing margin with its white
   spots, and the dotted flyway from Michoacán into GA, NC, SC and TN. Cream paper for reading.
   No flags, seals, eagles or navy/red. Brand palette from brand/logo-brief.md. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
:root {
  --paper: #fff6e9;        /* warm cream: reading ground */
  --paper-2: #fbe9d2;      /* deeper cream: quiet panels */
  --sheet: #fffcf6;        /* inputs, choice rows, disclosure box */
  --ink: #1f1a17;          /* wing black */
  --ink-2: #4a3f37;
  --muted: #6b5f57;
  --vein: rgba(31, 26, 23, 0.16);
  --vein-strong: rgba(31, 26, 23, 0.32);
  --monarch: #e8731a;      /* orange fields and buttons, always with black text */
  --monarch-hi: #f08a33;
  --monarch-tint: #fde3c8;
  --route: #a4500f;        /* dotted flyway on the orange field */
  --on-monarch-2: #3a220e; /* secondary text on orange */
  --link: #9a420a;         /* small orange-family text on cream: 6.9:1 */
  --green: #2f6b4a;        /* milkweed: the process band */
  --on-green: #fff6e9;
  --on-green-2: #e4e8d8;
  --error: #a32020;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --col: 680px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* The black wing margin with two rows of white spots. */
  --wing-spots:
    radial-gradient(circle, var(--paper) 0 2.4px, transparent 2.9px) 0 30% / 15px 100% repeat-x,
    radial-gradient(circle, var(--paper) 0 3.6px, transparent 4.1px) 7px 72% / 30px 100% repeat-x;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-color: var(--ink-2) var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--monarch); color: var(--ink); }
main { max-width: var(--col); margin: 0 auto; padding: 20px 16px 56px; }
h1, h2, h3, .q-title, summary, .state, .btn, .big-number, .step-count {
  font-family: var(--display);
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(2rem, 7.4vw, 2.9rem); line-height: 1.04; font-weight: 800;
  letter-spacing: -0.025em; margin: 10px 0 16px; text-wrap: balance;
}
h2 {
  font-size: clamp(1.5rem, 5.4vw, 1.9rem); line-height: 1.1; font-weight: 750;
  letter-spacing: -0.018em; margin: 2.6rem 0 0.6rem; text-wrap: balance;
}
p, li { margin: 0 0 12px; }
p { text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--monarch); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ── Header: ad label as a black band, then the logo on cream ─────────────────────────── */
.site-header .ad-label {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-align: center;
  padding: 8px 16px;
}
.site-header .bar {
  max-width: var(--col); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
/* Horizontal lockup from brand/monarca-familia-transparent (dark text, transparent background). */
.brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { display: block; width: 150px; height: auto; }
.lang-toggle {
  min-height: 40px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-toggle:hover { background: var(--ink); color: var(--paper); }

/* ── Full-bleed bands: break out of the reading column, keep content on it ───────────── */
.hero, .card {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
}

/* ── The orange field (home + state page first screen) ───────────────────────────────── */
.hero {
  background: var(--monarch);
  color: var(--ink);
  margin-top: -20px;
  padding-top: 26px;
  padding-bottom: 78px;
  margin-bottom: 28px;
  isolation: isolate;
}
.hero > :not(.route) { position: relative; z-index: 1; }
/* The wing margin closes the field. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px;
  background: var(--wing-spots), var(--ink);
}
.hero h1 {
  font-size: clamp(2.7rem, 12.5vw, 4.6rem); line-height: 0.96; letter-spacing: -0.032em;
  margin: 6px 0 16px; max-width: 12ch;
}
.hero .lead { font-size: 1.12rem; line-height: 1.5; max-width: 34em; }
.hero .hint { color: var(--on-monarch-2); }
@media (max-width: 759px) {
  .hero .lead { max-width: calc(100% - 40px); }
  .hero .hint.center { text-align: left; max-width: calc(100% - 48px); }
}
.hero strong { color: var(--ink); }
.route {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.route path {
  fill: none; stroke: var(--route); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 0 13; vector-effect: non-scaling-stroke;
}
/* Solid stroke inside the mask: animating it draws the dotted route along its own path. */
.route .draw { stroke: #fff; stroke-width: 8; vector-effect: none; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.route .route-d { display: none; }

/* A route stop: where you are on the flyway. Replaces the eyebrow label's look, not its words. */
.eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 4px; font-size: 0.98rem; font-weight: 700; line-height: 1.35; color: var(--ink);
}
.eyebrow::before {
  content: ""; flex: 0 0 14px; height: 14px; margin-top: 0.2em; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 3px var(--ink);
}
.lead { font-size: 1.1rem; }
.center { text-align: center; }
h2.flush { margin-top: 0; }

/* ── Buttons ─────────────────────────────────────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 58px; text-align: center; text-decoration: none;
  background: var(--monarch); color: var(--ink); border: 0; border-radius: var(--radius);
  padding: 15px 20px; font-size: 1.2rem; font-weight: 750; letter-spacing: -0.005em; line-height: 1.2;
  cursor: pointer; margin: 20px 0 8px;
  box-shadow: 0 10px 22px -12px rgba(31, 26, 23, 0.55);
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn::after {
  content: ""; flex: 0 0 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn:hover { background: var(--monarch-hi); color: var(--ink); transform: translateY(-1px); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px rgba(31, 26, 23, 0.5); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn:disabled::after { display: none; }
/* On the orange field the button turns wing-black. */
.hero .btn { background: var(--ink); color: var(--paper); box-shadow: 0 12px 24px -14px rgba(31, 26, 23, 0.9); }
.hero .btn:hover { background: #000; color: var(--paper); }
.btn.secondary {
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 650;
}
.btn.secondary::after { display: none; }
.btn.secondary:hover { background: var(--ink); color: var(--paper); }

/* ── States as stops on the flyway ───────────────────────────────────────────────────── */
.states {
  position: relative; display: grid; grid-template-columns: 1fr; margin: 14px 0 8px;
  border-top: 1.5px solid var(--ink);
}
/* The dotted route that links the stops. */
.states::before {
  content: ""; position: absolute; left: 21px; top: 32px; bottom: 32px; width: 6px;
  background: radial-gradient(circle, var(--monarch) 0 2.5px, transparent 3px) center top / 6px 13px repeat-y;
}
.state {
  position: relative; display: flex; align-items: center; min-height: 64px;
  padding: 16px 52px 16px 56px; border-bottom: 1.5px solid var(--ink);
  color: var(--ink); text-decoration: none; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
  transition: background-color .2s var(--ease);
}
.state::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--ink);
  transition: background-color .2s var(--ease), transform .25s var(--ease);
}
.state::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  background: var(--ink);
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.state:hover { background: var(--paper-2); color: var(--ink); }
.state:hover::before { background: var(--monarch); transform: scale(1.15); }
.state:hover::after { transform: translateX(4px); }
/* The monarch has landed at the end of the route. */
.state:last-child::before {
  width: 34px; height: 32px; left: 7px; margin-top: -16px; border-radius: 0; box-shadow: none;
  background: url("/assets/monarca-familia-symbol.svg") center / contain no-repeat;
}
.state:last-child:hover::before { background: url("/assets/monarca-familia-symbol.svg") center / contain no-repeat; transform: rotate(-8deg) scale(1.1); }

/* ── The process band (milkweed green) ───────────────────────────────────────────────── */
.card {
  background: var(--green); color: var(--on-green);
  margin-top: 2.4rem; margin-bottom: 0.5rem; padding-top: 40px; padding-bottom: 40px;
}
.card h2 { color: var(--on-green); }
.card a:not(.btn) { color: var(--on-green); }
.card a:not(.btn):hover { color: #fff; text-decoration-color: var(--monarch); }
.card .hint { color: var(--on-green-2); }
.card .btn { box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.7); }
.steps { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: s; position: relative; }
/* The steps sit on a stretch of the route. */
.steps::before {
  content: ""; position: absolute; left: 17px; top: 20px; bottom: 30px; width: 6px;
  background: radial-gradient(circle, rgba(255, 246, 233, 0.55) 0 2.2px, transparent 2.7px) center top / 6px 12px repeat-y;
}
.steps li { counter-increment: s; position: relative; padding: 6px 0 0 58px; margin-bottom: 22px; font-size: 1.04rem; }
.steps li:last-child { margin-bottom: 4px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; background: var(--monarch); color: var(--ink);
  display: grid; place-items: center; font: 800 1.2rem/1 var(--display);
  box-shadow: 0 0 0 4px var(--green);
}

/* ── Questions and answers ───────────────────────────────────────────────────────────── */
details { border-top: 1.5px solid var(--ink); padding: 0; margin: 0; }
details:last-of-type { border-bottom: 1.5px solid var(--ink); }
h2 + details { margin-top: 14px; }
summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 48px 18px 0;
  font-size: 1.16rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .2s var(--ease);
}
summary:hover::after { background-color: var(--monarch); }
details[open] summary::after { transform: rotate(45deg); background-color: var(--monarch); }
details p { margin: -4px 0 0; padding: 0 0 20px; color: var(--ink-2); max-width: 38em; }

/* ── Quiz ────────────────────────────────────────────────────────────────────────────── */
.step-count { margin: 8px 0 10px; font-size: 1rem; font-weight: 750; color: var(--ink); }
/* Progress is the wing margin: the spots turn orange as the visitor moves along. */
.progress {
  position: relative; height: 24px; border-radius: 999px; overflow: hidden; margin: 0 0 26px;
  background: var(--wing-spots), var(--ink);
}
.progress div {
  height: 100%; width: 0; border-radius: 999px 0 0 999px;
  background:
    radial-gradient(circle, var(--monarch) 0 2.4px, transparent 2.9px) 0 30% / 15px 100% repeat-x,
    radial-gradient(circle, var(--monarch) 0 3.6px, transparent 4.1px) 7px 72% / 30px 100% repeat-x,
    var(--ink);
  transition: width .5s var(--ease);
}
.q-title {
  font-size: clamp(1.65rem, 6.4vw, 2.15rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.022em;
  margin: 6px 0 20px; text-wrap: balance;
}
.q-title:focus { outline: none; }
.q-title:focus-visible { outline: 3px solid var(--ink); }
.q-title label { cursor: text; }
.choice {
  position: relative; display: block; width: 100%; min-height: 58px; text-align: left;
  background: var(--sheet); color: var(--ink);
  border: 1.5px solid var(--vein-strong); border-radius: var(--radius); padding: 15px 16px 15px 52px; margin: 0 0 10px;
  font: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.35; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--ink);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.choice:hover { border-color: var(--ink); }
.choice:hover::before { background: var(--monarch-tint); }
.choice[aria-pressed="true"] { border-color: var(--ink); background: var(--monarch-tint); }
.choice[aria-pressed="true"]::before { background: var(--monarch); box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 5px var(--monarch-tint); }
select, input[type="text"], input[type="tel"], input[type="email"] {
  width: 100%; min-height: 54px; font: inherit; font-size: 1.08rem; padding: 13px 15px;
  border: 1.5px solid var(--vein-strong); border-radius: 12px; background: var(--sheet); color: var(--ink);
  caret-color: var(--monarch);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder { color: #857a70; }
select:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(232, 115, 26, 0.45);
}
input[aria-invalid="true"] { border-color: var(--error); }
label.field { display: block; font-weight: 650; margin: 18px 0 7px; }
.hint { color: var(--muted); font-size: 0.92rem; }
.error { color: var(--error); font-weight: 650; }
.error:empty { margin: 0; }
.back {
  display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; color: var(--ink-2);
  font: inherit; font-weight: 600; padding: 4px 0; margin-bottom: 4px; cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color .2s var(--ease);
}
.back:hover { text-decoration-color: var(--monarch); color: var(--ink); }

.consent {
  display: flex; gap: 14px; align-items: flex-start; margin: 12px 0; padding: 16px;
  min-height: 44px; border: 1.5px solid var(--vein-strong); border-radius: var(--radius);
  background: var(--sheet); cursor: pointer; line-height: 1.55;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.consent:hover { border-color: var(--ink); }
.consent input { width: 24px; height: 24px; flex: 0 0 24px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent-copy { min-width: 0; }
.consent-lead { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.consent-detail { display: block; font-size: 0.875rem; color: var(--ink-2); white-space: normal; overflow-wrap: anywhere; }
.consent-required { border: 2px solid var(--ink); }
.required-tag { display: block; color: var(--link); font-size: 0.875rem; font-weight: 700; }
.consent.is-checked { background: var(--monarch-tint); border-color: var(--ink); }
.consent:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
#consent-error { scroll-margin-top: 12px; }
#consent-error:empty { display: none; }
.phone-echo {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px;
  background: var(--paper-2); border-radius: 12px; padding: 10px 14px; font-weight: 650; margin: 10px 0 14px;
}
.edit-number {
  display: inline-block; min-height: 44px; padding: 8px 2px; border: 0; background: none;
  color: var(--link); font: inherit; font-size: 0.95rem; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.edit-number:hover { color: var(--ink); text-decoration-color: var(--monarch); }
.reassurance {
  list-style: none; padding: 16px 18px; margin: 18px 0 0; background: var(--paper-2);
  border-radius: var(--radius); font-size: 0.94rem; font-weight: 600;
}
.reassurance li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.reassurance li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--monarch); box-shadow: 0 0 0 2px var(--ink);
}
.reassurance li:last-child { margin-bottom: 0; }
.notice { font-size: 0.86rem; color: var(--muted); }

/* Thank-you: the caller ID as a wing tag the visitor can read at arm's length. */
.big-number {
  display: inline-block; margin: 4px 0 16px; padding: 10px 18px 12px; border-radius: 12px;
  background: var(--paper); color: var(--ink);
  font-size: clamp(1.7rem, 8vw, 2.3rem); font-weight: 800; letter-spacing: 0.01em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
#ok ul { padding-left: 0; list-style: none; }
#ok ul li { position: relative; padding-left: 26px; }
#ok ul li::before {
  content: ""; position: absolute; left: 3px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--monarch); box-shadow: 0 0 0 2px var(--ink);
}

/* ── Footer: the wing margin. Disclosures sit on paper in their own box, larger than the rest
   of the footer (GA O.C.G.A. §10-1-424.1). ──────────────────────────────────────────────── */
.site-footer {
  position: relative; margin-top: 24px;
  padding: 52px max(16px, calc(50% - var(--col) / 2 + 16px)) max(32px, env(safe-area-inset-bottom));
  background: var(--ink); color: #d9cec2;
  font-size: 0.85rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 24px; background: var(--wing-spots);
}
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--monarch-hi); }
.f-disclosure {
  background: var(--sheet); color: var(--ink); border-radius: var(--radius);
  padding: 18px 18px; margin: 0 0 18px; font-size: 0.95rem;
}
.f-disclosure p:last-child { margin-bottom: 0; }
.f-notatty { font-weight: 700; font-size: 0.95rem; }
.f-legal { padding-top: 6px; }
.site-header .ad-label, .site-footer, .notice { overflow-wrap: anywhere; }

/* ── The signature moment: the route draws in once, then the monarch lands ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .route .draw { animation: route-draw 2s var(--ease) 0.15s both; }
  .state:last-child::before { animation: monarch-land 0.9s var(--ease) 1.2s both; }
}
@keyframes route-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes monarch-land {
  from { opacity: 0; transform: translate(26px, -34px) rotate(-24deg) scale(0.6); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ── Wider screens ───────────────────────────────────────────────────────────────────── */
@media (min-width: 760px) {
  body { font-size: 18px; }
  main { padding-top: 24px; }
  .site-header .bar { padding: 14px 16px; }
  .brand img { width: 172px; }
  .hero { margin-top: -24px; padding-top: 56px; padding-bottom: 84px; }
  .hero h1 { margin-bottom: 22px; }
  .hero { margin-bottom: 36px; }
  .hero .btn, .card .btn { width: auto; display: inline-flex; min-width: 300px; padding-inline: 30px; }
  .hero .hint.center, .card .hint.center { text-align: left; }
  /* Stops run across the page on a horizontal route. */
  .states { grid-template-columns: repeat(4, 1fr); border-top: 0; margin-top: 18px; }
  .states::before {
    left: 0; right: calc(25% - 4px); top: 23px; bottom: auto; width: auto; height: 6px;
    background: radial-gradient(circle, var(--monarch) 0 2.5px, transparent 3px) left center / 13px 6px repeat-x;
  }
  .state {
    flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 0;
    padding: 58px 14px 18px 0; border-bottom: 0; font-size: 1.35rem;
  }
  .state::before { left: 0; top: 16px; margin-top: 0; }
  .state:last-child::before { left: -6px; top: 8px; margin-top: 0; }
  .state { min-height: 150px; }
  .state::after { position: static; margin-top: auto; }
  .route .route-m { display: none; }
  .route .route-d { display: inline; }
  .state:hover { background: transparent; }
  .card { padding-top: 56px; padding-bottom: 56px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: 5rem; }
}

[hidden] { display: none !important; }
