/* mia tanıtım sitesi: uygulamanın koyu teması (tek tema), sade, kutusuz. Yazı tipleri sitede barındırılır (üçüncü tarafa istek yok). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/Figtree_400Regular.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/Figtree_500Medium.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/Figtree_600SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/Figtree_700Bold.woff2) format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/Sora_600SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Playwrite IT Trad'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/PlaywriteITTrad_300Light.woff2) format('woff2'); }
/* Figtree ve Sora'da Kiril harf yok: Rusça metin Manrope ile tamamlanır (yalnızca Kiril karakter görününce iner) */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/Manrope_cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root {
  --bg: #0B0E24; --bg2: #10132D; --bg3: #080A1D; --card: #141838;
  --fg: #F2F1EE; --sub: #A9AECB; --mute: #7B80A3; --line: rgba(255,255,255,.1);
  --accent: #FFA526; --accentFg: #171B3C; --danger: #F07A6A; --ok: #3DBE7E;
  --w: 100%; --gut: clamp(20px, 4vw, 72px); --nd: 52px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* lastik (overscroll) etkisi kapalı: sayfa tepeden/dipten esneyip sabit header'ın üstünde ayrı tonda boşluk açmasın */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); overscroll-behavior-y: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--fg); font: 400 17px/1.6 'Figtree', 'Manrope', system-ui, -apple-system, sans-serif;
  min-height: 100vh; overflow-x: hidden; padding-top: 64px; /* sabit header'ın yeri */
  /* body'nin kendi zemini YOK: zemin rengi html'de. body boyanırsa ekrana sabit daireleri (.bgx, z-index -1) örter, daireler yalnız header'da görünür */
  overscroll-behavior-y: none;
}
/* zemin: uygulamanın arka planı. Sağ üstte açık, sol altta koyu keskin kenarlı daire; tüm sayfada tek, ekrana sabit katman.
   Bölümlerin kendi zemini yok. Kaydırınca iki daire birlikte, tek oranla yukarı kayar (bg.js, yalnızca transform). background-attachment: fixed yok. */
.bgx { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; overflow: hidden; pointer-events: none; }
.bgx i { position: absolute; display: block; border-radius: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); will-change: transform; }
.bgx .b1 { --d: 113vmax; left: 108%; top: -6%; background: var(--bg2); }
.bgx .b2 { --d: 129vmax; left: -14%; top: 110%; background: var(--bg3); }
@supports (width: hypot(1px, 1px)) {
  .bgx .b1 { --d: calc(hypot(100vw, 100lvh) * .985); }
  .bgx .b2 { --d: calc(hypot(100vw, 100lvh) * 1.12); }
}
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: 'Sora', 'Manrope', system-ui, sans-serif; letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accentFg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* yazı işareti: mıa + amber yıldız */
.wm { font-family: 'Playwrite IT Trad', cursive; font-weight: 300; font-size: 26px; line-height: 1.5; white-space: nowrap; color: #F8F4EC; }
.wm .ws { position: relative; display: inline-block; }
.wm .ws svg { position: absolute; left: 50%; top: .46em; width: .3em; height: .3em; transform: translate(-50%, -50%); fill: var(--accent); }
.st { width: 10px; height: 10px; fill: var(--accent); flex: none; }

/* üst çubuk: ekrana sabit (sticky değil: hızlı kaydırmada yerinden oynamaz; lastik etkisi html'de kapalı, üstünde boşluk açılmaz).
   Alt kenar çizgisiz, düz renk yok: header'ın içinde sayfa zemininin (.bgx) birebir kopyası (.hbg) var, aynı yerde ve bg.js ile aynı
   kaymada. Header boyunca (60px) tam görünür, 112px'e kadar solar: altından geçen içerik zeminin içinde kaybolur, zemin header'da kesilmez. */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 5; }
.top .hbg { position: absolute; z-index: -1; background: var(--bg); transition: opacity .25s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 60px, transparent 112px); mask-image: linear-gradient(180deg, #000 0, #000 60px, transparent 112px); }
.at0 .top .hbg { opacity: 0; } /* sayfa en üstteyken altında içerik yok: kopya gizli, girişteki yazı solmaz (bg.js) */
.top .bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: clamp(6px, 1vw, 14px); }
/* logo (halkasız): akış çizgisi hilalin tam altından iner (hilal merkezi x %47,5, alt ucu y %77) */
.bnode { width: var(--nd); height: var(--nd); display: block; flex: none; }
/* yazının gövdesi (x yüksekliği) hilalin ortasına gelsin: harflerin üstü boş olduğu için kutu ortası gövdeden yüksekte kalır */
.top .brand .wm { position: relative; top: -.21em; }
.bnode .logo { width: 100%; height: 100%; }
.brand:hover { color: inherit; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--sub); }
.nav a { text-decoration: none; white-space: nowrap; }
/* dil seçici: küçük hap düğme (küre + kod + ok), altında açılan koyu panel; her dil kendi adıyla, geçerli dil amber işaretli */
.lang { position: relative; flex: none; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 9px 0 9px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--sub); cursor: pointer; user-select: none; -webkit-user-select: none; transition: color .15s, border-color .15s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--fg); border-color: rgba(255,255,255,.24); }
.lang summary:focus-visible { border-radius: 999px; }
.lang svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lang .gl { width: 15px; height: 15px; }
.lang .cv { width: 12px; height: 12px; margin-left: -1px; transition: transform .2s ease; }
.lang[open] .cv { transform: rotate(180deg); }
.lmenu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 176px; padding: 6px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(20,24,56,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); transform-origin: top right; }
.lang[open] .lmenu { animation: lmIn .16s ease-out; }
@keyframes lmIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.lmenu a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: 9px; font-size: 15px; color: var(--sub); text-decoration: none; white-space: nowrap; }
.lmenu a b { width: 22px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--mute); }
.lmenu a:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.lmenu a[aria-current] { color: var(--fg); }
.lmenu .ck { width: 16px; height: 16px; margin-left: auto; color: var(--accent); stroke-width: 1.8; }
@media (prefers-reduced-motion: reduce) { .lang[open] .lmenu { animation: none; } .lang .cv { transition: none; } }
@media (max-width: 640px) { .nav a[href^="#"] { display: none; } .top .bar { gap: 14px; } }

/* ortak */
.kick { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.sec { padding-top: 96px; }
.sec h2 { font-size: clamp(30px, 4.4vw, 46px); max-width: 18ch; }
.sub { color: var(--sub); max-width: 58ch; margin-top: 16px; font-size: 18px; }
.sub.small { font-size: 15px; }
.muted { color: var(--sub); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accentFg); font: 600 16px/1 'Figtree', 'Manrope', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--accentFg); filter: brightness(1.06); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.danger { background: var(--danger); color: #1B0E14; }
.link { background: none; border: 0; color: var(--sub); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 0; }

/* mağaza düğmeleri */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.22); text-decoration: none; color: var(--fg); }
.store:hover { border-color: var(--accent); color: var(--fg); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; color: var(--sub); }
.store b { font-size: 17px; font-weight: 600; }
.store.off { opacity: .55; border-style: dashed; }


.logo { width: 64px; height: 64px; display: block; }
main h2 { font-size: clamp(30px, 4.6vw, 60px); max-width: 16ch; }

sup { font: 700 11px 'Figtree', 'Manrope', sans-serif; letter-spacing: .06em; color: var(--accent); vertical-align: super; margin-left: 4px; }
.sub sup { vertical-align: baseline; margin: 0 4px 0 0; }



/* alt bilgi */
.foot { margin-top: 0; border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--sub); font-size: 15px; }
.fhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fhead p { color: var(--mute); }
.flinks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 22px; }
.flinks a { text-decoration: none; }
.flinks a[aria-current] { color: var(--fg); }
.fine { color: var(--mute); font-size: 13px; margin-top: 8px; max-width: 80ch; }
.fine a { text-decoration: none; }

/* belge sayfaları: tam genişlik; solda başlık ve içindekiler sabit, sağda metin */
.docw { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 40px clamp(40px, 6vw, 120px); padding: 56px var(--gut) 0; align-items: start; }
.dside { position: sticky; top: 96px; max-height: calc(100svh - 120px); overflow-y: auto; scrollbar-width: none; }
.dside::-webkit-scrollbar { display: none; }
.dh h1 { font-size: clamp(32px, 4vw, 56px); max-width: 12ch; overflow-wrap: break-word; hyphens: auto; }
.upd { color: var(--mute); font-size: 14px; margin-top: 14px; }
.toc { margin: 36px 0 8px; padding: 4px 0 4px 20px; border-left: 1px solid var(--line); }
.toc p { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 600; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding-left: 0; color: var(--sub); font-size: 15px; }
.toc li { padding: 4px 0; }
.toc a { text-decoration: none; }
.prose { padding-top: 6px; }
.prose > :first-child { margin-top: 0; }
@media (max-width: 860px) {
  .docw { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .dside { position: static; max-height: none; overflow: visible; }
  .toc ol { columns: 2; column-gap: 24px; }
  .toc li { break-inside: avoid; }
}
@media (max-width: 520px) { .toc ol { columns: 1; } }
.prose h2 { font-size: clamp(22px, 2vw, 28px); margin: 48px 0 12px; scroll-margin-top: 84px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; font-family: 'Figtree', 'Manrope', sans-serif; letter-spacing: 0; }
.prose p, .prose li { color: #D9D8E3; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255,165,38,.6); overflow-wrap: anywhere; }
.prose a:hover { color: var(--accent); }
.prose .lead { font-size: 19px; color: var(--sub); }
.prose .tbl { overflow-x: auto; margin: 8px 0 20px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: #D9D8E3; }
.prose th { color: var(--mute); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.prose td:first-child { color: var(--fg); font-weight: 500; }
.prose .note { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; margin: 20px 0; color: var(--sub); }
.prose dl { margin: 0 0 16px; }
.prose dt { color: var(--fg); font-weight: 600; margin-top: 12px; }
.prose dd { margin: 4px 0 0; color: #D9D8E3; }

/* hesap silme formu */
.delf { margin: 24px 0 28px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 460px; }
.delf .step { display: flex; flex-direction: column; gap: 10px; }
.delf label { font-size: 14px; color: var(--sub); font-weight: 600; }
.delf input[type=email], .delf input[inputmode=numeric] { height: 50px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: var(--fg); font: 500 17px 'Figtree', 'Manrope', sans-serif; padding: 0 16px; width: 100%; }
.delf input[inputmode=numeric] { letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.delf input:focus { outline: none; border-color: var(--accent); }
.delf .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: #D9D8E3; font-size: 15px; margin: 6px 0; }
.delf .chk input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--danger); flex: none; }
.delf .btn { margin-top: 6px; align-self: flex-start; }
.delf .msg { margin-top: 12px; font-size: 15px; min-height: 1.4em; }
.delf .msg.err { color: var(--danger); }
.delf .ok { color: var(--fg); }

.nf { padding-top: 96px; min-height: 50vh; }
.nf h1 { font-size: clamp(32px, 5vw, 52px); }
.nf .btn { margin-top: 28px; }
.delf .step[hidden] { display: none; }
.delf .link { align-self: flex-start; }
#main { overflow-x: hidden; overflow-x: clip; }
.docw > * { min-width: 0; }
@media (prefers-reduced-motion: reduce) { .bgx i { transform: none !important; } }
