/* =========================================================
   REAL INSURE — shared stylesheet
   Concept shell. Not published.
   Palette is three colors plus two shades. No gold.
   One typeface (Archivo); the brand speaks in weight.
   ========================================================= */

:root {
  --parchment: #F3ECDF;
  --parchment-deep: #E7DDC8;
  --parchment-lift: #FBF7EF;
  --real-red: #8C2F3D;
  --real-red-deep: #6F2331;
  --real-red-tint: rgba(140, 47, 61, 0.08);
  --deep-ink: #1E262D;
  --ink-soft: #5A5650;
  --rule: rgba(30, 38, 45, 0.16);
  --rule-strong: rgba(30, 38, 45, 0.35);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 62ch;
  --shell: 1120px;
  --shell-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 999px;
  --radius-box: 6px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--deep-ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--real-red);
  outline-offset: 3px;
}
/* Headings receive focus programmatically on step change; no ring. */
[tabindex="-1"]:focus { outline: none; }
/* Every in-page anchor lands below the sticky header. */
[id] { scroll-margin-top: 6.5rem; }

.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.shell-narrow { width: min(100% - 2 * var(--gutter), var(--shell-narrow)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--deep-ink); color: var(--parchment);
  padding: 0.75rem 1.25rem; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Spacing utilities (replace inline styles) ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.75rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.25rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 1.75rem !important; }
.mt-6 { margin-top: 2rem !important; }
.mt-7 { margin-top: 2.25rem !important; }
.mt-8 { margin-top: 2.5rem !important; }
.mt-9 { margin-top: 2.75rem !important; }
.mt-10 { margin-top: 3rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-8 { margin-bottom: 2.5rem !important; }
.measure-60 { max-width: 60ch; }
.measure-68 { max-width: 68ch; }
.measure-70 { max-width: 70ch; }
.measure-18 { max-width: 18ch; }
.h2-sm { font-size: 1.9rem; }
.muted { color: var(--ink-soft); }
.row { display: flex; align-items: center; gap: 0.75rem; }
.hidden { display: none !important; }
.divider-top { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

/* Field widths — three sizes, no inline styles */
.w-xs { max-width: 9rem !important; }
.w-sm { max-width: 14rem !important; }
.w-md { max-width: 22rem !important; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.018em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1rem; }
.lede { font-size: 1.18rem; line-height: 1.55; color: var(--ink-soft); }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.tiny { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
strong { font-weight: 600; }

/* ---------- Lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--deep-ink); }
.lockup svg { width: 2.6rem; height: 2.6rem; flex: none; }
.wordmark { line-height: 1; }
.wordmark .name { display: block; font-size: 1.42rem; letter-spacing: -0.02em; text-transform: uppercase; }
.wordmark .name b { font-weight: 900; }
.wordmark .name span { font-weight: 300; margin-left: 0.18em; }
.wordmark .line { display: block; margin-top: 0.3rem; font-size: 0.57rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--parchment) 93%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5rem; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--real-red); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--real-red); font-weight: 600; }
.nav .btn { white-space: nowrap; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem;
  background: transparent; border: 1.5px solid var(--rule-strong); border-radius: var(--radius);
  cursor: pointer; color: inherit;
}
.nav-toggle svg { width: 1.15rem; height: 1.15rem; }
.nav-toggle .close-icon { display: none; }
.nav-toggle[aria-expanded="true"] .open-icon { display: none; }
.nav-toggle[aria-expanded="true"] .close-icon { display: block; }
#mobile-nav { display: none; border-top: 1px solid var(--rule); padding-block: 1rem 1.5rem; }
#mobile-nav.open { display: block; }
#mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
#mobile-nav a { display: block; padding: 0.85rem 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--rule); }
#mobile-nav .btn { margin-top: 1.25rem; width: 100%; }
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  #mobile-nav { display: none !important; }
}
@media (max-width: 520px) {
  .nav .btn { padding: 0.65rem 1rem; font-size: 0.9rem; }
  .lockup .line { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.45rem; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--real-red); color: var(--parchment); }
.btn-primary:hover:not(:disabled) { background: var(--real-red-deep); }
.btn-secondary { border-color: var(--deep-ink); color: var(--deep-ink); background: transparent; }
.btn-secondary:hover { background: var(--deep-ink); color: var(--parchment); }
.btn-ghost { border-color: color-mix(in srgb, var(--parchment) 60%, transparent); color: var(--parchment); background: transparent; }
.btn-ghost:hover { background: var(--parchment); color: var(--deep-ink); }
.btn-quiet { background: transparent; border-color: var(--rule-strong); color: var(--ink-soft); font-weight: 500; }
.btn-quiet:hover { border-color: var(--deep-ink); color: var(--deep-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sections ---------- */
section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.band { background: var(--parchment-deep); }
.ink { background: var(--deep-ink); color: var(--parchment); }
.ink p, .ink .lede, .ink .small { color: color-mix(in srgb, var(--parchment) 80%, transparent); }
.ink h1, .ink h2, .ink h3, .ink h4 { color: var(--parchment); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3rem); }
.page-hero .lede { margin-top: 1.35rem; max-width: 60ch; }
.page-hero .actions { margin-top: 2rem; }
.crumb { font-size: 0.85rem; font-weight: 600; color: var(--real-red); margin-bottom: 1rem; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- Ruled list ---------- */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--deep-ink); }
.ink .ruled { border-top-color: var(--parchment); }
.ruled > li { display: grid; gap: 0.75rem 2.5rem; padding-block: 1.75rem; border-bottom: 1px solid var(--rule); }
.ink .ruled > li { border-bottom-color: color-mix(in srgb, var(--parchment) 20%, transparent); }
@media (min-width: 820px) { .ruled > li { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); } }
.ruled h3 { padding-left: 1rem; border-left: 3px solid var(--real-red); }

/* ---------- Columns ---------- */
.cols { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.cols-3 { display: grid; gap: 2rem; }
@media (min-width: 860px) { .cols-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.col > p { margin-top: 0.85rem; color: var(--ink-soft); }
.dotted { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.dotted li { padding: 0.85rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.dotted li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.55rem; border-radius: 50%; background: var(--real-red); }
.ink .dotted li { border-top-color: color-mix(in srgb, var(--parchment) 20%, transparent); }
.ink .dotted li::before { background: var(--parchment); }

/* ---------- Numbered steps (only where content is a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps > li { counter-increment: step; border-top: 1.5px solid currentColor; padding-top: 1.25rem; }
.steps > li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 300; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; margin-bottom: 0.85rem; }
.steps p { margin-top: 0.6rem; }

/* ---------- Panels ---------- */
.panel {
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius-box);
  padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--parchment-lift);
}
.panel-red { border-color: var(--real-red); background: var(--real-red-tint); }
.panel h3 { margin-bottom: 0.75rem; }
.panel + .panel { margin-top: 1.25rem; }

/* Inline warning under a field — soft, non-blocking */
.warn { display: none; margin-top: 0.65rem; padding: 0.75rem 0.95rem; border-left: 3px solid var(--real-red); background: var(--real-red-tint); font-size: 0.92rem; line-height: 1.5; max-width: 34rem; }
.warn.show { display: block; }

/* Callout — used for "here's what this actually means" asides */
.note { border-left: 3px solid var(--real-red); padding: 0.25rem 0 0.25rem 1.15rem; margin-top: 1.25rem; }
.note p { font-size: 0.96rem; }

/* ---------- Definition / plain-English glossary ---------- */
.terms { margin: 0; }
.terms > div { padding-block: 1.5rem; border-bottom: 1px solid var(--rule); display: grid; gap: 0.6rem 2.5rem; }
@media (min-width: 820px) { .terms > div { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); } }
.terms dt { font-weight: 700; letter-spacing: -0.015em; font-size: 1.05rem; }
.terms dd { margin: 0; color: var(--ink-soft); }

/* ---------- Accordion (FAQ) ---------- */
.faq { border-top: 1.5px solid var(--deep-ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.35rem; top: 1.75rem;
  width: 0.7rem; height: 0.7rem; border-right: 2px solid var(--real-red); border-bottom: 2px solid var(--real-red);
  transform: rotate(45deg); transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.95rem; }
.faq .faq-body { padding-bottom: 1.5rem; }
.faq .faq-body p { color: var(--ink-soft); }

/* ---------- Valley rail ---------- */
.valley { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.valley-caption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.valley-caption strong { color: var(--deep-ink); }
.rail { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1.5px; background: var(--deep-ink); transform-origin: left; }
.rail > li { position: relative; padding-top: 1.35rem; font-size: 0.82rem; line-height: 1.25; color: var(--ink-soft); }
.rail > li::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--parchment); border: 1.5px solid var(--deep-ink); }
.rail > li.here { color: var(--deep-ink); font-weight: 600; }
.rail > li.here::before { background: var(--real-red); border-color: var(--real-red); width: 13px; height: 13px; top: -1px; }
.rail > li.here small { display: block; font-weight: 500; color: var(--real-red); font-size: 0.72rem; margin-top: 0.15rem; }
@media (max-width: 720px) {
  .rail { grid-template-columns: repeat(4, 1fr); row-gap: 1.75rem; }
  .rail::before { display: none; }
  .rail > li { padding-left: 1.2rem; padding-top: 0; }
  .rail > li::before { top: 0.3em; }
  .rail > li.here::before { top: 0.22em; }
}
@media (prefers-reduced-motion: no-preference) {
  .rail.animate::before { animation: railDraw 900ms cubic-bezier(.2,.7,.2,1) 150ms both; }
  .rail.animate > li::before { opacity: 0; animation: railPop 300ms ease forwards; }
  .rail.animate > li:nth-child(1)::before { animation-delay: 250ms; }
  .rail.animate > li:nth-child(2)::before { animation-delay: 340ms; }
  .rail.animate > li:nth-child(3)::before { animation-delay: 430ms; }
  .rail.animate > li:nth-child(4)::before { animation-delay: 520ms; }
  .rail.animate > li:nth-child(5)::before { animation-delay: 610ms; }
  .rail.animate > li:nth-child(6)::before { animation-delay: 700ms; }
  .rail.animate > li:nth-child(7)::before { animation-delay: 790ms; }
  .rail.animate > li:nth-child(8)::before { animation-delay: 880ms; }
  @keyframes railDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes railPop { to { opacity: 1; } }
}

/* ---------- Video placeholders ---------- */
.video-frame {
  aspect-ratio: 16 / 9; border: 1.5px solid var(--rule-strong); border-radius: var(--radius-box);
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background: var(--parchment-deep); color: var(--ink-soft); font-size: 0.9rem;
}
.video-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.video-list li { border-top: 1px solid var(--rule); }
.video-list a { display: block; padding: 0.85rem 0; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.video-list a:hover { color: var(--real-red); }
.video-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }
.video-card h3 { font-size: 1.1rem; margin-top: 1rem; }
.video-card p { font-size: 0.93rem; color: var(--ink-soft); margin-top: 0.5rem; }
.video-card .meta { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.75rem; }

/* =========================================================
   FORMS
   ========================================================= */
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; }
label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 0.3rem; }
.field { margin-top: 1.75rem; }
.field:first-child { margin-top: 0; }
.help { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 0.65rem; max-width: 58ch; line-height: 1.5; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], select, textarea {
  width: 100%; max-width: 34rem; font: inherit; font-size: 1rem;
  padding: 0.8rem 0.95rem; color: var(--deep-ink);
  background: var(--parchment-lift); border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-box);
}
textarea { min-height: 7rem; resize: vertical; max-width: 34rem; }
input:hover, select:hover, textarea:hover { border-color: var(--deep-ink); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--real-red); background: var(--real-red-tint); }

.error-text { display: none; color: var(--real-red-deep); font-weight: 600; font-size: 0.9rem; margin-top: 0.45rem; }
.error-text.show { display: block; }

/* Choice cards — big friendly tap targets */
.choices { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
@media (min-width: 640px) { .choices.two-up { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; z-index: 1; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice input + span {
  display: block; padding: 1.05rem 1.2rem; cursor: pointer;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius-box);
  background: var(--parchment-lift);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.choice input + span b { display: block; font-weight: 700; letter-spacing: -0.015em; }
.choice input + span em { display: block; font-style: normal; font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.25rem; line-height: 1.45; }
.choice input:hover + span { border-color: var(--deep-ink); }
.choice input + span { position: relative; padding-right: 3rem; }
.choice input + span::after {
  content: ""; position: absolute; right: 1.1rem; top: 1.15rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  border: 1.5px solid var(--rule-strong); background: var(--parchment-lift);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.choice input:checked + span { border-color: var(--real-red); border-width: 2px; background: var(--real-red-tint); padding: calc(1.05rem - 0.5px) calc(3rem - 0.5px) calc(1.05rem - 0.5px) calc(1.2rem - 0.5px); }
.choice input:checked + span::after {
  border-color: var(--real-red); background: var(--real-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3ECDF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 65%; background-position: center; background-repeat: no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--real-red); outline-offset: 3px; }

/* Checkbox rows */
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin-top: 1rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; accent-color: var(--real-red); flex: none; }
.check label { font-weight: 400; font-size: 0.96rem; margin: 0; line-height: 1.5; }
.check label b { font-weight: 600; }
.check + .error-text { margin: 0.35rem 0 0.75rem 1.9rem; }
.check + .error-text.show + .check { margin-top: 0.5rem; }

/* =========================================================
   QUOTE WIZARD
   ========================================================= */
.wizard { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.wizard-intro h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0.9rem; }
.wizard-intro .lede { margin-bottom: 2.5rem; max-width: 60ch; }
.wizard.compact .wizard-intro h1 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1.25rem; color: var(--ink-soft); }
.wizard.compact .wizard-intro .lede { display: none; }
.progress { margin-bottom: 2.5rem; }
.progress-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.progress-meta strong { color: var(--deep-ink); }
.progress-track { height: 6px; background: var(--parchment-deep); border-radius: var(--radius); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--real-red); border-radius: var(--radius); transition: width 320ms cubic-bezier(.2,.7,.2,1); }

.step { display: none; }
.step.active { display: block; }
.step > h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.step > .lede { margin-top: 1rem; margin-bottom: 2rem; font-size: 1.08rem; }

.wizard-nav { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.wizard-nav .buttons { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.save-note { display: block; margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); text-align: right; }

/* Review table */
.review-section { border-top: 1.5px solid var(--deep-ink); padding-block: 1.25rem 1.5rem; }
.review-section + .review-section { border-top-width: 1px; border-top-color: var(--rule); }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.review-head h3 { font-size: 1.05rem; }
.review-section .edit { background: none; border: 0; padding: 0; font: inherit; font-size: 0.9rem; color: var(--real-red); font-weight: 600; cursor: pointer; text-decoration: underline; white-space: nowrap; }
.review-section dl { margin: 0; display: grid; gap: 0.55rem 1.5rem; }
@media (min-width: 640px) { .review-section dl { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); } }
.review-section dt { font-size: 0.92rem; color: var(--ink-soft); }
.review-section dd { margin: 0; white-space: pre-line; }
@media (max-width: 639px) { .review-section dd { margin-bottom: 0.35rem; } }

/* Confirmation */
.confirm-mark { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--real-red); display: grid; place-items: center; margin-bottom: 1.5rem; }
.confirm-mark svg { width: 1.75rem; height: 1.75rem; stroke: var(--parchment); }

.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 1.05rem; height: 1.05rem;
  border: 2px solid color-mix(in srgb, var(--parchment) 45%, transparent);
  border-top-color: var(--parchment); border-radius: 50%; animation: spin 700ms linear infinite;
}
.btn-secondary.is-busy::after, .btn-quiet.is-busy::after { border-color: var(--rule-strong); border-top-color: var(--deep-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.submit-error {
  display: none; margin-top: 1.25rem; padding: 1rem 1.15rem;
  border-left: 3px solid var(--real-red); background: var(--real-red-tint);
  font-size: 0.95rem; line-height: 1.55;
}
.submit-error.show { display: block; }
.submit-error strong { display: block; margin-bottom: 0.25rem; }

/* Demo banner — must stay until the site is real */
.demo-banner {
  background: var(--deep-ink); color: var(--parchment);
  font-size: 0.87rem; line-height: 1.5; padding: 0.7rem 0; text-align: center;
}
.demo-banner strong { color: var(--parchment); }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site { background: var(--deep-ink); color: var(--parchment); padding-block: 3.5rem 2.5rem; }
footer.site .lockup { color: var(--parchment); }
footer.site .wordmark .line { color: color-mix(in srgb, var(--parchment) 65%, transparent); }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
footer.site nav ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
footer.site nav a { text-decoration: none; font-size: 0.95rem; color: color-mix(in srgb, var(--parchment) 80%, transparent); }
footer.site nav a:hover { color: var(--parchment); text-decoration: underline; }
footer.site .kicker { font-weight: 700; font-size: 0.95rem; }
footer.site .blurb { margin-top: 1.25rem; font-size: 0.95rem; color: color-mix(in srgb, var(--parchment) 78%, transparent); max-width: 34ch; }

/* CIC §1725.5 — license number, phone and address share one size.
   Do not shrink the license line independently of the others. */
.compliance { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--parchment) 18%, transparent); }
.compliance p { max-width: none; font-size: 0.95rem; line-height: 1.6; color: color-mix(in srgb, var(--parchment) 82%, transparent); }
.compliance p + p { margin-top: 0.5rem; }
.compliance .legal { font-size: 0.82rem; margin-top: 1.25rem; color: color-mix(in srgb, var(--parchment) 58%, transparent); max-width: 90ch; }
.compliance a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
