/* ASTRA — yasal sayfalar. Mobil uygulamanın "Gece Göğü" token'larıyla aynı
   palet (apps/mobile/src/theme/tokens.ts → themes.dark). */
:root {
  --bg: #0A0814;
  --surface: rgba(255, 255, 255, 0.052);
  --border: rgba(255, 255, 255, 0.07);
  --text-primary: #F0ECFF;
  --text-secondary: #A49CC2;
  --text-tertiary: #7E76A0;
  --accent: #FF6B6B;
  --accent-soft: rgba(255, 107, 107, 0.12);
  --link: #FF8A7A;
}

/* Açık tema tercih eden cihazlarda okunabilir kalsın — yasal metin her
   koşulda erişilebilir olmalı. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FAF9FB;
    --surface: #FFFFFF;
    --border: #E8E4EE;
    --text-primary: #1C1330;
    --text-secondary: #5B5468;
    --text-tertiary: #6E6878;
    --accent: #D6455A;
    --accent-soft: #FFEDEC;
    --link: #C2185B;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px);
  gap: 56px;
  justify-content: center;
  padding: 72px 24px 120px;
}

@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); padding: 40px 16px 80px; }
  .toc { display: none; }
}

header.hero { grid-column: 1 / -1; max-width: 680px; margin: 0 auto 8px; width: 100%; }

.eyebrow {
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 40px; font-weight: 700;
  letter-spacing: -0.01em; text-wrap: balance;
  margin: 10px 0 8px;
}

@media (max-width: 480px) { h1 { font-size: 30px; } }

.meta { color: var(--text-secondary); font-size: 14px; }

.toc { position: sticky; top: 72px; align-self: start; font-size: 14px; }
.toc-label {
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { color: var(--text-secondary); text-decoration: none; display: flex; gap: 10px; }
.toc a:hover, .toc a:focus-visible { color: var(--text-primary); }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  color: var(--text-tertiary); font-size: 12px; padding-top: 2px;
}

main { min-width: 0; }

section { padding-top: 44px; border-top: 1px solid var(--border); margin-top: 44px; }
section:first-of-type { margin-top: 40px; }

h2 {
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 16px; scroll-margin-top: 24px;
}
h2 .num { font-variant-numeric: tabular-nums; color: var(--accent); font-size: 15px; font-weight: 700; }

p { margin: 0 0 14px; color: var(--text-primary); }
p.lead { color: var(--text-secondary); font-size: 17px; }
p.note { color: var(--text-tertiary); font-size: 13.5px; }

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }

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

table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th {
  color: var(--text-secondary); font-weight: 600;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px; margin: 18px 0; font-size: 15px;
}
.callout strong { font-family: 'Sora', 'Manrope', sans-serif; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  display: grid; gap: 10px;
}
.contact-card .label { color: var(--text-tertiary); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-card .value { font-size: 15px; }

footer {
  max-width: 680px; margin: 60px auto 0;
  padding-top: 28px; border-top: 1px solid var(--border);
  color: var(--text-tertiary); font-size: 13px;
}
footer a { color: var(--text-secondary); }
