/*
 * Azekai : la page d'attente (infrastructure/web/site), en attendant le site.
 *
 * La palette est celle de la direction B « Verre et cristal » du kit UI du jeu
 * (glass, ink, accent) : le fond est le bord du verre, la carte son panneau,
 * l'encre ses trois niveaux, la ligne de cristal l'accent.
 *
 * Aucune ressource externe : polices du système, aucune image, aucun script.
 * La CSP du Caddyfile n'autorise que cette feuille (style-src 'self').
 *
 * Les couleurs ne s'écrivent QU'ICI, en variables : scripts/check_site.py mesure
 * le contraste de chaque encre (color) sur chaque fond (background), voile de
 * la carte composé sur le fond compris, et exige 4,5:1 (WCAG AA).
 */

:root {
  color-scheme: dark;
  --bg: #06070a;
  --glow: #00aaff1c;
  --panel: #10121ae6;
  --panel-lit: #2a2e3c;
  --hairline: #ffffff16;
  --shadow: #000000a6;
  --ink: #eef3f8;
  --ink-2: #b4c0cf;
  --ink-3: #9aa5b6;
  --accent: #a8e6ff;
  --crystal: #00aaff;
  --crystal-glow: #00aaff73;
}

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

html {
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 60% 45% at 50% 38%, var(--glow), transparent 70%);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.stage {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.card {
  width: 100%;
  max-width: 34rem;
  padding: clamp(2.25rem, 7vw, 3.5rem) clamp(1.25rem, 6vw, 3rem);
  text-align: center;
  background-color: var(--panel);
  border: 1px solid var(--hairline);
  border-top-color: var(--panel-lit);
  border-radius: 12px;
  box-shadow: 0 28px 80px var(--shadow);
}

/* Le nom en capitales espacées, sans logo : le propriétaire ne l'a pas encore
   choisi. text-indent compense l'espace qui suit la dernière lettre. */
.wordmark {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  line-height: 1.1;
  text-transform: uppercase;
}

.wordmark::after {
  content: "";
  display: block;
  width: 4.5rem;
  margin: 1.25rem auto 0;
  border-top: 2px solid var(--crystal);
  box-shadow: 0 0 18px 1px var(--crystal-glow);
}

.wordmark-small {
  font-size: clamp(1.6rem, 6vw, 2.2rem);
}

.lead {
  margin: 1.75rem 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
}

.lead-en {
  margin: 0.35rem 0 0;
  color: var(--ink-3);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.back {
  margin: 2rem 0 0;
  font-size: 0.95rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--crystal);
  outline-offset: 3px;
  border-radius: 2px;
}

.legal {
  flex: 0 0 auto;
  padding: 1.5rem 1rem 2rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
  text-align: center;
}

.legal h2 {
  margin: 0 0 0.5rem;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal p {
  margin: 0.2rem 0;
}
