/* Tone Bridge Audiology
   Layout: white and mist bands that alternate down the page, photos in softly rounded frames,
   and a small waveform divider taken from the logo marking the turn between sections. */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --mist: #EEF5F5;
  --mist-2: #E2EEEE;
  --line: #CFE0E0;
  --ink: #152829;
  --muted: #4A6162;
  --teal: #328283;
  --teal-deep: #23605F;
  --teal-ink: #174546;
  --red: #DC3A2E;
  --red-deep: #C0322A;
  --red-press: #A52A23;
  --blush: #FCEEEC;
  --on-teal: #E4F0F0;
  --tower-soft: #FFD0CB;
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 14px 34px -16px color-mix(in srgb, var(--ink) 22%, transparent);
  --shadow-soft: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent), 0 8px 22px -14px color-mix(in srgb, var(--ink) 18%, transparent);
  --shadow-header: 0 8px 24px -18px color-mix(in srgb, var(--ink) 45%, transparent);
  --focus-ring: color-mix(in srgb, var(--teal) 18%, transparent);
  --max: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal-ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- layout ---------- */
.wrap {
  max-width: calc(var(--max) + 40px);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-mist { background: var(--mist); }
.band-tight { padding-block: clamp(40px, 5vw, 64px); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.lead { font-size: 1.22rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.measure { max-width: 66ch; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .split > * { min-width: 0; }

/* ---------- icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1.9; }
.icon-sm { width: 18px; height: 18px; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; flex: none;
  background: var(--mist); color: var(--teal-deep);
}
.band-mist .icon-badge { background: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red-deep); color: var(--paper); }
.btn-primary:hover { background: var(--red-press); color: var(--paper); }
.btn-outline { border-color: var(--teal-deep); color: var(--teal-deep); background: transparent; }
.btn-outline:hover { background: var(--teal-deep); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--teal-ink); }
.btn-light:hover { background: var(--mist); color: var(--teal-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem;
  color: var(--teal-deep); text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--teal-ink); color: var(--paper); font-size: 0.92rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 8px; }
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--paper); }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 16px; height: 16px; }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-header); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: block; flex: none; }
.brand img { width: 220px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 0.97rem;
  color: var(--ink); text-decoration: none;
  padding: 10px 11px; border-radius: 10px;
}
.nav a:hover { background: var(--mist); color: var(--teal-ink); }
.nav a[aria-current="page"] { color: var(--teal-deep); box-shadow: inset 0 -3px 0 var(--red); border-radius: 10px 10px 0 0; }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 10px 18px; color: var(--paper); }
.nav .btn:hover { background: var(--red-press); color: var(--paper); }
.menu-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 46px; padding: 8px 14px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--paper); color: var(--teal-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; cursor: pointer;
}

@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter-r) 20px var(--gutter-l);
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-header);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); border-radius: 0 10px 10px 0; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- hero ---------- */
.hero { background: var(--mist); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 92px) clamp(56px, 7vw, 96px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 span { color: var(--red-deep); }
.hero-points { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; }
.hero-points .icon { color: var(--teal); margin-top: 3px; }
.frame {
  border-radius: 24px;
  overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; max-width: 100%;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media { position: relative; max-width: 500px; justify-self: end; width: 100%; }
.hero-media .frame { aspect-ratio: 5 / 6; }
.float-card {
  position: absolute; left: -28px; bottom: 34px;
  display: flex; gap: 12px; align-items: center;
  background: var(--paper); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); max-width: 290px;
}
.float-card strong { display: block; font-family: var(--font-display); color: var(--teal-ink); line-height: 1.25; }
.float-card small { color: var(--muted); font-size: 0.9rem; line-height: 1.35; display: block; }

/* page hero (inner pages) */
.page-hero { background: var(--mist); }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .stack { gap: 16px; }
.page-hero .frame { aspect-ratio: 4 / 3; max-width: 460px; justify-self: end; width: 100%; }
.crumbs { font-size: 0.92rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ---------- waveform divider (the logo's bridge bars) ---------- */
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; }
.wave i { display: block; width: 6px; border-radius: 6px; background: var(--teal); opacity: 0.85; }
.wave i.tower { background: var(--red); opacity: 1; }
.wave-left { justify-content: flex-start; }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 28px; }
.trust-item { display: flex; gap: 14px; align-items: center; min-width: 0; }
.trust-item strong { display: block; font-family: var(--font-display); color: var(--teal-ink); font-size: 1.02rem; line-height: 1.3; }
.trust-item div > span { color: var(--muted); font-size: 0.93rem; line-height: 1.35; display: block; }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.band-mist .card { border-color: transparent; box-shadow: var(--shadow-soft); }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 6px; }
.card-link { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); color: inherit; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* ---------- lists ---------- */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--teal); margin-top: 3px; width: 22px; height: 22px; }
.checks.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.98rem; color: var(--teal-ink);
}
.band-mist .pill-list li { border-color: var(--mist-2); }

/* numbered steps: used only where the order is the real sequence of a visit */
.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps > li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; align-content: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.band-mist .steps > li { border-color: transparent; box-shadow: var(--shadow-soft); }
.steps > li::before {
  content: counter(step);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--paper); background: var(--teal);
}
.steps > li > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps p { color: var(--muted); }
.steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-row > li { grid-template-columns: 1fr; }

/* ---------- Prasanth profile ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.profile-photo { position: relative; max-width: 440px; width: 100%; }
.profile-photo .frame { aspect-ratio: 4 / 5; background: var(--paper); }
.profile-photo .frame img { object-position: center top; }
.cred {
  position: absolute; right: -18px; bottom: 28px;
  background: var(--paper); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 0.9rem; line-height: 1.35; color: var(--muted); max-width: 230px;
}
.cred strong { display: block; color: var(--teal-ink); font-family: var(--font-display); font-size: 1rem; }
.signature-line { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.98rem; }
.signature-line strong { color: var(--teal-ink); font-family: var(--font-display); }
blockquote.pull {
  margin: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red);
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1.45; color: var(--teal-ink);
}

/* ---------- funding band ---------- */
.funding { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fund-card {
  border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border: 1px solid var(--line);
}
.fund-card .tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-deep);
  background: var(--blush); border-radius: 999px; padding: 6px 12px;
}
.fund-card p { color: var(--muted); }

/* ---------- frequency scale (hearing loss page) ---------- */
.freq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.freq-scroll { overflow-x: auto; }
.freq-grid { min-width: 560px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 12px; }
.freq-grid .tick {
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; color: var(--teal-ink);
  font-variant-numeric: tabular-nums; border-left: 1px dashed var(--line); padding: 4px 0 8px 8px;
}
.freq-grid .tick small { display: block; font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.freq-band {
  border-radius: 12px; padding: 12px 14px; font-size: 0.96rem; line-height: 1.35;
  display: flex; flex-direction: column; gap: 2px;
}
.freq-band strong { font-family: var(--font-display); }
.freq-band.low { grid-column: 1 / span 3; background: var(--mist); color: var(--teal-ink); }
.freq-band.mid { grid-column: 4 / span 2; background: var(--blush); color: var(--red-press); }
.freq-band.high { grid-column: 5 / span 2; background: var(--red-deep); color: var(--paper); }
.freq-note { margin-top: 16px; color: var(--muted); font-size: 0.98rem; }

/* ---------- sub navigation chips ---------- */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 79px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.subnav a {
  flex: none; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--teal-ink); background: var(--mist); border-radius: 999px; padding: 8px 14px;
}
.subnav a:hover { background: var(--teal-deep); color: var(--paper); }
.anchor { scroll-margin-top: 160px; }

/* ---------- service detail sections ---------- */
.service + .service { border-top: 1px solid var(--line); }
.service .split { align-items: start; }
.service-media .frame { aspect-ratio: 4 / 3.4; }
.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--blush); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink);
}
.note .icon { color: var(--red-deep); margin-top: 2px; }
.note-teal { background: var(--mist); }
.note-teal .icon { color: var(--teal-deep); }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--paper);
  font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); font-size: 0.98rem;
}
.tile .icon { color: var(--teal); }

/* ---------- hearing aid types ---------- */
.type-card { gap: 10px; }
.type-card .abbr {
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--red-deep); line-height: 1;
}

/* ---------- CTA band ---------- */
.cta { background: var(--teal-deep); color: var(--paper); border-radius: 28px; overflow: hidden; position: relative; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px); }
.cta h2 { color: var(--paper); }
.cta p { color: var(--on-teal); }
.cta .eyebrow { color: var(--tower-soft); }
.cta .phone-big {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--paper);
  text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.cta .phone-big:hover { color: var(--paper); text-decoration: underline; }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta .wave { position: absolute; right: 28px; top: 22px; opacity: 0.35; height: 40px; }
.cta .wave i { background: var(--paper); }
.cta .wave i.tower { background: var(--tower-soft); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-family: var(--font-display); font-weight: 700; color: var(--teal-ink); font-size: 0.98rem; }
.field .req { color: var(--red-deep); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 52px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--focus-ring); }
.field .hint { font-size: 0.9rem; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 6px; }
.check-grid label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-weight: 400; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.check-grid input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; border-radius: 4px; accent-color: var(--teal-deep); flex: none; }
.form-status { display: none; }
.form-status.show { display: flex; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.form-section-title { font-family: var(--font-display); font-weight: 800; color: var(--teal-ink); font-size: 1.15rem; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 18px; }

/* tabs (referrals) */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--mist); border-radius: 999px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: transparent; cursor: pointer; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; color: var(--teal-ink);
}
.tabs button[aria-selected="true"] { background: var(--paper); box-shadow: var(--shadow-soft); color: var(--teal-deep); }

/* ---------- contact ---------- */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; font-family: var(--font-display); color: var(--teal-ink); }
.contact-list .value { font-size: 1.12rem; }
.contact-list a.value { font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 36px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--teal-deep); text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 230px; }
.footer-brand p { color: var(--muted); font-size: 1rem; max-width: 36ch; }
.footer-base { border-top: 1px solid var(--line); }
.footer-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 22px; font-size: 0.9rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4, .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 1.0625rem; }
  .hero .wrap, .page-hero .wrap, .split, .profile { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero-media { justify-self: center; max-width: 420px; }
  .page-hero .frame { justify-self: start; max-width: 100%; }
  .float-card { left: 12px; bottom: 18px; }
  .grid-3, .grid-2, .funding, .steps-row { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { justify-self: center; }
  .cred { right: 8px; }
  .subnav { top: calc(env(safe-area-inset-top, 0px) + 75px); }
}
@media (max-width: 600px) {
  .brand img { width: 180px; }
  .trust .wrap, .grid-4, .footer-grid, .form-row, .check-grid, .checks.two-col { grid-template-columns: minmax(0, 1fr); }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps > li { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .card { padding: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .subnav { top: calc(env(safe-area-inset-top, 0px) + 71px); }
}
