/* ═══════════════════════════════════════════════════════════════
   Mediverse Practice Accelerator — styles.css
   Modern dual-tone: deep navy hero/header + clean light content.
   Matches mediverse.health family aesthetic.
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul, fieldset { margin: 0; padding: 0 }
ul, ol { list-style: none }
a { color: inherit; text-decoration: none }
img, svg { display: block; max-width: 100% }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
input, select, textarea, button { font: inherit }
address { font-style: normal }

:root {
  /* Light palette (content sections) */
  --paper:        #FAFBFC;
  --paper-2:      #F2F5F8;
  --ink:          #0B1B2B;
  --ink-2:        #1E2D3E;
  --ink-3:        #475467;
  --muted:        #667085;
  --rule:         #E4E7EC;
  --rule-2:       #D0D5DD;

  /* Dark palette (hero, header, dark sections) */
  --dark:         #0B1B2B;
  --dark-2:       #102234;
  --dark-3:       #1A2F45;
  --dark-line:    rgba(255,255,255,0.08);
  --dark-line-2:  rgba(255,255,255,0.16);

  /* Brand */
  --brand:        #0066FF;
  --brand-ink:    #0052CC;
  --brand-light:  #4D8FFF;
  --brand-soft:   rgba(0,102,255,0.10);
  --accent-glow:  rgba(0,102,255,0.35);

  /* Type */
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* Scale */
  --step-0:   clamp(0.95rem, calc(0.90rem + 0.20vw), 1.05rem);
  --step-1:   clamp(1.05rem, calc(0.95rem + 0.40vw), 1.25rem);
  --step-2:   clamp(1.25rem, calc(1.10rem + 0.70vw), 1.65rem);
  --step-3:   clamp(1.75rem, calc(1.40rem + 1.50vw), 2.50rem);
  --step-4:   clamp(2.40rem, calc(1.80rem + 2.80vw), 4.00rem);
  --step-5:   clamp(3.20rem, calc(2.30rem + 4.20vw), 5.50rem);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, calc(0.8rem + 2vw), 2.25rem);
  --section-y: clamp(4rem, calc(2.5rem + 5vw), 6.5rem);

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(11,27,43,0.06), 0 1px 3px rgba(11,27,43,0.04);
  --shadow-md: 0 4px 12px rgba(11,27,43,0.06), 0 2px 4px rgba(11,27,43,0.04);
  --shadow-lg: 0 18px 40px rgba(11,27,43,0.10), 0 6px 12px rgba(11,27,43,0.05);
}

html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand); color: #fff }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; font-size: .85rem; z-index: 100;
}
.skip:focus { left: 12px; top: 12px }

/* ─────────── HEADER / NAV ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 27, 43, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--dark-line);
}
.nav {
  display: flex; align-items: center; gap: 2rem;
  padding-top: .85rem; padding-bottom: .85rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; transition: opacity .2s var(--ease); }
.brand:hover { opacity: .85 }
.brand__logo { height: 44px; width: auto; display: block; }

.nav__links { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav__links > a {
  font-size: .92rem; font-weight: 500;
  color: rgba(255,255,255,0.82);
  position: relative;
  transition: color .18s var(--ease);
}
.nav__links > a:hover, .nav__links > a[aria-current="page"] { color: #fff; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1px; background: var(--brand);
  transition: right .25s var(--ease);
}
.nav__links > a:not(.btn):hover::after,
.nav__links > a:not(.btn):focus-visible::after,
.nav__links > a[aria-current="page"]::after { right: 0; }

.nav__toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center; margin-left: auto;
}
.nav__toggle span { width: 22px; height: 1.5px; background: #fff; transition: transform .25s var(--ease), opacity .25s var(--ease) }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg) }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg) }

.nav__mobile {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
  padding: .5rem var(--gutter) 1.25rem;
  display: none; flex-direction: column;
}
.nav__mobile a { padding: .9rem 0; border-bottom: 1px solid var(--dark-line); color: #fff; font-weight: 500; }
.nav__mobile a.btn { margin-top: .75rem; text-align: center; border-bottom: 0; justify-content: center; }
.nav__mobile[data-open="true"] { display: flex }

@media (max-width: 880px) {
  .nav__links { display: none }
  .nav__toggle { display: flex }
}

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600;
  letter-spacing: .002em;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer; border: 0;
}
.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 14px rgba(0,102,255,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover {
  background: var(--brand-ink); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,102,255,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}
.btn--ghost {
  background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid var(--dark-line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; gap: .7rem; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; }
.btn span[aria-hidden="true"] { transition: transform .2s var(--ease); }
.btn:hover span[aria-hidden="true"] { transform: translateX(3px); }

/* ─────────── EYEBROW / SECTION HEADS ─────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--brand-light);
  padding: .45rem .9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-line-2);
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.eyebrow--dark {
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-color: rgba(0,102,255,0.18);
}

.section { padding: var(--section-y) 0 }
.section--dark {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  position: relative; overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(0,102,255,0.18), transparent 50%),
    radial-gradient(700px 380px at 85% 30%, rgba(77,143,255,0.12), transparent 50%);
  pointer-events: none;
}
.section--dark > .wrap { position: relative; z-index: 1; }

.section-head { max-width: 800px; margin-bottom: clamp(2rem, calc(1rem + 2vw), 3.5rem); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { margin: 0 auto; }

.section-h {
  font-family: var(--sans);
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
  margin: 1rem 0 .75rem;
}
.section-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.section-h--light { color: #fff; }
.section-h--light em { color: var(--brand-light); }

.section-sub {
  color: var(--muted);
  font-size: var(--step-1);
  max-width: 60ch;
  line-height: 1.55;
}
.section--dark .section-sub { color: rgba(255,255,255,0.72); }

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: clamp(4rem, calc(2rem + 6vw), 7rem) 0 clamp(3rem, calc(2rem + 4vw), 5.5rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}
.hero__glow--a { top: -200px; left: -150px; background: radial-gradient(circle, var(--brand) 0%, transparent 60%); }
.hero__glow--b { bottom: -300px; right: -100px; background: radial-gradient(circle, var(--brand-light) 0%, transparent 60%); opacity: 0.25; }
.hero__grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 80%);
}

.hero__wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, calc(1rem + 3vw), 4rem);
  align-items: center;
}

.hero__title {
  font-family: var(--sans);
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
  margin-top: 1.5rem;
  max-width: 22ch;
}
.hero__title em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--brand-light);
  letter-spacing: -0.01em;
}

.hero__lede {
  margin-top: 1.75rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
}

.hero__ctas {
  margin-top: 2.25rem;
  display: flex; flex-wrap: wrap; gap: .75rem;
}

.hero__trust {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem;
}
.hero__trust li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .92rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.hero__trust .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-light);
  font-size: .75rem; font-weight: 700;
}

/* Hero card (snapshot) */
.hero__card {
  border-radius: 20px;
  padding: clamp(1.5rem, calc(1rem + 1vw), 2rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--dark-line-2);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  position: relative;
}
.hero__card-tag {
  display: inline-block;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: var(--brand-light);
  margin-bottom: .85rem;
}
.hero__card-h {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}
.metrics { display: flex; flex-direction: column; }
.metric {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 0;
  border-top: 1px solid var(--dark-line);
}
.metric:first-child { border-top: 0; padding-top: .25rem; }
.metric dt {
  color: rgba(255,255,255,0.6);
  font-size: .9rem;
  font-weight: 500;
}
.metric dd {
  color: #fff;
  font-weight: 600;
  text-align: right;
  font-size: .98rem;
  letter-spacing: -.005em;
}
.hero__card-note {
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  background: var(--brand-soft);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 10px;
  color: rgba(255,255,255,0.92);
  font-size: .9rem;
  line-height: 1.5;
}
.hero__card-note strong { color: var(--brand-light); font-weight: 700; }

@media (max-width: 880px) {
  .hero__wrap { grid-template-columns: 1fr; }
}

/* ─────────── PROBLEM ─────────── */
.problem { padding: var(--section-y) 0; }
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, calc(1rem + 3vw), 4.5rem);
  align-items: start;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tiles li {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 130px;
  padding: 1.1rem 1.2rem 1.1rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tiles li:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.tile__num {
  font-family: var(--serif); font-style: italic;
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1; font-weight: 400;
}
.tile__label {
  font-weight: 600; font-size: 1rem;
  color: var(--ink);
  letter-spacing: -.005em;
}
@media (max-width: 880px) {
  .problem__grid { grid-template-columns: 1fr }
  .tiles { grid-template-columns: 1fr 1fr }
}
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr } }

/* ─────────── PROGRAM (FEATURES) ─────────── */
.program { background: var(--paper-2); }
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, calc(.5rem + 1vw), 1.25rem);
}
.feature {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .45rem;
  color: var(--ink);
}
.feature p {
  color: var(--ink-3);
  font-size: .95rem; line-height: 1.55;
}
@media (max-width: 1024px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* ─────────── HOW (STEPS, on dark) ─────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, calc(.5rem + 1vw), 1.25rem);
}
.step {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-line-2);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--brand-light);
  background: rgba(255,255,255,0.08);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: .85rem; font-weight: 700;
  color: var(--brand-light);
  background: var(--brand-soft);
  border: 1px solid rgba(0,102,255,0.25);
  width: 36px; height: 36px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}
.step h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .45rem;
}
.step p {
  color: rgba(255,255,255,0.72);
  font-size: .95rem; line-height: 1.55;
}
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ─────────── COMPARE ─────────── */
.compare__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, calc(.5rem + 1vw), 1.25rem);
}
.compare__card {
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--rule);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.compare__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.compare__tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-3);
  padding: .4rem .8rem;
  background: var(--paper-2);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.compare__tag--accent { color: var(--brand-ink); background: var(--brand-soft); }
.compare__card ul { display: flex; flex-direction: column; gap: .7rem; }
.compare__card li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.compare__card li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rule-2);
}
.compare__card--feature {
  background: linear-gradient(180deg, #fff, #F4F8FF);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset, 0 18px 40px rgba(0,102,255,0.12);
  position: relative;
  padding-top: 2.75rem;
}
.compare__card--feature::after {
  content: "Recommended";
  position: absolute; top: -10px; left: 1.5rem;
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700;
  background: var(--brand); color: #fff;
  padding: .35rem .8rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,102,255,0.25);
}
.compare__card--feature li::before { background: var(--brand); }
.compare__card--feature li { color: var(--ink-2); }
@media (max-width: 1024px) { .compare__grid { grid-template-columns: 1fr; } }

/* ─────────── APPLY ─────────── */
.apply { background: var(--paper-2); }
.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, calc(1rem + 3vw), 4rem);
  align-items: start;
}
.apply__direct {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.apply__direct::before {
  content: "";
  position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 3px; background: var(--brand);
  border-radius: 3px;
}
.apply__direct-k {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--muted);
  margin-bottom: .55rem;
}
.apply__direct-v {
  display: block;
  font-size: clamp(1.6rem, calc(1.2rem + 1.4vw), 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}
.apply__direct-v:hover { color: var(--brand); }
.apply__direct-note {
  margin-top: .35rem;
  font-size: .85rem;
  color: var(--muted);
}

.small-note {
  margin-top: 1.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--rule-2);
  font-size: .82rem;
  line-height: 1.55;
  color: var(--muted);
  font-style: italic;
  max-width: 50ch;
}

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: clamp(1.5rem, calc(1rem + 1.5vw), 2.25rem);
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .form__row--2 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field__label {
  display: block;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-3);
  margin-bottom: .45rem;
}
.field__opt {
  text-transform: none; letter-spacing: 0;
  color: var(--muted); font-weight: 400; font-style: italic;
  font-size: .82rem;
}
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-family: var(--sans); font-size: .98rem;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--rule-2); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,5 6,8 9,5'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field__err {
  min-height: 1.1em; margin-top: .35rem;
  font-size: .82rem; color: #B42318;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea,
.field[data-invalid="true"] select {
  border-color: #B42318;
  box-shadow: 0 0 0 3px rgba(180,35,24,0.10);
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__footer {
  margin-top: .75rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.form__status { font-size: .88rem; color: var(--muted); margin: 0; }
.form__status[data-state="ok"] { color: #067647; font-weight: 600; }
.form__status[data-state="err"] { color: #B42318; font-weight: 600; }

@media (max-width: 940px) { .apply__grid { grid-template-columns: 1fr; } }

/* ─────────── FOOTER ─────────── */
.foot {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 100% 0%, rgba(0,102,255,0.08), transparent 60%);
  pointer-events: none;
}
.foot > * { position: relative; z-index: 1; }
.foot__top {
  padding-top: clamp(3rem, calc(2rem + 3vw), 5rem);
  padding-bottom: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(2rem, calc(1.5rem + 1vw), 3.5rem);
}
.foot__logo { height: 44px; width: auto; display: block; }
.foot__tag { margin-top: 1rem; font-size: .9rem; line-height: 1.55; max-width: 36ch; color: rgba(255,255,255,0.62); }

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.foot__k {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: .85rem;
}
.foot__col a, .foot__col address {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: .92rem;
  line-height: 1.55;
  padding: .15rem 0;
  transition: color .18s var(--ease);
}
.foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brand-light); }
.foot__hours { font-size: .85rem; color: rgba(255,255,255,0.5); margin-top: .5rem; }

.foot__rule {
  width: 100%; height: 1px;
  background: var(--dark-line);
  max-width: var(--wrap); margin: 0 auto;
}
.foot__fine {
  padding-top: 1.5rem; padding-bottom: 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.foot__legal { max-width: 60ch; font-style: italic; }

@media (max-width: 940px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot__cols { grid-template-columns: 1fr; }
}

/* ─────────── REDUCED MOTION ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─────────── PRINT ─────────── */
@media print {
  .site-header, .nav__mobile, .foot { display: none !important; }
  body, .hero, .section--dark { background: #fff !important; color: #000 !important; }
  .section-h, .hero__title { color: #000 !important; }
}
