/* ÜRETİLMİŞ DOSYA — elle düzenlemeyin.
   Kaynak: tools/site/build_site.dart (_css)
   Yeniden üret: dart run tools/site/build_site.dart */

:root {
  --bg: #ffffff;
  --fg: #1a1c1e;
  --muted: #5f6368;
  --accent: #1565c0;
  --accent-soft: #e9f0fa;
  --line: #e3e5e8;
  --card: #f7f8fa;
  --ok: #1b7f5a;
  --ok-soft: #e4f3ec;
  --warn: #8a5a00;
  --warn-soft: #fbf0dc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --fg: #e6e8ea;
    --muted: #a0a6ad;
    --accent: #7cb0f0;
    --accent-soft: #182634;
    --line: #2a2e33;
    --card: #1a1d21;
    --ok: #6fd3a8;
    --ok-soft: #16281f;
    --warn: #e3b768;
    --warn-soft: #2a2317;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

/* --- Başlık çubuğu --- */

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.site-header .brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}

.site-header nav { flex: 1 1 auto; }

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 18px;
  font-size: 14px;
}

.site-header nav a:hover { color: var(--accent); }

.lang { font-size: 13px; display: flex; gap: 8px; align-items: center; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--accent); }
.lang .lang-current { color: var(--fg); font-weight: 600; }

/* --- Yerleşim --- */

main { margin: 0 auto; padding: 36px 24px 88px; }
main.prose { max-width: 780px; }
main.wide { max-width: 1040px; }
main.wide .narrow { max-width: 780px; }

.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; opacity: 0.6; }

/* --- Tipografi --- */

h1 {
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 40px 0 12px;
  color: var(--accent);
}

h3 { font-size: 16px; margin: 0 0 6px; }
p { margin: 0 0 14px; }

.lede { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.note { color: var(--muted); font-size: 13px; }

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

@media (max-width: 560px) {
  h1 { font-size: 26px; }
  h2 { font-size: 18px; margin-top: 32px; }
}

/* --- Ana sayfa --- */

.hero { padding: 12px 0 8px; }
.hero h1 { font-size: 38px; }
.hero .lede { font-size: 17px; margin-bottom: 16px; }
.hero-intro { max-width: 640px; color: var(--fg); }

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

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px 0 8px;
}

@media (min-width: 720px) {
  .app-grid { grid-template-columns: 1fr 1fr; }
}

.app-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.app-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex: 0 0 auto;
  background: var(--bg);
}

.app-card-text { min-width: 0; }
.app-card-text h3 { font-size: 18px; }
.app-card-text p { color: var(--muted); font-size: 14px; margin: 0 0 10px; }

.app-card-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* --- Durum hapları --- */

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }

.pill {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg);
  text-decoration: none;
  white-space: nowrap;
}

.pill-live { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.pill-review { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
a.pill:hover { border-color: currentColor; }

/* --- Ürün sayfası --- */

.button {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  margin: 6px 0 4px;
}

.button:hover { filter: brightness(1.08); }

@media (prefers-color-scheme: dark) {
  .button { color: #0d1116; }
}

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

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 14px 0 22px;
}

@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
}

.features .card { margin: 0; }
.features p { margin: 0; font-size: 14px; color: var(--muted); }

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 14px;
  margin: 0 0 8px;
  scroll-snap-type: x mandatory;
}

.shot {
  flex: 0 0 auto;
  width: 220px;
  max-width: 62vw;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: var(--card);
}

.legal-list { list-style: none; padding: 0; }
.legal-list li { margin-bottom: 8px; }

.tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
}

/* --- Alt bilgi --- */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 26px 24px 34px;
  text-align: center;
}

.site-footer p { margin: 0 0 6px; }
.site-footer .trade-name { max-width: 640px; margin: 0 auto 8px; }

.footer-legal { margin: 0 0 10px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
