/* ===========================================================================
   Mission Benefits Insurance Services — homepage
   Brand shared with matthewsohn.com. Warm editorial B2B benefits practice.
   Mobile-first; layered up with min-width queries.
   =========================================================================== */

/* ---- Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light;

  --ink:        #102E2A;   /* near-black text, warm green-black */
  --muted:      #586E69;   /* secondary text */
  --brand:      #0E4D45;   /* deep teal — primary */
  --brand-700:  #135E54;
  --brand-500:  #239485;
  --brand-100:  #E7F1EF;
  --brand-50:   #F3F8F7;
  --gold:       #E0A43B;   /* warm gold — accent / primary button */
  --gold-600:   #C9881C;
  --gold-tint:  #FBF1DD;
  --paper:      #FCFBF8;   /* page background, warm off-white */
  --surface:    #FFFFFF;
  --line:       #E1E8E6;   /* hairline borders */

  --shadow-sm:  0 1px 2px rgba(16,46,42,.04), 0 1px 3px rgba(16,46,42,.06);
  --shadow-md:  0 4px 12px rgba(16,46,42,.06), 0 12px 28px rgba(16,46,42,.07);
  --shadow-lg:  0 18px 50px rgba(16,46,42,.12);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* fluid type scale */
  --fs-eyebrow: .8rem;
  --fs-body:    1.0625rem;
  --fs-lede:    clamp(1.075rem, 1.6vw, 1.3rem);
  --fs-h3:      clamp(1.2rem, 2.4vw, 1.45rem);
  --fs-h2:      clamp(1.65rem, 4vw, 2.55rem);
  --fs-h1:      clamp(2.15rem, 5.5vw, 3.75rem);
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand); }

img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tint { background: var(--brand-50); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin: 0 0 .9rem;
}
.lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.55; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lede { margin-top: 1rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius-sm); font-weight: 600; z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-ui); font-weight: 600; font-size: .98rem;
  line-height: 1; padding: .85rem 1.35rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 1px 0 var(--gold-600); }
.btn--primary:hover { background: #eab14f; color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand); background: var(--surface); }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--on-dark { background: var(--gold); color: var(--ink); }
.btn--on-dark:hover { background: #eab14f; }

/* arrow text-link */
.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--brand-700);
}
.arrow-link svg { width: 1.1em; height: 1.1em; transition: transform .16s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---- Monogram ------------------------------------------------------------- */
.monogram { width: 40px; height: 40px; flex: none; }

/* ===========================================================================
   Header / nav
   =========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-name span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: none; }
.nav-tools { display: flex; align-items: center; gap: .5rem; }
.nav-phone { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--line);
  background: var(--surface); border-radius: var(--radius-sm); cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile drawer */
.nav-drawer {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: .5rem var(--gutter) 1.5rem;
  display: none;
}
.nav-drawer.is-open { display: block; }
.nav-drawer a.nav-link {
  display: block; padding: .95rem .25rem; font-weight: 500; font-size: 1.1rem;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.nav-drawer a.nav-link:hover { color: var(--brand); }
.nav-drawer .drawer-cta { margin-top: 1.25rem; display: grid; gap: .65rem; }
.nav-drawer .drawer-phone { display: inline-flex; align-items: center; gap: .5rem; justify-content: center; font-weight: 600; color: var(--brand); padding: .5rem; }

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .nav-drawer { display: none !important; }
  .nav-links {
    display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.5rem);
  }
  .nav-links a {
    font-weight: 500; font-size: .96rem; color: var(--ink); padding: .4rem 0;
    position: relative;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: var(--gold); transition: right .2s ease;
  }
  .nav-links a:hover { color: var(--brand); }
  .nav-links a:hover::after { right: 0; }
  .nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--brand); font-size: .96rem; margin-right: .25rem; }
  .nav-phone svg { width: 1.05em; height: 1.05em; }
}

/* ===========================================================================
   Hero
   =========================================================================== */
.hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% -10%, var(--brand-50) 0%, transparent 60%),
    radial-gradient(50% 60% at -5% 10%, var(--gold-tint) 0%, transparent 55%);
  opacity: .8;
}
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-h1); font-weight: 500; margin: .35rem 0 0; }
.hero .lede { margin-top: 1.3rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.signal-row { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 2rem; }
.signal {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 500; color: var(--muted);
}
.signal svg { width: 1.15rem; height: 1.15rem; color: var(--brand-500); flex: none; }

/* quote card */
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(1.5rem, 3vw, 2rem);
  position: relative;
}
.quote-card::before {
  content: ""; position: absolute; inset-inline: clamp(1.5rem,3vw,2rem); top: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-600));
  border-radius: 0 0 4px 4px;
}
.quote-card h2 { font-size: 1.3rem; font-family: var(--font-display); font-weight: 600; }
.quote-card .qc-list { margin: 1.25rem 0; display: grid; gap: .85rem; }
.qc-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; }
.qc-list svg { width: 1.25rem; height: 1.25rem; color: var(--brand-500); flex: none; margin-top: .12rem; }
.quote-card .qc-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; display: flex; gap: .5rem; align-items: flex-start; }
.quote-card .qc-note svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .15rem; color: var(--gold-600); }

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

/* ===========================================================================
   Trust strip
   =========================================================================== */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid {
  display: grid; gap: 1.5rem 2rem; padding-block: clamp(2rem, 3.5vw, 2.75rem);
  grid-template-columns: 1fr;
}
.trust-item { display: flex; gap: .85rem; align-items: flex-start; }
.trust-item svg { width: 1.5rem; height: 1.5rem; color: var(--brand-500); flex: none; margin-top: .15rem; }
.trust-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .92rem; }
@media (min-width: 620px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===========================================================================
   Services
   =========================================================================== */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card-icon {
  width: 44px; height: 44px; color: var(--brand); margin-bottom: 1.1rem;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: var(--fs-h3); font-weight: 600; }
.card > p { color: var(--muted); margin-top: .55rem; font-size: .96rem; }
.card-bullets { margin: 1.1rem 0 1.25rem; display: grid; gap: .55rem; }
.card-bullets li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; color: var(--ink); }
.card-bullets svg { width: 1.05rem; height: 1.05rem; color: var(--gold-600); flex: none; margin-top: .18rem; }
.card .arrow-link { margin-top: auto; font-size: .95rem; }

/* ===========================================================================
   How it works
   =========================================================================== */
.steps { display: grid; gap: 1.5rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: var(--fs-h3); font-weight: 600; }
.step p { color: var(--muted); margin-top: .55rem; font-size: .97rem; }
.steps-connect { position: relative; }

/* ===========================================================================
   Coverage + included panel
   =========================================================================== */
.coverage-grid { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
@media (min-width: 920px) { .coverage-grid { grid-template-columns: 1fr 1fr; } }

.map-block {
  margin-top: 1.75rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.map-hq { display: flex; gap: .75rem; align-items: flex-start; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line); margin-bottom: 1.1rem; }
.map-hq svg { width: 1.6rem; height: 1.6rem; color: var(--gold-600); flex: none; margin-top: .1rem; }
.map-hq strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: block; }
.map-hq span { color: var(--muted); font-size: .9rem; }
.state-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .85rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--line);
}
.chip--active { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip--more { background: transparent; color: var(--muted); }
.map-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; font-style: italic; }

.included-panel {
  background: var(--brand); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.included-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: var(--brand-700); opacity: .55;
}
.included-panel h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.65rem); font-weight: 600; position: relative; }
.included-list { margin-top: 1.5rem; display: grid; gap: 1.1rem; position: relative; }
.included-list li { display: flex; gap: .8rem; align-items: flex-start; }
.included-list .ic {
  width: 30px; height: 30px; border-radius: 8px; background: rgba(224,164,59,.18); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.included-list .ic svg { width: 18px; height: 18px; }
.included-list strong { color: #fff; font-weight: 600; display: block; font-size: 1rem; }
.included-list span { color: color-mix(in srgb, #fff 78%, var(--brand-500)); font-size: .92rem; line-height: 1.5; }

/* ===========================================================================
   About
   =========================================================================== */
.about-grid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 820px) { .about-grid { grid-template-columns: .85fr 1.15fr; } }
.about-media { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.avatar-tile {
  width: 100%; aspect-ratio: 4/5; max-width: 320px;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-700) 100%);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.avatar-tile::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(224,164,59,.22), transparent 60%);
}
.avatar-initials { font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 12vw, 6rem); color: var(--gold); position: relative; }
.license-badge {
  display: inline-flex; align-items: center; gap: .5rem; max-width: 320px; width: 100%; justify-content: center;
  background: var(--gold-tint); border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
  color: var(--gold-600); font-weight: 600; font-size: .9rem; padding: .65rem 1rem; border-radius: 999px;
}
.license-badge svg { width: 1.1rem; height: 1.1rem; }
.about-body h2 { font-size: var(--fs-h2); }
.about-body p { color: var(--muted); margin-top: 1.1rem; }
.about-body p em, .about-body em { color: var(--ink); font-style: italic; }
.about-body .arrow-link { margin-top: 1.4rem; }

/* ===========================================================================
   Testimonial
   =========================================================================== */
.testimonial-wrap { max-width: 50rem; margin-inline: auto; text-align: center; }
.testimonial-mark { font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--gold); height: 2rem; }
.testimonial-quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.3; color: var(--ink); margin-top: 1rem; font-style: italic; }
.testimonial-by { margin-top: 1.5rem; font-weight: 600; color: var(--brand-700); }
.testimonial-by span { display: block; color: var(--muted); font-weight: 500; font-size: .9rem; margin-top: .15rem; }
.placeholder-flag {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.5rem;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold-tint); color: var(--gold-600); padding: .35rem .8rem; border-radius: 999px; border: 1px dashed var(--gold-600);
}

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 880px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .16s ease, box-shadow .16s ease;
}
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.35rem;
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 1.3rem; height: 1.3rem; color: var(--brand-500); flex: none; transition: transform .2s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 1.35rem 1.3rem; color: var(--muted); }
.faq-answer p { line-height: 1.6; }

/* ===========================================================================
   Quote / CTA + form
   =========================================================================== */
.quote-section { background: var(--brand); color: #fff; }
.quote-section .eyebrow { color: var(--gold); }
.quote-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: .95fr 1.05fr; } }
.quote-info h2 { color: #fff; font-size: var(--fs-h2); }
.quote-info .lede { color: color-mix(in srgb, #fff 80%, var(--brand-500)); margin-top: 1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--gold); }
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list a, .contact-list span { color: #fff; }
.contact-list a:hover { color: var(--gold); }
.contact-list small { display: block; color: color-mix(in srgb, #fff 65%, var(--brand-500)); font-size: .82rem; }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); }
.form-card .mockup-tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-tint); display: inline-block; padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1.1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100);
}
.field input:user-invalid, .field select:user-invalid { border-color: #c0532f; }
.field .err { font-size: .8rem; color: #c0532f; min-height: 0; }
.form-fineprint { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-success {
  display: none; text-align: center; padding: 1.5rem .5rem;
}
.form-success.is-visible { display: block; }
.form-success .check { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--brand-100); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.form-success .check svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.5rem; font-weight: 600; }
.form-success p { color: var(--muted); margin-top: .6rem; }

/* ===========================================================================
   Footer
   =========================================================================== */
.site-footer { background: var(--ink); color: color-mix(in srgb, #fff 75%, var(--brand-500)); padding-block: clamp(3rem, 5vw, 4.5rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name strong { color: #fff; }
.footer-brand .brand-name span { color: color-mix(in srgb, #fff 55%, var(--brand-500)); }
.footer-blurb { font-size: .92rem; line-height: 1.6; max-width: 30ch; }
.footer-license { font-size: .82rem; margin-top: 1rem; color: color-mix(in srgb, #fff 55%, var(--brand-500)); }
.footer-col h4 { font-family: var(--font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col span { color: color-mix(in srgb, #fff 75%, var(--brand-500)); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-col .btn { margin-top: .35rem; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: color-mix(in srgb, #fff 55%, var(--brand-500));
}
