/* Shared, self-hosted styles for the static marketing/guide pages under
   frontend/public/ (guide/, outils/, alternative-…/). Deliberately plain:
   system fonts only, no external font or script — these pages are meant
   to load instantly and stay compatible with the app's "no third-party
   requests" privacy posture (see PRIVACY.sections in src/domain/legal). */

:root {
  --bg: #090e0c;
  --panel: #10171380;
  --border: #ffffff1f;
  --text: #f1f5f4;
  --text-dim: #a9b6b1;
  --accent: #4ade80;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

header.site nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header.site nav a:not(.cta) {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}

header.site nav a:not(.cta):hover { color: var(--text); }

header.site a.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #06240f;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
}

h1 { font-size: 28px; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p { color: var(--text-dim); margin: 0 0 16px; }
a { color: var(--accent); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 8px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.footer-cta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

label { display: block; font-size: 14px; margin: 12px 0 4px; }
input[type="number"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0d1411;
  color: var(--text);
  font-size: 16px;
}

button {
  cursor: pointer;
  border: none;
  font: inherit;
}

#result {
  margin-top: 16px;
  font-weight: 600;
}
#result.ok { color: #4ade80; }
#result.ko { color: #f87171; }

footer.site {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

footer.site a { color: var(--text-dim); text-decoration: none; }
footer.site a:hover { color: var(--text); text-decoration: underline; }

ul.hub { list-style: none; padding: 0; margin: 24px 0 0; }
ul.hub li { margin: 0 0 20px; }
ul.hub li a { font-size: 18px; font-weight: 600; text-decoration: none; }
ul.hub li a:hover { text-decoration: underline; }
ul.hub li p { margin: 4px 0 0; }
