/* ═══════════════════════════════════════════════════════════════════════════
   Viaxo : rubrique Guides (/guides/ et /guides/<slug>/)
   Chargé APRÈS /css/style.css. Réutilise : .nav, .menu-*, .features__badge,
   .features__title, .fc__icon, .faq__*, .btn--gradient, .beta-trust, .footer.
   Préfixe g- pour tout ce qui est propre aux guides.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --g-blue: #2b30e0;
  --g-navy: #101a91;
  --g-ink: #0a0a19;
  --g-muted: rgba(10, 10, 25, 0.62);   /* même gris que le site (≥ 5:1 sur blanc) */
  --g-line: #e8e8f0;
  --g-card-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Le header est fixe : on décale le contenu */
.g-main { padding-top: var(--nav-height); }

/* Ancres (sommaire, FAQ, sources) : ne pas passer sous le header fixe */
.g-main [id] { scroll-margin-top: calc(var(--nav-height) + 24px); }

/* ─── Conteneur commun hero + layout ─────────────────────────────────────── */
.g-wrap {                         /* = .container du site : mêmes marges que le header */
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Fil d'Ariane ───────────────────────────────────────────────────────── */
.g-breadcrumb { margin-bottom: 28px; }
.g-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  font-size: 14px;
  color: var(--g-muted);
}
.g-breadcrumb li { display: inline-flex; align-items: center; }
.g-breadcrumb li + li::before {
  content: '›';
  margin: 0 10px;
  color: var(--g-muted);
  font-size: 16px;
  line-height: 1;
}
.g-breadcrumb a {
  color: var(--g-blue);
  font-weight: 600;
  padding: 8px 0;                 /* cible tactile confortable */
  text-decoration: underline;
  text-decoration-color: rgba(43, 48, 224, 0.3);
  text-underline-offset: 3px;
}
.g-breadcrumb a:hover { text-decoration-color: currentColor; }
.g-breadcrumb [aria-current="page"] { color: var(--g-ink); font-weight: 500; }

/* ─── Hero de guide ──────────────────────────────────────────────────────── */
.g-hero { padding: 48px 0 40px; }

.g-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--g-blue);
  margin-bottom: 24px;
  text-wrap: pretty;
}

.g-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--g-ink);
  margin-bottom: 28px;
}

.g-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--g-muted);
}
.g-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.g-meta__item svg { flex-shrink: 0; }
.g-meta strong { color: var(--g-ink); font-weight: 600; }
.g-meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(43, 48, 224, 0.4); text-underline-offset: 3px; }
.g-meta a:hover { text-decoration-color: var(--g-blue); }

/* « Ce qui a changé » : discret, sous la ligne de date */
.g-changelog { margin-top: 14px; font-size: 14px; color: var(--g-muted); }
.g-changelog summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-weight: 600;
  color: var(--g-blue);
  cursor: pointer;
  list-style: none;
}
.g-changelog summary::-webkit-details-marker { display: none; }
.g-changelog summary::after { content: '+'; font-weight: 700; color: var(--g-blue); }
.g-changelog[open] summary::after { content: '−'; }
.g-changelog summary:focus-visible { outline: 3px solid var(--g-blue); outline-offset: 3px; border-radius: 4px; }
.g-changelog ul { list-style: none; margin-top: 6px; padding-left: 14px; border-left: 2px solid var(--g-line); }
.g-changelog li + li { margin-top: 4px; }

/* ─── Layout article : sommaire puis contenu, une seule colonne pleine largeur ─ */
.g-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 96px;
}

.g-content { min-width: 0; }

/* ─── Sommaire ───────────────────────────────────────────────────────────── */
.g-toc {
  background: #fff;
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: var(--g-card-shadow);
}
.g-toc__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--g-ink);
  margin-bottom: 10px;
}
.g-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
}
.g-toc li { counter-increment: toc; break-inside: avoid; }
.g-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--g-ink);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.15s;
}
.g-toc li:first-child a { border-top: none; }
.g-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex-shrink: 0;
  min-width: 1.6em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--g-blue);
}
.g-toc a:hover { color: var(--g-blue); }
@media (min-width: 900px) {        /* sommaire sur 2 colonnes, sans filets (alignement des colonnes) */
  .g-toc ol { display: block; columns: 2; column-gap: 48px; }
  .g-toc a { border-top: none; padding: 7px 0; }
}

/* ─── Encadré « En bref » ────────────────────────────────────────────────── */
.g-bref {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px 32px 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07), 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 48px;
  overflow: hidden;
}
.g-bref::before {                 /* liseré dégradé Viaxo */
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #fcb942, #f94389);
}
.g-bref__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-blue);           /* texte plein : contraste AA (le dégradé reste sur l'icône) */
  margin-bottom: 16px;
}
.g-bref ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-bref li {
  position: relative;
  padding-left: 30px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--g-ink);
}
.g-bref li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5L5 9l4.5-5.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--g-blue);
}

/* Lien vers le guide pilier (checklist), sous « En bref » */
.g-pillar { margin: -28px 0 40px; font-size: 15.5px; }
.g-pillar a { font-weight: 700; color: var(--g-blue); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }

/* Tableaux « Chiffres clés » et « Délais » (blocs CHIFFRES_CLES / DELAIS), juste après « En bref » */
.g-keytable { margin-bottom: 40px; }
.g-keytable .g-table caption { font-family: var(--font-display); font-size: 18px; }

/* ─── Corps de l'article (prose) ─────────────────────────────────────────── */
.g-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--g-ink);
}
.g-prose > * + * { margin-top: 1.1em; }

.g-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--g-blue);
  margin-top: 2.4em;
  margin-bottom: 0.2em;
  text-wrap: balance;
}
.g-prose > h2:first-child { margin-top: 0; }

.g-prose h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--g-ink);
  margin-top: 1.8em;
  margin-bottom: -0.3em;
}

.g-prose a {
  color: var(--g-blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.g-prose a:hover { text-decoration-thickness: 2px; }

.g-prose strong { font-weight: 700; }

.g-prose ul, .g-prose ol { padding-left: 1.4em; }
.g-prose li + li { margin-top: 0.45em; }
.g-prose ul li::marker { color: #f94389; }
.g-prose ol li::marker { color: var(--g-blue); font-weight: 700; }

/* Étapes numérotées (ol.g-steps) : pastilles bleues */
.g-prose ol.g-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
}
.g-prose ol.g-steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  min-height: 32px;
}
.g-prose ol.g-steps > li + li { margin-top: 0.9em; }
.g-prose ol.g-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--g-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Tableaux responsives ───────────────────────────────────────────────── */
.g-table {
  margin-top: 1.5em;
  margin-bottom: 0.4em;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--g-card-shadow);
  overflow-x: auto;               /* scroll horizontal dans le conteneur, jamais sur la page */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}
.g-table:focus-visible { outline: 3px solid var(--g-blue); outline-offset: 3px; }
.g-table table {
  width: 100%;
  min-width: 520px;               /* sous cette largeur, on scrolle */
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.g-table caption {
  caption-side: top;
  text-align: left;
  position: sticky;               /* la légende reste visible quand on fait défiler le tableau */
  left: 0;
  width: max-content;
  max-width: min(100%, calc(100vw - 40px));
  padding: 18px 20px 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--g-ink);
}
.g-table th, .g-table td {
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--g-line);
}
.g-table thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--g-blue);
  background: #f3f3fb;
  white-space: nowrap;
}
.g-table tbody th { font-weight: 600; color: var(--g-ink); min-width: 9ch; }
.g-table thead th.wrap { white-space: normal; }   /* en-tête long : il passe à la ligne */
.g-table tbody tr:last-child th,
.g-table tbody tr:last-child td { border-bottom: none; }
.g-table td.num, .g-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.g-table-hint {
  display: none;
  font-size: 13px;
  color: var(--g-muted);
  margin-top: 0.5em;
}
@media (max-width: 640px) { .g-table-hint { display: block; } }

/* ─── Encadrés (conseil / attention) ─────────────────────────────────────── */
.g-callout {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(43, 48, 224, 0.06);
  border: 1px solid rgba(43, 48, 224, 0.16);
  font-size: 16px;
  line-height: 1.65;
}
.g-prose .g-callout { margin-top: 1.5em; }
.g-callout__icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.g-callout__body > * + * { margin-top: 0.4em; }
.g-callout__title { font-weight: 700; color: var(--g-blue); }

.g-callout--warn {
  background: rgba(249, 67, 137, 0.07);
  border-color: rgba(249, 67, 137, 0.25);
}
.g-callout--warn .g-callout__title { color: #a3124d; }   /* 7:1 sur fond rosé */

/* Renvoi vers un autre guide (ligne « → … ») */
.g-prose .g-more { margin-top: 0.5em; font-size: 15.5px; color: var(--g-muted); }

/* Liste à cocher (« - [ ] ») : cases décoratives, la liste reste une liste */
.g-prose ul.g-checklist { list-style: none; padding-left: 0; }
.g-prose ul.g-checklist li { position: relative; padding-left: 34px; }
.g-prose ul.g-checklist li + li { margin-top: 0.5em; }
.g-prose ul.g-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 20px;
  height: 20px;
  border: 2px solid var(--g-blue);
  border-radius: 6px;
}

/* ─── FAQ (reprend .faq__list / .faq__item de l'accueil) ─────────────────── */
.g-faq { margin-top: 72px; }
.g-section-title {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--g-blue);
}
.g-faq .faq__list { margin-top: 24px; }
.g-faq .faq__a p + p { margin-top: 0.6em; }
.g-faq .faq__a a { color: var(--g-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Bloc « Comment Viaxo t'aide » + CTA bêta ──────────────────────────── */
.g-cta {
  position: relative;
  margin-top: 72px;
  text-align: center;
  background: #fff;
  border-radius: 32px;
  padding: 44px 44px 40px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.g-cta .features__badge { margin-bottom: 16px; }
@media (min-width: 768px) { .g-cta__title { white-space: nowrap; } }
.g-cta__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--g-blue);
  margin-bottom: 16px;
  text-wrap: balance;
}
.g-cta__text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--g-muted);
  max-width: 62ch;
  margin: 0 auto 28px;
}
.g-cta .beta-trust { justify-content: center; flex-wrap: wrap; max-width: none; gap: 12px 20px; }
.g-cta .beta-trust__item { flex: 0 0 auto; }

/* ─── « À propos de ce guide » (avant les sources) ───────────────────────── */
.g-about {
  margin-top: 72px;
  padding: 26px 28px;
  border-radius: 20px;
  background: #f3f3fb;
  font-size: 15px;
  line-height: 1.7;
  color: var(--g-muted);
}
.g-about .g-section-title { font-size: 20px; margin-bottom: 10px; }
.g-about p + p { margin-top: 0.5em; }
.g-about a { color: var(--g-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.g-about + .g-sources { margin-top: 40px; }

/* ─── Sources + avertissement ────────────────────────────────────────────── */
.g-sources {
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--g-line);
}
.g-sources .g-section-title { font-size: 22px; margin-bottom: 16px; }
.g-sources ol {
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--g-muted);
}
.g-sources li::marker { color: var(--g-blue); font-weight: 700; }
.g-sources a {
  color: var(--g-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.g-sources__date { white-space: nowrap; }
.g-sources__note { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--g-muted); }

.g-disclaimer {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f3f3fb;
  font-size: 14px;
  line-height: 1.6;
  color: var(--g-muted);
}
.g-disclaimer svg { flex-shrink: 0; margin-top: 2px; }
.g-disclaimer strong { color: var(--g-ink); }

/* ─── Cartes de guides (hub + « Guides liés ») ───────────────────────────── */
.g-related {
  padding: 96px 0 120px;
  background: #fdfeff;
  text-align: center;
}
.g-related .features__title { margin-top: 16px; }

.g-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}
.g-cards--hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.g-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px 26px;
  box-shadow: var(--g-card-shadow);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.g-card:hover,
.g-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(43, 48, 224, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05);
}
.g-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.g-card__top .fc__icon { margin-bottom: 0; }
.g-card__cat {                    /* pastille teintée, libellé en dégradé Viaxo (teintes foncées : AA) */
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  color: #a45c00;
  background: linear-gradient(90deg, rgba(252, 185, 66, 0.16), rgba(249, 67, 137, 0.14));
  box-shadow: inset 0 0 0 1px rgba(249, 67, 137, 0.2);
}
.g-card__cat span {
  background: linear-gradient(90deg, #a45c00, #d01a63);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.g-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--g-ink);
  margin: 18px 0 10px;
}
.g-card__link { color: inherit; }
.g-card__link::after {           /* toute la carte est cliquable, un seul lien annoncé */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.g-card__link:focus-visible { outline: none; }
.g-card__link:focus-visible::after { outline: 3px solid var(--g-blue); outline-offset: 3px; }
.g-card__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--g-muted);
  flex: 1;
}
.g-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}
.g-card__time { color: var(--g-muted); display: inline-flex; align-items: center; gap: 6px; }
.g-card__more { color: var(--g-blue); font-weight: 700; white-space: nowrap; }
.g-card__more span { display: inline-block; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.g-card:hover .g-card__more span { transform: translateX(4px); }

/* ─── Hub /guides/ ───────────────────────────────────────────────────────── */
.g-hub-hero {
  padding: 72px 0 8px;
  text-align: center;
}
.g-hub-hero .g-breadcrumb ol { justify-content: center; }
.g-hub-hero .g-title { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .g-hub-hero .g-title { white-space: nowrap; } }
.g-hub-hero .g-lead { margin-left: auto; margin-right: auto; color: var(--g-muted); max-width: 60ch; }
.g-hub-list { padding: 0 0 24px; }
.g-hub-list .g-cards { margin-top: 40px; }
.g-hub-step { margin-top: 64px; }
.g-hub-step__title {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--g-blue);
}
.g-hub-step .g-cards { margin-top: 24px; }
.g-hub-note {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--g-muted);
}
/* Bloc bêta du hub : composant .beta-section de l'accueil (style.css), sans formulaire */
.g-hub-beta { padding-top: 96px; }
.g-hub-beta .beta-section__title { max-width: 520px; }

/* ─── Page À propos (/a-propos/) ─────────────────────────────────────────── */
.g-page { padding-bottom: 96px; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .g-wrap { padding: 0 20px; }
  .g-hero { padding: 28px 0 28px; }
  .g-breadcrumb { margin-bottom: 20px; }
  .g-breadcrumb ol { font-size: 13px; }
  .g-breadcrumb li + li::before { margin: 0 7px; }
  .g-title { letter-spacing: -0.02em; margin-bottom: 18px; }
  .g-layout { gap: 24px; padding-bottom: 72px; }
  .g-toc { border-radius: 18px; padding: 18px 18px 14px; }
  .g-bref { padding: 26px 20px 22px; border-radius: 20px; margin-bottom: 36px; }
  .g-bref li { font-size: 16px; }
  .g-prose { font-size: 16.5px; line-height: 1.7; }
  .g-callout { padding: 16px 16px; gap: 12px; font-size: 15.5px; }
  .g-table { border-radius: 14px; margin-left: -4px; margin-right: -4px; }
  .g-table th, .g-table td { padding: 12px 14px; }
  .g-table caption { padding: 16px 14px 4px; }
  .g-faq, .g-cta, .g-sources { margin-top: 56px; }
  .g-cta { padding: 32px 22px 28px; border-radius: 24px; }
  .g-cta .btn--lg { width: 100%; white-space: normal; text-align: center; }
  .g-cta .beta-trust { gap: 12px 16px; }
  .g-related { padding: 72px 0 88px; }
  .g-cards, .g-cards--hub { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .g-card { padding: 26px 22px 22px; border-radius: 20px; }
  .g-hub-hero { padding: 40px 0 0; }
  .g-hub-step { margin-top: 48px; }
  .g-hub-step .g-cards { margin-top: 16px; }
  .g-about { margin-top: 56px; padding: 22px 20px; }
  .g-hub-beta { padding-top: 64px; }
  .g-hub-beta__btn { width: 100%; padding: 16px 18px; font-size: 15.5px; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .g-card:hover, .g-card:focus-within { transform: none; }
}

/* ─── Impression : l'article seul ────────────────────────────────────────── */
@media print {
  .nav, .menu-overlay, .skip-link, .g-toc, .g-cta, .g-related, .footer, .g-pillar { display: none !important; }
  .g-changelog ul { display: block; }
  html { background: #fff; }
  .g-main { padding-top: 0; }
  .g-layout { display: block; }
  .g-bref, .g-table, .g-callout { box-shadow: none; border: 1px solid #ccc; }
  .g-prose a::after, .g-sources a::after { content: ' (' attr(href) ')'; font-size: 0.85em; color: #555; }
  .faq__item { box-shadow: none; border: 1px solid #ddd; }
}
