/* Kroki web · tasarım dili B: taş kağıt, mürekkep, beyaz kartlar, tek vurgu marker sarısı.
   Renk, font, yarıçap ve hareket değerleri kroki reposundaki brand/tokens.css'ten alındı; orada değişirse burada da değişir.
   Alan renkleri (doğa çiftleri) yalnızca içerik kartlarında, satır içi --c/--cd değişkenleriyle gelir. */
@font-face { font-family: "Red Hat Display"; src: url("/assets/fonts/RedHatDisplay.woff2?v=cff4fc8fe2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("/assets/fonts/RedHatText.woff2?v=927254393b") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --display: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --ink: #17181C; --muted: #5B5E66; --paper: #EEEEE8; --surface: #FFFFFF; --rule: #DEDED6;
  --brand: #17181C; --brand-t: #E2E2DB; --on-brand: #EEEEE8;
  --marker: #F2C230;
  --right: #1E7A4F; --right-t: #E2F2E9; --wrong: #B3261E; --wrong-t: #FBE4E2;
  --radius-s: 8px; --radius-m: 18px; --radius-l: 28px; --radius-pill: 999px;
  --ease-pen: cubic-bezier(.5, 0, .3, 1); --ease-enter: cubic-bezier(.16, 1, .3, 1); --ease-move: cubic-bezier(.65, 0, .35, 1);
  --gutter: 20px; --wrap: 1180px; --head-h: 64px;
  --sec: clamp(72px, 10vw, 136px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ECEDEF; --muted: #9B9DA4; --paper: #141518; --surface: #1E1F23; --rule: #2C2E33;
    --brand: #ECEDEF; --brand-t: #2A2B30; --on-brand: #141518; --marker: #E9C341;
    --right: #5FD39A; --right-t: #14302A; --wrong: #FF8A80; --wrong-t: #3A1A1C;
  }
}
:root[data-theme="dark"] {
  --ink: #ECEDEF; --muted: #9B9DA4; --paper: #141518; --surface: #1E1F23; --rule: #2C2E33;
  --brand: #ECEDEF; --brand-t: #2A2B30; --on-brand: #141518; --marker: #E9C341;
  --right: #5FD39A; --right-t: #14302A; --wrong: #FF8A80; --wrong-t: #3A1A1C;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
@media (min-width: 760px) { :root { --gutter: 40px; --head-h: 72px; } }

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.022em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--marker); color: #17181C; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--prose { max-width: calc(720px + 2 * var(--gutter)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 12px/16px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* ---------- düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font: 600 17px/22px var(--text); text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease-enter), opacity .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 32px; }
.btn--secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn--text { background: none; color: var(--ink); min-height: 44px; padding: 0 10px; }
.btn.is-locked { background: var(--rule); color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.more { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1.5px no-repeat; transition: background-size .35s var(--ease-enter); }
.more:hover { background-size: calc(100% - 24px) 1.5px; }
.more--back:hover { background-position: 24px calc(100% - 9px); }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-enter); flex: none; }
.more:hover .arr, .post-next:hover .arr { transform: translateX(4px); }
.more--back .arr { transform: scaleX(-1); }
.more--back:hover .arr { transform: scaleX(-1) translateX(4px); }

/* ---------- üst çubuk ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.head-row { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.logo { display: block; color: var(--ink); flex: none; }
.logo svg { height: 26px; width: auto; overflow: visible; }
.nav { display: flex; gap: 6px; margin-left: 20px; }
.nav a { padding: 10px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--brand-t); }
.head-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; height: 44px; padding: 0 4px; gap: 2px; text-decoration: none; font: 600 13px/1 var(--text); letter-spacing: .04em; color: var(--muted); }
.lang b, .lang span { padding: 7px 9px; border-radius: var(--radius-pill); font-weight: 600; }
.lang b { background: var(--brand-t); color: var(--ink); }
.lang:hover span { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-move), top .3s var(--ease-move); }
.menu-btn i:nth-of-type(1) { top: 17px; } .menu-btn i:nth-of-type(2) { top: 25px; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 859px) {
  .menu-btn { display: block; }
  .head-row { gap: 12px; }
  .nav { position: absolute; left: 0; right: 0; top: var(--head-h); margin: 0; padding: 8px var(--gutter) 28px; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .js .nav { visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-enter), visibility 0s .3s; }
  .js .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { padding: 16px 0; font: 700 26px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current] { background: none; }
  html:not(.js) .site-head { position: static; } html:not(.js) .nav { position: static; padding: 0; border: 0; flex-direction: row; flex-wrap: wrap; } html:not(.js) .nav a { font: 600 15px var(--text); border: 0; padding: 10px; } html:not(.js) .head-row { flex-wrap: wrap; height: auto; padding-block: 12px; } html:not(.js) .menu-btn { display: none; }
}
@media (max-width: 420px) { .site-head .btn--sm { padding: 0 14px; } .lang b { display: none; } .lang span { box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); } }
.langbar { display: flex; align-items: center; justify-content: center; gap: 8px 20px; flex-wrap: wrap; padding: 10px var(--gutter); background: var(--brand); color: var(--on-brand); font-size: 15px; }
.langbar a { font-weight: 600; }
.langbar button { min-height: 32px; padding: 0 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-brand) 35%, transparent); font-size: 13px; font-weight: 600; }

/* ---------- hareket: görünürken belir, çizgi kendini çizer ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-enter), transform .9s var(--ease-enter); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.draw { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-pen); }
.js .d2 { transition-delay: .25s; } .js .d3 { transition-delay: .5s; } .js .d4 { transition-delay: .8s; }
.js .in .draw, .js .draw.in, .js .is-drawn .draw { stroke-dashoffset: 0; }

/* ---------- çizimler ---------- */
.art { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.art .draw { stroke-width: 1.6; }
.art .fill-s { fill: var(--paper); } .art .fill-t { fill: var(--subj-t, var(--brand-t)); }
.art .ink-line { stroke: var(--ink); stroke-width: 1.4; }
.art .glow { fill: var(--marker); opacity: .28; }
.art .retina { stroke: var(--subj, var(--ink)); stroke-width: 5; }
.art .ray { stroke: var(--marker); stroke-width: 2.2; stroke-dasharray: none; }
.js .art .ray { stroke-dasharray: 1; }
.art .ring { fill: none; stroke: var(--marker); stroke-width: 2.4; opacity: 0; transition: opacity .5s 1.2s; }
.in .art .ring, .is-drawn .ring, html:not(.js) .ring { opacity: 1; }
.art .num circle { fill: var(--ink); } .art .num text { fill: var(--surface); font: 700 12px var(--text); text-anchor: middle; }
.art .dot-m { fill: var(--marker); stroke: none; opacity: 0; transition: opacity .4s .9s; } .in .dot-m, html:not(.js) .dot-m { opacity: 1; }
.art .mark-line { stroke: var(--marker); stroke-width: 2.6; }

/* ---------- açılış ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 var(--sec); }
.hero-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: start; } .hero-copy { padding-top: clamp(16px, 4vw, 56px); } }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border-radius: var(--radius-pill); background: var(--surface); font: 600 13px/1 var(--text); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marker); }
.hero-h { font-size: clamp(46px, 7.4vw, 96px); line-height: .98; letter-spacing: -.035em; margin: 26px 0 30px; }
.k-mark { position: relative; white-space: nowrap; }
.k-mark svg { position: absolute; left: -2%; right: -2%; width: 104%; bottom: .01em; height: .17em; color: var(--marker); overflow: visible; }
.k-mark .draw { stroke-width: 5; vector-effect: non-scaling-stroke; transition-duration: 1.4s; transition-delay: .5s; }
.hero-lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.hero-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero-cta .more { color: var(--muted); } .hero-cta .more .arr { transform: rotate(90deg); } .hero-cta .more:hover .arr { transform: rotate(90deg) translateX(3px); }
@media (min-width: 1000px) { .hero-cta .more { display: none; } }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 clamp(20px, 3.4vw, 44px); margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 560px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -.02em; }
.stats dt { font-size: 14px; color: var(--muted); }
.hero-demo { min-width: 0; }
.hero-demo-eyebrow { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.hero-demo-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* ---------- haber ver formu ---------- */
.notify { width: 100%; max-width: 480px; }
.notify-row { display: flex; gap: 6px; padding: 6px; background: var(--surface); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--rule); transition: box-shadow .2s; }
.notify-row:focus-within { box-shadow: inset 0 0 0 2.5px var(--brand); }
.notify input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; background: none; outline: 0; font-size: 17px; }
.notify input::placeholder { color: var(--muted); opacity: .8; }
.notify .btn { min-height: 48px; padding: 0 22px; }
.notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-note, .notify-msg { font-size: 14px; line-height: 20px; color: var(--muted); margin: 10px 4px 0 18px; }
.notify-msg:empty { display: none; }
.notify-msg { color: var(--ink); font-weight: 600; }
.notify.is-done .notify-row, .notify.is-done .notify-note { display: none; }
.notify.is-done .notify-msg { margin: 0; padding: 16px 20px; background: var(--right-t); color: var(--right); border-radius: var(--radius-m); font-size: 16px; }
.notify.is-error .notify-row { box-shadow: inset 0 0 0 2.5px var(--wrong); }
.notify.is-error .notify-msg { color: var(--wrong); }
.notify.is-busy .btn { opacity: .6; pointer-events: none; }
@media (max-width: 420px) { .notify .btn { padding: 0 16px; } .notify input[type="email"] { padding: 0 10px 0 14px; } }

/* ---------- canlı ders ---------- */
.lesson-tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.lesson-tabs::-webkit-scrollbar { display: none; }
.lesson-tabs button { flex: none; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--rule); transition: color .2s, background .2s, box-shadow .2s; }
.lesson-tabs button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.lesson-card { background: var(--surface); border-radius: var(--radius-l); box-shadow: 0 40px 80px -56px rgba(23, 24, 28, .45); }
.demo { display: flex; flex-direction: column; min-height: 620px; padding: 22px 22px 18px; }
#demo-algi { --subj: light-dark(#4A7428, #9CC46A); --subj-t: light-dark(#E2EDD6, #22331A); }
#demo-istatistik { --subj: light-dark(#7A3E5C,#D9A3BD); --subj-t: light-dark(#EFE1E8,#33202A); }
.demo-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.demo-top .eyebrow { flex: none; }
.demo-prog { flex: 1; display: flex; gap: 5px; }
.demo-prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); transition: background .4s; }
.demo-prog i.on { background: var(--ink); }
.demo-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ls { display: flex; flex-direction: column; gap: 14px; }
.js .ls { display: none; } .js .ls.is-on { display: flex; animation: ls-in .5s var(--ease-enter) both; }
html:not(.js) .ls + .ls { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); }
@keyframes ls-in { from { opacity: 0; transform: translateY(10px); } }
.ls-h { font-size: 27px; line-height: 31px; letter-spacing: -.02em; }
.ls-q { font: 700 23px/29px var(--display); letter-spacing: -.012em; margin-bottom: 4px; }
.ls p { font-size: 17px; line-height: 26px; }
.ls-task { color: var(--ink); }
.ls-art { margin: 4px 0; }
.ls-art--bleed { margin-inline: -22px; }
.bs { position: relative; height: 150px; }
.bs svg { height: 100%; } .bs .stripe { fill: var(--subj-t); }
.bs-cross, .bs-dot { position: absolute; top: 50%; }
.bs-cross { left: 5%; width: 22px; height: 22px; margin-top: -11px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 4px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 4px 100% no-repeat; }
.bs-dot { right: 5%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--ink); }
.bs-dot.pulse::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--marker); animation: ring 1.4s var(--ease-enter) 1 both; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.beats { list-style: none; padding: 0; display: grid; gap: 10px; }
.beats li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.js .beats li { display: none; } .js .beats li.is-on { display: grid; animation: ls-in .45s var(--ease-enter) both; } .js .beats li.was-on { display: grid; opacity: .45; }
.js .beats li.was-on p { font-size: 15px; line-height: 22px; }
.beat-n, .parts li::before { width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--surface); font: 700 13px/24px var(--text); text-align: center; }
.hint { font-size: 15px; color: var(--muted); }
.hint summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; list-style: none; }
.hint summary::-webkit-details-marker { display: none; }
.hint p { font-size: 15px; line-height: 22px; margin-top: 4px; }
.parts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; counter-reset: part; font-size: 15px; font-weight: 600; }
.parts li { counter-increment: part; display: inline-flex; align-items: center; gap: 8px; }
.parts li::before { content: counter(part); flex: none; margin: 0; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; text-align: left; border-radius: var(--radius-m); box-shadow: inset 0 0 0 1.5px var(--rule); font: 600 16px/22px var(--text); transition: box-shadow .2s, background .2s, transform .2s var(--ease-enter); }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.opt:active { transform: scale(.985); }
.opt-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rule); position: relative; }
.opt.is-picked { box-shadow: inset 0 0 0 2.5px var(--brand); }
.opt.is-right { background: var(--right-t); box-shadow: inset 0 0 0 2.5px var(--right); }
.opt.is-right .opt-mark { background: var(--right); box-shadow: none; }
.opt.is-right .opt-mark::after { content: ""; position: absolute; left: 7px; top: 7.5px; width: 10px; height: 6px; border: solid var(--surface); border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg); }
.opt.is-wrong { background: var(--wrong-t); box-shadow: inset 0 0 0 2.5px var(--wrong); }
.opt.is-wrong .opt-mark { background: var(--wrong); box-shadow: none; }
.opt.is-wrong .opt-mark::before, .opt.is-wrong .opt-mark::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2.2px; background: var(--surface); transform: rotate(45deg); }
.opt.is-wrong .opt-mark::after { transform: rotate(-45deg); }
.fb p { font-size: 16px; line-height: 24px; animation: ls-in .4s var(--ease-enter) both; }
.slider { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--radius-m); background: var(--paper); }
.slider label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.slider-out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px !important; color: var(--muted); }
.slider-out b { font: 800 28px/32px var(--display); color: var(--ink); letter-spacing: -.02em; }
.slider-out b::before { content: "×"; font-weight: 700; margin-right: 2px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: none; cursor: grab; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--fill, 0%) 100% no-repeat, var(--rule); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--rule); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); transition: transform .2s var(--ease-enter); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.art-bars .axis, .art-bars .grid { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.art-bars .grid { stroke: var(--rule); stroke-dasharray: 3 5; }
.art-bars .bar { fill: var(--subj-t); stroke: var(--ink); stroke-width: 1.4; }
.art-bars .bar-2 { fill: var(--subj); }
.art-bars text { font: 600 13px var(--text); fill: var(--muted); } .art-bars .val { font: 800 16px var(--display); fill: var(--ink); } .art-bars .tick-a { fill: var(--ink); font-weight: 700; }
.hit { padding: 14px 16px; border-radius: var(--radius-m); background: var(--right-t); font-size: 16px !important; line-height: 24px !important; animation: ls-in .45s var(--ease-enter) both; }
.ls-end { justify-content: center; flex: 1; gap: 16px; }
.ls-end-actions { display: grid; gap: 10px; margin-top: 8px; justify-items: stretch; }
.demo-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.demo-foot .demo-next { margin-left: auto; min-width: 132px; }
.demo-back { color: var(--muted); } .demo-back[disabled] { visibility: hidden; }
.nudge { flex: 1; font-size: 14px; line-height: 18px; color: var(--muted); text-align: right; min-height: 18px; }
.demo-next.shake { animation: shake .4s var(--ease-move); }
@keyframes shake { 20% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 80% { transform: translateX(-2px); } }
.demo.at-end .demo-foot { display: none; }
@media (max-width: 480px) { .demo { padding: 18px 18px 16px; min-height: 600px; } .ls-art--bleed { margin-inline: -18px; } .ls-h { font-size: 25px; line-height: 29px; } }

/* ---------- bölümler ---------- */
.sec { padding-block: var(--sec); }
.sec + .sec { padding-top: 0; }
.station { display: flex; align-items: center; gap: 12px; font: 600 12px/16px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.station-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font: 700 12px/1 var(--text); letter-spacing: .02em; }
.station svg { width: 64px; height: 8px; color: var(--ink); } .station .draw { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2, .band h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16em; }
.sec-head--row { align-items: end; } @media (min-width: 760px) { .sec-head--row { grid-template-columns: 1fr auto; } }
.sec-more { margin-top: 40px; }

/* ---------- kütüphane (atlas) ---------- */
.atlas { display: grid; gap: 20px; }
.atlas-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-snap-type: x proximity; }
.atlas-tabs::-webkit-scrollbar { display: none; }
.atlas-tabs button { flex: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; text-align: left; color: var(--muted); scroll-snap-align: start; transition: background .25s, color .2s; }
.atlas-tabs button::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--m); background: light-dark(var(--m), var(--md)); transition: transform .3s var(--ease-enter); }
.atlas-tabs b { font-weight: 600; font-size: 13px; color: var(--muted); margin-left: auto; padding-left: 8px; }
.atlas-tabs button:hover { color: var(--ink); }
.atlas-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.atlas-tabs button[aria-selected="true"]::before { transform: scale(1.35); }
@media (min-width: 900px) {
  .atlas { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
  .atlas-tabs { flex-direction: column; gap: 2px; overflow: visible; margin: 0; padding: 0; }
  .atlas-tabs button { width: 100%; }
  .atlas-panels { position: sticky; top: calc(var(--head-h) + 24px); }
}
.atlas-panel { display: grid; gap: 22px; justify-items: start; animation: ls-in .5s var(--ease-enter) both; }
.atlas-meta { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.swatch { flex: none; display: inline-block; width: 34px; height: 20px; border-radius: 10px; background: linear-gradient(90deg, var(--g) 0 62%, var(--p) 62%); }
.cgrid { display: grid; gap: 12px; width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ccard { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 132px; padding: 18px 20px 16px; border-radius: var(--radius-m); background: var(--c); background: light-dark(var(--c), var(--cd)); text-decoration: none; transition: transform .35s var(--ease-enter); }
.ccard:hover { transform: translateY(-3px); }
.ccard h3 { font: 700 20px/25px var(--display); letter-spacing: -.012em; }
.ccard p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 18px; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.ccard p span:last-child { flex: none; }

/* ---------- yaklaşım ---------- */
.why { display: grid; gap: 44px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.why-item { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.why-item .art { width: 120px; margin-bottom: 20px; }
.why-item h3 { font: 700 23px/28px var(--display); letter-spacing: -.015em; margin-bottom: 10px; }
.why-item p { color: var(--muted); }

/* ---------- yazı kartları ---------- */
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.post-card { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; padding: 16px; border-radius: var(--radius-m); background: var(--surface); text-decoration: none; transition: transform .35s var(--ease-enter); }
.post-card:hover { transform: translateY(-3px); }
.post-fig { aspect-ratio: 1; border-radius: 12px; background: var(--paper); display: grid; place-items: center; padding: 10px; overflow: hidden; }
.post-fig svg { width: 100%; height: auto; }
.post-fig text { display: none; }
.post-card h3 { font: 700 21px/26px var(--display); letter-spacing: -.015em; margin: 8px 0 6px; }
.post-card-txt > p:last-child { font-size: 15px; line-height: 22px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) { .post-card { grid-template-columns: 84px 1fr; gap: 14px; align-items: start; } .post-card h3 { font-size: 19px; line-height: 24px; } }
.posts--index { padding-bottom: var(--sec); }

/* ---------- kapanış bandı ---------- */
.band { padding: 0 var(--gutter) var(--sec); }
.band-in { display: grid; gap: 36px; padding: clamp(36px, 6vw, 88px) clamp(24px, 6vw, 88px); border-radius: var(--radius-l); background: #17181C; color: #EEEEE8; max-width: var(--wrap); margin-inline: auto; } .band-in > * { min-width: 0; }
@media (min-width: 860px) { .band-in { grid-template-columns: 160px 1fr; gap: 72px; align-items: center; } }
.band-k svg { width: clamp(72px, 12vw, 140px); height: auto; color: #EEEEE8; overflow: visible; } .band-k .draw { transition-duration: 1.2s; }
.band .lead { color: #B9BABD; margin: 16px 0 30px; }
.band .notify-row { background: #FFFFFF; box-shadow: none; } .band .notify input { color: #17181C; } .band .notify .btn { background: #17181C; color: #EEEEE8; }
.band .notify-note { color: #9B9DA4; } .band .notify-msg { color: #EEEEE8; }
.band .notify.is-error .notify-msg { color: #FF8A80; }
.band .btn { background: #EEEEE8; color: #17181C; }
.band ::selection { background: var(--marker); }

/* ---------- alt bilgi ---------- */
.site-foot { border-top: 1px solid var(--rule); padding-block: 56px 40px; font-size: 15px; }
.foot-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, 1fr); }
.foot-brand { grid-column: 1 / -1; color: var(--muted); display: grid; gap: 8px; max-width: 34ch; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.site-foot nav { display: grid; gap: 2px; align-content: start; justify-items: start; }
.site-foot h2 { font: 600 12px/16px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-weight: 600; }
.site-foot nav a:hover, .foot-brand a:hover { text-decoration: underline; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; color: var(--muted); font-size: 14px; }
.theme { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--brand-t); }
.theme button { min-height: 32px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--muted); }
.theme button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
html:not(.js) .theme { display: none; }

/* ---------- sayfa başlıkları, katalog ---------- */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -.032em; margin-bottom: 18px; }
.page-head .eyebrow { margin-bottom: 14px; }
.crumbs { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.search { position: relative; margin-top: 30px; max-width: 520px; }
.search svg { position: absolute; left: 20px; top: 18px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search input { width: 100%; height: 56px; padding: 0 96px 0 52px; border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--rule); outline: 0; font-size: 17px; }
.search input:focus { box-shadow: inset 0 0 0 2.5px var(--brand); }
.search output { position: absolute; right: 22px; top: 18px; font-size: 14px; color: var(--muted); }
html:not(.js) .search { display: none; }
.none { padding: 28px 0 64px; color: var(--muted); }
[data-results] { padding-bottom: var(--sec); }
.areas { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); padding-bottom: var(--sec); }
.area-tile { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 24px 24px 22px; border-radius: var(--radius-m); background: var(--c); background: light-dark(var(--c), var(--cd)); text-decoration: none; transition: transform .35s var(--ease-enter); }
.area-tile:hover { transform: translateY(-3px); }
.area-tile .swatch { position: absolute; right: 22px; top: 26px; }
.area-tile h2 { font-size: 28px; line-height: 32px; letter-spacing: -.02em; padding-right: 48px; }
.area-count { font-size: 14px; margin-top: 8px; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.area-tile ul { list-style: none; padding: 0; margin-top: auto; padding-top: 28px; display: grid; gap: 8px; }
.area-tile li { font: 600 15px/20px var(--text); padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.area-head, .course-head { background: linear-gradient(var(--c), var(--paper)); background: linear-gradient(light-dark(var(--c), var(--cd)), var(--paper)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--surface); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .25s var(--ease-enter); }
.chips a:hover { transform: translateY(-2px); }
.cats { display: grid; gap: clamp(48px, 7vw, 88px); padding-block: 24px var(--sec); }
.cat { scroll-margin-top: calc(var(--head-h) + 20px); }
.cat-head { display: grid; gap: 8px; margin-bottom: 22px; max-width: 60ch; }
.cat-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.cat-head p { color: var(--muted); }
.disclaimer { font-size: 14px; line-height: 20px; color: var(--muted); }
.other-areas { padding-bottom: var(--sec); } .other-areas h2 { font: 600 12px/16px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); } .other-areas .chips { margin-top: 16px; }

/* ---------- kurs sayfası ---------- */
.course-head h1 { font-size: clamp(36px, 5.6vw, 72px); max-width: 15em; }
.course-title { font: 700 20px/26px var(--display); margin-bottom: 22px; }
.course-hook { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; max-width: 30em; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.facts div { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--surface); }
.facts dd { font: 800 18px/24px var(--display); } .facts dt { font-size: 14px; color: var(--muted); }
.facts-lang dd { display: inline-flex; gap: 6px; font-size: 13px; letter-spacing: .04em; }
.course-body { display: grid; gap: 56px; padding-block: clamp(32px, 5vw, 64px) var(--sec); }
@media (min-width: 960px) { .course-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 80px; align-items: start; } .course-side { position: sticky; top: calc(var(--head-h) + 24px); } }
.course-kroki h2, .related h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 8px; }
.course-kroki .lead { margin-bottom: 28px; font-size: 17px; }
.kroki { position: relative; }
.kroki-svg { position: absolute; left: 0; top: 0; overflow: visible; }
.kroki-road { fill: none; stroke: var(--surface); stroke-width: 14; stroke-linecap: round; }
.kroki-line { stroke: var(--ink); stroke-width: 1.6; }
.js .kroki-line { transition-duration: 2.2s; transition-timing-function: var(--ease-move); }
.kroki-stop circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.kroki-stop:first-of-type circle { fill: var(--marker); }
.kroki-stop text { font: 700 13px var(--text); fill: var(--ink); }
.kroki-stop:first-of-type text { fill: #17181C; }
.js .kroki-stop { opacity: 0; transition: opacity .5s; transition-delay: calc(.25s + var(--i) * .32s); } .js .in .kroki-stop { opacity: 1; }
.kroki-list { list-style: none; padding: 0; }
.kroki-list li { display: flex; align-items: center; height: 88px; padding-left: 116px; font: 700 clamp(18px, 2vw, 22px)/1.25 var(--display); letter-spacing: -.012em; }
.kroki-list span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-side { display: grid; gap: 16px; }
.promise, .course-cta, .post-cta { padding: 26px 26px 28px; border-radius: var(--radius-m); background: var(--surface); }
.promise h2, .course-cta h2 { font: 600 12px/16px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.promise p { font: 700 21px/29px var(--display); letter-spacing: -.012em; }
.course-cta h2 { font: 700 21px/26px var(--display); letter-spacing: -.012em; text-transform: none; color: var(--ink); margin-bottom: 6px; }
.course-cta p { color: var(--muted); } .course-cta .notify, .course-cta .cta-live { margin-top: 18px; }
.notify--compact .notify-row { flex-direction: column; gap: 10px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.notify--compact input[type="email"] { flex: none; height: 52px; border-radius: var(--radius-pill); padding: 0 20px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule); }
.notify--compact input[type="email"]:focus { box-shadow: inset 0 0 0 2.5px var(--brand); }
.notify--compact.is-error .notify-row { box-shadow: none; } .notify--compact.is-error input[type="email"] { box-shadow: inset 0 0 0 2.5px var(--wrong); }
.notify--compact .btn { width: 100%; }
.related { display: grid; gap: 20px; justify-items: start; padding-bottom: var(--sec); }

/* ---------- yazı ve düz sayfalar ---------- */
.post-head h1 { font-size: clamp(36px, 5.4vw, 64px); margin-top: 24px; }
.post-head .lead { max-width: none; margin-bottom: 22px; }
.prose { font-size: 19px; line-height: 31px; padding-bottom: 56px; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(27px, 3.2vw, 34px); line-height: 1.15; margin-top: 2em; }
.prose h3 { font: 700 22px/28px var(--display); letter-spacing: -.012em; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .45em; } .prose li::marker { color: var(--muted); font-weight: 600; }
.prose blockquote { padding-left: 22px; border-left: 2px solid var(--ink); font: 700 23px/31px var(--display); letter-spacing: -.012em; }
.prose hr { border: 0; height: 1px; background: var(--rule); margin-block: 2.4em; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--brand-t); }
.prose strong { font-weight: 700; }
.prose .sources { font-size: 15px; line-height: 23px; color: var(--muted); } .prose .sources li + li { margin-top: .6em; }
.prose h2#kaynaklar, .prose h2#sources { font: 600 12px/16px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: 3.5em; padding-top: 24px; border-top: 1px solid var(--rule); }
.prose h2#kaynaklar + ul, .prose h2#sources + ul { font-size: 15px; line-height: 23px; color: var(--muted); list-style: none; padding: 0; }
.fig { margin-block: 2.2em; padding: clamp(18px, 4vw, 36px); border-radius: var(--radius-m); background: var(--surface); }
.fig svg { width: 100%; height: auto; color: var(--ink); }
/* Dar ekranda şekil küçülüp okunmaz olmasın: kendi içinde yana kayar */
.fig-scroll { overflow-x: auto; scrollbar-width: thin; margin-inline: calc(-1 * clamp(18px, 4vw, 36px)); padding-inline: clamp(18px, 4vw, 36px); }
@media (max-width: 640px) { .fig-scroll svg { width: 580px; max-width: none; } }
.fig figcaption { margin-top: 18px; font-size: 14px; line-height: 20px; color: var(--muted); }
.fig svg text, .post-fig svg text { font-family: var(--text); fill: var(--ink); }
:lang(tr) > svg .l-en, :lang(en) > svg .l-tr { display: none; }
.fig .f-line, .post-fig .f-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fig .f-soft, .post-fig .f-soft { fill: none; stroke: var(--rule); stroke-width: 1.4; stroke-linecap: round; }
.fig .f-mark, .post-fig .f-mark { fill: none; stroke: var(--marker); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fig .f-dot, .post-fig .f-dot { fill: var(--surface); stroke: var(--ink); stroke-width: 1.6; } .post-fig .f-dot { fill: var(--paper); }
.fig .f-fill, .post-fig .f-fill { fill: var(--ink); } .fig .f-mfill, .post-fig .f-mfill { fill: var(--marker); }
.fig .f-tint, .post-fig .f-tint { fill: var(--brand-t); stroke: none; }
.fig .f-small { font-size: 12px; fill: var(--muted); } .fig .f-label { font-size: 13px; font-weight: 600; }
.post-fig svg { color: var(--ink); } .post-fig svg * { vector-effect: non-scaling-stroke; } .post-fig .f-soft { stroke: var(--muted); stroke-width: 1; }
.post-end { display: grid; gap: 16px; padding-bottom: var(--sec); }
.post-cta h2 { font-size: 26px; line-height: 30px; margin-bottom: 8px; } .post-cta p { color: var(--muted); margin-bottom: 20px; }
.post-next { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 22px 26px; border-radius: var(--radius-m); box-shadow: inset 0 0 0 1.5px var(--rule); text-decoration: none; }
.post-next .eyebrow { grid-column: 1 / -1; } .post-next b { font: 700 21px/26px var(--display); letter-spacing: -.012em; }
.prose--page { padding-bottom: var(--sec); }
.prose--page h2 { font-size: 24px; line-height: 30px; }
.page-about .prose--page h2 { font-size: clamp(27px, 3.2vw, 34px); }

/* ---------- 404 ---------- */
.nf { padding: clamp(48px, 10vw, 120px) 0 var(--sec); }
.nf .art { width: 160px; margin-bottom: 32px; }
.nf h1 { font-size: clamp(36px, 6vw, 72px); margin-bottom: 16px; }
.nf hr { border: 0; height: 1px; background: var(--rule); margin-block: 44px; max-width: 520px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- daha az hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .draw, .js .art .ray { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .kroki-stop, .art .ring, .art .dot-m { opacity: 1; }
}
@media print { .site-head, .site-foot, .band, .langbar, .post-end { display: none; } body { background: #fff; } }
