/* nosta — site statique de nostapp.fr. Aucune police externe : polices du système uniquement.
   Couleurs de l'identité de l'app (app/src/theme/brand.ts) : bleu électrique, blanc, rose et jaune fluo
   en accents seulement (jamais en texte sur blanc). */

:root {
  --blue: #0000ff;
  --white: #ffffff;
  --pink: #ff2fb3;
  --yellow: #f4ff1f;
  --soft: #dcdcff;
  --ink: #0b0b1e;
  --muted: #4a4a66;
  --page: #ffffff;
  --rule: #d8d8ec;
  --note: #fff6c2;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececff;
    --muted: #b4b4d0;
    --page: #0b0b1e;
    --rule: #2a2a4a;
    --note: #3a3510;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

a { color: var(--blue); text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { a { color: var(--soft); } }
a:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.wordmark {
  font-family: var(--script);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--white);
  text-decoration: none;
}

/* Bandeau bleu des pages de texte. */
.top {
  background: var(--blue);
  color: var(--white);
  border-bottom: 6px solid var(--pink);
}
.top .inner { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top .wordmark { font-size: 2rem; line-height: 1.2; }
.top nav a { color: var(--white); margin-left: 16px; font-size: 0.95rem; }
.top nav a:first-child { margin-left: 0; }

.inner { max-width: 44rem; margin: 0 auto; padding: 16px; }

main.text h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.5rem 0 0.25rem; }
main.text h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
main.text h3 { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
.updated { color: var(--muted); font-size: 0.95rem; margin-top: 0; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0.5rem 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Point à confirmer avant publication : bien visible, à retirer une fois vérifié. */
.a-confirmer { background: var(--note); padding: 0 4px; border-radius: 3px; }

dl.faq dt { font-weight: 600; margin-top: 1.25rem; }
dl.faq dd { margin: 0.25rem 0 0; }

footer { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--rule); margin-top: 3rem; }
footer a { color: inherit; }

/* Accueil : plein bleu, comme l'écran de démarrage de l'app. */
body.home { background: var(--blue); color: var(--white); min-height: 100vh; display: flex; flex-direction: column; }
body.home main { flex: 1; display: flex; align-items: center; }
body.home .inner { width: 100%; }
body.home h1 { margin: 0; line-height: 1.05; }
body.home h1 .wordmark { font-size: clamp(4rem, 22vw, 8rem); display: block; }
body.home .tagline { font-size: clamp(1.2rem, 5vw, 1.6rem); font-weight: 600; margin: 0.5rem 0 1.5rem; }
body.home .pitch { color: var(--soft); max-width: 32rem; }
body.home .soon {
  display: inline-block;
  margin: 1rem 0 2rem;
  padding: 6px 14px;
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  border-radius: 999px;
}
body.home nav a { color: var(--white); display: inline-block; margin: 0 20px 8px 0; }
body.home footer { color: var(--soft); border-top-color: rgba(255, 255, 255, 0.25); margin-top: 0; }
body.home a:focus-visible { outline-color: var(--yellow); }
