/* FasoEduc — site vitrine. CSS écrit à la main : zéro build, zéro CDN,
   zéro webfont → premier rendu quasi instantané, y compris sur mobile 3G. */

:root {
  /* Palette disciplinée : UNE couleur principale (vert), UN accent
     secondaire (or) — le rouge n'est pas une "couleur de marque" au
     même titre, c'est uniquement le rouge sémantique (erreur). Tout le
     reste ci-dessous est neutre (papier/encre/ligne) ou une TEINTE
     dérivée du vert (jamais une couleur en plus) pour rester lisible sur
     fond sombre — nommée explicitement plutôt que codée en dur, pour que
     la discipline de palette reste auditable dans le temps. */
  --paper: #f4faf6;
  --card: #ffffff;
  --ink: #14261c;
  --muted: #476354;
  --line: #d7e6dd;

  --green: #009639;       /* principale */
  --green-dark: #00742c;  /* principale, survol */
  --green-tint: #b9d4c6;  /* teinte du vert : texte discret sur fond sombre */
  --green-line: #3c5a4c;  /* teinte du vert : bordure sur fond sombre */
  --green-wash: #e3efe8;  /* teinte du vert : fond très clair (repli média) */

  --gold: #f2b705;   /* secondaire — unique accent hors vert */
  --red: #ce1126;    /* sémantique (erreur) + bande drapeau uniquement */

  --maxw: 68rem;
  --radius: 10px;
  --pad: clamp(1.1rem, 4vw, 2.25rem);
  --shadow: 0 1px 2px rgba(20, 38, 28, .05), 0 14px 32px -14px rgba(20, 38, 28, .16);
  --shadow-lg: 0 4px 10px rgba(20, 38, 28, .06), 0 24px 48px -18px rgba(20, 38, 28, .24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800; line-height: 1.08; letter-spacing: -.028em; margin: 0;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3.8vw, 2.25rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.012em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }

/* ---- layout primitives ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3rem, 8.5vw, 5.2rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--card); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-wash);
  padding: .28rem .65rem; border-radius: 999px; margin: 0 0 .85rem;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 35rem; line-height: 1.55; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1rem; }
.section-head { max-width: 36rem; }
.section-head + * { margin-top: 2.2rem; }
.section-head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem; margin-bottom: 2rem;
}
.section-head-row .section-head { margin: 0; }

/* ---- scroll progress & dynamic reveal ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%;
  background: var(--green); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 250, 246, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 20px -10px rgba(20, 38, 28, .12);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.brand { display: inline-flex; align-items: center; transition: opacity .2s var(--ease); }
.brand:hover { opacity: .88; }
.brand img { height: 38px; width: auto; }
.nav { display: none; gap: .2rem; align-items: center; }
.nav a {
  padding: .5rem .75rem; min-height: 40px; display: inline-flex; align-items: center;
  border-radius: var(--radius); color: var(--muted); text-decoration: none;
  font-size: .92rem; font-weight: 600; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--green-wash); }
.nav a.cta {
  margin-left: .4rem; background: var(--ink); color: #fff; font-weight: 700;
  padding-inline: .95rem;
}
.nav a.cta:hover { background: var(--green); color: #fff; }
.menu-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); cursor: pointer; }
.mobile-nav { display: block; border-top: 1px solid var(--line); background: var(--card); padding: .35rem var(--pad) 1rem; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; min-height: 46px; align-items: center; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .98rem; font-weight: 600; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a.cta { color: var(--green); font-weight: 700; }
@media (min-width: 820px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 46px; padding-inline: 1.25rem; border-radius: var(--radius);
  font-weight: 700; font-size: .96rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 2px 8px -2px rgba(20, 38, 28, .22); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-on-dark { background: transparent; border-color: var(--green-line); color: #fff; }
.btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---- cards / grids ---- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 820px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 3.5vw, 1.65rem); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card-interactive:hover {
  transform: translateY(-2px); border-color: var(--green); box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: .35rem; }
.card p { font-size: .94rem; }
.tick { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.tick li { display: flex; gap: .55rem; font-size: .94rem; line-height: 1.5; }
.tick li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }
.tick.plain li::before { content: "—"; color: var(--muted); }

/* ---- tile : version allégée de .card, sans bordure ni fond, pour les
   grilles denses (constats, fonctions) — la carte pleine reste réservée
   au reçu/prix/preuve, où la "boîte" évoque un vrai document. */
.tile {
  padding: 1.15rem 1.25rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover {
  transform: translateY(-2px); border-color: var(--green); box-shadow: var(--shadow);
}
.tile-num {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  color: var(--green-dark); background: var(--green-wash);
  padding: .18rem .5rem; border-radius: 999px; margin-bottom: .6rem;
}
.tile h3 { font-size: 1.02rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .5rem; }
.tile h3::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--green); flex: none; }
.tile.has-num h3::before { display: none; }
.tile p { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.tile-pain { background: transparent; border-style: dashed; }
.tile-pain h3::before { background: var(--gold); }

/* ---- hero ---- */
.hero {
  display: grid; gap: 2.2rem; align-items: center;
  padding-top: clamp(2rem, 6vw, 3.6rem); padding-bottom: clamp(2.4rem, 7vw, 4.2rem);
}
@media (min-width: 920px) { .hero { grid-template-columns: 1.05fr .95fr; gap: 2.8rem; } }
.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.hero-metric strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.hero-metric span { font-size: .82rem; color: var(--muted); }

.hero-stage { position: relative; }
.browser-frame {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: .4rem; padding: .55rem .85rem;
  background: var(--green-wash); border-bottom: 1px solid var(--line);
}
.browser-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.browser-dot:first-child { background: var(--gold); }
.browser-dot:nth-child(2) { background: var(--green); }
.browser-url {
  margin-left: .4rem; font-size: .72rem; font-weight: 600; color: var(--muted);
  background: var(--card); padding: .15rem .6rem; border-radius: 999px; border: 1px solid var(--line);
}
.browser-frame img { width: 100%; height: auto; display: block; aspect-ratio: 16/10; object-fit: cover; }

.proof {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-lg); max-width: 20rem;
}
@media (min-width: 600px) {
  .hero-stage .proof {
    position: absolute; bottom: -1.2rem; left: -1rem; z-index: 2;
    border-left: 3px solid var(--green);
  }
  .hero-stage { padding-bottom: 1.2rem; padding-left: 1rem; }
}
.proof .name { font-weight: 800; font-size: 1.05rem; margin: .15rem 0 .45rem; letter-spacing: -.01em; }
.proof .row { display: flex; justify-content: space-between; gap: 1.2rem; padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.proof .row:last-child { border-bottom: 0; font-weight: 700; padding-bottom: 0; }
.badge-ok {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--green-dark); background: var(--green-wash);
  padding: .1rem .5rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
}

/* ---- price & offer layout ---- */
.offer-grid { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 820px) { .offer-grid { grid-template-columns: 1.15fr .85fr; } }
.price-card {
  background: var(--card); border: 2px solid var(--green); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.price-badge {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .65rem; border-radius: 999px;
}
p.price {
  font-size: clamp(2rem, 4.5vw, 2.65rem); line-height: 1.05;
  margin: .6rem 0 .2rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink);
}
p.price small { font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: .35rem; letter-spacing: 0; }
.mode-stack { display: grid; gap: 1rem; }
.mode-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.35rem; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.mode-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: var(--shadow); }
.mode-card .mode-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mode-card .mode-arrow { color: var(--green); font-weight: 800; transition: transform .2s var(--ease); }
.mode-card:hover .mode-arrow { transform: translateX(3px); }
.mode-card p { margin-top: .35rem; font-size: .9rem; color: var(--muted); }

/* ---- contact band ---- */
.contact {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: clamp(1.6rem, 5vw, 2.6rem); box-shadow: var(--shadow-lg);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 780px) { .contact { grid-template-columns: 1.2fr .8fr; } }
.contact h2 { color: #fff; }
.contact .muted { color: var(--green-tint); }
.phones { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .9rem; }
.phones a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; font-size: .98rem; text-decoration: none; color: #fff; transition: color .2s var(--ease); }
.phones a:hover { color: var(--gold); }

/* ---- breadcrumb ---- */
.crumb { font-size: .88rem; color: var(--muted); padding-block: .75rem; border-bottom: 1px solid var(--line); }
.crumb a { text-decoration: none; font-weight: 600; }
.crumb a:hover { color: var(--green); }

/* ---- faq ---- */
.faq { max-width: 46rem; border-top: 1px solid var(--line); }
.faq dt {
  font-weight: 700; font-size: 1rem; padding: 1.05rem 0 .35rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq dd { margin: 0; padding-bottom: 1.05rem; color: var(--muted); font-size: .94rem; border-bottom: 1px solid var(--line); }
.faq a { color: var(--green); font-weight: 600; }
html.js .faq dt { cursor: pointer; padding: 1.1rem 0; user-select: none; transition: color .2s var(--ease); }
html.js .faq dt:hover { color: var(--green); }
html.js .faq dt::after {
  content: "+"; font-weight: 700; font-size: 1.2rem; color: var(--green);
  width: 26px; height: 26px; border-radius: 999px; background: var(--green-wash);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
html.js .faq dt[aria-expanded="true"]::after {
  content: "−"; background: var(--green); color: #fff;
}
html.js .faq dd[hidden] { display: none; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--card); }
.site-footer .cols { display: grid; gap: 2rem; padding-block: 2.6rem; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer img { height: 36px; width: auto; }
.site-footer h4 { font-family: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.site-footer a { text-decoration: none; color: var(--muted); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--green); }
.site-footer .legal { border-top: 1px solid var(--line); text-align: center; font-size: .8rem; color: var(--muted); padding-block: 1rem; }

/* ---- login modal (établissement selector) ---- */
dialog.login-modal { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; width: min(26rem, calc(100vw - 2rem)); box-shadow: var(--shadow-lg); background: var(--card); }
dialog.login-modal::backdrop { background: rgba(20, 38, 28, .55); backdrop-filter: blur(3px); }
.login-modal form { padding: clamp(1.3rem, 5vw, 1.8rem); display: grid; gap: 1rem; }
.login-modal h3 { margin: 0; }
.login-modal .muted { font-size: .9rem; }
.login-modal .field { display: grid; gap: .4rem; }
.login-modal label { font-size: .85rem; font-weight: 700; }
.login-modal input[type="text"] { height: 46px; padding-inline: .9rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; background: var(--paper); color: var(--ink); }
.login-modal input[type="text"]:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.login-modal .error { color: var(--red); font-size: .88rem; min-height: 1.2em; }
.login-modal .row-close { display: flex; justify-content: flex-end; }
.login-modal .close-btn { background: none; border: 0; color: var(--muted); font-size: .9rem; cursor: pointer; padding: .3rem; min-height: 40px; }
.login-modal .fallback { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .88rem; color: var(--muted); }
.login-modal .fallback a { color: var(--green); font-weight: 700; text-decoration: none; }

/* ---- product carousel & interactive pills ---- */
.carousel { position: relative; margin-top: 1.4rem; }
.carousel-pills {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem;
}
.carousel-pill {
  appearance: none; border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font: 600 .83rem/1 inherit; padding: .5rem .85rem; border-radius: 999px; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.carousel-pill:hover { border-color: var(--green); color: var(--ink); }
.carousel-pill.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.carousel-track {
  display: flex; gap: 1.15rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block: .25rem .85rem; scrollbar-width: none; scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  margin: 0; scroll-snap-align: start; flex: 0 0 min(86vw, 31rem);
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--card); overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.carousel-item:hover { border-color: var(--green); box-shadow: var(--shadow-lg); }
.carousel-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.carousel-caption {
  padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; font-size: .88rem; background: var(--card);
}
.carousel-caption strong { color: var(--ink); font-weight: 700; }
.carousel-caption span { color: var(--muted); font-size: .82rem; }
.carousel-nav { display: none; }
@media (min-width: 700px) {
  .carousel-nav { display: flex; gap: .5rem; position: absolute; right: 0; top: -3.4rem; }
  .carousel-nav button {
    width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--card); color: var(--ink); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  }
  .carousel-nav button:hover { border-color: var(--green); color: var(--green); transform: scale(1.05); }
}

/* ---- video showcase ---- */
.video-frame { margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--ink); position: relative; }
.video-frame video { width: 100%; display: block; aspect-ratio: 16/9; background: var(--ink); }

/* ---- media placeholder (screenshot/video not uploaded yet) ----
   [data-media-fallback] swaps to this look via JS the moment an <img> or
   <video> source 404s, instead of the browser's broken-image icon — so the
   showcase site never looks broken while real captures are being produced. */
.media-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 1rem; gap: .6rem;
  background: var(--green-wash);
  color: var(--muted);
}
.media-placeholder svg { color: var(--green); opacity: .85; }
.media-placeholder span { display: block; font-size: .85rem; font-weight: 700; max-width: 14rem; }
.carousel-item.is-placeholder img,
.video-frame.is-placeholder video { visibility: hidden; }

/* ---- docs / blog : contenu long (guides, articles) ----
   Réutilise les tokens existants (--line, --muted, --green) plutôt que
   d'en introduire de nouveaux — même discipline de palette que le reste
   du site. */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: .9rem; color: var(--ink); }
.prose p.muted { color: var(--muted); }
.prose ul, .prose ol { margin: .9rem 0 0; padding-left: 1.3rem; }
.prose li { margin-top: .5rem; line-height: 1.55; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose .callout {
  margin-top: 1.4rem; padding: 1rem 1.15rem; border-radius: var(--radius);
  background: var(--green-wash); border: 1px solid var(--line); font-size: .95rem;
}

.doc-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 700px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
.doc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; text-decoration: none; display: block;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.doc-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-card .eyebrow { margin-bottom: .45rem; }
.doc-card h3 { color: var(--ink); }
.doc-card p { margin-top: .35rem; font-size: .92rem; color: var(--muted); }

.post-list { display: grid; gap: 1.1rem; margin-top: 2rem; max-width: 42rem; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; text-decoration: none; display: block;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.post-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card time { font-size: .8rem; font-weight: 600; color: var(--green-dark); }
.post-card h3 { margin-top: .3rem; color: var(--ink); }
.post-card p { margin-top: .35rem; font-size: .92rem; color: var(--muted); }

/* ---- a11y ---- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: .6rem; z-index: 100; background: var(--card); padding: .5rem .8rem; border-radius: var(--radius); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
}
