/* CYD Studio — cyd.nuvaka.com. nuvaka.com'un tasarım dili (tokens) ile aynı; üç tema: dark (varsayılan), light, cyd. */
:root, :root[data-theme="dark"] {
  --bg-base: #0F1115; --bg-surface: #161922; --bg-elevated: #1E222D;
  --border: #2A2F3C; --border-strong: #3A4150;
  --text-primary: #E6E8EC; --text-secondary: #9AA1AD; --text-muted: #5C6470;
  --accent: #2DD4BF; --accent-hover: #5EE6D3; --accent-muted: #1E3A37; --accent-contrast: #04201C;
  --success: #3FB37F; --warning: #E0A23C; --danger: #E5635F;
  --code-bg: #0B0D11; --code-ink: #D9DDE4; --code-c: #7F8896;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --glow: rgba(45,212,191,.16);
  --wrap: 1140px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg-base: #F5F6F8; --bg-surface: #FFFFFF; --bg-elevated: #EEF0F3;
  --border: #DADEE5; --border-strong: #C3C9D2;
  --text-primary: #151821; --text-secondary: #4A5260; --text-muted: #7C8593;
  --accent: #0E9C87; --accent-hover: #0B8574; --accent-muted: #D6F2EC; --accent-contrast: #FFFFFF;
  --code-bg: #1B1F27; --code-ink: #E6E8EC; --code-c: #8A93A1;
  --shadow: 0 20px 50px rgba(20,24,34,.14);
  --glow: rgba(14,156,135,.14);
  color-scheme: light;
}
/* "cyd": Cheap Yellow Display — koyu zemin, sarı vurgu */
:root[data-theme="cyd"] {
  --bg-base: #111009; --bg-surface: #1A1810; --bg-elevated: #242114;
  --border: #33301E; --border-strong: #4A4529;
  --text-primary: #F1EEE2; --text-secondary: #B2AC95; --text-muted: #6E6950;
  --accent: #F5C518; --accent-hover: #FFD84A; --accent-muted: #3A3210; --accent-contrast: #1A1400;
  --code-bg: #0C0B06; --glow: rgba(245,197,24,.14);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-base); color: var(--text-primary); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
img, svg { display: block; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-elevated); padding: 1px 6px; border-radius: 5px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-contrast); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 10px 18px; font: inherit; font-weight: 600; font-size: 14px; color: var(--text-primary); background: var(--bg-elevated); cursor: pointer; transition: transform .12s, background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; }
.btn--danger { color: var(--danger); }
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: var(--radius-lg); }
.btn .ico { width: 20px; height: 20px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }

/* Üst bar */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg-base) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-primary); font-size: 15px; }
.brand__mark { width: 32px; height: 32px; display: grid; place-items: center; background: var(--accent); color: var(--accent-contrast); font-weight: 800; border-radius: var(--radius-md); }
.brand__mark svg { width: 20px; height: 20px; }
.brand__name { color: var(--text-secondary); }
.brand__name b { color: var(--text-primary); font-weight: 700; }
.brand--sm { font-size: 13px; }
.brand--sm .brand__mark { width: 26px; height: 26px; font-size: 13px; }
.nav__links { display: flex; gap: 22px; margin-left: 12px; }
.nav__links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text-primary); }
.nav__acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang, .theme { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang__btn, .theme__btn { background: transparent; border: none; color: var(--text-muted); font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; cursor: pointer; }
.lang__btn.on, .theme__btn.on { background: var(--accent-muted); color: var(--accent); }
.theme__btn { display: inline-flex; align-items: center; gap: 4px; }
.theme__btn svg { width: 14px; height: 14px; }
.nav__user { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.nav__user b { color: var(--text-primary); }
.nav__burger { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-md); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav__burger span { width: 18px; height: 2px; background: var(--text-secondary); border-radius: 2px; }
.nav__label { color: var(--text-muted); font-size: 13px; border-left: 1px solid var(--border); padding-left: 14px; }

/* Kahraman */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 420px at 20% 0%, var(--glow), transparent 60%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-muted); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 5px 12px; border-radius: 999px; }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--accent-contrast); background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.pill:hover { background: var(--accent-hover); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 18px; font-size: 17px; color: var(--text-secondary); max-width: 560px; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); }
.hero__badges li::before { content: '✓'; color: var(--success); margin-right: 6px; font-weight: 700; }

/* Panel maketi */
.hero__art { position: relative; }
.glow { position: absolute; inset: 10% -10% -10% 10%; background: radial-gradient(closest-side, var(--glow), transparent 70%); filter: blur(30px); z-index: 0; }
.mock { position: relative; z-index: 1; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-base); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock__bar span:nth-child(1) { background: #E5635F; } .mock__bar span:nth-child(2) { background: #E0A23C; } .mock__bar span:nth-child(3) { background: #3FB37F; }
.mock__bar i { margin-left: 10px; font-style: normal; font-size: 11px; color: var(--text-muted); }
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mock__panel { background: var(--bg-base); border-right: 1px solid var(--border); padding: 12px 10px; font-size: 11px; }
.mock__ph { font-size: 9px; letter-spacing: .08em; color: var(--text-muted); margin: 8px 0 4px; }
.mock__item { padding: 5px 8px; border-radius: 6px; color: var(--text-secondary); display: flex; justify-content: space-between; gap: 6px; font-family: var(--mono); }
.mock__item.on { background: var(--accent-muted); color: var(--accent); }
.mock__item u { text-decoration: none; font-size: 9px; font-weight: 700; color: var(--text-muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
.mock__item.run u { color: var(--success); border-color: var(--success); }
.mock__main { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-base); }
.mock__term { background: var(--code-bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mock__tl { display: flex; gap: 2px; border-bottom: 1px solid var(--border); }
.mock__tl span { font-size: 10px; padding: 6px 10px; color: var(--text-muted); border-top: 2px solid transparent; }
.mock__tl span.c1 { color: var(--text-primary); border-top-color: var(--accent); background: var(--bg-surface); }
.mock__term pre { margin: 0; padding: 10px 12px; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--code-ink); white-space: pre-wrap; }
.mock__term .k { color: #C792EA; } .mock__term .s { color: #ECC48D; } .mock__term .c { color: var(--code-c); font-style: italic; }
.mock__term .ok { color: var(--success); } .mock__term .dim { color: var(--text-muted); }
.mock__term .cur { animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock__card small { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.mock__card b { font-size: 11px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mock__card .bar { display: block; height: 4px; background: var(--bg-elevated); border-radius: 3px; overflow: hidden; }
.mock__card .bar u { display: block; height: 100%; background: var(--accent); }

/* Bölümler */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.sub { margin-top: 12px; color: var(--text-secondary); font-size: 16px; max-width: 720px; }
.sub a { text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; color: inherit; }
.section--alt .card { background: var(--bg-base); }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card__ico { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-muted); color: var(--accent); display: grid; place-items: center; }
.card__ico svg { width: 22px; height: 22px; fill: none; }
.card h3 { font-size: 16px; }
.card p { font-size: 13.5px; color: var(--text-secondary); }
.card .tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-contrast); font-weight: 800; }
.steps h3 { font-size: 17px; margin-top: 6px; }
.steps p { color: var(--text-secondary); font-size: 14px; }
.steps code { font-size: 12.5px; }

/* Kod bloğu (ana sayfa) */
.code { position: relative; margin: 24px 0 0; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; overflow-x: auto; font: 13px/1.6 var(--mono); color: var(--code-ink); }
.code .c { color: var(--code-c); font-style: italic; }
.code .k { color: #C792EA; } .code .s { color: #ECC48D; }
.code[data-lang]::before { content: attr(data-lang); position: absolute; top: 6px; right: 10px; font: 10px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-secondary); font-size: 15px; }
.checks li::before { content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-muted); color: var(--accent); font-size: 12px; font-weight: 800; }
.checks b { color: var(--text-primary); }

/* Modlar */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.mode { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mode__chip { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 16px; background: var(--accent-muted); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.mode h3 { font-size: 17px; }
.mode p { color: var(--text-secondary); font-size: 14px; }
.mode dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 12.5px; }
.mode dt { color: var(--text-muted); } .mode dd { margin: 0; color: var(--text-primary); font-family: var(--mono); }

/* Kartlar (donanım) tablosu */
.tbl { overflow-x: auto; margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); line-height: 1.55; }
tr:last-child td { border-bottom: 0; }
th { background: var(--bg-surface); color: var(--text-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; white-space: nowrap; }
td b { color: var(--text-primary); }

/* SSS */
.faq { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq[open] summary::after { content: '−'; }
.faq p { padding: 0 0 16px; color: var(--text-secondary); font-size: 14.5px; }

/* Atölye çağrısı */
.cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta__box { background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cta__box h3 { font-size: 20px; }
.cta__box p { color: var(--text-secondary); font-size: 14.5px; }
.cta__row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Alt */
.foot { border-top: 1px solid var(--border); padding: 32px 0; }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.foot__links a { color: var(--text-secondary); font-size: 13px; }
.foot__links a:hover { color: var(--text-primary); }
.foot__about { width: 100%; font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.foot__copy { width: 100%; font-size: 12px; color: var(--text-muted); }

/* Belgeler */
.docs { padding: 32px 0 56px; }
.docs__in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs__nav { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; }
.docs__nav h2 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px; }
.docs__nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.docs__nav a { display: block; padding: 6px 10px; border-radius: var(--radius-sm); color: var(--text-secondary); border-left: 2px solid transparent; }
.docs__nav a:hover { color: var(--text-primary); background: var(--bg-surface); }
.docs__nav a[aria-current="page"] { color: var(--accent); background: var(--accent-muted); border-left-color: var(--accent); font-weight: 600; }
.docs__ext { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; }
.docs__ext a { display: block; padding: 4px 10px; }
.doc { min-width: 0; max-width: 860px; }
.doc__crumb { font-size: 13px; color: var(--text-muted); margin: 0 0 6px; }
.doc__crumb a { color: inherit; }
.doc h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 0 0 14px; }
.doc h2 { font-size: 23px; margin: 44px 0 12px; padding-top: 8px; scroll-margin-top: 84px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; scroll-margin-top: 84px; }
.doc h2 a.anchor, .doc h3 a.anchor { color: var(--text-muted); opacity: 0; margin-left: 8px; font-weight: 400; }
.doc h2:hover a.anchor, .doc h3:hover a.anchor { opacity: 1; }
.doc p, .doc li, .doc dd { color: var(--text-secondary); line-height: 1.72; font-size: 15px; }
.doc p { margin: 10px 0; }
.doc .lead { font-size: 17px; margin: 0 0 18px; max-width: none; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 4px 0; }
.doc strong, .doc b { color: var(--text-primary); }
.doc a:hover { text-decoration: underline; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.doc code { font: 13px/1.5 var(--mono); color: var(--text-primary); word-break: break-word; }
.doc pre { position: relative; margin: 14px 0; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; overflow-x: auto; font: 13px/1.6 var(--mono); color: var(--code-ink); tab-size: 4; }
.doc pre code { background: none; padding: 0; border-radius: 0; font: inherit; color: inherit; word-break: normal; white-space: pre; }
.doc pre[data-lang]::before { content: attr(data-lang); position: absolute; top: 6px; right: 10px; font: 10px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.doc pre .c { color: var(--code-c); font-style: italic; }
.doc .tbl { margin: 14px 0; }
.doc table { font-size: 14px; }
.doc th, .doc td { padding: 9px 12px; }
.doc td:first-child code { white-space: nowrap; }
.box { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--bg-surface); border-radius: var(--radius-md); padding: 12px 16px; margin: 16px 0; }
.box p { margin: 4px 0; font-size: 14.5px; }
.box--warn { border-left-color: var(--warning); }
.box--danger { border-left-color: var(--danger); }
.box b:first-child { display: block; margin-bottom: 2px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.cards a { display: block; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.cards a:hover { border-color: var(--accent); text-decoration: none; }
.cards a b { display: block; color: var(--text-primary); font-size: 15px; margin-bottom: 4px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); }
.pager a { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; min-width: 0; max-width: 48%; color: var(--text-primary); font-weight: 600; }
.pager a small { color: var(--text-muted); font-weight: 500; font-size: 12px; }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager a.next { margin-left: auto; text-align: right; }
.doc__upd { margin-top: 18px; font-size: 12.5px; color: var(--text-muted); }

/* Atölye */
.at { padding: 40px 0 64px; }
.at__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.at__head .sub { margin-top: 8px; }
.at__tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; }
.chip.on { background: var(--accent-muted); border-color: var(--accent); color: var(--accent); }
.input, .select, .textarea { font: inherit; font-size: 14px; color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 9px 12px; min-width: 0; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); border-color: var(--accent); }
.textarea { min-height: 110px; resize: vertical; width: 100%; }
.at__search { flex: 1; min-width: 200px; }
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.pcard { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 8px; color: inherit; transition: border-color .15s, transform .15s; min-width: 0; }
.pcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.pcard h3 { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard p { font-size: 13.5px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-top: auto; padding-top: 6px; }
.pcard__meta b { color: var(--text-secondary); font-weight: 600; }
.bchip { display: inline-flex; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: var(--accent-muted); border-radius: 999px; padding: 2px 8px; }
.bchips { display: flex; gap: 4px; flex-wrap: wrap; }
.who { display: inline-flex; align-items: center; gap: 5px; }
.who .nv.of { background: var(--success); color: #fff; }
.who .nv { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); color: var(--accent-contrast); font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.empty { margin-top: 32px; padding: 40px; text-align: center; color: var(--text-muted); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.more { display: flex; justify-content: center; margin-top: 24px; }

/* Proje detayı */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; margin-top: 24px; }
.pd__crumb { font-size: 13px; color: var(--text-muted); }
.pd__crumb a { color: inherit; }
.pd h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-top: 8px; }
.pd__desc { margin-top: 14px; color: var(--text-secondary); white-space: pre-wrap; line-height: 1.7; }
.pd__side { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 88px; }
.pd__side h3 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.pd__stat { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-secondary); }
.pd__stat b { color: var(--text-primary); }
.files { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.file__h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-family: var(--mono); font-size: 13px; }
.file__h small { color: var(--text-muted); font-family: var(--font); }
.file__h .btn { margin-left: auto; }
.file pre { margin: 0; border-top: 1px solid var(--border); background: var(--code-bg); color: var(--code-ink); padding: 12px 14px; overflow-x: auto; font: 12.5px/1.6 var(--mono); max-height: 520px; tab-size: 4; }
.file pre .c { color: var(--code-c); font-style: italic; } .file pre .k { color: #C792EA; } .file pre .s { color: #ECC48D; }
.pd__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.like.on { border-color: var(--accent); color: var(--accent); }

/* Form */
.form { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; margin-top: 24px; display: grid; gap: 16px; max-width: 760px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.form label small { font-weight: 400; color: var(--text-muted); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text-secondary); font-size: 14px; }
.form .check input { margin-top: 3px; }
.drop { border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 22px; text-align: center; color: var(--text-secondary); font-size: 14px; cursor: pointer; }
.drop.over { border-color: var(--accent); background: var(--accent-muted); }
.drop input { display: none; }
.flist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.flist li { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; }
.flist li small { color: var(--text-muted); font-family: var(--font); }
.flist li button { margin-left: auto; background: none; border: 0; color: var(--danger); cursor: pointer; font-size: 16px; }
.limits { font-size: 12.5px; color: var(--text-muted); }
.msg { border-radius: var(--radius-md); padding: 10px 14px; font-size: 14px; border: 1px solid var(--border); background: var(--bg-base); }
.msg--ok { border-color: color-mix(in srgb, var(--success) 50%, transparent); color: var(--success); }
.msg--err { border-color: color-mix(in srgb, var(--danger) 50%, transparent); color: var(--danger); }
.msg--warn { border-color: color-mix(in srgb, var(--warning) 50%, transparent); color: var(--warning); }
.token { font-family: var(--mono); background: var(--bg-elevated); padding: 8px 10px; border-radius: 6px; word-break: break-all; color: var(--text-primary); }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.nf h1 { font-size: 64px; margin: 0; color: var(--accent); }
.nf p { color: var(--text-secondary); margin: 8px 0 20px; }
.nf .btn { margin: 0 6px; }

/* Duyarlı */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 640px; }
  .mock { transform: none; }
  .grid, .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .steps, .modes { grid-template-columns: 1fr; }
  .split, .cta { grid-template-columns: 1fr; }
  .plist { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .pd__side { position: static; }
}
@media (max-width: 900px) {
  .docs { padding-top: 16px; }
  .docs__in { grid-template-columns: 1fr; gap: 20px; }
  .docs__nav { position: static; max-height: none; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .docs__nav ol { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .docs__nav a { border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
  .docs__nav a[aria-current="page"] { border-color: var(--accent); }
  .docs__ext, .nav__label { display: none; }
  .cards { grid-template-columns: 1fr; }
  .pager a { max-width: none; }
}
@media (max-width: 720px) {
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 8px 16px 12px; margin: 0; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav__links a:last-child { border-bottom: none; }
  .nav__burger { display: flex; }
  .nav .btn--sm, .nav__user span { display: none; }
  .hero { padding: 40px 0 32px; }
  .hero__cta .btn { width: 100%; }
  .section { padding: 48px 0; }
  .grid, .grid--2, .plist { grid-template-columns: 1fr; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__panel { display: none; }
  .mock__cards { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mock__term .cur, .spin { animation: none; } }

/* Kaydırma: belirme, yukarı çık, ilerleme çubuğu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--text-primary); font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow); }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 70; transition: width .1s linear; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
