/* Uygulamadaki HaritaColors paleti ile aynı değerler (ui/theme/HaritaTheme.kt). */
:root {
  --bg: #363B44;
  --panel-top: #5E6672;
  --panel-bottom: #444B55;
  --border: #6A727E;
  --divider: #515966;
  --text: #E9ECF1;
  --muted: #ADB5C0;
  --faint: #8F98A4;
  --accent: #D9B26F;
  --correct: #B3D9C4;
  --wrong: #E9BCAD;
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

header.site img { width: 40px; height: 40px; border-radius: 10px; }

header.site .name {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text);
}

header.site nav { margin-left: auto; display: flex; gap: 18px; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
header.site nav a:hover { color: var(--text); }

.hero { padding: 48px 0 24px; text-align: center; }

.hero h1 {
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.feature-img {
  display: block;
  width: 100%;
  max-width: 880px;
  margin: 32px auto 0;
  border-radius: 16px;
  border: 1px solid var(--border);
}

section { padding: 40px 0; }

section h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
}

.card {
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.modes { color: var(--muted); }

footer.site {
  border-top: 1px solid var(--divider);
  padding: 24px 0 40px;
  color: var(--faint);
  font-size: 14px;
}

footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }

/* Gizlilik sayfası */
article.legal { padding: 32px 0 48px; }
article.legal h1 { font-size: 32px; font-weight: 900; margin: 0 0 6px; }
article.legal .updated { color: var(--faint); margin: 0 0 24px; font-size: 14px; }
article.legal h2 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
article.legal p, article.legal li { font-size: 16px; }
article.legal ul { padding-left: 20px; }

@media (max-width: 560px) {
  header.site nav { display: none; }
  .hero { padding-top: 32px; }
}
