:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #1a1f2b;
  --muted: #5b6474;
  --border: #dde2ea;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --accent-soft: #d8f0ed;
  --good: #15803d;
  --warn: #b45309;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .05);
  --max: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f131a;
    --surface: #171c25;
    --surface-2: #1f2632;
    --text: #e6e9ef;
    --muted: #9aa3b2;
    --border: #2a3240;
    --accent: #2dd4bf;
    --accent-ink: #062320;
    --accent-soft: #12332f;
    --good: #4ade80;
    --warn: #fbbf24;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
button, input { font: inherit; }
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

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

/* Üst menü */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* Bölümler */
section { padding: 56px 0; }
.hero { padding: 64px 0 40px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 12px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn.secondary { background: var(--surface-2); color: var(--text); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card .num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.alt-bg { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Demo */
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search input { flex: 1 1 240px; min-width: 0; padding: 12px 14px; font-size: 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.chip { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: 4px 12px; border-radius: 999px; font-size: .9rem; cursor: pointer; }
.notice { font-size: .9rem; color: var(--warn); margin-top: 12px; }
.results { margin-top: 20px; display: grid; gap: 12px; }
.result { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; text-align: left; width: 100%; font: inherit; color: inherit; cursor: pointer; }
.result:hover { border-color: var(--accent); }
.result .meta { font-size: .9rem; color: var(--muted); }
.price { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.detail { margin-top: 20px; }
.detail .card h3 { margin-top: 24px; }
.detail .card h3:first-child { margin-top: 0; }
.detail .card > p { margin-bottom: 8px; }
.detail td, .detail th { white-space: nowrap; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.badge { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.badge.out { background: var(--surface-2); color: var(--muted); }
.saving { color: var(--good); font-weight: 600; }
.stars { color: var(--warn); }

/* Metin sayfaları */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.25rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.disclosure { max-width: 620px; }
