@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/nunito-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/nunito-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/nunito-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/nunito-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/nunito-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/nunito-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/nunito-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/nunito-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/nunito-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #0e2440;
  --fg-light-base-heading: #0e2440;
  --fg-light-base-muted: #475e7b;
  --fg-light-base-link: #1556a8;
  --fg-light-base-inverse: #0e2440;
  --bg-light-card: #edf4fc;
  --fg-light-card-body: #0e2440;
  --fg-light-card-heading: #0e2440;
  --fg-light-card-muted: #475e7b;
  --fg-light-card-link: #1556a8;
  --fg-light-card-inverse: #0e2440;
  --bg-light-elevated: #e2ecf8;
  --fg-light-elevated-body: #0e2440;
  --fg-light-elevated-heading: #0e2440;
  --fg-light-elevated-muted: #475e7b;
  --fg-light-elevated-link: #0c3d7c;
  --fg-light-elevated-inverse: #0e2440;
  --brand-light-accent: #1556a8;
  --brand-light-accent-hover: #0c3d7c;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #1556a8;
  --border-light-default: #5f7c9e;
  --border-light-subtle: #cbdaeb;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Clinic answer desk: white pages, clinical blue tiles, Nunito headings over Atkinson Hyperlegible text, a pale blue question rail. */

:root {
  --head: 'Nunito', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --text: 'Atkinson Hyperlegible', Verdana, 'Segoe UI', sans-serif;
  --blue: var(--brand-light-accent);
  --blue-deep: var(--brand-light-accent-hover);
  --on-blue: var(--brand-light-on-accent);
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --tile: var(--bg-light-card);
  --rail-bg: var(--bg-light-elevated);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --rail: 17rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.9rem);
}

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

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

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

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

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
}

.brand .site-logo {
  display: block;
  width: 12.5rem;
  max-width: 100%;
  height: auto;
}

.rail-links {
  display: none;
}

.rail-caption {
  margin: 0 0 0.5rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.9375rem;
}

.site-menu {
  position: relative;
}

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.site-menu > summary:hover {
  background: var(--blue-deep);
}

.menu-icon {
  position: relative;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-icon::before {
  top: -5px;
}

.menu-icon::after {
  top: 5px;
}

.site-menu[open] > summary .menu-icon {
  background: transparent;
}

.site-menu[open] > summary .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-menu[open] > summary .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(19rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--tile);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px -12px rgba(14, 36, 64, 0.35);
}

.site-menu ul ul {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
}

.site-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
}

.site-menu a:hover {
  background: var(--bg-light-base);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

.site-nav a::before {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: 2px solid var(--blue);
}

.site-nav a:hover {
  background: var(--bg-light-base);
}

.site-nav a:hover::before {
  background: var(--blue);
}

@media (min-width: 64rem) {
  body {
    grid-template-columns: var(--rail) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
  }

  .site-header {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    height: 100vh;
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line-soft);
    padding: 1.75rem 1.1rem;
  }

  .rail-head {
    display: block;
    padding: 0 0.4rem;
  }

  .brand .site-logo {
    width: 14rem;
  }

  .rail-toggle {
    display: none;
  }

  .rail-links {
    display: block;
    margin-top: 2rem;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--line-soft);
  }

  .rail-caption {
    padding: 0 0.75rem;
  }

  .desk-page,
  .site-footer {
    grid-column: 2;
  }
}

/* ---------- Page frame ---------- */

.desk-page {
  width: 100%;
  max-width: 72rem;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 1.25rem 0 0;
  font-size: 0.9375rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--fg-muted);
}

main {
  display: block;
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
}

/* ---------- Prose ---------- */

.desk-prose {
  max-width: var(--measure);
}

.desk-prose > :first-child {
  margin-top: 0;
}

.desk-prose p,
.desk-prose ul,
.desk-prose ol {
  margin: 0 0 1.1rem;
}

.desk-prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
}

.desk-prose h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.desk-prose ul {
  padding-left: 1.25rem;
}

.desk-prose li {
  margin-bottom: 0.4rem;
}

.desk-prose li::marker {
  color: var(--blue);
}

.desk-prose a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.desk-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--tile);
}

.desk-prose figure {
  margin: 1.75rem 0;
}

.desk-prose figure img,
.photo-hero img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
}

.photo-hero {
  margin: 0 0 1.75rem;
}

.desk-prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.desk-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
}

.desk-prose th,
.desk-prose td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

section[data-section][style] {
  margin: 2rem 0;
  padding: clamp(1.25rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}

section[data-section][style] > .bg-surface-card {
  max-width: 34rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: var(--radius-md);
}

section[data-section][style] > .bg-surface-card h2 {
  margin-top: 0;
}

/* ---------- Home ---------- */

.ask-cover {
  max-width: 50rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.ask-line {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  border: 2px solid var(--blue);
  border-radius: 999px;
}

.ask-glass {
  flex: none;
  width: clamp(1.6rem, 3vw, 2.2rem);
  height: auto;
}

.ask-title h1 {
  font-size: clamp(1.45rem, 1rem + 2vw, 2.4rem);
  line-height: 1.15;
}

.ask-notes {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0 clamp(1.1rem, 3vw, 2rem);
}

.display-line {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
}

.tile-board {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.tile-board-title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
}

.tile-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}

.tile:hover {
  border-color: var(--blue);
}

.tile:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.tile-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
}

.tile-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.tile-link:focus-visible {
  outline: none;
}

.tile-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.tile-note {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.5;
}

.tile-place {
  border-style: dashed;
  border-color: var(--line);
}

.home-prose {
  padding-top: 0.5rem;
}

/* ---------- Topic ladder ---------- */

.topic-head {
  margin-bottom: 1.5rem;
}

.ladder {
  max-width: 46rem;
  margin: 0 0 2.5rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
}

.ladder-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.ladder-steps ul {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rung;
  display: grid;
  gap: 0.6rem;
}

.ladder-steps li {
  counter-increment: rung;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 0;
}

.ladder-steps li::before {
  content: counter(rung);
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--on-blue);
  font-family: var(--head);
  font-weight: 800;
  font-size: 0.9375rem;
}

.ladder-steps a {
  flex: 1;
  display: block;
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--bg-light-base);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.3;
}

.ladder-steps a:hover {
  border-color: var(--blue);
}

@media (min-width: 40rem) {
  .ladder-steps li:nth-child(2) { margin-left: 1.5rem; }
  .ladder-steps li:nth-child(3) { margin-left: 3rem; }
  .ladder-steps li:nth-child(4) { margin-left: 4.5rem; }
  .ladder-steps li:nth-child(n+5) { margin-left: 6rem; }
}

/* ---------- Question detail ---------- */

.answer-page {
  display: grid;
  gap: 2rem;
}

.answer-title {
  margin-bottom: 1.25rem;
}

.answer-rail {
  align-self: start;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.answer-rail-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.answer-rail-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.answer-rail-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.25;
}

.answer-rail-list a::before {
  content: "?";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 7px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 0.8125rem;
  font-weight: 800;
}

.answer-rail-list a:hover {
  text-decoration: underline;
}

.answer-rail-note {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9375rem;
}

@media (min-width: 56rem) {
  .answer-page {
    grid-template-columns: minmax(0, 1fr) 16rem;
    gap: 2.5rem;
  }

  .answer-rail {
    position: sticky;
    top: 1.5rem;
  }
}

/* ---------- Geo cluster ---------- */

.place-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.place-pin {
  flex: none;
}

.place-items ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.place-items ul:empty {
  display: none;
}

.place-items a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
}

.place-board {
  margin-top: 2.5rem;
}

.place-board-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.place-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.85rem;
}

.place-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}

.place-card a {
  font-family: var(--head);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
}

.place-card a:hover {
  text-decoration: underline;
}

.place-tag {
  flex: none;
  width: 1.1rem;
  height: 1.4rem;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 30 C6 22 2 17 2 11 C2 5.5 6.5 1 12 1 C17.5 1 22 5.5 22 11 C22 17 18 22 12 30 Z M12 15 A4 4 0 1 0 12 7 A4 4 0 1 0 12 15 Z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 30 C6 22 2 17 2 11 C2 5.5 6.5 1 12 1 C17.5 1 22 5.5 22 11 C22 17 18 22 12 30 Z M12 15 A4 4 0 1 0 12 7 A4 4 0 1 0 12 15 Z' fill-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- About ---------- */

.reviewer-page {
  max-width: var(--measure);
}

.reviewer-title {
  margin-bottom: 1.5rem;
}

.credential-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--blue);
}

.credential-icon {
  flex: none;
}

.credential-name {
  margin: 0 0 0.3rem;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.25;
}

.credential-line {
  margin: 0;
  font-size: 0.9688rem;
}

/* ---------- Contact ---------- */

.ask-page-title {
  margin-bottom: 1.5rem;
}

.ask-split {
  display: grid;
  gap: 1.5rem;
}

.ask-form {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
}

.ask-field {
  display: grid;
  gap: 0.35rem;
}

.ask-label {
  font-family: var(--head);
  font-weight: 700;
}

.ask-input {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-light-base);
  color: inherit;
  font: inherit;
}

.ask-input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
}

.ask-button {
  justify-self: start;
  min-height: 48px;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue);
  font-family: var(--head);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.ask-button:hover {
  background: var(--blue-deep);
}

.ask-button:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
}

.ask-notes-card {
  align-self: start;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
}

.ask-notes-prose h2 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

@media (min-width: 52rem) {
  .ask-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
}

/* ---------- Thank you ---------- */

.done-page {
  display: grid;
  justify-items: center;
}

.done-card {
  width: 100%;
  max-width: 38rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  text-align: center;
}

.done-icon {
  margin: 0 auto 1rem;
  display: block;
}

.done-title {
  margin-bottom: 1.25rem;
}

.done-prose {
  margin: 0 auto;
  text-align: left;
}

.done-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.done-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-light-base);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
}

.done-links a:hover {
  border-color: var(--blue);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-wrap {
  max-width: 72rem;
  padding: 1.75rem var(--gutter) 2.25rem;
  display: grid;
  gap: 0.4rem;
}

.footer-name {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
}

.footer-line {
  margin: 0;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0.5rem 0 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
