/* ==========================================================================
   in.md — LinkedIn to Markdown
   One stylesheet, no framework, no external requests.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  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;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  --brand: #2e6ddc;
  --brand-strong: #2158bd;
  --brand-tint: #eef3fd;

  --bg: #ffffff;
  --bg-subtle: #f7f7f9;
  --surface: #ffffff;
  --surface-2: #f6f6f7;
  --fg: #0b0b0c;
  --fg-muted: #62636a;
  --fg-faint: #8b8c93;
  --border: #e6e6e9;
  --border-strong: #d6d6db;
  --shadow-sm: 0 1px 2px rgb(12 13 15 / 0.05);
  --shadow-md: 0 4px 14px -4px rgb(12 13 15 / 0.09), 0 1px 3px rgb(12 13 15 / 0.05);
  --shadow-lg: 0 24px 60px -20px rgb(12 13 15 / 0.22), 0 8px 24px -12px rgb(12 13 15 / 0.12);

  --ok: #1a7f52;
  --warn: #b25a12;

  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1120px;

  --font: "Geist", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6f9dfa;
    --brand-strong: #8fb3fc;
    --brand-tint: #131b2c;

    --bg: #08080a;
    --bg-subtle: #0c0c0f;
    --surface: #111114;
    --surface-2: #17171b;
    --fg: #f4f4f5;
    --fg-muted: #a1a1ab;
    --fg-faint: #74747d;
    --border: #232329;
    --border-strong: #32323a;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 14px -4px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 24px 60px -20px rgb(0 0 0 / 0.8), 0 8px 24px -12px rgb(0 0 0 / 0.6);

    --ok: #45c08a;
    --warn: #e2954a;
  }
}

/* --- Reset ---------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

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

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section--tint {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

/* --- Type ----------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-weight: 640;
  letter-spacing: -0.028em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: -0.038em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.14rem;
  line-height: 1.35;
}

p {
  text-wrap: pretty;
}

.lede {
  font-size: clamp(1.075rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 40rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.muted {
  color: var(--fg-muted);
}

.small {
  font-size: 0.875rem;
}

.prose {
  max-width: 44rem;
}

/* `prose` sitting directly on a `.wrap` would shrink the centred container to the
   measure and pull the whole column into the middle of the page, out of line with
   the left-aligned page header above it. Keep the container, constrain the lines. */
.wrap.prose {
  max-width: var(--maxw);
}

.wrap.prose > * {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 0.9rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose ul,
.prose ol {
  color: var(--fg-muted);
  margin-bottom: 1.1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

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

.prose strong {
  color: var(--fg);
  font-weight: 600;
}

.prose a {
  color: var(--brand);
  text-underline-offset: 3px;
}

/* --- Brand mark ----------------------------------------------------------- */

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65em;
  height: 1.65em;
  border-radius: 0.42em;
  background: var(--brand);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  flex: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  font-size: 1.06rem;
  text-decoration: none;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

@media (prefers-color-scheme: dark) {
  .btn--primary {
    color: #08080a;
  }
}

.btn--ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--fg);
}

/* Beats `.site-nav a`, which would otherwise mute the CTA's own colour. */
.site-nav a.btn--primary {
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .site-nav a.btn--primary {
    color: #08080a;
  }
}

.site-header .btn {
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .site-nav a:not(.js-keep) {
    display: none;
  }
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 20% auto -10%;
  height: 42rem;
  background: radial-gradient(
    50% 50% at 30% 40%,
    color-mix(in srgb, var(--brand) 18%, transparent),
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 0.83rem;
  color: var(--fg-muted);
  margin-bottom: 1.4rem;
}

.pill b {
  color: var(--fg);
  font-weight: 600;
}

.pill__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ok);
  margin-left: 0.25rem;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero .lede {
  margin-top: 1.35rem;
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1.1rem;
  font-size: 0.875rem;
  color: var(--fg-faint);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust svg {
  color: var(--ok);
}

/* --- Popup replica -------------------------------------------------------- */

.popup {
  width: 100%;
  max-width: 27rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.875rem;
}

.popup__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

.popup__bar .mark {
  font-size: 0.72rem;
}

.popup__bar b {
  font-size: 0.86rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.popup__bar .time {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--fg-faint);
}

.popup__body {
  padding: 0.85rem 0.9rem;
}

.popup__name {
  font-size: 1rem;
  font-weight: 640;
  letter-spacing: -0.02em;
}

.popup__meta {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--fg-muted);
}

.manifest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.4rem;
  margin-top: 0.85rem;
  list-style: none;
  padding: 0;
}

.manifest li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.11rem 0;
  font-size: 0.76rem;
  color: var(--fg-muted);
}

.manifest b {
  color: var(--fg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.manifest .dash {
  color: var(--fg-faint);
  opacity: 0.6;
}

.popup__disclosure {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--fg-muted);
}

.popup__disclosure .size {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.popup__actions {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem;
}

.popup__actions .row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.fauxbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.1rem;
  padding-inline: 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 560;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
}

.fauxbtn--primary {
  flex: 1;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .fauxbtn--primary {
    color: #08080a;
  }
}

.fauxbtn--icon {
  width: 2.1rem;
  padding: 0;
}

.fauxbtn--split {
  flex: 1;
}

.popup__send {
  font-size: 0.76rem;
  color: var(--fg-muted);
  flex: none;
}

/* --- Code / markdown sample ---------------------------------------------- */

.code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.code__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-family: var(--mono);
}

.code__dots {
  display: flex;
  gap: 0.3rem;
  margin-right: 0.35rem;
}

.code__dots i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--border-strong);
}

.code pre {
  margin: 0;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 1.75;
  tab-size: 2;
}

.code--scroll pre {
  max-height: 30rem;
  overflow-y: auto;
}

.tok-h {
  color: var(--brand);
  font-weight: 600;
}

.tok-q {
  color: var(--fg-muted);
  font-style: italic;
}

.tok-b {
  color: var(--fg);
}

.tok-p {
  color: var(--fg-muted);
}

.tok-l {
  color: var(--ok);
}

/* --- Before / after ------------------------------------------------------- */

.compare {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

@media (min-width: 900px) {
  .compare {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.compare__arrow {
  display: none;
  align-self: center;
  color: var(--fg-faint);
}

@media (min-width: 900px) {
  .compare__arrow {
    display: block;
  }
}

.panel {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.panel--bad {
  border-color: color-mix(in srgb, #c2410c 24%, var(--border));
}

.panel--good {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
  box-shadow: var(--shadow-md);
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 560;
  background: var(--surface-2);
}

.panel__head .tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-faint);
}

.panel pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--fg-muted);
  flex: 1;
}

.panel--bad pre {
  color: var(--fg-faint);
}

/* --- Cards / grids -------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--fg-muted);
  font-size: 0.925rem;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 1rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

@media (prefers-color-scheme: dark) {
  .steps li::before {
    color: #08080a;
  }
}

.steps h3 {
  margin-bottom: 0.35rem;
}

.steps p {
  color: var(--fg-muted);
  font-size: 0.925rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--fg-muted);
  box-shadow: var(--shadow-sm);
}

.chip svg {
  color: var(--ok);
}

/* --- Table ---------------------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  min-width: 40rem;
}

thead th {
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

thead th:first-child {
  width: 34%;
}

tbody td,
tbody th {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--fg-muted);
}

tbody th {
  text-align: left;
  font-weight: 560;
  color: var(--fg);
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

td.yes {
  color: var(--ok);
  font-weight: 560;
}

td .col-brand {
  color: var(--brand);
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-weight: 560;
  letter-spacing: -0.012em;
  list-style: none;
}

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

summary::after {
  content: "";
  margin-left: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--fg-faint);
  border-bottom: 2px solid var(--fg-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.18s ease;
  flex: none;
}

details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

details > div {
  padding: 0 1.25rem 1.2rem;
  color: var(--fg-muted);
  max-width: 46rem;
}

details > div p + p {
  margin-top: 0.8rem;
}

details a {
  color: var(--brand);
}

/* --- CTA band ------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      70% 120% at 50% 0%,
      color-mix(in srgb, var(--brand) 13%, transparent),
      transparent 70%
    ),
    var(--bg-subtle);
}

.cta h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.cta .lede {
  margin: 1.1rem auto 0;
}

.cta .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 2.5rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--fg-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--fg-faint);
}

.site-footer__brand p {
  margin-top: 0.75rem;
  max-width: 22rem;
  font-size: 0.875rem;
}

/* --- Page header (sub-pages) --------------------------------------------- */

.page-hero {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.crumbs {
  font-size: 0.85rem;
  color: var(--fg-faint);
  margin-bottom: 1rem;
}

.crumbs a {
  color: var(--fg-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--fg);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 20ch;
}

.page-hero .lede {
  margin-top: 1.1rem;
}

.page-hero .btn-row {
  margin-top: 1.75rem;
}

/* --- Utilities ------------------------------------------------------------ */

.stack > * + * {
  margin-top: 1.1rem;
}

.center {
  text-align: center;
}

.callout {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg-muted);
  font-size: 0.925rem;
}

.callout svg {
  color: var(--brand);
  flex: none;
  margin-top: 0.2rem;
}

.callout strong {
  color: var(--fg);
}

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

.related {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.related a {
  display: block;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.related b {
  display: block;
  font-weight: 560;
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}

.related span {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
