/* Doxoba internet sitesi — Tasarım C · Canlı ve Samimi (uygulamadaki renklerin aynısı, src/theme/palette.ts) */
@font-face { font-family: 'Nunito'; src: url('fonts/Nunito_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/Nunito_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/Nunito_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #f6f4ff;
  --surface: #ffffff;
  --surface-alt: #f1eefc;
  --text: #1c1640;
  --muted: #6d6892;
  --border: #e7e3fa;
  --accent: #5b4cf0;
  --on-accent: #ffffff;
  --accent-soft: #eeebff;
  --accent-text: #4a3be0;
  --dc: #ec6a00;
  --ac: #14b87a;
  --shadow: 0 10px 30px rgba(64, 40, 160, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120f24;
    --surface: #1d1936;
    --surface-alt: #262145;
    --text: #f1eeff;
    --muted: #a39dc8;
    --border: #2c2750;
    --accent: #8b7dff;
    --on-accent: #140f2e;
    --accent-soft: #2a2452;
    --accent-text: #b1a8ff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--accent-text); font-weight: 700; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
nav.links { display: flex; gap: 6px; flex-wrap: wrap; }
nav.links a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-radius: 999px; font-size: 15px; }
nav.links a:hover, nav.links a[aria-current='page'] { background: var(--accent-soft); color: var(--accent-text); }

.hero { padding: 40px 0 24px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #fff; }
.pill.dc { background: var(--dc); }
.pill.ac { background: var(--ac); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 800; }
.note { color: var(--muted); font-size: 15px; margin-top: 12px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 16px 0 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }
.card .icon { font-size: 28px; margin-bottom: 8px; }

article.doc { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px 22px; margin: 8px 0 40px; box-shadow: var(--shadow); }
article.doc h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; margin: 0 0 8px; font-weight: 800; }
article.doc h2 { font-size: 20px; margin: 28px 0 8px; font-weight: 800; }
article.doc .meta { color: var(--muted); margin: 0 0 16px; }
article.doc ul, article.doc ol { padding-left: 22px; }
article.doc li { margin: 4px 0; }
.draft { background: var(--accent-soft); color: var(--accent-text); border-radius: 16px; padding: 12px 16px; font-weight: 700; margin: 0 0 16px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-alt); }

footer.bottom { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
footer.bottom .wrap { display: flex; flex-direction: column; gap: 6px; }
footer.bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
