/* United Exit Solutions preview: the annotated review.
   The page reads like a carefully reviewed document. A commanding headline carries an editor's gold mark,
   verified proof sits beside it as margin notes with leaders, every section opens on a ruled line with a gold lead,
   and the process is typeset as chapters.
   Type: Red Hat Display (headings) and Red Hat Text (body), self-hosted, SIL OFL 1.1.
   Palette: the brand's royal blue, deep navy ink, crisp white, quiet blue, and one restrained warm gold. */

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Red Hat Text";
  src: url("assets/fonts/red-hat-text-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --blue: #042698;
  --blue-700: #031d78;
  --blue-800: #02175f;
  --navy: #0a1640;
  --navy-900: #071030;
  --ink: #1c2644;
  --ink-soft: #3a4563;
  --muted: #4f5a78;
  --line: #d8deec;
  --line-strong: #b8c2d9;
  --field: #8792af;
  --surface: #ffffff;
  --quiet: #f2f5fb;
  --quiet-2: #e7ecf7;
  --gold: #c9993c;
  --error: #b3261e;
  --error-soft: #fdf1f0;

  --font-display: "Red Hat Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-text: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --wrap: 80rem;
  --col-gap: clamp(1rem, 0.4rem + 1.6vw, 1.5rem);
  --bleed: calc((100vw - min(100vw - 2 * var(--gutter), var(--wrap))) / 2);
  --header-h: 4rem;
  --section-y: clamp(4rem, 2.4rem + 5.6vw, 8rem);
  --overlap: clamp(2.5rem, 1rem + 5vw, 6rem);
  --split-gap: clamp(3rem, 1rem + 6vw, 7rem);
  --head-pad: clamp(1.25rem, 1rem + 1vw, 2rem);

  --r-1: 3px;
  --r-2: 4px;
  --r-3: 8px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --fs-h2: clamp(1.875rem, 1.2rem + 2.2vw, 3rem);
  --fs-h3-lg: clamp(1.5rem, 1.25rem + 0.9vw, 2.0625rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem);
  --fs-lede: clamp(1.0625rem, 0.98rem + 0.36vw, 1.25rem);
  --fs-body: clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-fine: 0.875rem;
}

@media (min-width: 64em) {
  :root { --header-h: 5rem; }
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: #9aa6c4 var(--quiet);
}

@supports (overflow-x: clip) {
  html,
  body { overflow-x: clip; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.menu-open,
html.menu-open body { overflow: hidden; }

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-weight: 540; line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); font-weight: 540; line-height: 1.03; letter-spacing: -0.034em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.012em; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a {
  color: var(--blue);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms ease-out, text-decoration-color 160ms ease-out, text-decoration-thickness 160ms ease-out;
}

a:hover { color: var(--blue-700); text-decoration-thickness: 2px; }

::selection { background: #f6e3b4; color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

.on-dark :focus-visible { outline-color: #ffffff; }

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

/* Keeps a hyphenated term like "10-year" on one line */
.nowrap { white-space: nowrap; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-2);
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.skip-link:focus { transform: none; color: #fff; }
.skip-link:hover { color: #fff; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon-ext { width: 0.875rem; height: 0.875rem; display: inline-block; vertical-align: -0.05em; margin-left: 0.25em; }
.icon-arrow { width: 1.125rem; height: 1.125rem; flex: none; transition: transform 260ms var(--ease-out); }

.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 0.9rem; height: 0.9rem; }

/* Buttons and links. Flat fills, 4px corners. The arrow leads the eye toward the action on hover. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  /* At 320px a long label uses some of its padding instead of running past the gutter */
  max-width: 100%;
  min-height: 3.25rem;
  padding: 0 1.625rem;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-primary:active { background: var(--blue-800); }

.btn-inverse { background: #fff; color: var(--blue); }
.btn-inverse:hover { background: var(--quiet); color: var(--blue-700); }
.btn-inverse:active { background: var(--quiet-2); }

.btn-lg { min-height: 3.5rem; padding: 0 1.75rem; }
.btn-sm { min-height: 2.75rem; padding: 0 1.125rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-arrow:hover .icon-arrow,
.btn-arrow:focus-visible .icon-arrow { transform: translateX(4px); }

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--blue);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none;
}

.call-link .icon { width: 1.25rem; height: 1.25rem; }
.call-link span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgba(4, 38, 152, 0.3); transition: text-decoration-color 160ms ease-out; }
.call-link:hover span { text-decoration-color: currentColor; }

.call-link--inverse { color: #fff; }
.call-link--inverse span { text-decoration-color: rgba(255, 255, 255, 0.45); }
.call-link--inverse:hover { color: #fff; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: border-color 200ms ease-out;
}

.site-header.is-scrolled { border-bottom-color: var(--line-strong); }

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; flex: none; border-radius: var(--r-1); }
.logo img { width: auto; height: 2.875rem; }

@media (min-width: 64em) {
  .logo img { height: 3.75rem; }
}

.nav-desktop { display: none; margin-left: auto; }

.nav-desktop ul { display: flex; gap: clamp(1.25rem, 0.25rem + 1.5vw, 2.125rem); list-style: none; }

.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="location"],
.nav-desktop a[aria-current="page"] { color: var(--navy); }
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="location"]::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }

.header-cta { display: none; }

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-2);
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease-out;
}

.header-call:hover { background: var(--quiet); color: var(--blue); }
.header-call .icon { width: 1.25rem; height: 1.25rem; }
.header-call__number { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 2.75rem;
  padding: 0 0.5rem 0 0.625rem;
  border: 0;
  border-radius: var(--r-2);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease-out;
}

.nav-toggle:hover { background: var(--quiet); }

.nav-toggle__bars,
.nav-toggle__bars::before {
  display: block;
  width: 1.125rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.nav-toggle__bars { position: relative; transform: translateY(-3px); }
.nav-toggle__bars::before { content: ""; position: absolute; left: 0; top: 7px; }

@media (min-width: 45em) {
  .header-cta { display: inline-flex; }
  .header-actions { gap: 0.75rem; }
}

@media (min-width: 64em) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .header-actions { position: relative; margin-left: 0; gap: 1.5rem; padding-left: 1.75rem; }
  .header-actions::before { content: ""; position: absolute; top: 50%; left: 0; width: 1px; height: 1.5rem; background: var(--line-strong); transform: translateY(-50%); }
  .header-call { width: auto; height: 2.75rem; padding: 0; border-radius: var(--r-1); color: var(--navy); font-size: 0.9375rem; font-variant-numeric: lining-nums tabular-nums; }
  .header-call .icon { width: 1.125rem; height: 1.125rem; color: var(--blue); }
  .header-call:hover { background: transparent; color: var(--navy); }
  .header-call__number { display: inline; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: transparent; transition: text-decoration-color 160ms ease-out; }
  .header-call:hover .header-call__number { text-decoration-color: currentColor; }
}

/* Mobile menu (modal dialog) */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 48, 0.5);
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.mobile-menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border-left: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 260ms ease-out, transform 320ms var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { opacity: 1; transform: none; }

.mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 2.75rem;
  padding: 0 0.5rem 0 0.625rem;
  border: 0;
  border-radius: var(--r-2);
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease-out;
}

.mobile-menu__close:hover { background: var(--quiet); }

.mobile-menu__x { position: relative; width: 1.125rem; height: 1.125rem; flex: none; }

.mobile-menu__x::before,
.mobile-menu__x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.125rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.mobile-menu__x::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu__x::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu__nav { flex: none; padding-top: 0.75rem; }

.mobile-menu__nav ul { list-style: none; }

.mobile-menu__nav li + li { border-top: 1px solid var(--line); }

.mobile-menu__nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 3.625rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.625rem);
  font-weight: 540;
  letter-spacing: -0.022em;
  text-decoration: none;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a[aria-current="page"] { color: var(--blue); }

.mobile-menu__arrow {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gold);
  transition: transform 180ms var(--ease-out);
}

.mobile-menu__nav a:hover .mobile-menu__arrow,
.mobile-menu__nav a:focus-visible .mobile-menu__arrow { transform: translateX(0.25rem); }

.mobile-menu__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mobile-menu__proof a {
  display: grid;
  align-content: center;
  gap: 0.125rem;
  min-height: 4.75rem;
  padding: 0.75rem 0;
  color: var(--navy);
  text-decoration: none;
}

.mobile-menu__proof a + a {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.mobile-menu__proof strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mobile-menu__proof span {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.mobile-menu__proof a:hover strong { color: var(--blue-700); }

.mobile-menu__actions {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 0.625rem;
  min-height: 14rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  padding-right: var(--gutter);
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  padding-left: var(--gutter);
  background: var(--navy);
}

.mobile-menu__actions .call-link { justify-content: center; font-size: 1.125rem; }

.mobile-menu__actions :focus-visible { outline-color: #fff; }

.mobile-menu__hours { color: rgba(255, 255, 255, 0.76); font-size: var(--fs-small); text-align: center; }

@media (min-width: 37.5em) {
  .mobile-menu__panel {
    width: min(27.5rem, 100%);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 48px -32px rgba(7, 16, 48, 0.6);
  }
  .mobile-menu__panel .wrap { width: calc(100% - 2 * var(--gutter)); }
}

@media (min-width: 64em) {
  .mobile-menu { display: none !important; }
}

/* Hero: the cover of the review.
   Phones read headline, explanation, action, then the margin notes and the photograph.
   From 64em the headline block sits beside the notes, and the photograph becomes a wide plate on the grid's 4th column,
   bleeding right and overlapping the next band. */

.hero { position: relative; z-index: 2; }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(1.75rem, 0.8rem + 3.2vw, 4.5rem); }

.hero__head { container-type: inline-size; }

.hero__head h1 { font-size: clamp(1.75rem, 9.4cqi, 2.375rem); }

/* The editor's mark: a gold underline beneath "careful review" */
.hero__mark {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 0.075em;
  background-position: 0 88%;
}

.hero__lede {
  max-width: 31em;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: var(--fs-lede);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 2rem;
  margin-top: 1.25rem;
}

.hero__aside {
  position: relative;
  margin-top: 1rem;
  padding-left: 1.375rem;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.hero__aside::before { content: ""; position: absolute; top: 0.7em; left: 0; width: 0.75rem; height: 2px; background: var(--gold); }

.hero__leader { display: none; }

.hero__media {
  position: relative;
  margin: 2rem calc(-1 * var(--gutter)) 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--quiet-2);
}

.hero__media picture,
.hero__media img { width: 100%; height: 100%; }

.hero__media picture { display: block; }

.hero__media img { object-fit: cover; object-position: 50% 45%; }

@media (max-width: 37.49em) {
  .hero__actions .btn { width: 100%; }
  .hero__actions .call-link { width: 100%; justify-content: center; }
}

@media (min-width: 37.5em) {
  .hero__head h1 { font-size: clamp(2.25rem, 7.2cqi, 3.75rem); }
  .hero__lede { margin-top: 1.375rem; }
  .hero__actions { margin-top: 2rem; }
  .hero__media { aspect-ratio: 2.1 / 1; }
}

@media (min-width: 64em) {
  .hero { margin-bottom: calc(-1 * var(--overlap)); }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; padding-top: clamp(2.5rem, 1rem + 2.4vw, 3.5rem); }
  .hero__head { grid-column: 1 / span 8; grid-row: 1; }
  .hero__head h1 { font-size: clamp(2.75rem, 7.4cqi, 5rem); }
  .hero__lede { margin-top: clamp(1.5rem, 1rem + 1vw, 2rem); }
  .hero__actions { margin-top: clamp(2rem, 1.5rem + 1vw, 2.5rem); }
  .hero__notes { grid-column: 9 / -1; grid-row: 1; margin: 0.55rem 0 0; }
  .hero__aside { display: none; }
  .hero__leader {
    display: block;
    position: absolute;
    top: var(--leader-y, 0);
    left: var(--leader-x, 0);
    width: var(--leader-w, 0);
    height: 1px;
    background: var(--gold);
    transform-origin: left center;
    pointer-events: none;
  }
  .hero__media {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: clamp(2rem, 1.25rem + 1vw, 2.5rem) calc(-1 * var(--bleed)) 0;
    aspect-ratio: 2.4 / 1;
  }
  .hero__media img { object-position: 50% 50%; }
}

@media (min-width: 80em) {
  .hero__head { grid-column: 1 / span 9; }
  .hero__notes { grid-column: 10 / -1; }
}

/* Proof as margin notes with gold leaders */

.hero__notes { margin-top: 2rem; }

.notes {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.notes::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 100%;
  background: var(--gold);
  transform-origin: top center;
}

.note { position: relative; min-width: 0; }

.note::before { content: ""; position: absolute; top: 1.4rem; left: 0; width: 0.75rem; height: 2px; background: var(--gold); }

.note + .note .note__inner { border-top: 1px solid var(--line); }

.note__inner {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
  row-gap: 0.125rem;
  margin-left: 1.375rem;
  padding: 0.875rem 0;
  color: inherit;
  text-decoration: none;
}

.note__figure {
  grid-row: span 2;
  display: grid;
  justify-items: start;
  gap: 0.375rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.note--stated .note__figure { color: var(--ink-soft); font-weight: 400; }

.note__figure .stars svg { width: 0.75rem; height: 0.75rem; }

.note__seal { width: 4.5rem; height: auto; }

.note__main { color: var(--navy); font-size: 1rem; font-weight: 600; line-height: 1.3; }

.note__meta { color: var(--muted); font-size: var(--fs-fine); line-height: 1.4; }

a.note__inner { border-radius: var(--r-1); }
a.note__inner .note__main { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease-out; }
a.note__inner:hover .note__main { text-decoration-color: currentColor; }
a.note__inner .icon-ext { color: var(--blue); }

@media (min-width: 64em) {
  .note::before { top: 2.15rem; width: 0.875rem; }
  .note:first-child::before { top: 1.9rem; }
  .note__inner { grid-template-columns: minmax(0, 1fr); row-gap: 0.25rem; margin-left: 1.625rem; padding: 0.5rem 0 0.75rem; }
  .note:first-child .note__inner { padding-top: 0.25rem; }
  .note__figure { grid-row: auto; display: flex; align-items: center; gap: 0.75rem; min-height: 3.5rem; font-size: 3.5rem; }
  .note__figure .stars svg { width: 0.9rem; height: 0.9rem; }
  .note__seal { width: 7rem; }
  .note__main { font-size: 1rem; }
  .note__meta { font-size: var(--fs-fine); }
}

/* Section heads: a ruled line opened by a gold lead, the heading, and a margin note */

.section { padding-block: var(--section-y); }
.section--quiet { background: var(--quiet); }

.doc-head {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-top: var(--head-pad);
  border-top: 1px solid var(--line-strong);
}

.doc-head::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: clamp(3rem, 2rem + 3vw, 6rem);
  height: 3px;
  background: var(--gold);
  transform-origin: left center;
}

.doc-head > h2 { max-width: 16em; }

.doc-head__lede { max-width: 38em; color: var(--ink-soft); font-size: var(--fs-lede); line-height: 1.55; }

.doc-note {
  position: relative;
  max-width: 30em;
  padding-left: 1.375rem;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.doc-note::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 0.75rem; height: 2px; background: var(--gold); }

.doc-note p + p { margin-top: 0.5rem; }

.doc-note a:not(.call-link) { font-weight: 600; }

.doc-head--dark { border-top-color: rgba(255, 255, 255, 0.28); }
.doc-head--dark .doc-note { color: rgba(255, 255, 255, 0.86); }

@media (min-width: 64em) {
  .doc-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .doc-head > h2 { grid-column: 1 / span 8; }
  .doc-head > .doc-note { grid-column: 10 / -1; margin-top: 0.75rem; }
  .doc-head > .doc-head__lede { grid-column: 1 / span 8; }
}

.doc-lede {
  max-width: 34em;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  color: var(--ink-soft);
  font-size: var(--fs-lede);
  line-height: 1.55;
}

/* Two-column split kept for the consultation */

.split { display: grid; gap: 2.5rem; }

@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--split-gap); align-items: start; }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 3rem); }
}

.intro-text { max-width: 30em; margin-top: 1.25rem; color: var(--ink-soft); }

/* Situation: the hero's plate overlaps into this band, so it opens lower.
   From 64em the heading and lede hold the left columns and the 4 situations sit beside them under the same rule. */

.situation { padding-top: calc(var(--section-y) + 0.5rem); }

.situation__body { display: grid; gap: 1.75rem; margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }

.situation__intro .doc-lede { margin-top: 0; }

.situation__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

.situation__list { display: grid; list-style: none; }

.situation__list li { padding: 1.5rem 0 1.625rem; border-top: 1px solid var(--line-strong); }

.situation__list p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.situation__tool { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; margin-top: 0.375rem; font-size: 1rem; font-weight: 600; text-decoration: none; }
.situation__tool .icon { width: 1.25rem; height: 1.25rem; }
.situation__tool span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.situation__tool:hover span { text-decoration-thickness: 2px; }

@media (min-width: 45em) {
  .situation__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}

@media (min-width: 64em) {
  .situation { padding-top: calc(var(--section-y) + var(--overlap)); }
  /* auto 1fr: the list spans both rows, so its extra height goes to row 2 and the lede stays tucked under the heading */
  .situation .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--col-gap); align-items: start; }
  .situation .doc-head { grid-column: 1 / -1; grid-row: 1; }
  .situation .doc-head > h2 { grid-column: 1 / span 5; }
  .situation__body { display: contents; }
  .situation__intro { grid-column: 1 / span 4; grid-row: 2; margin-top: 1.5rem; }
  .situation__list { position: relative; z-index: 1; grid-column: 6 / -1; grid-row: 1 / span 2; column-gap: clamp(1.5rem, 3vw, 3rem); padding-top: var(--head-pad); }
  .situation__list li:nth-child(-n + 2) { padding-top: 0; border-top: 0; }
}

/* Services: the annotated review sheet beside case management */

.services__grid { --sheet-pad: clamp(1.25rem, 0.75rem + 1.6vw, 2.25rem); display: grid; gap: 3rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

.sheet {
  --sheet-margin: 2.5rem;
  position: relative;
  padding: var(--sheet-pad) 0 calc(var(--sheet-pad) * 0.75) var(--sheet-margin);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

/* The reviewer's margin rule */
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--sheet-margin) - 1rem);
  width: 2px;
  background: var(--gold);
  transform-origin: top center;
}

.sheet__head h3 { font-size: var(--fs-h3-lg); font-weight: 560; line-height: 1.15; letter-spacing: -0.024em; }

.sheet__head p { max-width: 34em; margin-top: 0.875rem; color: var(--ink-soft); }

.sheet__lines { margin-top: 1.75rem; list-style: none; }

.sheet__lines li { position: relative; display: grid; gap: 0.25rem; padding: 1rem 0 1.0625rem; border-top: 1px solid var(--line); }

/* A drawn check in the margin for each line reviewed */
.sheet__lines li::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: calc(-1 * var(--sheet-margin) + 0.125rem);
  width: 0.4375rem;
  height: 0.8125rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

.sheet__item { color: var(--navy); font-weight: 600; line-height: 1.4; }

.sheet__note { color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }

@media (min-width: 37.5em) {
  .sheet__lines li { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 1.5rem; align-items: baseline; }
  .sheet__note { padding-left: 1rem; border-left: 1px solid var(--line); }
}

.service h3 { font-size: var(--fs-h3-lg); font-weight: 560; line-height: 1.15; letter-spacing: -0.024em; }

.service > p { max-width: 32em; margin-top: 1rem; color: var(--ink-soft); }

.checklist { display: grid; gap: 0.8rem; margin-top: 1.5rem; list-style: none; }

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink);
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.875rem;
  height: 2px;
  background: var(--gold);
}

@media (min-width: 64em) {
  .services__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .sheet { grid-column: 1 / span 7; }
  /* The sheet's top rule plus its padding, so both service titles share one line */
  .service--management { grid-column: 9 / -1; padding-top: calc(var(--sheet-pad) + 1px); }
}

/* Documents: a ruled row that continues the section's rules */

.docs {
  position: relative;
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  padding-top: var(--head-pad);
  border-top: 1px solid var(--line-strong);
}

.docs::before { content: ""; position: absolute; top: -2px; left: 0; width: clamp(3rem, 2rem + 3vw, 6rem); height: 3px; background: var(--gold); }

.docs__head { display: grid; gap: 0.5rem; align-content: start; }

.docs__title { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); font-weight: 560; letter-spacing: -0.018em; }

.docs__note { color: var(--muted); font-size: var(--fs-small); }

.docs__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  list-style: none;
}

.docs__list li {
  padding-top: 0.875rem;
  border-top: 1px solid var(--line-strong);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
}

.docs__list small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: var(--fs-fine); font-weight: 400; }

@media (min-width: 64em) {
  .docs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .docs__head { grid-column: 1 / span 4; }
  .docs__list { grid-column: 6 / -1; margin-top: 0.25rem; gap: 1.5rem 2rem; }
}

/* Process: one cobalt field, broken into restrained tonal chapter bands */

.process {
  position: relative;
  background: var(--blue);
  color: #fff;
}

.process h2 { color: #fff; }

.process .doc-head { border-top-color: rgba(255, 255, 255, 0.34); }

.process__head .doc-note {
  max-width: 39em;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--fs-body);
}

.chapters {
  margin: clamp(2.25rem, 1.75rem + 2vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.chapter {
  position: relative;
  display: grid;
  gap: 0.875rem;
  padding: clamp(1.625rem, 1.2rem + 1.35vw, 2.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.chapter:nth-child(even) {
  background: var(--blue-700);
  box-shadow: 0 0 0 100vmax var(--blue-700);
  clip-path: inset(0 -100vmax);
}

.chapter:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }

.chapter::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(3rem, 2rem + 3vw, 6rem);
  height: 2px;
  background: var(--gold);
  transform-origin: left center;
}

.chapter__name {
  color: #fff;
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.035em;
}

.chapter__summary { max-width: 38em; color: rgba(255, 255, 255, 0.82); font-size: var(--fs-lede); line-height: 1.55; }

.chapter__steps { display: grid; gap: 0.875rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }

.chapter__steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: baseline; color: #fff; font-weight: 600; line-height: 1.4; }

.chapter__step-num {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.process__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.process__actions .call-link { color: #fff; }

@media (min-width: 64em) {
  .process__head > h2 { grid-column: 1 / span 9; }
  .process__head > .doc-note { grid-column: 1 / span 7; margin-top: 0.75rem; }
  .chapter { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .chapter__name { grid-column: 1 / span 3; }
  .chapter__summary { grid-column: 4 / span 6; padding-top: 0.375rem; }
  .chapter__steps { grid-column: 10 / -1; margin-top: 0; padding-top: 0.375rem; }
}

/* Reviews: the strongest words lead, the score annotates them */

.doc-note--score { color: var(--ink-soft); }

.score-line { display: flex; align-items: center; gap: 0.75rem; }

.score-line__figure {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums tabular-nums;
}

.doc-note--score .stars svg { width: 1rem; height: 1rem; }

.doc-note--score .score-line + p { margin-top: 0.5rem; }

.score__link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

.reviews .quote--featured { margin-top: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }

.quote { margin: 0; }

.quote blockquote { margin: 0; }

.quote--featured p {
  max-width: 31em;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.25vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-indent: -0.4em;
  text-wrap: balance;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: var(--fs-small);
}

.quote--featured figcaption { margin-top: 1.75rem; }
.quote--featured figcaption::before { content: ""; width: 1.5rem; height: 2px; margin-right: 0.25rem; background: var(--gold); }

.quote__name { color: var(--navy); font-weight: 600; }

.quotes {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  list-style: none;
}

.quotes .quote p { color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }

.quotes .quote { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }

@media (min-width: 56.25em) {
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-top: 1.75rem; border-top: 1px solid var(--line-strong); }
  .quotes .quote { padding: 0 clamp(1.5rem, 3vw, 2.5rem); border-top: 0; }
  .quotes .quote:first-child { padding-left: 0; }
  .quotes .quote:last-child { padding-right: 0; }
  .quotes .quote + .quote { border-left: 1px solid var(--line-strong); }
}

.reviews__note { max-width: 46em; margin-top: 2.75rem; color: var(--muted); font-size: var(--fs-fine); }

@media (min-width: 64em) {
  .reviews .quote--featured { width: calc(100% * 10 / 12); }
}

/* Expectations ledger: hairline rows on the page grid, the point in display type and the detail beside it */

.ledger {
  margin: clamp(2.25rem, 1.75rem + 2vw, 3.5rem) 0 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.ledger__row { display: grid; gap: 0.375rem; padding-block: 1.5rem; }

.ledger__row + .ledger__row { border-top: 1px solid var(--line); }

.ledger dt {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.014em;
}

.ledger dd { margin: 0; color: var(--ink-soft); max-width: 36em; }

@media (min-width: 45em) {
  .ledger__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem; padding-block: 1.75rem; }
}

@media (min-width: 64em) {
  .ledger__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .ledger dt { grid-column: 1 / span 4; }
  .ledger dd { grid-column: 5 / span 6; }
}

/* FAQ: hairline questions. From 64em the heading and the call line hold the left columns
   and the questions sit beside them under the same rule. */

.faq__list {
  margin-top: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.faq__item + .faq__item { border-top: 1px solid var(--line); }

.faq__item summary {
  position: relative;
  display: block;
  padding: 1.5rem 3rem 1.5rem 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.04rem + 0.35vw, 1.3125rem);
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.012em;
  list-style: none;
  cursor: pointer;
  border-radius: var(--r-1);
  transition: color 160ms ease-out;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover { color: var(--blue); }

.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 1rem;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
  transition: transform 260ms var(--ease-out);
}

.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item[open] summary { color: var(--blue); }
.faq__item[open] summary::before,
.faq__item[open] summary::after { background: var(--gold); }

.faq__answer { padding: 0 3rem 1.75rem 0; }

.faq__answer p { max-width: 40em; color: var(--ink-soft); }
.faq__answer p + p { margin-top: 0.75rem; }

.faq__more { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin-top: 1.75rem; color: var(--ink-soft); }

.faq__more .call-link { font-size: 1.0625rem; }

@media (min-width: 64em) {
  .faq .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--col-gap); align-items: start; }
  .faq .doc-head { grid-column: 1 / -1; grid-row: 1; }
  .faq .doc-head > h2 { grid-column: 1 / span 4; }
  .faq__more { grid-column: 1 / span 4; grid-row: 2; display: grid; justify-items: start; gap: 0.5rem; max-width: 19em; margin-top: 1.25rem; }
  .faq__list { position: relative; z-index: 1; grid-column: 6 / -1; grid-row: 1 / span 2; margin-top: 0; padding-top: calc(var(--head-pad) - 1.5rem); border-top: 0; }
}

/* Consultation: the navy closing spread */

.consult { background: var(--navy); color: #fff; }

.consult h2 { color: #fff; }

.consult .intro-text { color: rgba(255, 255, 255, 0.86); }

.consult__call {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.consult__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none;
}

.consult__phone .icon { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.consult__phone span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: rgba(255, 255, 255, 0.35); transition: text-decoration-color 160ms ease-out; }
.consult__phone:hover { color: #fff; }
.consult__phone:hover span { text-decoration-color: #fff; }

.consult__hours { margin-top: 0.25rem; color: rgba(255, 255, 255, 0.82); font-size: var(--fs-small); }

.consult__address {
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-small);
  font-style: normal;
  line-height: 1.6;
}

.consult__address a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); }

/* Hours, address, and email hang on the phone number's icon column, so every contact line starts on one edge */
.consult__line { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: 0.625rem; align-items: start; }
.consult__line .icon { justify-self: center; width: 1.125rem; height: 1.125rem; margin-top: 0.2em; color: var(--gold); }
.consult__line--link { align-items: center; }
.consult__line--link .icon { margin-top: 0; }
.consult__address .consult__line + .consult__line { margin-top: 0.375rem; }

.consult__panel {
  padding: clamp(1.5rem, 1rem + 2.4vw, 3rem);
  border-radius: var(--r-3);
  background: var(--surface);
  color: var(--ink);
}

.consult__panel :focus-visible { outline-color: var(--blue); }

/* Form */

.form { display: grid; gap: 2rem; }

.form__fields { display: grid; gap: 1.375rem; }

.form__row { display: grid; gap: 1.375rem; }

@media (min-width: 37.5em) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}

.field { display: grid; gap: 0.375rem; align-content: start; }

.field label {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--field);
  border-radius: var(--r-2);
  background: var(--surface);
  color: var(--ink);
  caret-color: var(--blue);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.field textarea { min-height: 7.5rem; resize: vertical; }

.field input:hover,
.field textarea:hover { border-color: var(--ink-soft); }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(4, 38, 152, 0.14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); background: var(--error-soft); }

.field__error {
  color: var(--error);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.4;
}

.field__error:empty { display: none; }

.form__footer { display: grid; gap: 1.125rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.form__consent { color: var(--muted); font-size: var(--fs-fine); line-height: 1.55; }

.form__submit[disabled] { cursor: wait; opacity: 0.72; }

.form__status { color: var(--error); font-size: var(--fs-small); font-weight: 600; }
.form__status[data-state="sending"] { color: var(--muted); }
.form__status:empty { display: none; }

@media (max-width: 37.49em) {
  .consult__panel {
    margin-inline: calc(-1 * var(--gutter) + 0.75rem);
    padding: 1rem;
  }

  .form { gap: 1rem; }

  .form__fields,
  .form__row { gap: 0.75rem; }

  .field { gap: 0.25rem; }

  .field input,
  .field textarea {
    min-height: 3rem;
    padding: 0.625rem 0.75rem;
  }

  .field textarea { min-height: 5.5rem; }

  .form__submit {
    min-width: 0;
    padding-inline: 1rem;
    white-space: normal;
  }

  .form__footer {
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .form__consent { line-height: 1.4; }
}

.form-success { display: grid; gap: 1rem; }
.form-success[hidden] { display: none; }

.form-success h3 { font-size: var(--fs-h3-lg); font-weight: 560; letter-spacing: -0.024em; }

.form-success p { color: var(--ink-soft); }

.form-success:focus { outline: none; }

.form-success__reset {
  justify-self: start;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-small);
}

.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }

.footer__top {
  display: grid;
  gap: 3rem;
  padding-block: clamp(3.5rem, 2.5rem + 3.5vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}

.footer__brand .logo img { height: 4.75rem; }

.footer__about {
  max-width: 24em;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}

.footer__col--contact { grid-column: 1 / -1; }

.footer__title {
  margin-bottom: 0.75rem;
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.footer__address {
  display: grid;
  gap: 0.75rem;
  font-style: normal;
  line-height: 1.55;
}

.footer__links { display: grid; list-style: none; }

.footer__links a { display: inline-flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; text-decoration: none; }
.footer__links a:hover,
.footer__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.footer__legal {
  display: grid;
  gap: 0.875rem;
  padding-block: 1.75rem max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-fine);
}

.footer__disclaimer { color: rgba(255, 255, 255, 0.88); }

.footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }

@media (min-width: 56.25em) {
  .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--split-gap); align-items: start; }
  .footer__brand .logo img { height: 5.5rem; }
  .footer__cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
  .footer__col--contact { grid-column: auto; }
  .footer__address { gap: 1rem; }
  .footer__legal { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--split-gap); align-items: baseline; }
}

/* With a mouse, footer links keep a 32px target and drop the touch spacing */
@media (min-width: 56.25em) and (pointer: fine) {
  .footer__links a { min-height: 2rem; }
}

/* Policy pages: privacy, terms, SMS terms, and the not-found page */

.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }

.page-head .wrap { position: relative; padding-top: var(--head-pad); border-top: 1px solid var(--line-strong); }

.page-head .wrap::before { content: ""; position: absolute; top: -2px; left: 0; width: clamp(3rem, 2rem + 3vw, 6rem); height: 3px; background: var(--gold); }

.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); }

.page-head p { max-width: 40em; margin-top: 1.25rem; color: var(--ink-soft); font-size: var(--fs-lede); line-height: 1.55; }

.policy { display: grid; gap: 3rem; padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) var(--section-y); }

.policy__note {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--r-3);
  background: var(--quiet);
}

.policy__note h2 { font-size: 1.25rem; letter-spacing: -0.012em; }

.policy__note p { margin-top: 0.625rem; color: var(--ink-soft); font-size: var(--fs-small); }

.policy__body { max-width: 46rem; }

.policy__body section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

.policy__body h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem); letter-spacing: -0.016em; }

.policy__body h3 { margin-top: 1.5rem; font-family: var(--font-text); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }

.policy__body p,
.policy__body ul { margin-top: 0.875rem; color: var(--ink-soft); }

.policy__body ul { padding-left: 1.25rem; }
.policy__body li + li { margin-top: 0.375rem; }
.policy__body li::marker { color: var(--gold); }

@media (min-width: 64em) {
  .policy { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .policy__note { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Not-found page: the policy page head, the homepage call to action, and the main routes as hairline rows */
.page-head--404 { padding-bottom: var(--section-y); }

.not-found__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 2rem; margin-top: 2rem; }

.not-found__links { max-width: 28rem; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); list-style: none; border-top: 1px solid var(--line-strong); }

.not-found__links li { border-bottom: 1px solid var(--line); }

.not-found__links a { display: flex; align-items: center; min-height: 3.25rem; color: var(--navy); font-weight: 600; text-decoration: none; transition: color 160ms ease-out; }

.not-found__links a:hover { color: var(--blue); }

/* Cost calculator: one compact tool inside the annotated review.
   The figures and the estimate share a single framed tool from 45em and sit side by side from 64em,
   so the whole worksheet reads in one view. Each input is a statement line, label and guidance on the
   left and the amount on the right. On phones the frame drops away and the estimate runs full bleed. */

.page-head--tool { padding-block: clamp(1rem, 0.6rem + 1vw, 1.25rem); }

.page-head--tool .wrap { padding-top: clamp(0.875rem, 0.7rem + 0.5vw, 1.125rem); }

.page-head--tool h1 { font-size: clamp(1.875rem, 1.45rem + 1.25vw, 2.625rem); line-height: 1.05; letter-spacing: -0.035em; }

.page-head--tool .page-head__lede { max-width: 60em; margin-top: 0.5rem; font-size: 1.0625rem; line-height: 1.5; text-wrap: pretty; }

.page-head .page-head__note { max-width: 24em; margin-top: 0.5rem; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }

@media (min-width: 64em) {
  .page-head--tool .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .page-head--tool h1 { grid-column: 1 / span 9; grid-row: 1; }
  .page-head--tool .page-head__lede { grid-column: 1 / span 9; grid-row: 2; }
  .page-head--tool .page-head__note { grid-column: 10 / -1; grid-row: 1 / span 2; margin-top: 0; }
}

.calc { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 4rem); }

/* From 45em the tool is one bounded frame: the figures on white, the estimate on the quiet tint.
   No overflow clipping here, because the sticky lead figures need the page to scroll them. */
@media (min-width: 45em) {
  .calc { gap: 0; border: 1px solid var(--line-strong); border-radius: var(--r-3); }
  .calc__form { padding: 1.25rem 1.5rem 0.75rem; }
  .calc__results { border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; background: var(--quiet); }
}

@media (min-width: 64em) {
  .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .calc__results { border-top: 0; border-left: 1px solid var(--line); border-radius: 0 7px 7px 0; }
}

.calc__form { container-type: inline-size; }

.calc__intro-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; }

.calc__intro h2,
.calc-panel__title { font-size: 1.3125rem; font-weight: 650; line-height: 1.2; letter-spacing: -0.018em; }

.calc__intro .doc-note { max-width: 48em; margin-top: 0.125rem; font-size: var(--fs-fine); line-height: 1.5; text-wrap: pretty; }

.calc__noscript { margin-top: 0.5rem; color: var(--navy); font-size: var(--fs-fine); font-weight: 600; }

/* The reset keeps a 44px target, and its negative margins let the title bar stay as short as the title */
.calc__reset {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block: -0.6875rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: var(--fs-fine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.calc__reset:hover { color: var(--blue-700); text-decoration-thickness: 2px; }

.calc-group {
  position: relative;
  min-width: 0;
  margin: 0.75rem 0 0;
  padding: 0.5rem 0 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.calc-group::before { content: ""; position: absolute; top: -2px; left: 0; width: 1.25rem; height: 3px; background: var(--gold); }

.calc-group legend,
.calc-block__title {
  padding: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* A floated legend sits inside the group like any heading instead of on its rule */
.calc-group legend { float: left; width: 100%; }
.calc-group legend + * { clear: both; }

/* Narrow: the label sits beside its amount and any guidance runs full width below both.
   Only 2 lines carry guidance, so most lines are a single row. */
.calc-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  column-gap: 0.75rem;
  row-gap: 0.1875rem;
  align-items: center;
  padding-block: 0.5rem;
}

.calc-field + .calc-field { border-top: 1px solid var(--line); }

.calc-field__label { grid-column: 1; grid-row: 1; color: var(--navy); font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }

.calc-field__hint { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: var(--fs-fine); line-height: 1.4; text-wrap: pretty; }

.calc-input { position: relative; grid-column: 2; grid-row: 1; }

.calc-field__error { grid-column: 1 / -1; grid-row: 3; margin-top: 0.125rem; font-size: var(--fs-fine); }

/* rem, not em: an em in a container query follows the container's larger text size */
@container (min-width: 24rem) {
  .calc-field { grid-template-columns: minmax(0, 1fr) 9rem; column-gap: 1rem; row-gap: 0.125rem; padding-block: 0.5rem; }
  .calc-field__label { align-self: end; }
  .calc-field__hint { grid-column: 1; align-self: start; }
  .calc-input { grid-row: 1 / span 2; }
  /* A line without guidance centers its label on the field */
  .calc-field:not(:has(.calc-field__hint)) .calc-field__label { grid-row: 1 / span 2; align-self: center; }
}

.calc-input input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--field);
  border-radius: var(--r-2);
  background: var(--surface);
  color: var(--navy);
  caret-color: var(--blue);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.5;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.calc-input input:hover { border-color: var(--ink-soft); }

.calc-input input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(4, 38, 152, 0.14);
}

.calc-input input[aria-invalid="true"] { border-color: var(--error); background: var(--error-soft); }

.calc-input__unit {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: var(--fs-fine);
  font-weight: 500;
  pointer-events: none;
}

.calc-input--prefix .calc-input__unit,
.calc-input--percent .calc-input__unit { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }

.calc-input--prefix .calc-input__unit { left: 0.75rem; }
.calc-input--suffix .calc-input__unit { right: 0.75rem; }

.calc-input--prefix input { padding-left: 1.625rem; }
.calc-input--suffix input { padding-right: 3.75rem; }
.calc-input--percent input { padding-right: 2rem; }

/* The estimate pane: full bleed on phones, the tinted half of the tool from 45em */

.calc-panel {
  container-type: inline-size;
  margin-inline: calc(-1 * var(--gutter));
  padding: 1rem var(--gutter) 0.5rem;
  background: var(--quiet);
}

@media (min-width: 45em) {
  .calc-panel { margin-inline: 0; padding: 1.25rem 1.5rem 0.75rem; background: none; }
}

.calc-panel__basis { margin-top: 0.125rem; color: var(--muted); font-size: var(--fs-fine); }

.calc-panel__paused { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line-strong); font-size: var(--fs-small); }

.calc-panel__paused-title { color: var(--error); font-weight: 700; }

/* An entry partway typed is not an error yet, so that pause reads in navy */
.calc-panel__paused.is-unfinished .calc-panel__paused-title { color: var(--navy); }

.calc-panel__paused p + p { margin-top: 0.25rem; color: var(--ink-soft); }

.calc-panel__paused-list { display: grid; margin-top: 0.25rem; list-style: none; }

.calc-panel__paused-list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

.calc-leads { display: grid; gap: 0.75rem; margin: 0.625rem 0 0; }

.calc-lead { position: relative; padding-top: 0.5rem; border-top: 1px solid var(--line-strong); }

.calc-lead::before { content: ""; position: absolute; top: -2px; left: 0; width: 1.25rem; height: 3px; background: var(--gold); }

.calc-lead dt { color: var(--ink-soft); font-size: var(--fs-fine); font-weight: 600; line-height: 1.4; }

.calc-lead dd { margin: 0; }

/* The figures scale with the pane, so the largest possible annual cost still fits its column */
.calc-lead__figure {
  margin-top: 0.125rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 8cqi, 2.625rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

/* "Not calculated" and "Less than $1" read as words, so they drop to a text size */
.calc-lead__figure.is-words { padding-block: 0.25rem 0.125rem; font-size: clamp(1.25rem, 5cqi, 1.625rem); letter-spacing: -0.02em; }

.calc-lead__note { margin-top: 0.125rem; color: var(--muted); font-size: var(--fs-fine); line-height: 1.4; }

@container (min-width: 18rem) {
  .calc-leads { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}

/* Beside the figures, the 2 lead figures stay in view under the header while the rest of the estimate
   scrolls beneath them. Padding replaces part of the margins, so the resting layout is unchanged. */
@media (min-width: 64em) {
  .calc-leads { position: sticky; top: var(--header-h); z-index: 1; margin-top: 0.25rem; padding-block: 0.5rem 0.625rem; background: var(--quiet); }
  .calc-leads + .calc-block { margin-top: 0.25rem; }
}

.calc-block { margin-top: 0.875rem; }

.calc-lines { margin: 0.375rem 0 0; border-top: 1px solid var(--line-strong); }

.calc-lines > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.375rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.4;
}

.calc-lines dt { color: var(--ink-soft); }

.calc-lines dd,
.calc-table td { margin: 0; color: var(--navy); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

.calc-table { margin-top: 0.375rem; overflow-x: auto; }

.calc-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.4; }

.calc-table th,
.calc-table td { padding: 0.375rem 0 0.375rem 0.75rem; text-align: right; vertical-align: baseline; }

.calc-table tr > :first-child { padding-left: 0; text-align: left; }

.calc-table thead tr { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }

.calc-table thead th { color: var(--muted); font-size: var(--fs-fine); font-weight: 600; white-space: nowrap; }

.calc-table tbody tr { border-bottom: 1px solid var(--line); }

.calc-table tbody th { color: var(--ink-soft); font-weight: 400; }

.calc-table tfoot tr { border-top: 2px solid var(--navy); }

.calc-table tfoot th,
.calc-table tfoot td { color: var(--navy); font-family: var(--font-display); font-size: 1rem; font-weight: 700; }

/* Narrow panes: each row label takes its own line above its 3 figures, so all 3 periods stay in view
   without a sideways scroll. The empty corner cell stays in the table for screen readers. */
@container (max-width: 27.99rem) {
  .calc-table table,
  .calc-table thead,
  .calc-table tbody,
  .calc-table tfoot { display: block; }

  .calc-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0.75rem; }

  .calc-table th,
  .calc-table td { padding-left: 0; }

  .calc-table thead td { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  .calc-table th[scope="row"] { grid-column: 1 / -1; padding-bottom: 0; }

  .calc-table tbody td,
  .calc-table tfoot td { padding-top: 0.125rem; }
}

@container (max-width: 19.99rem) {
  .calc-table tr { column-gap: 0.5rem; }

  .calc-table tbody td,
  .calc-table tfoot td { font-size: var(--fs-fine); }
}

.calc-notes { display: grid; gap: 0.25rem; margin-top: 0.75rem; list-style: none; }

.calc-notes li { position: relative; padding-left: 1.125rem; color: var(--ink-soft); font-size: var(--fs-fine); line-height: 1.45; text-wrap: balance; }

.calc-notes li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 0.625rem; height: 2px; background: var(--gold); }

.calc-panel__method { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.125rem; font-size: var(--fs-fine); font-weight: 600; }

/* How the estimate works, and what it leaves out: the same document, set tighter to match the tool */

.calc-method { padding-block: 0 clamp(2.25rem, 1.5rem + 3vw, 4rem); }

.calc-method .doc-head,
.calc-next .doc-head { gap: 0.625rem; padding-top: clamp(0.875rem, 0.7rem + 0.5vw, 1.125rem); }

.calc-method .doc-head > h2,
.calc-next .doc-head > h2 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2.0625rem); line-height: 1.1; letter-spacing: -0.028em; }

.calc-method .ledger { margin-top: 1rem; }

.calc-method .ledger__row { row-gap: 0.25rem; padding-block: 0.75rem; }

.calc-method .ledger dt { font-size: 1.0625rem; }

/* The method reads at the tool's text size, a step under the homepage body */
.calc-method .ledger dd,
.calc-limits .checklist li,
.calc-limits__close { font-size: 1rem; line-height: 1.5; text-wrap: pretty; }

/* Short lines fill their columns, and 2-line items break evenly instead of leaving 1 word behind */
.calc-method .ledger dd { max-width: none; }

.calc-limits .checklist li { text-wrap: balance; }

.calc-limits { display: grid; gap: 0.625rem; margin-top: 1.5rem; }

.calc-limits h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.012em; }

.calc-limits .checklist { gap: 0.375rem; margin-top: 0; }

.calc-limits__close { max-width: 36em; margin-top: 0.25rem; color: var(--ink-soft); }

@media (min-width: 45em) {
  .calc-limits { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 2rem; }
  .calc-limits h3 { grid-row: 1 / span 2; }
}

@media (min-width: 64em) {
  .calc-limits { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .calc-limits h3 { grid-column: 1 / span 4; }
  .calc-limits .checklist,
  .calc-limits__close { grid-column: 5 / span 6; }
}

.calc-next { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

.calc-next__body { max-width: 44rem; margin-top: 0.75rem; }

.calc-next__body > p:first-child { max-width: 36em; color: var(--ink-soft); font-size: var(--fs-lede); line-height: 1.55; text-wrap: balance; }

.calc-next__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 1rem; }

.calc-next__hours { margin-top: 0.625rem; color: var(--muted); font-size: var(--fs-small); }

/* Motion: authored once, from a fully visible default.
   Hidden or partial states exist only under html.motion-ready, which script.js sets when motion is welcome. */

html.motion-ready .hero__mark { background-size: 0% 0.075em; transition: background-size 1000ms var(--ease-out) 420ms; }
html.motion-ready.is-loaded .hero__mark { background-size: 100% 0.075em; }

html.motion-ready .notes::before { transform: scaleY(0); transition: transform 1100ms var(--ease-out) 250ms; }
html.motion-ready.is-loaded .notes::before { transform: none; }

html.motion-ready .note { opacity: 0; transform: translateY(10px); transition: opacity 600ms ease-out, transform 700ms var(--ease-out); }
html.motion-ready.is-loaded .note { opacity: 1; transform: none; }
html.motion-ready.is-loaded .note:nth-child(1) { transition-delay: 380ms; }
html.motion-ready.is-loaded .note:nth-child(2) { transition-delay: 530ms; }
html.motion-ready.is-loaded .note:nth-child(3) { transition-delay: 680ms; }

html.motion-ready .hero__media img { transform: scale(1.045); transition: transform 1600ms var(--ease-out); }
html.motion-ready.is-loaded .hero__media img { transform: none; }

html.motion-ready [data-reveal].doc-head::before { transform: scaleX(0); transition: transform 900ms var(--ease-out) 120ms; }
html.motion-ready [data-reveal].doc-head.is-visible::before { transform: none; }

html.motion-ready .hero__leader { transform: scaleX(0); transition: transform 900ms var(--ease-out) 1250ms; }
html.motion-ready.is-loaded .hero__leader { transform: none; }

html.motion-ready [data-sheet]::before { transform: scaleY(0); transition: transform 1000ms var(--ease-out) 100ms; }
html.motion-ready [data-sheet].is-visible::before { transform: none; }
html.motion-ready [data-sheet] .sheet__lines li::before { opacity: 0; transform: rotate(45deg) scale(0.4); transition: opacity 300ms ease-out, transform 420ms var(--ease-out); }
html.motion-ready [data-sheet].is-visible .sheet__lines li::before { opacity: 1; transform: rotate(45deg); }
html.motion-ready [data-sheet].is-visible .sheet__lines li:nth-child(1)::before { transition-delay: 450ms; }
html.motion-ready [data-sheet].is-visible .sheet__lines li:nth-child(2)::before { transition-delay: 600ms; }
html.motion-ready [data-sheet].is-visible .sheet__lines li:nth-child(3)::before { transition-delay: 750ms; }
html.motion-ready [data-sheet].is-visible .sheet__lines li:nth-child(4)::before { transition-delay: 900ms; }

html.motion-ready .chapter::before { transform: scaleX(0); transition: transform 1200ms var(--ease-out); }
html.motion-ready .chapter.is-reached::before { transform: none; }
html.motion-ready .chapter__step-num { opacity: 0.4; transition: opacity 600ms ease-out 350ms; }
html.motion-ready .chapter.is-reached .chapter__step-num { opacity: 1; }

html.motion-ready [data-score] .stars svg { opacity: 0.2; transform: scale(0.8); transition: opacity 360ms ease-out, transform 420ms var(--ease-out); }
html.motion-ready [data-score].is-visible .stars svg { opacity: 1; transform: none; }
html.motion-ready [data-score].is-visible .stars svg:nth-child(2) { transition-delay: 90ms; }
html.motion-ready [data-score].is-visible .stars svg:nth-child(3) { transition-delay: 180ms; }
html.motion-ready [data-score].is-visible .stars svg:nth-child(4) { transition-delay: 270ms; }
html.motion-ready [data-score].is-visible .stars svg:nth-child(5) { transition-delay: 360ms; }

.faq__item[open] .faq__answer { animation: answer-in 320ms var(--ease-out); }

@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn-arrow:hover .icon-arrow { transform: none; }
}

/* Print: the dark fields drop their fills, so every line inside them prints in ink */
@media print {
  .site-header,
  .mobile-menu,
  .consult__panel,
  .process__actions,
  .footer__brand .logo { display: none !important; }
  .process,
  .consult,
  .site-footer,
  .chapter:nth-child(even) { background: none; box-shadow: none; }
  .process *,
  .consult *,
  .site-footer * { color: var(--ink) !important; }
  .calc__reset,
  .calc-panel__method,
  .calc-next__actions { display: none !important; }
  .calc { border: 0; }
  .calc__form { padding: 0; }
  .calc__results { border: 0; background: none; }
  .calc-leads { position: static; background: none; }
  .calc-panel { margin-inline: 0; padding: 0; background: none; }
}
