:root {
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --card: #ffffff;
  --ink: #15171c;
  --ink-2: #3d3c38;
  --muted: #74726b;
  --line: #e2ded3;
  --accent: #e8501f;
  --accent-ink: #ffffff;
  --accent-soft: #fde6dc;
  --ok: #1d7a4f;
  --ok-soft: #dcf2e6;
  --err: #b3261e;
  --err-soft: #fbe3e1;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(21, 23, 28, .04), 0 8px 24px -12px rgba(21, 23, 28, .12);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121316; --paper-2: #191a1e; --card: #1c1d22; --ink: #f1efe8; --ink-2: #c9c6bd;
    --muted: #918e85; --line: #2c2d33; --accent: #ff6a36; --accent-soft: #3a2018;
    --ok: #5fd39a; --ok-soft: #173326; --err: #ff8a80; --err-soft: #3a1c1a;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121316; --paper-2: #191a1e; --card: #1c1d22; --ink: #f1efe8; --ink-2: #c9c6bd;
  --muted: #918e85; --line: #2c2d33; --accent: #ff6a36; --accent-soft: #3a2018;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }

/* ---------- Üst çubuk ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__slash { color: var(--accent); padding: 0 1px; }
.topsearch { margin-left: auto; position: relative; display: none; align-items: center; }
.topsearch svg { position: absolute; left: 12px; color: var(--muted); }
.topsearch input { width: 260px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 0 14px 0 38px; font: inherit; font-size: 14px; }
.topnav { margin-left: auto; font-size: 14px; }
.topnav a { text-decoration: none; color: var(--muted); }
.topnav a:hover { color: var(--ink); }
@media (min-width: 820px) { .topsearch { display: flex; } .topnav { margin-left: 0; } }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background:
  radial-gradient(1000px 300px at 90% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.hero--compact { padding: 32px 0 28px; }
.eyebrow { margin: 0 0 14px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { text-decoration: none; }
.hero__title { font-size: clamp(36px, 6.4vw, 72px); font-weight: 800; max-width: 17ch; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title--sm { font-size: clamp(28px, 4vw, 44px); max-width: none; }
.hero__lead { max-width: 52ch; margin: 18px 0 0; font-size: 18px; color: var(--ink-2); }
.bigsearch { display: flex; gap: 8px; margin-top: 28px; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.bigsearch input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; padding: 0 12px; outline: none; }
.bigsearch button { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper); font: 600 15px var(--sans); cursor: pointer; }
.stats { display: flex; gap: 36px; margin: 32px 0 0; padding: 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font: 700 28px/1.1 var(--display); letter-spacing: -0.02em; }

/* ---------- Liste ---------- */
.listing { padding-top: 36px; padding-bottom: 64px; }
.listing__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.listing__title { font-size: 24px; }
.sorter { display: inline-flex; background: var(--paper-2); border-radius: 10px; padding: 4px; }
.sorter a { padding: 7px 12px; border-radius: 7px; font-size: 14px; text-decoration: none; color: var(--muted); }
.sorter a.is-on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tagrow--tight { margin: 0; }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; text-decoration: none; color: var(--ink-2); }
.chip:hover, .chip.is-on { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font: 500 11px/1.6 var(--mono); letter-spacing: .02em; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .grid { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; gap: 20px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; position: relative; }
.card:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); box-shadow: var(--shadow); transform: translateY(-1px); }
.card__icon { flex: none; width: 112px; height: 112px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.card__icon > * { width: 100%; height: 100%; object-fit: cover; }
.card__body { min-width: 0; display: flex; flex-direction: column; }
.card__name { font-size: 21px; font-weight: 700; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; }
.card__desc { margin: 8px 0 14px; color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.card--sm { padding: 18px; gap: 16px; }
.card--sm .card__icon { width: 72px; height: 72px; border-radius: 10px; }
.card--sm .card__name { font-size: 17px; }
.card--sm .card__desc { -webkit-line-clamp: 2; margin-bottom: 0; font-size: 14px; }
@media (max-width: 520px) {
  .card { flex-direction: column; gap: 14px; }
  .card__icon { width: 72px; height: 72px; }
  .card--sm { flex-direction: row; }
}
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Detay ---------- */
.detail { padding-top: 24px; padding-bottom: 72px; }
.banner { aspect-ratio: 1544 / 500; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.banner > img, .banner > svg { width: 100%; height: 100%; object-fit: cover; }
.dhead { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; align-items: start; margin-top: -48px; padding: 0 8px; position: relative; }
.dhead__text { padding-top: 60px; min-width: 0; }
.dhead__cta { padding-top: 60px; }
.dhead__icon { width: 128px; height: 128px; border-radius: 18px; overflow: hidden; border: 4px solid var(--paper); background: var(--paper); box-shadow: var(--shadow); }
.dhead__icon > * { width: 100%; height: 100%; object-fit: cover; }
.dhead__text h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.dhead__ver { font-size: 15px; font-weight: 500; color: var(--muted); vertical-align: middle; margin-left: 6px; }
.dhead__by { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.dhead__by a { color: var(--ink); }
.dhead__cta { grid-column: 1 / -1; padding-top: 12px; }
@media (min-width: 760px) {
  .dhead { grid-template-columns: auto 1fr auto; }
  .dhead__cta { grid-column: auto; padding-top: 60px; }
}
@media (max-width: 520px) {
  .dhead { margin-top: -36px; column-gap: 14px; }
  .dhead__icon { width: 88px; height: 88px; border-radius: 14px; }
  .dhead__text { padding-top: 42px; }
  .dhead__cta .btn { width: 100%; }
}
.dbody { display: grid; gap: 40px; margin-top: 36px; }
@media (min-width: 960px) { .dbody { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.dlead { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; max-width: 62ch; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 500; white-space: nowrap; }
.tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs a:hover { color: var(--ink); }

.prose { max-width: 70ch; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--ink); color: var(--paper); padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose a { color: var(--accent); }
.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin: 0 0 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 500 20px/1 var(--mono); }
.faq[open] summary::after { content: "–"; }
.faq > div { padding: 0 16px 6px; color: var(--ink-2); }

.dside { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .dside { position: sticky; top: 88px; align-self: start; } }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.side-block h2 { font-size: 15px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.side-cta { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 20px; }
.side-cta p { font-size: 14px; color: color-mix(in srgb, var(--paper) 75%, transparent); margin: 0 0 14px; }
.vlist { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.vlist li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.vlist .mono { color: var(--ink); }
.related { margin-top: 72px; }
.related h2 { font-size: 24px; margin-bottom: 18px; }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: 460px; width: calc(100% - 32px); color: var(--ink); }
.modal::backdrop { background: rgba(10, 11, 14, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal__box { position: relative; background: var(--card); border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.modal__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.modal__x:hover { background: var(--paper-2); color: var(--ink); }
.modal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-right: 30px; }
.modal__icon { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; }
.modal__icon > * { width: 100%; height: 100%; object-fit: cover; }
.modal__head h2 { font-size: 21px; }
.modal__head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.modal__box > div > p { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); padding: 0 14px; font: inherit; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.45; }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-error { background: var(--err-soft); color: var(--err); padding: 10px 12px; border-radius: 8px; font-size: 14px; margin: 4px 0 14px; }
.sent { text-align: center; padding: 8px 0 4px; }
.sent svg { margin: 0 auto 12px; color: var(--ok); }
.sent h3 { font-size: 22px; margin-bottom: 8px; }
.sent p { margin: 0 0 8px; color: var(--ink-2); }
.muted { color: var(--muted); font-size: 13px; }

/* ---------- Bildirim, durum, sayfa ---------- */
.notice { margin-top: 20px; padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.notice--success { background: var(--ok-soft); color: var(--ok); }
.notice--error { background: var(--err-soft); color: var(--err); }
.state { padding: 80px 16px; }
.state__box { max-width: 560px; margin: 0 auto; text-align: center; }
.state__box h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.state__box p { color: var(--ink-2); margin: 0 0 24px; }
.page { padding-top: 56px; padding-bottom: 72px; }
.page h1 { font-size: 40px; margin-bottom: 24px; }

/* ---------- Alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot strong { color: var(--ink); }
.foot p { margin: 6px 0 0; max-width: 56ch; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
