/* Dantel destek ve gizlilik sayfaları.
   Koyu sıcak zemin ve dantel ipliğinden ekru vurgu. #e8d9b6 / #131110: 13.48:1.
   Bu politika sayfalarında harici font ve analiz yüklenmez; sistem fontları
   kullanılır. Destek sayfasını okumak üçüncü taraf isteği üretmemeli. */

:root {
  color-scheme: dark;

  /* Zemin: sıcak kırık siyah. Nötr istersen #0c0c0e ailesi (depth2normal),
     sıcak istersen #141210 ailesi (tv/instagram). Saf #000 kullanma;
     istisna için SKILL.md'deki almanak notuna bak. */
  --bg: #131110;
  --surface: #1b1917;
  --surface-2: #24211e;
  --ink: #f4f1ec;
  --muted: #a29b91;
  --line: rgba(244, 241, 236, 0.09);
  --line-strong: rgba(244, 241, 236, 0.18);

  --accent: #e8d9b6;
  --accent-hover: #f7eccf;
  --accent-quiet: rgba(232, 217, 182, 0.13);
  --on-accent: var(--bg);

  /* Kod kutusu varsa: zeminden bir tık koyu. Yoksa bu ikisini sil. */
  --code-bg: #0c0b0a;
  --code-muted: #8d867c;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 900px;
  --prose: 66ch;
  --gutter: clamp(20px, 5vw, 64px);

  /* Tip skalası: role göre, büyükler akışkan. */
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.0625rem;
  --step-2: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --step-3: clamp(1.6rem, 1.15rem + 1.9vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.2rem + 4.4vw, 3.75rem);

  /* Biçim kilidi: kap 10, küçük 6, etkileşimli hap. Daha yükseği kullanma. */
  --radius: 10px;
  --radius-sm: 6px;
  --pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --section-y: clamp(44px, 5vw, 72px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
h1 { letter-spacing: -0.03em; line-height: 1.1; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

code, kbd, pre { font-family: var(--mono); }

/* Sayıysa mono'dur. */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* DEĞİŞTİR: accent'in %30-35 alfası. */
::selection { background: rgba(232, 217, 182, 0.32); }

/* Dil anahtarı: her çevrilen metin <span lang="en">/<span lang="tr"> çifti.
   Varsayılan İngilizce; data-lang'i içerikten ÖNCE çalışan küçük bir script
   yalnızca localStorage.lang'den okur (try/catch'li). Tarayıcı diline
   bakılmaz: Türkçe, ziyaretçinin düğmeye basarak verdiği bir karar. */
:root:not([data-lang="tr"]) [lang="tr"] { display: none !important; }
:root[data-lang="tr"] [lang="en"] { display: none !important; }

/* Film taneciği: sabit, tıklanamaz, kaydırmada yeniden çizilmez. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell { width: min(var(--measure), 100% - var(--gutter) * 2); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- üst çubuk ----------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* İşaret siteye özel: accent rengiyle çizilmiş mini bir sembol.
   Örnekler: tv'de anteni olan ekran, depth2normal'de küre gradyanı. */
.wordmark-mark { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); }

.masthead nav { display: flex; align-items: center; gap: 18px; font-size: var(--step--1); }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }

/* GitHub ve benzeri linkler metin değil ikon. */
.nav-icon { display: inline-flex; }
.nav-icon svg { width: 19px; height: 19px; display: block; }

/* Dil düğmesi: karşı dilin kodunu gösterir ("EN"/"TR"), seçim localStorage'da. */
.lang-toggle {
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink); }

/* --- kahraman ------------------------------------------------------------ */

.hero { padding: clamp(56px, 8vw, 104px) 0 var(--section-y); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow b { color: var(--accent); font-weight: 600; }

.hero h1 { font-size: var(--step-4); }

.hero-lede { max-width: var(--prose); margin: 20px 0 0; font-size: var(--step-1); color: var(--muted); }
.hero-lede strong { color: var(--ink); font-weight: 500; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* --- düğmeler: hepsi hap ------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: var(--ink); }

.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }

/* --- bölümler ------------------------------------------------------------ */

section { padding-block: var(--section-y); border-top: 1px solid var(--line); }

.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { max-width: var(--prose); margin: 12px 0 0; color: var(--muted); }

.prose { max-width: var(--prose); }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* --- kartlar ------------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: var(--step-1); margin-bottom: 8px; }
.card p { margin: 0; font-size: var(--step--1); color: var(--muted); }

/* --- alt bilgi ----------------------------------------------------------- */

footer {
  border-top: 1px solid var(--line);
  padding-block: 34px 44px;
  font-size: var(--step--1);
  color: var(--muted);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* Solda cobanov.dev linki, sağda bu ikon sırası + mono lisans/yıl.
   Sıra ve adresler: X, GitHub, LinkedIn, mail (SVG'ler template.html'de). */
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a { display: inline-flex; }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-meta { font-family: var(--mono); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

article h2 {margin:32px 0 12px;font-size:var(--step-2)}
article p, article li{color:var(--muted)}
article{padding-bottom:64px}

/* Tanıtım sayfası: koyu ev dili, uygulamayla aynı ekru iplik.
   Çevrimdışı uygulamanın destek/gizlilik vaadi korunur: harici font ve analiz yok.
   Wordmark ve tanıdık ev hissi için başlıklarda sistem serif bilinçli istisnadır. */
:root { --measure: 1120px; }
.wordmark { font-family: Georgia, serif; font-size: 25px; letter-spacing: -.04em; }
.landing-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-block: 96px 80px; }
.landing-hero h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(44px,5.2vw,66px); line-height: 1.08; }
.landing-hero .hero-lede { max-width: 38ch; }
.eyebrow { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.hero-actions { gap: 16px; align-items: center; }
.store-status { color: var(--accent); font-size: 13px; }
.price { font-size: 13px; color: var(--muted); margin-top: 18px; }
.price > .mono { color: var(--ink); font-size: 16px; margin-right: 4px; }
.regional { display: block; font-size: 11px; margin-top: 4px; }
.demo-wrap { min-width: 0; scroll-margin-top: 88px; }
.demo-screen { position: relative; overflow: hidden; aspect-ratio: 1.25; border: 7px solid #272420; border-radius: 10px; background: #181b1a; box-shadow: 0 24px 70px #0005; isolation: isolate; }
.demo-desktop { position: absolute; inset: 0; overflow: hidden; background: #8d9e93; }
.desktop-menubar { position: absolute; z-index: 2; inset: 0 0 auto; height: 22px; background: #203b2e22; color: #edf2e9; font-size: 9px; padding: 3px 12px; display: flex; justify-content: space-between; }
.sun { position: absolute; top: 16%; right: 14%; width: 70px; height: 70px; border-radius: 50%; background: #dacdae; }
.hill { position: absolute; width: 165%; height: 70%; border-radius: 50%; background: #526d5d; left: -35%; top: 45%; transform: rotate(12deg); }
.hill-front { left: 4%; top: 70%; background: #2e493d; transform: rotate(-16deg); }
.desktop-note { position: absolute; left: 10%; top: 25%; color: #f7f3e9; }
.desktop-note .mono { font-size: 8px; letter-spacing: .12em; }
.desktop-note p { font-family: Georgia, serif; font-size: clamp(28px,3vw,42px); line-height: 1.15; margin: 15px 0; }
.demo-dock { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; padding: 6px; border-radius: 10px; background: #ffffff28; }
.demo-dock i { width: 20px; height: 20px; background: #b3c5b8; border-radius: 5px; }
.demo-dock i:nth-child(even) { background: #d4c5a5; }
.demo-veil { position: absolute; inset: 0; background: #1b241b25; backdrop-filter: blur(13px); transition: opacity .24s var(--ease); }
.demo-lace { position: absolute; inset: 0 2% auto; transform-origin: top; filter: drop-shadow(0 3px 2px #0008); transition: transform .24s var(--ease); }
.demo-lace img { width: 100%; height: auto; display: block; user-select: none; }
.demo-grip { position: absolute; top: 46%; left: 50%; transform: translateX(-50%); color: #23392e; background: #eeeeeb66; backdrop-filter: blur(8px); border: 1px solid #ffffff30; border-radius: var(--pill); font-size: 9px; line-height: 18px; min-width: 32px; padding: 0 6px; letter-spacing: 1px; cursor: grab; touch-action: none; transition: top .24s var(--ease), opacity .24s var(--ease); }
.demo-grip::after { content: ''; position: absolute; inset: -12px; }
.demo-grip:active { cursor: grabbing; }
[data-covered="false"] .demo-lace { transform: translateY(-101%) scaleY(.15); }
[data-covered="false"] .demo-veil { opacity: 0; }
[data-covered="false"] .demo-grip { top: 4px; opacity: .8; }
.demo-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.demo-caption .mono { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.text-button { border: 0; border-radius: var(--pill); background: transparent; color: var(--accent); padding: 5px 8px; font: inherit; font-size: 13px; cursor: pointer; }
.text-button:hover { background: var(--accent-quiet); }
.story-grid,.details-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.section-label { color: var(--accent); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 20px; }
.story-grid h2,.details-grid h2,.closing h2 { font-family: Georgia,serif; font-weight: 400; font-size: clamp(32px,4vw,46px); }
.story-grid .prose { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 40px; }
.feature-number { display: block; color: var(--accent); font-size: 12px; margin-bottom: 24px; }
.features h3 { font-size: 18px; font-weight: 500; }
.features p { color: var(--muted); font-size: 14px; }
.specs { margin: 0; font-size: 14px; }
.specs > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs > div:first-child { padding-top: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.closing { text-align: center; }
.closing p { color: var(--muted); margin: 18px 0 26px; }
@media(max-width: 800px) {
 .landing-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
 .hero-copy { max-width: 560px; }
 .landing-hero h1 { font-size: clamp(44px,9vw,66px); }
 .demo-wrap { max-width: 620px; width: 100%; }
 .story-grid,.details-grid { grid-template-columns: 1fr; gap: 32px; }
 .features { gap: 24px; }
 .desktop-note p { font-size: 40px; }
}
@media(max-width: 520px) {
 .masthead nav { gap: 12px; }
 .features { grid-template-columns: 1fr; gap: 28px; }
 .feature-number { margin-bottom: 10px; }
 .features p { max-width: 42ch; margin-top: 10px; }
 .demo-caption { gap: 4px; }
 .demo-caption .mono { font-size: 8px; }
 .desktop-note p { font-size: 32px; }
 .footer-inner { align-items: flex-start; }
}
@media(prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
