/* Winglet sitesi (docs/site/README-site.md): tek CSS, cerez/izleme yok, yazi tipleri kendi sunucumuzdan.
   Renkler assets/brand/tokens.json'dan; koyu tema prefers-color-scheme ile (docs/ui/README-koyu-tema.md esleme tablosu). */
@import url("fonts.css");

:root {
  color-scheme: light dark;
  --ground: #F3F4F6;       /* K50-oncesi mavi-gri #EEF3FA idi; acik temada notr (2026-10-04 karar) */
  --surface: #FFFFFF;
  --ink: #0D1B3D;
  --muted: #5B6270;
  --line: #E3E5EA;
  --night: #0D1B3D;        /* koyu paneller: indirme bolumu, hero karti, "neden" kutusu */
  --night-card: #22335F;
  --night-muted: #B9C4DE;
  --on-strong: #FFFFFF;
  --action: #3563D6;
  --link: #3563D6;
  --link-hover: #0D1B3D;
  --signal: #12B886;
  --logo: #0D1B3D;
  --focus: #3563D6;
  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 24px;
  --gutter: max(clamp(20px, 6vw, 120px), calc((100vw - 1200px) / 2)); /* icerik en cok 1200 px, ortada; zeminler tam genislik */
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0B1735;
    --surface: #13224A;
    --ink: #EEF3FA;
    --muted: #A9B5D0;
    --line: #22335F;
    --night: #1B3068;
    --link: #EEF3FA;
    --link-hover: #A9B5D0;
    --logo: #EEF3FA;
    --focus: #EEF3FA;
  }
  a:not(.btn):not(.brand):not(.nav-link):not(.footer-link):not(.lang a) { text-decoration: underline; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
}
img, svg { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif; color: inherit; }
h1 { font-weight: 800; letter-spacing: -0.01em; }
h2 { font-weight: 700; }
h3 { font-weight: 700; font-size: 20px; line-height: 26px; }
p { margin: 0; text-wrap: pretty; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 16px; background: var(--surface); color: var(--ink); border-radius: var(--radius-s); }
.skip:focus { top: 12px; }

/* ---------- cihaza gore bloklar: varsayilan bilgisayar; JS <html>'e is-android / is-ios ekler ---------- */
.d-android, .d-ios { display: none !important; }
html.is-android .d-desktop-only, html.is-ios .d-desktop-only { display: none !important; }
html.is-android .d-android { display: revert !important; }
html.is-ios .d-ios { display: revert !important; }
html.is-android .d-no-android, html.is-ios .d-no-ios { display: none !important; }

/* ---------- ust bar ---------- */
.site-header { height: 88px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: 'Bricolage Grotesque', 'Segoe UI', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
.brand:hover { color: var(--ink); }
.logo-mark .m-body { fill: var(--logo); }
.logo-mark .m-phone { fill: var(--signal); }
.site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--muted); }
.lang { display: flex; align-items: center; gap: 2px; font-size: 14px; color: var(--muted); }
.lang a { padding: 8px 4px; color: var(--muted); text-decoration: none; font-weight: 500; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-s); border: 2px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--action); color: #FFFFFF; }
.btn-primary:hover { color: #FFFFFF; filter: brightness(1.08); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-outline { background: var(--surface); border-color: var(--action); color: var(--action); }
@media (prefers-color-scheme: dark) { .btn-outline { color: var(--ink); border-color: var(--action); } }
.btn svg { flex-shrink: 0; }
.btn-primary svg, .btn-ghost svg { fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- kahraman ---------- */
.hero { padding: 48px var(--gutter) 96px; display: grid; grid-template-columns: 1fr 520px; gap: 64px; align-items: center; }
.hero h1 { font-size: 64px; line-height: 68px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.lead { max-width: 560px; font-size: 20px; line-height: 30px; color: var(--muted); }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.meta { font-size: 14px; line-height: 20px; color: var(--muted); }
.qr-card { align-self: flex-start; padding: 16px 24px 16px 16px; background: var(--surface); border-radius: var(--radius-l); display: flex; align-items: center; gap: 16px; }
.qr-box { flex-shrink: 0; padding: 8px; background: #FFFFFF; border-radius: var(--radius-m); }
.qr-box svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.qr-box path { stroke: #0D1B3D; }
.qr-sm { width: 96px; height: 96px; }
.qr-lg { width: 160px; height: 160px; padding: 13px; }
.qr-card .t { font-weight: 600; }
.qr-card .s { font-size: 14px; line-height: 20px; color: var(--muted); }
.hero-panel { height: 440px; padding: 32px; background: var(--night); border-radius: var(--radius-l); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.hero-panel .logo-mark .m-body { fill: #FFFFFF; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill { padding: 6px 14px; border-radius: 999px; background: var(--night-card); color: var(--night-muted); font-size: 14px; line-height: 20px; font-weight: 500; }
.note-card { padding: 20px 24px; background: var(--surface); border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 8px; }
.note-card .t { font-weight: 600; }
.note-card .s { font-size: 14px; line-height: 20px; color: var(--muted); }
.play-badge { display: inline-block; line-height: 0; padding: 12px; } /* Google: rozet yuksekliginin 1/4'u (48/4 = 12 px) bos alan; rozet degistirilmez, yalniz olceklenir */
.play-badge img { height: 48px; width: auto; display: block; }
.play-badge.soon { opacity: 0.55; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--night); color: #FFFFFF; font-weight: 600; font-size: 14px; z-index: 40; }

/* ---------- bolumler ---------- */
.section { padding: 96px var(--gutter); display: flex; flex-direction: column; gap: 48px; }
.section h2 { font-size: 40px; line-height: 44px; }
.section .sub { font-size: 18px; line-height: 28px; color: var(--muted); margin-top: 12px; }
.section-surface { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.step { padding: 32px; background: var(--ground); border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 12px; }
.step .num { width: 40px; height: 40px; border-radius: 999px; background: var(--action); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 20px; }
.step p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 32px; background: var(--surface); border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 12px; }
.feat-ico { width: 48px; height: 48px; border-radius: 999px; background: var(--ground); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 15px; }
.feature svg, .ico { fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.feature p { color: var(--muted); }
.section-night { background: var(--night); color: #FFFFFF; }
.section-night .sub { color: var(--night-muted); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dl-card { padding: 32px; background: var(--night-card); border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 16px; }
.dl-card h3 { font-size: 24px; line-height: 30px; }
.dl-card p { color: var(--night-muted); }
.dl-card a:not(.btn) { color: #FFFFFF; font-size: 14px; line-height: 20px; text-decoration: underline; }
.dl-card.row { flex-direction: row; align-items: center; gap: 24px; }
.dl-card .stack { display: flex; flex-direction: column; gap: 12px; }
.dl-meta { font-size: 14px; line-height: 20px; color: var(--night-muted); word-break: break-all; }

/* ---------- SSS ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; }
details.faq-item { padding: 24px; background: var(--surface); border-radius: var(--radius-l); }
details.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; line-height: 28px; font-weight: 600; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .chev { stroke: var(--muted); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
details.faq-item[open] summary .chev { transform: rotate(180deg); }
details.faq-item p { margin-top: 12px; color: var(--muted); }

/* ---------- alt bilgi ---------- */
.site-footer { padding: 48px var(--gutter); background: var(--surface); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.site-footer .brand { font-size: 20px; }
.footer-tag { font-size: 14px; line-height: 20px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.footer-link { color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; }
.footer-link:hover { color: var(--muted); }
.footer-note { width: 100%; font-size: 12px; line-height: 18px; color: var(--muted); }

/* ---------- belge sayfalari (rehber, gizlilik, lisanslar, android, indir) ---------- */
.doc { padding: 48px var(--gutter) 96px; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.doc h1 { font-size: 48px; line-height: 52px; }
.doc .lead { max-width: none; }
.doc-step { display: grid; grid-template-columns: 40px 1fr; gap: 8px 16px; padding: 32px; background: var(--surface); border-radius: var(--radius-l); }
.doc-step .num { width: 40px; height: 40px; border-radius: 999px; background: var(--action); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 20px; }
.doc-step h2 { font-size: 24px; line-height: 30px; align-self: center; }
.doc-step .body { grid-column: 2; display: flex; flex-direction: column; gap: 16px; color: var(--muted); }
.shot { min-height: 160px; border: 2px dashed var(--line); border-radius: var(--radius-m); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; color: var(--muted); }
.aside-night { padding: 32px; background: var(--night); color: #FFFFFF; border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 12px; }
.aside-night h2 { font-size: 24px; line-height: 30px; }
.aside-night p { color: var(--night-muted); }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 28px; line-height: 34px; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose .draft { font-size: 14px; color: var(--muted); }
.prose pre { margin: 0; padding: 16px; background: var(--surface); border-radius: var(--radius-m); overflow-x: auto; font-size: 13px; line-height: 20px; white-space: pre-wrap; }
.center-page { min-height: 55vh; justify-content: center; }

/* ---------- dar ekran (telefon duzeni) ---------- */
@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .site-header { height: 72px; gap: 16px; }
  .site-nav .nav-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; padding-bottom: 56px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .lead { font-size: 18px; line-height: 28px; }
  .hero-panel { order: -1; height: auto; padding: 24px; gap: 20px; }
  .hero-panel .logo-mark { width: 160px; height: auto; }
  .section { padding: 56px var(--gutter); gap: 32px; }
  .section h2 { font-size: 28px; line-height: 34px; }
  .steps, .dl-grid { grid-template-columns: 1fr; }
  .dl-card.row { flex-direction: column; align-items: flex-start; }
  .doc h1 { font-size: 36px; line-height: 40px; }
  .doc-step { padding: 24px; grid-template-columns: 36px 1fr; }
  .footer-links { margin-left: 0; }
  .cta-row .btn-lg { width: 100%; }
}
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } details.faq-item summary .chev { transition: none; } }
