/*
 * Charte open.machines, reprise de Runeworks Engineering.
 *
 * Trois couleurs, reprises de l'identité : un bleu marine profond qui porte
 * tout le texte, un vert franc réservé aux accents, un bleu très pâle pour les
 * surfaces. Le vert de marque est lumineux au point d'être illisible sur du
 * blanc : il sert de signal — un point, une pastille, un fond sombre — et
 * jamais de couleur de texte. Une variante assombrie prend le relais pour les
 * liens et les mentions.
 *
 * Écrite à la main, sans outil de compilation : sur un hébergement mutualisé,
 * on dépose le fichier et c'est terminé.
 */

/* --- Inter, servi depuis le site ------------------------------------------
 * Sous-ensemble latin uniquement : il couvre le français (é, à, œ...).
 */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  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;
}

:root {
  --navy-900: #12202f;
  --navy-800: #1f324c;
  --navy-700: #2c4568;
  --navy-600: #3d5b81;

  /* Vert de marque. Décoratif : jamais de texte dessus, jamais dessous. */
  --accent: #00ff66;
  /* Sa version lisible sur blanc, pour les liens et les pastilles. */
  --accent-ink: #067a37;
  --accent-soft: #e6fff0;

  --tint: #dcf0ff;
  --tint-soft: #f2f8ff;

  --ink-50: #f7f9fb;
  --ink-100: #eef2f6;
  --ink-200: #e0e6ed;
  --ink-300: #cbd4de;
  --ink-400: #94a1b2;
  --ink-500: #6b7889;
  --ink-600: #4d5a6b;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(18, 32, 47, .05);
  --shadow-lift: 0 12px 32px rgba(18, 32, 47, .09);

  --wrap: 1140px;

  /*
   * Mode sombre. Les mêmes couleurs, rien d'autre : le fond devient le bleu des
   * runes, le texte le blanc et le bleu ciel. Pour y arriver, le mode sombre
   * retourne les jetons ci-dessus (le marine du texte devient blanc, les gris
   * deviennent du bleu ciel) — d'où ces constantes, qui gardent la valeur
   * d'origine pour ce qui doit rester sombre dans les deux modes.
   */
  --c-navy-900: #12202f;
  --c-navy-800: #1f324c;
  --c-navy-700: #2c4568;
  --c-navy-600: #3d5b81;
  --c-sky: #dcf0ff;

  /* Fond de page et des surfaces ; aplat sombre (offre, citation) ; aplat le
     plus sombre (bandeau, appel, pied de page). */
  --paper: #fff;
  --block: var(--c-navy-800);
  --block-deep: var(--c-navy-900);
  --header-bg: rgba(255, 255, 255, .93);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

:root[data-theme="dark"] {
  --navy-900: #fff;
  --navy-800: #fff;
  --navy-700: var(--c-sky);
  --navy-600: var(--c-sky);

  --ink-50: var(--c-navy-700);
  --ink-100: var(--c-navy-700);
  --ink-200: rgba(220, 240, 255, .18);
  --ink-300: rgba(220, 240, 255, .32);
  --ink-400: rgba(220, 240, 255, .55);
  --ink-500: rgba(220, 240, 255, .72);
  --ink-600: var(--c-sky);

  --tint: var(--c-navy-600);
  --tint-soft: var(--c-navy-700);
  /* Pas de texte vert sur le marine : ce qui était vert lisible devient bleu
     ciel ; le vert de marque reste un signal décoratif. */
  --accent-ink: var(--c-sky);
  --accent-soft: var(--c-navy-700);

  --paper: var(--c-navy-800);
  --block: var(--c-navy-900);
  --block-deep: var(--c-navy-900);
  --header-bg: rgba(31, 50, 76, .93);
  --shadow: 0 1px 2px rgba(0, 0, 0, .2);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

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

/*
 * « hidden » l'emporte sur toute mise en page. L'attribut ne vaut que
 * « display: none » dans la feuille du navigateur, que la moindre règle
 * d'auteur écrase — or masquer est une décision du code, pas une suggestion.
 */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* Personne n'a demandé d'animation : on n'en impose pas à qui l'a dit au
   système d'exploitation. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy-800);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; }

a { color: var(--navy-800); text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }

/* Anneau de focus unique et bien visible : accessibilité au clavier. */
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; width: 100%; }
.wrap-narrow { max-width: 760px; }
.wrap-form { max-width: 560px; }

.muted { color: var(--ink-500); }
.small { font-size: .875rem; }
.lead { font-size: 1.075rem; color: var(--ink-600); max-width: 62ch; }
.accent { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--navy-800); color: var(--paper);
  padding: 10px 18px; border-radius: var(--radius); z-index: 60;
}
.skip:focus { left: 16px; top: 16px; }

.overline {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-500); margin: 0 0 8px;
}

/* --- En-tête --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-200);
}
/* Gap resserré depuis que « Étude de faisabilité » est entré au menu : au gap
   d'origine, la ligne dépassait la largeur du gabarit de quelques pixels et la
   marque se repliait sur deux lignes même en plein écran. */
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
/* Les commandes de droite restent au bord, navigation affichée ou non. */
.header-right { margin-left: auto; }

.brand {
  display: inline-flex; gap: 10px; text-decoration: none;
  color: var(--navy-800);
  /* « stretch » et non « center » : c'est ce qui permet au sigle de prendre la
     hauteur du nom, qu'il tienne sur une ou deux lignes. */
  align-items: stretch;
  /*
   * La marque se resserre — sans quoi elle ne passerait jamais à la ligne —
   * mais **pas en dessous de son mot le plus long**. C'est le plancher que
   * flexbox pose par défaut, et il ne faut surtout pas le lever : avec
   * « min-width: 0 » elle continuait de rétrécir au-delà du possible et venait
   * se superposer à la navigation.
   */
  flex: 0 1 auto;
}
/*
 * Le rapport de forme est porté par une boîte ordinaire, pas par le SVG :
 * « aspect-ratio » sur un élément remplacé dont la largeur et la hauteur sont
 * toutes deux « auto » n'est pas traité de la même façon partout — sur iOS le
 * sigle restait à sa taille d'origine au lieu de suivre les deux lignes.
 */
.mark-box {
  flex: none; align-self: stretch;
  aspect-ratio: 1; min-width: 22px;
  display: flex; align-items: center;
}
.mark { display: block; width: 100%; height: 100%; }

/*
 * Le pousse-pousse.
 *
 * Au survol de la marque, dans l'en-tête seulement, les quatre cases qui
 * bordent le vide glissent chacune à leur tour : la case du haut descend,
 * celle d'à côté vient prendre sa place, et de proche en proche le carré vert
 * remonte au centre. Un seul mouvement à la fois, comme au jeu — d'où les
 * retards échelonnés, sans lesquels ce serait quatre cases qui se déplacent
 * ensemble, ce qu'aucun taquin ne fait.
 *
 * Les retards sont **inversés au repos** : la séquence se rejoue à l'envers
 * quand la souris s'en va, au lieu de laisser les quatre cases revenir toutes
 * ensemble et se croiser en chemin.
 *
 * Le pas est de 8 unités du « viewBox », soit exactement une case et son
 * intervalle. « transform-box » est déclaré : sans lui, un rect SVG rapporte
 * la translation à sa propre boîte sur les navigateurs qui n'ont pas encore la
 * valeur initiale de la spécification.
 *
 * Rien à prévoir pour « prefers-reduced-motion » : la règle générale du haut
 * de cette feuille ramène déjà toutes les transitions à une durée nulle.
 */
.mark-cell { transform-box: view-box; transition: transform .26s cubic-bezier(.4, 0, .2, 1); }
.site-header .mark-slide-up-accent { transition-delay: 0ms; }
.site-header .mark-slide-up { transition-delay: .09s; }
.site-header .mark-slide-left { transition-delay: .18s; }
.site-header .mark-slide-down { transition-delay: .27s; }

.site-header .brand:hover .mark-slide-down,
.site-header .brand:focus-visible .mark-slide-down { transform: translateY(8px); transition-delay: 0ms; }
.site-header .brand:hover .mark-slide-left,
.site-header .brand:focus-visible .mark-slide-left { transform: translateX(-8px); transition-delay: .09s; }
.site-header .brand:hover .mark-slide-up,
.site-header .brand:focus-visible .mark-slide-up { transform: translateY(-8px); transition-delay: .18s; }
.site-header .brand:hover .mark-slide-up-accent,
.site-header .brand:focus-visible .mark-slide-up-accent { transform: translateY(-8px); transition-delay: .27s; }

.main-nav { display: flex; gap: 2px; flex: 1 0 auto; margin-left: 20px; }
.nav-link {
  padding: 8px 8px; border-radius: 8px; font-size: .925rem; font-weight: 500;
  color: var(--ink-600); text-decoration: none; white-space: nowrap;
}
.nav-link:hover { background: var(--ink-100); color: var(--navy-900); }
.nav-link.is-active { color: var(--navy-900); background: var(--tint); }

.header-right { display: flex; align-items: center; gap: 10px; flex: none; }

/* --- Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  font-family: inherit; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { padding: 8px 14px; font-size: .85rem; }

.btn-primary, .btn-dark { background: var(--navy-800); color: var(--paper); }
.btn-primary:hover, .btn-dark:hover { background: var(--navy-900); color: var(--paper); }

.btn-ghost { background: var(--paper); color: var(--navy-800); border-color: var(--ink-300); }
.btn-ghost:hover { border-color: var(--navy-800); background: var(--ink-50); color: var(--navy-900); }

/* Le vert de marque en aplat, avec du texte marine dessus : c'est le seul
   assemblage où il reste lisible, et il ne sert qu'à l'action principale. */
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { background: #00e65c; color: var(--navy-900); }
.arrow-link {
  font-weight: 600; text-decoration: none; color: var(--navy-800);
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.arrow-link:hover { color: var(--accent-ink); }

/* --- Sections -------------------------------------------------------------- */
.band { padding: clamp(48px, 6vw, 88px) 0; }
.band-tint { background: var(--tint-soft); }
/* Plus clair encore que « tint-soft » : les cartes blanches doivent s'en
   détacher, pas s'y fondre. */
.band-services { background: linear-gradient(180deg, var(--paper) 0%, var(--tint-soft) 100%); }
.band-header { margin-bottom: 40px; max-width: 62ch; display: grid; gap: 12px; }
.band-title { font-size: 1.35rem; margin-bottom: 24px; }
.band-footer { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; }

/* --- Accueil --------------------------------------------------------------- */
.hero { padding: clamp(40px, 6vw, 88px) 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-text { display: grid; gap: 28px; }
.hero-title { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.6rem); letter-spacing: -.035em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Appel à l'action ------------------------------------------------------- */
.cta { background: var(--block-deep); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.cta-inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, .78); }

/* --- Pied de page ------------------------------------------------------------ */
.site-footer {
  margin-top: auto; background: var(--block-deep); color: rgba(255, 255, 255, .72);
  padding: 56px 0 32px;
}
.footer-inner { display: grid; gap: 32px; }
.footer-identity { display: grid; gap: 10px; max-width: 46ch; }
.brand-footer { color: #fff; }
.brand-footer .brand-name { color: #fff; }
.site-footer .muted { color: rgba(255, 255, 255, .6); }
.footer-legal { font-style: normal; font-size: .825rem; color: rgba(255, 255, 255, .55); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: .9rem; }
.footer-links a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
}
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--accent); }
/* --- Runes -------------------------------------------------------------------
 * Une rune est la petite grille 3×3 d'un projet, sur la géométrie de la marque.
 * Elle prend la couleur du texte (cases bleues) et le vert de marque (cases
 * vertes) : le vert reste décoratif, jamais porteur de texte ni seul porteur
 * d'information.
 */
.rune { display: block; flex: none; color: var(--navy-800); }

/* Accueil : le surtitre porte une pastille verte, doublée de son texte. */
.hero-home { background: var(--paper); border-bottom: 1px solid var(--ink-200); }
.hero-home .hero-inner { gap: 64px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: .875rem; font-weight: 600; color: var(--accent-ink);
}
.kicker-dot { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); flex: none; }
.hero-home .hero-title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); line-height: 1.04; }
.hero-play { display: grid; }

/* Bandeau sombre : trois arguments, chacun annoncé par une case. */
.band-dark { background: var(--block-deep); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.args { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.arg h3 { color: #fff; font-size: 1.375rem; margin: 0 0 10px; }
.arg p { margin: 0; color: rgba(255, 255, 255, .74); line-height: 1.6; }
.arg-mark { width: 14px; height: 14px; border-radius: 3px; margin-bottom: 20px; }
.arg-mark-accent { background: var(--accent); }
.arg-mark-empty { border: 2px dashed var(--navy-600); }
.arg-mark-tint { background: var(--c-sky); }

/* --- Cartes de projets : la rune en tête --------------------------------------
 * Sans boîte : un filet marine en tête, la rune, puis le texte — le même
 * vocabulaire que les piliers et les axes. Au survol, le nom passe au vert
 * lisible ; rien ne change de fond.
 */
.rune-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 48px 40px;
}
.rune-card {
  display: flex; flex-direction: column; gap: 20px; padding-top: 28px;
  border-top: 1px solid var(--navy-800); color: var(--navy-800); text-decoration: none;
}
.rune-card:hover .rune-card-name { color: var(--accent-ink); }
.rune-card:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 6px; border-radius: 4px; }
/* La grille de la rune va de 2 à 24 sur 24 : on décale le dessin pour que sa
   première case s'aligne sur le bord gauche et le haut du texte. */
.rune-card .rune { width: 84px; height: 84px; margin: -7px 0 0 -7px; color: var(--navy-800); }
.rune-card-text { display: grid; gap: 6px; align-content: start; }
.rune-card-sector { font-size: .8125rem; font-weight: 600; color: var(--ink-500); }
.rune-card-name { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
.rune-card-sentence { font-size: .9375rem; line-height: 1.55; color: var(--ink-600); }

.axes-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 56px;
}
.axes-row li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--navy-800); }
.axes-row strong { font-size: 1rem; color: var(--navy-800); display: inline-flex; align-items: center; gap: 10px; }
.axes-row span { font-size: .925rem; color: var(--ink-600); line-height: 1.5; }

/* L'axe d'un projet : la petite case de la marque et son nom. La case est
   décorative, le texte porte l'information. */
.axis-label { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-600); }
.axis-mark { width: 8px; height: 8px; border-radius: 2px; background: var(--navy-800); flex: none; }
.rune-card-axis { margin-top: auto; }

/* Sections de l'accueil : blanc et blanc cassé en alternance, un filet à
   chaque changement de fond. Deux sections blanches qui se suivraient (une
   section absente, faute de contenu) gardent un filet entre elles. En mode
   sombre, le blanc cassé devient le marine voisin. */
.band-alt { background: var(--ink-50); border-block: 1px solid var(--ink-200); }
.band-plain + .band-plain { border-top: 1px solid var(--ink-200); }

/* --- Rune en hexadécimal -------------------------------------------------------
 * Le nombre de la rune, en police de console, aligné sur le bas du dessin.
 */
.rune-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rune-hex {
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em;
  color: var(--ink-500); background: none; padding: 0;
}

/* --- Bouton du mode sombre --------------------------------------------------- */
.theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  /* La cible reste de 44 px, mais mord sur l'espacement voisin : sans cela,
     le nom de la marque n'avait plus la place de tenir sur une ligne. */
  margin-inline: -6px;
  padding: 0; border: 0; border-radius: var(--radius); background: none; cursor: pointer;
  color: var(--navy-800);
}
.theme-toggle:hover { background: var(--ink-100); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* --- open.machines ------------------------------------------------------------
 * Ce qui n'existe pas sur runeworks.fr : le nom en deux tons, le générateur de
 * runes de l'accueil et le pas-à-pas de la rune.
 */

/*
 * Le nom : « open » dans le bleu de Runeworks, « .machines » en gris clair,
 * en Inter, en minuscules — un nom de domaine plus qu'un sigle. Sur fond sombre
 * (mode sombre, pied de page), le marine ne se lirait plus : « open » passe au
 * bleu ciel de la charte.
 */
.wordmark {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: -.02em;
}
.wordmark-open { color: var(--c-navy-800); }
.wordmark-machines { color: var(--ink-400); }
:root[data-theme="dark"] .wordmark-open,
.site-footer .wordmark-open { color: var(--c-sky); }
:root[data-theme="dark"] .wordmark-machines,
.site-footer .wordmark-machines { color: #94a1b2; }
.brand { align-items: center; }
.site-header .mark-box { width: 22px; height: 22px; }
.brand-footer .wordmark { font-size: 1.5rem; }

/* La case de licence : verte une fois le projet publié sous licence libre,
   marine tant qu'il est « En préparation ». */
.axis-mark-open { background: var(--accent); }
.axis-mark-sky { background: var(--c-sky); box-shadow: inset 0 0 0 1px var(--c-navy-600); }
.rune-card.is-soon .rune-card-name { color: var(--ink-500); }

/*
 * Le générateur : la rune en grand à la place du taquin de runeworks.fr. Les
 * cases changent de couleur en douceur d'une graine à l'autre ; une case vide
 * reste dessinée, transparente, pour pouvoir se rallumer.
 */
.rune-maker { display: grid; gap: 20px; justify-items: end; }
.rune-maker-stage { width: min(100%, 300px); }
.rune-big { width: 100%; height: auto; margin: 0; }
.rune-cell { transition: fill .26s cubic-bezier(.4, 0, .2, 1); }
.rune-cell.is-navy { fill: currentColor; }
.rune-cell.is-green { fill: var(--accent); }
.rune-cell.is-empty { fill: transparent; }
.rune-maker-bar { width: min(100%, 300px); display: grid; gap: 12px; }
.rune-maker-field { display: grid; gap: 6px; margin: 0; }
.rune-maker-field label { font-size: .875rem; font-weight: 600; color: var(--ink-600); }
.rune-maker-field input {
  font: 600 1.25rem/1.2 var(--mono); letter-spacing: .2em; color: var(--navy-900);
  padding: 10px 14px; border: 1px solid var(--ink-300); border-radius: 8px; background: var(--paper);
  width: 100%;
}
.rune-maker-field input::placeholder { color: var(--ink-400); }
.rune-maker-field input:focus { border-color: var(--navy-800); outline: none; box-shadow: 0 0 0 3px var(--tint); }
.rune-maker-out { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
.rune-trits { font-family: var(--mono); font-size: .8125rem; letter-spacing: .2em; color: var(--ink-400); }

/* Le pas-à-pas : quatre étapes en ligne, la valeur en tête de chacune. */
.rune-steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 40px;
}
.rune-steps li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--navy-800); }
.rune-steps li > span:last-child { font-size: .925rem; color: var(--ink-600); line-height: 1.5; }
.rune-step-value { min-height: 48px; display: flex; align-items: center; }
.rune-step-value code { font-family: var(--mono); font-size: 1.125rem; font-weight: 600; letter-spacing: .08em; color: var(--navy-800); }
.rune-step-value .rune { margin-left: -4px; }

/* L'appel final reste clair : sombre, il se confondrait avec le pied de page. */
.cta-light { background: var(--paper); color: var(--navy-800); border-top: 1px solid var(--ink-200); }
.cta-light h2 { color: var(--navy-800); }
.cta-light p { color: var(--ink-600); }

/* --- Adaptations ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .rune-maker { justify-items: start; }
  .rune-maker-stage, .rune-maker-bar { width: min(100%, 240px); }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
}
@media (max-width: 720px) {
  .header-cta { display: none; }
  .cta-inner { flex-direction: column; align-items: start; }
}

@media print {
  .site-header, .site-footer, .cta { display: none; }
  body { color: #000; }
}
