/* ==========================================================================
   Private Student Loan Advocate, modern version
   One clear ask per screen. A headline and a single request card, then calm,
   widely spaced beats. Warm white canvas, blush-grey ground, graphite ink and
   one raspberry accent. Few boxes; space does the separating.
   ========================================================================== */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #ffffff;
  --ground: #f8f4f5;
  --ink: #1c191b;
  --ink-2: #4a4347;
  --ink-3: #6a6266;
  --line: #ece5e8;
  --line-2: #d9ced3;
  --control: #85797e;

  --accent: #c0186a;
  --accent-700: #a3145c;
  --accent-800: #8a0f4b;
  --deep: #6d0f3f;
  --wash: #fcecf3;
  --wash-2: #f7d4e4;
  --pink: #ffd3e6;
  --alert: #a8360f;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --header-h: 84px;

  --r-xl: 40px;
  --r-lg: 32px;
  --r: 24px;
  --r-m: 16px;

  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --band: clamp(80px, 9vw, 128px);

  --shadow-card: 0 0 0 1px rgba(109, 15, 63, 0.06), 0 1px 2px rgba(60, 10, 35, 0.06), 0 40px 80px -32px rgba(109, 15, 63, 0.3);
  --shadow-btn: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -8px rgba(163, 20, 92, 0.6);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  caret-color: var(--accent);
  scrollbar-color: var(--line-2) var(--ground);
  accent-color: var(--accent);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink-2);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

a {
  color: var(--accent-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(163, 20, 92, 0.4);
}
a:hover { color: var(--accent-800); text-decoration-color: currentColor; }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.band--deep :focus-visible,
.action-bar .ab-apply:focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden:focus {
  position: fixed;
  top: 8px; left: 8px;
  width: auto; height: auto;
  margin: 0; padding: 12px 20px;
  clip: auto;
  background: var(--accent);
  color: #fff;
  z-index: 100;
  font-weight: 600;
  border-radius: 999px;
}

.ico { width: 1.25em; height: 1.25em; flex: none; }
.nav-phone, .med, .rows, .bbb__grade { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band { padding-block: var(--band); }
.band--ground { background: var(--ground); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}
.split--mid { align-items: center; }
.split__head > * + * { margin-top: var(--s3); }
.sticky-head { position: sticky; top: calc(var(--header-h) + 32px); }

.stack-s > * + * { margin-top: var(--s2); }
.stack > * + * { margin-top: var(--s3); }
.head-gap { margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
/* the home hero's headline is short now, so it gets its own (smaller) ceiling: the shared clamp's 4.75rem max was tuned for a longer line and wraps this one awkwardly */
.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.1; letter-spacing: -0.035em; }
h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.034em;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.022em;
}
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }

.prose > * + * { margin-top: 1.25em; }
.prose p, .prose li { max-width: 60ch; }
.lede {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.statement {
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}
.statement--s { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; }
.sub-tag { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.claim { font-weight: 600; color: var(--ink); }
.fine { font-size: 1rem; line-height: 1.6; }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 56px;
  padding: 0.75rem 1.9rem;
  border: 0;
  border-radius: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--accent-700); color: #fff; transform: translateY(-1px); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--line .ico { color: var(--accent); }
.btn--line:hover { background: var(--wash); color: var(--accent-800); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--sm { min-height: 52px; padding: 0.5rem 1.4rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px var(--s2);
  align-items: center;
}

/* on the deep field the primary flips to white, the line button goes clear */
.band--deep .btn { background: #fff; color: var(--accent-800); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.band--deep .btn:hover { background: var(--wash); color: var(--deep); }
.band--deep .btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.band--deep .btn--line .ico { color: var(--pink); }
.band--deep .btn--line:hover { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: auto; height: 48px; flex: none; }
.brand__name { display: grid; line-height: 1.12; white-space: nowrap; }
.brand__top { font-size: 0.875rem; font-weight: 500; color: var(--ink-3); }
.brand__main { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  color: var(--ink-2);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions .btn { white-space: nowrap; }
.nav-actions .btn .ico { display: none; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone .ico { color: var(--accent); }
.nav-phone:hover { color: var(--accent-800); }
@media (max-width: 1080px) {
  .nav-actions { gap: 12px; }
}
@media (max-width: 639px) {
  .nav-phone { width: 52px; height: 52px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); }
  .nav-phone__num { display: none; }
  .nav-phone .ico { width: 24px; height: 24px; }
}

.menu-toggle {
  display: none;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  background: var(--canvas);
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .ico { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 32px -24px rgba(60, 10, 35, 0.3);
  padding: 8px var(--gutter) var(--s3);
}
.mobile-panel[hidden] { display: none; }
.mobile-panel a:not(.btn) {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.mobile-panel a[aria-current="page"] { color: var(--accent-700); }
.mobile-panel .btn { margin-top: var(--s3); }

.action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--canvas);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 24px -16px rgba(60, 10, 35, 0.25);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  border-radius: 27px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}
.action-bar .ab-call { background: var(--canvas); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.action-bar .ab-call .ico { color: var(--accent); }
.action-bar .ab-apply { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }

/* ---------- Panels, notes ---------- */
.panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--ground);
  border-radius: var(--r-lg);
}
.panel > * + * { margin-top: var(--s3); }
.panel__title { font-size: 1.375rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }

.med {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1;
}

.note {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--ground);
  border-radius: var(--r-m);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.note .ico { margin-top: 0.1em; color: var(--accent-700); width: 1.35em; height: 1.35em; }
.panel .note { padding: 16px 0 0; background: none; border-radius: 0; border-top: 1px solid rgba(138, 15, 75, 0.14); }
.panel .note--leader::before { left: 7px; }
.panel .note--leader::after { left: 2px; }
/* a leader line ties a caveat to the claim printed above it */
.note--leader { margin-top: 32px; }
.note--leader::before {
  content: "";
  position: absolute;
  left: 27px; top: -24px;
  width: 0; height: 24px;
  border-left: 2px dotted var(--accent);
}
.note--leader::after {
  content: "";
  position: absolute;
  left: 22px; top: -32px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Lists ---------- */
.ticks li {
  position: relative;
  padding: 1rem 0 1rem 2.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.45;
}
.ticks li:first-child { border-top: 1px solid var(--line); }
.panel .ticks li { border-color: rgba(138, 15, 75, 0.14); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--wash-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%238a0f4b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.ticks--q li { padding-left: 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; padding-block: 1.4rem; }
.ticks--q li::before { display: none; }

/* lenders: plain names in a wrapped row */
.parts { display: flex; flex-wrap: wrap; gap: 12px; }
.part {
  padding: 0.7rem 1.4rem;
  background: var(--canvas);
  border-radius: 999px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.parts + p { margin-top: var(--s4); max-width: 60ch; }

/* rows read like a statement: term, dotted leader, value */
.rows { border-top: 1px solid var(--line); }
.rows > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.rows dt {
  display: flex;
  align-items: baseline;
  flex: 1 1 8rem;
  min-width: 0;
  gap: 0.7rem;
  font-size: 1.0625rem;
  color: var(--ink-3);
  line-height: 1.4;
}
.rows dt::after {
  content: "";
  flex: 1 1 1rem;
  min-width: 1rem;
  border-bottom: 2px dotted var(--line-2);
  transform: translateY(-0.28em);
}
.rows dd { flex: 0 1 auto; max-width: 68%; font-weight: 600; color: var(--ink); text-align: right; line-height: 1.3; }
.rows--stack > div { flex-direction: column; align-items: stretch; gap: 0.2rem; }
.rows--stack dt::after { display: none; }
.rows--stack dd { max-width: none; text-align: left; }
.panel .rows { border-top-color: rgba(138, 15, 75, 0.14); }
.panel .rows > div { border-bottom-color: rgba(138, 15, 75, 0.14); }

/* ---------- Icons that draw once as they enter view ---------- */
.pic {
  width: 64px; height: 64px;
  padding: 12px;
  flex: none;
  border-radius: 20px;
  background: var(--wash);
  color: var(--accent-800);
}
.pic--lg { width: 96px; height: 96px; padding: 20px; border-radius: 30px; }
.pic * { stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.pic .t { fill: var(--wash-2); }
.pic .w { fill: var(--canvas); }
.pic .n { fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .js-ready .pic * { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
  .js-ready .pic.is-drawn * { animation: draw 1.1s var(--ease) forwards; }
  .js-ready .pic.is-drawn *:nth-child(2) { animation-delay: 0.1s; }
  .js-ready .pic.is-drawn *:nth-child(3) { animation-delay: 0.2s; }
  .js-ready .pic.is-drawn *:nth-child(4) { animation-delay: 0.3s; }
  .js-ready .pic.is-drawn *:nth-child(n+5) { animation-delay: 0.4s; }
}
@keyframes draw {
  from { stroke-dashoffset: 1; fill-opacity: 0; }
  60% { fill-opacity: 0; }
  to { stroke-dashoffset: 0; fill-opacity: 1; }
}

/* ---------- Home hero: a headline, a sentence and one card ---------- */
.hero { padding-block: clamp(48px, 6vw, 96px) clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
}
.hero .lede { margin-top: 32px; max-width: 34ch; font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.footnote { margin-top: 40px; max-width: 46ch; font-size: 1rem; line-height: 1.6; color: var(--ink-3); }

.hero__card { position: relative; isolation: isolate; }
.hero__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -40px -40px 64px;
  border-radius: var(--r-xl);
  background: var(--wash);
}

/* the request card */
.form-panel {
  padding: clamp(28px, 3.2vw, 44px);
  background: var(--canvas);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.form-panel > * + * { margin-top: 0; }
.form-intro { margin-bottom: var(--s3); }
.form-intro .panel__title { font-size: 1.625rem; letter-spacing: -0.028em; }
.form-intro p + p { margin-top: 0.5rem; }
.form-intro .fine { font-size: 1rem; }
.form-intro .sub-tag { font-size: 1.5rem; letter-spacing: -0.025em; }

/* inside the hero the card is a little tighter, so every step's button stays in the first viewport */
.hero .form-panel { padding: clamp(24px, 2.6vw, 36px); }
.hero .form-intro { margin-bottom: 1.1rem; }
.hero .form-intro .panel__title { font-size: 1.5rem; }
.hero .form-intro .fine { font-size: 0.9375rem; }
.hero .step-meter { margin-bottom: 1.25rem; }
.hero .field + .field, .hero .field-row + .field, .hero .field + .field-row { margin-top: 1.1rem; }
.hero .field-row > .field + .field { margin-top: 0; }
.hero .field > label, .hero .field > .field-label { margin-bottom: 0.4rem; font-size: 1rem; }
.hero .input { min-height: 54px; font-size: 1.0625rem; }
.hero .segmented { gap: 0.5rem; }
.hero .segmented label { min-height: 52px; font-size: 1rem; }
.hero .hint { margin-top: 0.4rem; font-size: 0.9375rem; }
.hero .inline-note { margin-top: 0.7rem; padding: 0.75rem 1rem; font-size: 0.9375rem; }
.hero .consent input { width: 1.6rem; height: 1.6rem; }
.hero .consent label { font-size: 0.9375rem; line-height: 1.5; }
.hero .form-nav { margin-top: 1.4rem; }
.hero .form-nav .btn { min-height: 54px; }
.hero .form-foot { margin-top: 0.9rem; }
@media (min-width: 1081px) {
  /* the row holds one height across all four steps, so nothing below the hero jumps */
  .hero__grid { min-height: 660px; }
}
@media (min-width: 1081px) and (max-height: 800px) {
  .hero { padding-top: 24px; }
  .hero__grid { min-height: 0; }
}

/* a four-cell meter; cells not yet reached stay as designed ghost cells */
.step-meter { margin-bottom: var(--s3); }
.step-meter__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: 1rem; line-height: 1.3; }
.step-meter__count { font-weight: 600; color: var(--accent-800); font-variant-numeric: tabular-nums; }
.step-meter__name { color: var(--ink-3); }
.step-meter__track {
  margin: 12px -3px 0;
  height: 6px;
  background: var(--wash-2);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(25% - 3px), transparent calc(25% - 3px) calc(25% + 3px), #000 calc(25% + 3px) calc(50% - 3px), transparent calc(50% - 3px) calc(50% + 3px), #000 calc(50% + 3px) calc(75% - 3px), transparent calc(75% - 3px) calc(75% + 3px), #000 calc(75% + 3px) calc(100% - 3px), transparent calc(100% - 3px));
  mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(25% - 3px), transparent calc(25% - 3px) calc(25% + 3px), #000 calc(25% + 3px) calc(50% - 3px), transparent calc(50% - 3px) calc(50% + 3px), #000 calc(50% + 3px) calc(75% - 3px), transparent calc(75% - 3px) calc(75% + 3px), #000 calc(75% + 3px) calc(100% - 3px), transparent calc(100% - 3px));
}
.step-meter__fill { width: 100%; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0.25); transition: transform 0.5s var(--ease); }

/* proof and the three stages, under the hero */
.band--proof { padding-block: clamp(24px, 3vw, 40px) clamp(64px, 7vw, 104px); }
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}
.trust .fine { flex: 1 1 320px; max-width: 54ch; color: var(--ink-3); }
.rating-frame {
  background: #f9f9f9;
  border-radius: var(--r-m);
  overflow: hidden;
}
.rating-frame img { width: 340px; height: auto; }
.bbb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 20px 8px 10px;
  background: var(--canvas);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.bbb__disc { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; }
.bbb__disc .ico { width: 17px; height: 17px; }
.bbb__grade { font-size: 1.375rem; font-weight: 650; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.bbb__label { font-size: 1rem; font-weight: 550; line-height: 1.2; color: var(--ink-3); }

/* ---------- Reviews: still, one readable column ---------- */
.reviews { display: grid; gap: 24px; max-width: 980px; }
.review { background: #fff; border-radius: var(--r); overflow: hidden; }
.review a { display: block; }
.review img { width: 100%; height: auto; }
.review__hint { display: none; }
.more-reviews { max-width: 980px; margin-top: 24px; }
.more-reviews summary { list-style: none; cursor: pointer; }
.more-reviews summary::-webkit-details-marker { display: none; }
.more-reviews summary::after { content: "+"; margin-left: 0.4rem; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.more-reviews[open] summary::after { content: "\2212"; }
.more-reviews[open] summary { margin-bottom: 24px; }

/* ---------- Inner page heads ---------- */
.page-head { padding-block: clamp(72px, 9vw, 136px) clamp(40px, 5vw, 72px); }
.page-head + .band:not(.band--ground) { padding-top: clamp(24px, 3vw, 56px); }
.page-head + .band--ground { padding-top: clamp(72px, 8vw, 120px); }
.page-head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.page-head--single .wrap { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.page-head--compact { padding-block: clamp(64px, 7vw, 112px) clamp(32px, 4vw, 56px); }
.page-head__foot { grid-column: 1 / -1; }
.page-head .lede-col > * + * { margin-top: var(--s3); }

/* ---------- Sections ---------- */
.goal .statement { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.038em; max-width: 20ch; }
.goal .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: var(--s4) clamp(32px, 6vw, 96px); align-items: end; }
.goal .note { max-width: 36ch; }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) clamp(40px, 7vw, 112px); }
.principles > div { padding-top: 28px; border-top: 2px solid var(--line-2); }
.principles h3 { margin-bottom: 0.75rem; }

/* closing call: one inset deep-raspberry card */
.final-cta { padding-block: 0 var(--band); }
.final-cta > .wrap {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  padding: clamp(48px, 8vw, 112px) clamp(28px, 6vw, 96px);
  background: var(--deep);
  border-radius: var(--r-xl);
  color: #fff;
}
.final-cta h2 { color: #fff; font-size: clamp(2.25rem, 4.8vw, 3.75rem); max-width: 16ch; }
.final-cta .lines { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: var(--s4); font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); font-weight: 550; color: var(--pink); }
.final-cta .lines span { display: inline-flex; align-items: center; gap: 0.6rem; }
.final-cta .lines span::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 211, 230, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23ffd3e6' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.final-cta .cta-row { margin-top: var(--s5); }
.final-cta > .wrap > p:not(.lines) { margin-top: var(--s3); max-width: 56ch; color: rgba(255, 255, 255, 0.82); }
.band--deep a:not(.btn) { color: #fff; }

/* ---------- How it works: the rail ---------- */
.spine { position: relative; --p: 0; }
.spine::before, .spine::after {
  content: "";
  position: absolute;
  left: 21px; top: 22px;
  width: 2px;
  border-radius: 2px;
}
.spine::before { bottom: 40px; background: var(--line-2); }
.spine::after { height: calc((100% - 62px) * var(--p)); background: var(--accent); }
.spine__item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.spine__mark { position: relative; z-index: 1; display: flex; justify-content: center; }
.spine__dot {
  width: 14px; height: 14px;
  margin-top: 15px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--line-2);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.spine__item.is-past .spine__dot { border-color: var(--accent); background: var(--accent); }
.spine__item.is-current .spine__dot { border-color: var(--accent); background: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }
.spine__item .med {
  background: var(--canvas);
  color: var(--ink-3);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.spine__item.is-past .med { background: var(--wash); color: var(--accent-800); box-shadow: inset 0 0 0 1.5px var(--accent); }
.spine__item.is-current .med { background: var(--accent); color: #fff; box-shadow: none; outline: 2px solid var(--accent); outline-offset: 3px; }
html:not(.js-ready) .spine__item .med { background: var(--accent); color: #fff; box-shadow: none; }
.spine__panel { padding: clamp(28px, 4.5vw, 56px); }
.spine__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); }
.spine__top h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.spine__panel > * + * { margin-top: var(--s3); }
.spine__panel .cta-row { margin-top: var(--s4); }
.spine__sub { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--accent-800); }

.svc + .svc { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid rgba(138, 15, 75, 0.14); }
.svc h3 { margin-bottom: 0.6rem; }
.svc p + p { margin-top: 0.8rem; }

.substeps { counter-reset: sub; }
.substeps > li {
  counter-increment: sub;
  position: relative;
  padding: 1.75rem 0 1.75rem 4rem;
  border-top: 1px solid rgba(138, 15, 75, 0.14);
}
.substeps > li::before {
  content: counter(sub);
  position: absolute;
  left: 0; top: 1.6rem;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--wash-2);
  color: var(--accent-800);
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.substeps h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.substeps p + p { margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ground); }
.footer-cta { padding-block: clamp(72px, 9vw, 128px) var(--s5); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
}
.footer-h { padding-bottom: 0.8rem; border-bottom: 1px solid var(--line-2); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.footer-cols li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
}
.footer-cols .ico { margin-top: 0.15em; color: var(--accent); }
.footer-cols li > span { min-width: 0; }
.footer-cols a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--accent-800); text-decoration: underline; }
.footer-cols .hours { justify-content: space-between; }
.footer-cols .hours span:first-child { color: var(--ink-3); }
.footer-cols .hours span:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.footer-legal { border-top: 1px solid var(--line-2); padding-block: var(--s4) var(--s3); }
.footer-disclosure { max-width: 72ch; font-size: 0.9375rem; line-height: 1.75; color: var(--ink-2); }
.footer-disclosure p + p { margin-top: 0.9rem; }
.footer-disclosure a { color: var(--accent-800); }
.footer-bottom-wrap { border-top: 1px solid var(--line-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2) var(--s3);
  padding-block: var(--s3) var(--s4);
  font-size: 0.9375rem;
  color: var(--ink-3);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-bottom a { color: var(--accent-800); }

/* ---------- Application form (same fields and flow as before) ---------- */
.apply .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.apply__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.apply__aside > * + * { margin-top: var(--s3); }
.apply .form-panel { padding: clamp(28px, 4vw, 56px); }

.prog {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: var(--s4);
}
.prog li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.2;
  color: var(--ink-3);
}
.prog li + li::before {
  content: "";
  position: absolute;
  top: 20px; right: 50%;
  width: 100%; height: 0;
  border-top: 2px dashed var(--line-2);
}
.prog li.is-done + li::before, .prog li.is-current::before { border-top-style: solid; border-top-color: var(--accent); }
.prog .med { position: relative; z-index: 1; width: 42px; height: 42px; }
.prog li.is-current { color: var(--ink); }
.prog li:not(.is-current):not(.is-done) .med { background: var(--canvas); color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.prog li.is-current .med { outline: 2px solid var(--accent); outline-offset: 3px; }
.prog li.is-done .med {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23ffffff' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.form-step[hidden] { display: none; }
.field + .field, .field-row + .field, .field + .field-row { margin-top: 1.6rem; }
.field-row { display: grid; gap: 1.6rem; }
.field-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row > .field + .field { margin-top: 0; }
.field > label, .field > .field-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.input {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--control);
  border-radius: var(--r-m);
  background: var(--canvas);
  color: var(--ink);
  font-size: 1.125rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), outline-color 0.2s var(--ease);
}
.input::placeholder { color: var(--ink-3); opacity: 1; }
.input:hover { border-color: var(--ink-3); }
.input:focus-visible { border-color: var(--accent); outline: 3px solid rgba(192, 24, 106, 0.25); outline-offset: 0; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 3.2rem; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.2rem; top: 50%;
  width: 1rem; height: 0.65rem;
  margin-top: -0.32rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M1.5 1.5l7.5 7.5 7.5-7.5' fill='none' stroke='%23a3145c' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.input-prefix { display: flex; }
.input-prefix .prefix {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  background: var(--wash);
  color: var(--accent-800);
  border: 1px solid var(--control);
  border-right: 0;
  border-radius: var(--r-m) 0 0 var(--r-m);
  font-weight: 600;
  font-size: 1.1875rem;
}
.input-prefix .input { border-radius: 0 var(--r-m) var(--r-m) 0; }

.segmented { display: grid; gap: 0.7rem; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0.6rem 3.2rem 0.6rem 1.1rem;
  border: 1px solid var(--control);
  border-radius: var(--r-m);
  background: var(--canvas);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.segmented label::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  border: 1.5px dashed var(--control);
  background: center / 100% no-repeat;
}
.segmented label:hover { background: var(--ground); }
.segmented input:checked + label { background: var(--wash); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-800); }
.segmented input:checked + label::after {
  border: 1.5px solid var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23ffffff' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.segmented input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.hint { margin-top: 0.55rem; font-size: 0.9375rem; color: var(--ink-3); }
.inline-note {
  display: none;
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--wash);
  border-radius: var(--r-m);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}
.inline-note.is-visible { display: flex; }
.inline-note .ico { margin-top: 0.1em; color: var(--accent-700); }

.consent { display: flex; gap: 0.9rem; align-items: flex-start; }
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.75rem; height: 1.75rem;
  margin: 0.1rem 0 0;
  border: 1.5px solid var(--control);
  border-radius: 8px;
  background: var(--canvas) center / 100% 100% no-repeat;
  cursor: pointer;
}
.consent input:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23ffffff' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.consent label { font-size: 1rem; line-height: 1.55; color: var(--ink-2); }

.error-msg {
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.55rem;
  color: var(--alert);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.field.has-error .error-msg { display: flex; }
.field.has-error .input,
.field.has-error .segmented label,
.field.has-error .consent input { border-color: var(--alert); }
.field.has-error .input { background: #fff6f2; border-width: 2px; }
.field.has-error .input:focus-visible { outline-color: rgba(168, 54, 15, 0.25); }
.field.has-error .segmented label { border-width: 2px; }
.error-msg .ico { margin-top: 0.1em; }

.form-nav { display: flex; gap: 12px; margin-top: 2.25rem; }
.form-nav .btn { flex: 1; }
.form-nav .btn--line { flex: 0 0 auto; }
.form-foot { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.form-foot span { display: inline-flex; align-items: center; gap: 0.45rem; }
.form-foot span::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--wash-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%238a0f4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Thank you ---------- */
.thanks .wrap { padding-block: clamp(80px, 10vw, 152px); }
.thanks .pic { margin-bottom: var(--s4); }
.thanks h1 { max-width: 16ch; }
.thanks .prose { margin-top: var(--s3); max-width: 56ch; }
.thanks .cta-row { margin-top: var(--s4); }

/* Calendly scheduling band under the thank-you message. */
.schedule .lede { max-width: 52ch; margin-top: var(--s2); }
.schedule__widget { margin-top: var(--s4); }
.panel--flush { padding: 0; overflow: hidden; background: var(--canvas); border: 1px solid var(--line); }
.schedule__fallback { padding: 18px 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.toc-wrap { position: sticky; top: calc(var(--header-h) + 32px); }
.toc { border-radius: var(--r); background: var(--ground); }
.toc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.toc[open] summary::after { content: "\2212"; }
.toc ol { padding: 0 1.25rem 1rem; }
.toc li + li { border-top: 1px solid var(--line-2); }
.toc a { display: block; padding: 0.6rem 0; color: var(--ink-2); text-decoration: none; font-size: 1rem; line-height: 1.3; }
.toc a:hover { color: var(--accent-800); text-decoration: underline; }
@media (min-width: 1081px) {
  .toc summary { pointer-events: none; cursor: default; }
  .toc summary::after { display: none; }
}
.legal__body { max-width: 72ch; overflow-wrap: anywhere; }
.legal__meta { font-size: 0.9375rem; font-weight: 600; color: var(--ink-3); margin-bottom: var(--s3); font-variant-numeric: tabular-nums; }
.legal__body h2 {
  margin-top: var(--s5);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.legal__body h2:first-of-type { margin-top: var(--s4); }
.legal__body p, .legal__body ul { margin-top: 1.1rem; }
.legal__body ul { list-style: disc; padding-left: 1.4rem; }
.legal__body li + li { margin-top: 0.5rem; }
.legal__body li::marker { color: var(--accent); }
.legal__body .rows { margin-top: 1.25rem; }
.legal__body .rows dd { font-weight: 400; text-align: left; color: var(--ink-2); }
.legal__body .panel { background: var(--ground); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__grid, .page-head .wrap, .split, .apply .wrap, .legal { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { gap: var(--s5); }
  .hero__card::before { inset: -24px -32px -24px 32px; }
  .apply .form-panel { order: -1; }
  .apply__aside { position: static; }
  .toc-wrap { position: static; }
  .sticky-head { position: static; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 84px; font-size: 1.125rem; }
  .action-bar { display: grid; }
  .brand__mark { height: 42px; }
  .brand__main { font-size: 1.3125rem; }
  .nav-actions > .btn { display: none; }
  .hero { padding-top: 28px; padding-bottom: 32px; }
  .hero__grid { gap: 40px; }
  .hero .lede { margin-top: 20px; font-size: 1.125rem; }
  .footnote { margin-top: 20px; font-size: 0.9375rem; }
  .hero .form-intro .fine { font-size: 0.875rem; }
  .hero .form-panel { padding: 22px 20px 26px; }
  .action-bar { transition: transform 0.3s var(--ease); }
  /* on home the bar stays out of the way until the request card has scrolled past */
  .js-ready body:has(.hero__card) .action-bar:not(.is-shown) { transform: translateY(110%); }
  .hero__card::before { inset: -16px -20px -16px 24px; border-radius: 32px; }
  .goal .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .reviews { gap: 16px; }
  .review__hint { display: block; padding: 4px 16px 14px; background: #fff; color: var(--accent-800); font-size: 0.9375rem; font-weight: 600; }
  .more-reviews summary { width: 100%; }
  .principles { grid-template-columns: 1fr; }
  .field-row-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .spine::before, .spine::after { left: 17px; }
  .spine__item { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .spine .med { width: 36px; height: 36px; font-size: 1.0625rem; }
  .spine__dot { margin-top: 11px; }
  .spine__top .pic { width: 52px; height: 52px; padding: 10px; }
  .substeps > li { padding-left: 3.5rem; }
  .prog li { font-size: 0.875rem; }
  .prog .med { width: 38px; height: 38px; font-size: 1.0625rem; }
  .prog li + li::before { top: 18px; }
  .rows dd { max-width: 46%; }
  .rating-frame img { width: 300px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { gap: 10px; }
  .brand__mark { height: 34px; }
  .brand__top { font-size: 0.75rem; }
  .brand__main { font-size: 1.125rem; }
  .site-header .wrap { gap: 8px; }
  .nav-actions { gap: 8px; }
  .nav-phone, .menu-toggle { width: 46px; height: 46px; }
}

@media (max-width: 400px) {
  .footer-cols .hours { flex-wrap: wrap; gap: 0 1rem; }
  .footer-cols .hours span:last-child { white-space: normal; }
  .footer-bottom nav { gap: 0.4rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
