/* Couleurs de l'application (DzTheme.kt) : vert algérien, fond clair, mode sombre automatique. */
:root {
  --green: #00704A;
  --mint: #CDEFD9;
  --bg: #F6F8F6;
  --surface: #FFFFFF;
  --text: #17201B;
  --muted: #55625A;
  --border: #DCE3DE;
  --todo: #FFF3C4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #6FD6A4;
    --mint: #1E3A2C;
    --bg: #0F1512;
    --surface: #171D1A;
    --text: #E3EAE5;
    --muted: #A5B2AA;
    --border: #2C3631;
    --todo: #4A4220;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--green); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--border); background: var(--surface); }
header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
header img { width: 36px; height: 36px; }
header .name { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
header .name span { color: var(--green); }
header nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
header nav a { text-decoration: none; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img { width: 112px; height: 112px; }
.hero h1 { font-size: 34px; line-height: 1.2; margin: 20px 0 8px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 560px; }
.button {
  display: inline-block; margin-top: 28px; padding: 12px 28px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .button { color: #00391F; } }
.soon { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 8px 0 48px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.card h2 { font-size: 17px; margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

article { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 8px 24px 24px; margin: 32px 0; }
article h1 { font-size: 28px; line-height: 1.25; }
article h2 { font-size: 20px; margin-top: 32px; }
.updated { color: var(--muted); font-style: italic; }
table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--mint); }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.todo { background: var(--todo); padding: 0 4px; border-radius: 4px; }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 14px; text-align: center; }
footer a { margin: 0 8px; }

@media (max-width: 480px) {
  header nav { gap: 12px; font-size: 14px; }
  .hero h1 { font-size: 28px; }
  article { padding: 4px 16px 16px; }
}
.store { display: inline-block; margin-top: 8px; }
.store img { display: block; max-width: 100%; height: auto; }
