/*
 * Tanıtım sitesi — ortak stil.
 *
 * Renkler packages/shared/src/design/tokens.ts ile AYNI ailedendir; site
 * uygulamanın parçası değil ama aynı markanın yüzü. Token dosyasını burada
 * import edemiyoruz (bu site derlenmez, düz HTML), bu yüzden değerler
 * kopyalandı — tokens.ts değişirse burası da elle güncellenir.
 *
 * JavaScript YOK, dış kaynak YOK: yasal metinlerin her koşulda açılması
 * gerekir ve bir CDN kesintisi bunu engellememelidir.
 */

:root {
  --primary: #7c3aed;
  --primary-deep: #2e1065;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 16px;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 72px;
}

header.hero {
  text-align: center;
  padding: 56px 20px 32px;
}

.orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: radial-gradient(circle at 50% 45%, #a776f9, #6d28d9);
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 34em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 16px;
}

.card h3 {
  margin-top: 0;
}

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

.btn {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  min-height: 48px;
}

.btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

/* Kriz kutusu — sayfanın en görünür öğelerinden biri olmalı, ama
   panik üretmeyen bir tonda. Kırmızı KULLANILMAZ: kırmızı yalnız
   yıkıcı aksiyonlara ayrılmıştır (MD/18). */
.crisis {
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 32px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.94rem;
}

th,
td {
  text-align: start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

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

.small {
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  margin: 0 10px;
}

.notice {
  border-inline-start: 3px solid var(--primary);
  padding: 4px 0 4px 16px;
  margin: 0 0 20px;
  color: var(--text-muted);
}
