/*
 * CallMyPro design system. One stylesheet for every page.
 * See ../../BRAND.md for the rules. Short version: white pages, ink text,
 * hairline borders, Figtree throughout, navy pill buttons and one blue accent.
 */

:root {
  --white: #ffffff;
  --surface: #f5f6f6;
  --line: #e9eced;
  --line-strong: #d3d4d5;

  --ink: #1f2022;
  --ink-body: #2f3033;
  --ink-soft: #595c61;
  --muted: #8d9094;
  /* Placeholder text: one step darker than --muted so it clears 4.5:1. */
  --placeholder: #6f7378;

  --navy: #07344a;
  --navy-hover: #0a4663;
  --blue: #009fd9;
  --blue-link: #0175a3;
  --blue-tint: #e5f6fd;
  --blue-light: #7cdcfd;

  --warn-bg: #fff6e0;
  --warn-ink: #5e4300;
  --danger: #b3261e;

  --r-input: 8px;
  --r-tile: 12px;
  --r-card: 16px;
  --pill: 9999px;

  --shadow-card: 0 1px 2px rgba(31, 32, 34, 0.04), 0 8px 24px rgba(31, 32, 34, 0.06);

  --font: "Figtree", Avenir, Helvetica, Arial, sans-serif;

  --focus: #0175a3;
}

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

html {
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink-body);
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* lander.js hides the Back button with the hidden attribute; no display rule
   on .button may outrank it. */
[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Icons are <use> references into one sprite; the stroke language lives here
   because a <use> inherits from the referencing svg, not from the sprite. */
svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3rem);
  line-height: 1.1;
}

a {
  color: var(--blue-link);
  text-underline-offset: 0.18em;
}

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

.wrap {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 32px, 760px);
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 64px, 1160px);
  }
  .wrap--narrow {
    width: min(100% - 64px, 760px);
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus-visible {
  top: 12px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-label {
  display: inline-flex;
  align-items: baseline;
  font: 700 1.375rem/1 var(--font);
  letter-spacing: -0.035em;
}

.wordmark-dot {
  width: 0.3em;
  height: 0.3em;
  margin-left: 0.09em;
  border-radius: 50%;
  background: var(--blue);
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s;
}

.call-pill svg {
  color: var(--blue-link);
}

@media (hover: hover) {
  .call-pill:hover {
    background: var(--line);
  }
}

@media (max-width: 339px) {
  .call-pill {
    padding: 8px 14px;
  }
  .call-pill-number {
    display: none;
  }
}

/* ----------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--pill);
  font: 700 1rem/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-secondary {
  background: var(--surface);
  color: var(--blue-link);
}

/* Only ever sits on the navy band. */
.button-ghost {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

@media (hover: hover) {
  .button-primary:hover {
    background: var(--navy-hover);
  }
  .button-secondary:hover {
    background: var(--line);
  }
  .button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px) {
  .actions .button {
    width: 100%;
  }
}

/* -------------------------------------------------------------------- hero */

.hero {
  background: var(--white);
}

.hero .wrap {
  display: grid;
  gap: 32px;
  padding-block: 32px 40px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
}

/* The accent phrase is a content hook; visually it is part of the headline. */
.accent {
  color: inherit;
}

.lead {
  margin-top: 16px;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.5;
}

.hero .actions {
  margin-top: 24px;
}

.disclosure {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  max-width: 38em;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

.disclosure svg {
  margin-top: 2px;
  color: var(--muted);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  color: var(--ink-body);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts svg {
  color: var(--blue);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-card);
  background: var(--surface);
}

/* The lander's hero photo is desktop-only: on a phone the form comes straight
   after the headline. It is lazy-loaded, so hidden means not downloaded. */
.hero--lander .hero-photo,
.hero--lander .hero-facts {
  display: none;
}

.hero--lander .wrap {
  padding-top: 20px;
}

@media (min-width: 960px) {
  .hero--hub .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    padding-block: 72px 80px;
  }
  .hero--hub .hero-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .hero--lander .wrap {
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: start;
    gap: 64px;
    padding-block: 32px 72px;
  }
  .hero--lander h1 {
    font-size: clamp(2.25rem, 1rem + 2.2vw, 3rem);
  }
  .hero--lander .hero-photo {
    display: block;
    margin-top: 32px;
  }
  .hero--lander .hero-facts {
    display: flex;
  }
  .hero--lander .hero-photo img {
    aspect-ratio: 16 / 8;
  }
}

/* -------------------------------------------------------------- breadcrumb */

.breadcrumb {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb svg {
  color: var(--muted);
}

.breadcrumb a {
  display: inline-block;
  padding-block: 6px;
  color: var(--blue-link);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding-block: 48px;
}

.section--tint {
  background: var(--surface);
}

.section--support {
  padding-block: 0 8px;
}

.section--cta {
  padding-block: 16px 56px;
}

.section--page {
  padding-block: 32px 64px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 80px;
  }
  .section--support {
    padding-block: 0;
  }
  .section--cta {
    padding-block: 16px 88px;
  }
  .section--page {
    padding-block: 48px 96px;
  }
}

.section-head {
  max-width: 42rem;
  margin-bottom: 32px;
}

.kicker {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
}

.section h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2rem);
}

.section-sub {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------------------------------------------------------- category tiles */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink-body);
  text-decoration: none;
  border-radius: var(--r-tile);
}

.cat-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-tile);
  background: var(--surface);
}

.cat-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cat-media::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.cat-media h3 {
  position: absolute;
  inset: auto 14px 12px;
  z-index: 1;
  color: var(--white);
  font-size: 1.0625rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cat-blurb {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (hover: hover) {
  .cat-card:hover .cat-photo {
    transform: scale(1.04);
  }
}

@media (max-width: 339px) {
  .cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cat-media {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 620px) {
  .cat-grid {
    gap: 28px 20px;
  }
  .cat-media h3 {
    inset: auto 16px 14px;
    font-size: 1.125rem;
  }
}

@media (min-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .cat-card--wide {
    grid-column: span 2;
  }
  .cat-card--wide .cat-media {
    flex: 1;
    aspect-ratio: auto;
  }
}

/* ------------------------------------------------------------ how it works */

.steps {
  display: grid;
  gap: 28px;
}

.steps-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-link);
  font: 700 1rem/1 var(--font);
}

.steps h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.steps p {
  margin-top: 6px;
  color: var(--ink-soft);
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

/* ------------------------------------------------------------- plain facts */

.facts {
  display: grid;
  gap: 16px;
}

.facts-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
}

.facts-card h3 {
  margin-bottom: 14px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.facts-card ul {
  display: grid;
  gap: 12px;
}

.facts-card li {
  display: flex;
  gap: 12px;
}

.facts-card li svg {
  margin-top: 3px;
}

.facts-card--does li svg {
  color: var(--blue);
}

.facts-card--doesnt li svg {
  color: var(--muted);
}

.facts-choice {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.facts-choice b {
  color: var(--ink);
}

.facts-choice svg {
  margin-top: 2px;
  color: var(--muted);
}

@media (min-width: 820px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .facts-card {
    padding: 32px;
  }
  .facts-choice {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------- faq */

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  color: var(--ink);
  font: 600 1.0625rem/1.3 var(--font);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary svg {
  color: var(--ink-soft);
  transition: transform 0.2s;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 44em;
  padding: 0 0 20px;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- cta band */

.cta-band {
  --focus: #7cdcfd;
  display: grid;
  gap: 24px;
  padding: 32px 24px;
  border-radius: var(--r-card);
  background: var(--navy);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin-top: 8px;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .button-primary {
  background: var(--white);
  color: var(--navy);
}

@media (hover: hover) {
  .cta-band .button-primary:hover {
    background: var(--blue-tint);
  }
}

@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 48px 56px;
  }
}

/* -------------------------------------------------------------- form panel */

.panel-wrap {
  min-width: 0;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--ink-body);
  box-shadow: var(--shadow-card);
}

.panel-head {
  padding: 24px 20px 0;
}

.panel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.step-kicker {
  color: var(--ink);
  font-weight: 600;
}

.panel-count {
  color: var(--ink-soft);
}

.progress-track {
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--pill);
  background: var(--line);
}

.progress-bar {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: var(--pill);
  background: var(--blue);
  transition: width 0.3s ease;
}

.panel-title {
  margin-top: 20px;
  font-size: 1.5rem;
}

.panel-subtitle {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.panel-body {
  padding: 20px;
}

@media (min-width: 480px) {
  .panel-head {
    padding: 28px 28px 0;
  }
  .panel-body {
    padding: 20px 28px 28px;
  }
}

.step {
  display: none;
}

.step.is-active {
  display: block;
  animation: step-in 0.25s ease;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.question-label {
  display: block;
  color: var(--ink);
  font: 600 1.125rem/1.3 var(--font);
  letter-spacing: -0.01em;
}

.hint {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

@media (hover: hover) {
  .field input:hover,
  .field textarea:hover {
    border-color: var(--muted);
  }
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--blue-link);
  box-shadow: 0 0 0 3px rgba(0, 159, 217, 0.35);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 380px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.char-count {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--navy);
}

.consent input[aria-invalid="true"] {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

.error-text {
  min-height: 1.4em;
  margin-top: 12px;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 600;
}

.panel-footer {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.panel-footer .button-primary {
  flex: 1;
}

.panel-footer .button-secondary {
  padding-inline: 18px 22px;
}

@media (max-width: 400px) {
  .back-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .panel-footer .button-secondary {
    padding-inline: 15px;
  }
}

.status-screen {
  display: none;
  padding: 16px 0 4px;
  text-align: center;
}

.status-screen.is-visible {
  display: block;
}

.status-screen h3 {
  font-size: 1.375rem;
}

.status-screen p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.loader {
  width: 44px;
  height: 44px;
  margin: 8px auto 20px;
  border: 4px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.status-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-link);
}

.confirmation-summary {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink-body);
  font-size: 0.9375rem;
  text-align: left;
  overflow-wrap: anywhere;
}

.status-link {
  display: inline-block;
  margin-top: 16px;
  padding-block: 10px;
  font-weight: 700;
}

.panel-notes {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  text-align: center;
}

.note-row svg {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--muted);
}

/* ----------------------------------------------------------------- support */

.support {
  display: grid;
  gap: 16px;
}

.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
}

.section .support-title {
  margin-bottom: 16px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
  font: 500 0.9375rem/1.2 var(--font);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.chip-static {
  border-color: transparent;
  background: var(--surface);
  cursor: default;
}

@media (hover: hover) {
  button.chip:hover {
    border-color: var(--blue);
    background: var(--blue-tint);
  }
}

.call-line {
  margin-top: 16px;
  color: var(--ink-soft);
}

.call-line a {
  display: inline-block;
  padding-block: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list svg {
  margin-top: 3px;
  color: var(--blue);
}

/* A safety notice is a warning, not brand colour: the one place amber appears. */
.safety {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-tile);
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-weight: 500;
}

.safety svg {
  margin-top: 2px;
}

@media (min-width: 560px) {
  .check-list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .support-card {
    padding: 32px;
  }
  .safety {
    grid-column: 1 / -1;
  }
}

/* -------------------------------------------------------------------- prep */

.prep {
  display: grid;
  gap: 28px;
}

.example {
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
}

.example figcaption {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
}

.example blockquote {
  color: var(--ink);
  font: 500 1.125rem/1.45 var(--font);
  letter-spacing: -0.01em;
}

.prep-list h3 {
  margin-bottom: 14px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

@media (min-width: 860px) {
  .prep {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 56px;
  }
  .example {
    padding: 32px;
  }
  .example blockquote {
    font-size: 1.25rem;
  }
}

/* ---------------------------------------------------------------- services */

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--white);
}

.service-card dt {
  color: var(--ink);
  font: 600 1rem/1.3 var(--font);
}

.service-card dd {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

@media (min-width: 620px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ----------------------------------------------------------------- signals */

.signals {
  display: grid;
  border-top: 1px solid var(--line);
}

.signals li {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-body);
}

.signals svg {
  margin-top: 3px;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    border-top: 0;
  }
  .signals li:nth-child(-n + 2) {
    border-top: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------- reassurance */

.reassurance {
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  border-radius: var(--r-card);
  background: var(--surface);
}

.reassurance-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-link);
}

.reassurance-icon svg {
  width: 22px;
  height: 22px;
}

.reassurance p {
  margin-top: 8px;
  max-width: 46em;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .reassurance {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 40px 48px;
  }
}

/* ----------------------------------------------------------------- related */

.related-grid {
  display: grid;
  gap: 12px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--white);
  color: var(--ink);
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  transition: border-color 0.15s;
}

.related-card span {
  flex: 1;
}

.related-card svg {
  color: var(--muted);
}

.related-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--r-input);
  object-fit: cover;
}

@media (hover: hover) {
  .related-card:hover {
    border-color: var(--line-strong);
  }
}

.related-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-block: 10px;
  font-weight: 700;
  text-decoration: none;
}

.related-more:hover {
  text-decoration: underline;
}

@media (min-width: 620px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1040px) {
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  padding-block: 48px 32px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--ink-body);
}

.footer-cols {
  display: grid;
  gap: 32px;
}

.footer-blurb {
  margin-top: 8px;
  max-width: 30em;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.site-footer a.footer-call {
  color: var(--blue-link);
}

.footer-title {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
}

.footer-links a {
  padding-block: 8px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-call:hover {
  text-decoration: underline;
}

.footer-links--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 860px) {
  .site-footer {
    padding-block: 64px 40px;
  }
  .footer-cols {
    grid-template-columns: 1.2fr 1.3fr 1fr;
    gap: 56px;
  }
}

/* -------------------------------------------------------------- mobile cta */

.mobile-cta {
  display: none;
}

@media (max-width: 1023px) {
  body.show-mobile-cta .mobile-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  body.show-mobile-cta {
    padding-bottom: 70px;
  }
  .mobile-cta .button-primary {
    flex: 1;
  }
  .tel-round {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--blue-link);
  }
}

/* ------------------------------------------------------------- legal + 404 */

.legal-title,
.notfound-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.section--page .actions {
  margin-top: 28px;
}

.legal-updated {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.legal-intro {
  margin-top: 16px;
  font-size: 1.0625rem;
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.375rem;
}

.legal h2 + p,
.legal p + p,
.legal ul + p {
  margin-top: 12px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.legal-list li {
  display: flex;
  gap: 10px;
}

.legal-list svg {
  margin-top: 4px;
  color: var(--muted);
}

.legal-more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) {
  .legal-more a:hover {
    background: var(--line);
  }
}

/* ------------------------------------------------------------- preferences */

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #2f3033;
    --muted: #595c61;
    --placeholder: #595c61;
    --line: #8d9094;
    --line-strong: #595c61;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .loader {
    animation-duration: 1.6s !important;
  }
  .cat-card:hover .cat-photo {
    transform: none;
  }
}
