/* Orciss blog. Tasarım dili orciss.com ile aynıdır: yalnızca açık tema, lacivert-siyah mürekkep, tek vurgu rengi indigo,
   Plus Jakarta Sans. Renk ve ölçüler landing'deki değişkenlerle birebir tutulur; değişirse ikisi birlikte güncellenir. */
:root {
  --bg: #FFFFFF; --bg-2: #F8FAFC; --surface: #FFFFFF; --line: #E2E8F0; --line-2: #CBD5E1;
  --ink: #0F172A; --ink-2: #475569; --ink-3: #64748B; --mute: #94A3B8;
  --pill: #0F172A; --pill-ink: #FFFFFF; --pill-2: #F1F5F9;
  --violet: #4F46E5; --violet-soft: #EEF2FF; --violet-text: #4338CA;
  --orbit: linear-gradient(100deg, #4F46E5 0%, #6366F1 50%, #818CF8 100%);
  color-scheme: light;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 24px 60px -24px rgba(79,70,229,.28);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.mute { color: var(--mute); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 860px; }
[id] { scroll-margin-top: 96px; }
svg.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 16px; white-space: nowrap; transition: transform .15s, opacity .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--pill); color: var(--pill-ink); }
.btn-soft { background: var(--pill-2); color: var(--ink); }
.btn-soft:hover { background: #E2E8F0; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.kick { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--ink-2); max-width: 40em; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-text); font-size: 12.5px; font-weight: 700; letter-spacing: -.005em; }

/* ---------- Üst bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; gap: 30px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .36em; font-weight: 700; font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.logo .mark { height: .74em; width: auto; flex: none; }
.logo-tag { margin-left: .3em; padding: 5px 9px 4px; border-radius: 8px; background: var(--pill-2); font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); transition: background .2s, color .2s; }
.logo:hover .logo-tag { background: var(--violet-soft); color: var(--violet-text); }
.top nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-right: auto; }
.top nav a { position: relative; transition: color .15s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.top nav a:hover::after, .top nav a[aria-current]::after { transform: scaleX(1); }
.top .acts { display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .top nav { display: none; } .top .acts { margin-left: auto; } .top .login { display: none; } }
@media (max-width: 420px) { .logo { font-size: 22px; } .top .wrap { gap: 12px; } .top .acts .btn-dark { padding: 0 12px; } }

.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px; border-radius: 11px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; user-select: none; transition: background .18s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--pill-2); }
.lang summary .ic { font-size: 17px; }
.lang summary .chev { font-size: 14px; color: var(--ink-3); transition: transform .2s; }
.lang[open] summary .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 176px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; animation: rise .18s var(--ease) both; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.lang-menu a:hover { background: var(--bg-2); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--violet-text); }
.lang-menu a[aria-current="true"]::after { content: "✓"; font-weight: 800; }

/* ---------- Liste sayfası */
.bhero { position: relative; padding-block: 72px 44px; overflow: hidden; }
.bhero::before { content: ""; position: absolute; right: -6%; top: -260px; width: min(820px, 90%); height: 460px; background: var(--orbit); filter: blur(120px); opacity: .16; border-radius: 50%; pointer-events: none; }
.bhero .wrap { position: relative; }
.bhero h1 { font-size: clamp(40px, 7.4vw, 100px); margin-block: 18px 20px; }
.sub { font-size: clamp(18px, 2vw, 22px); line-height: 1.42; color: var(--ink-2); max-width: 34em; letter-spacing: -.01em; }

.posts { padding-bottom: 96px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 22px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; flex: none; transition: background .18s, color .18s; }
.chip:hover { background: var(--pill-2); }
.chip[aria-pressed="true"] { background: var(--pill); color: var(--pill-ink); }

.pc { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pc[hidden] { display: none; }
.pc-cover { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cover { display: block; width: 100%; height: 100%; transition: transform .7s var(--ease); }
.pc:hover .cover { transform: scale(1.035); }
.pc-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 26px 26px; flex: 1; }
.pc h3 { font-size: 23px; letter-spacing: -.03em; line-height: 1.18; text-wrap: balance; }
.pc h2 { font-size: clamp(28px, 3.3vw, 44px); letter-spacing: -.04em; line-height: 1.08; }
.pc h2 a::after, .pc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.pc h2 a, .pc h3 a { transition: color .2s; }
.pc:hover h2 a, .pc:hover h3 a { color: var(--violet-text); }
.pc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.pc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; width: 100%; margin-top: auto; padding-top: 8px; }
.meta { display: inline-flex; align-items: center; white-space: nowrap; gap: 4px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { font-size: 15px; }
.meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.more .ic { font-size: 18px; transition: transform .25s var(--ease); }
.pc:hover .more .ic { transform: translateX(4px); }

.pc-big { flex-direction: row; margin-bottom: 20px; }
.pc-big .pc-cover { flex: 1.25; aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); }
.pc-big .pc-body { flex: 1; justify-content: center; gap: 16px; padding: 44px; }
.pc-big p { font-size: 17px; }
.pc-big .pc-foot { margin-top: 12px; }
@media (max-width: 900px) { .pc-big { flex-direction: column; } .pc-big .pc-cover { flex: none; min-height: 0; aspect-ratio: 1200 / 630; border-right: 0; border-bottom: 1px solid var(--line); } .pc-big .pc-body { padding: 26px; } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid, .grid.g3 { grid-template-columns: minmax(0, 1fr); } }
.empty { padding: 48px 0; color: var(--ink-3); font-size: 17px; text-align: center; }

/* ---------- Yazı sayfası */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--orbit); transform: scaleX(0); transform-origin: left; }
.phead { padding-block: 44px 40px; }
.backlink { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin: 0 0 26px -12px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: background .18s, color .18s; }
.backlink:hover { background: var(--pill-2); color: var(--ink); }
.backlink .ic { font-size: 17px; transition: transform .25s var(--ease); }
.backlink:hover .ic { transform: translateX(-3px); }
.phead h1 { font-size: clamp(36px, 5.6vw, 68px); margin-block: 18px 20px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 15px; }
.byline > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--ink); flex: none; }
.avatar .mark { width: 26px; height: auto; }
.phero { aspect-ratio: 21 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); }
@media (max-width: 680px) { .phero { aspect-ratio: 16 / 10; border-radius: 20px; } .phead { padding-block: 26px 30px; } }

.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); gap: 0 44px; padding-block: 56px 20px; align-items: start; }
.prose { grid-column: 2; font-size: 18.5px; line-height: 1.72; font-weight: 400; color: #1E293B; overflow-wrap: break-word; }
.toc { grid-column: 3; position: sticky; top: 104px; max-width: 250px; padding-left: 20px; border-left: 1px solid var(--line); }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink-3); transition: color .18s, transform .25s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--violet-text); transform: translateX(4px); }
@media (max-width: 1180px) { .pgrid { grid-template-columns: minmax(0, 700px); justify-content: center; } .prose { grid-column: 1; } .toc { display: none; } }
@media (max-width: 680px) { .pgrid { padding-top: 36px; } .prose { font-size: 17.5px; line-height: 1.68; } }

.prose > * + * { margin-top: 1.25em; }
.prose > p:first-child { font-size: 1.14em; line-height: 1.6; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.prose h2 { font-size: 1.62em; letter-spacing: -.035em; line-height: 1.15; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 1.2em; color: var(--ink); margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--violet-text); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--violet) 35%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--violet); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--violet); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 22px 26px; border-radius: 18px; background: var(--violet-soft); color: var(--ink); font-size: 1.08em; font-weight: 600; letter-spacing: -.015em; line-height: 1.5; }
.prose blockquote > * + * { margin-top: .7em; }
.prose code { font: 500 .86em var(--mono); padding: .16em .4em; border-radius: 6px; background: var(--pill-2); color: var(--ink); }
.prose pre { margin-inline: 0; padding: 20px 22px; border-radius: 16px; background: var(--ink); color: #E2E8F0; overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 700px; margin-inline: auto; }
.share > span { margin-right: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.share .ic { font-size: 16px; }
.share .ok { background: var(--violet-soft); color: var(--violet-text); }

.more-posts { padding-block: 88px 0; }
.more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.more-head h2 { font-size: clamp(30px, 4vw, 48px); }
.more-head a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.more-head a .ic { font-size: 18px; transition: transform .25s var(--ease); }
.more-head a:hover .ic { transform: translateX(4px); }

/* ---------- Kapanış + alt bilgi */
.final { position: relative; overflow: hidden; padding-block: 110px 120px; }
.final::before { content: ""; position: absolute; left: 50%; bottom: -320px; width: min(1100px, 100%); height: 520px; transform: translateX(-50%); background: var(--orbit); filter: blur(120px); opacity: .32; border-radius: 50%; }
.final .wrap { position: relative; gap: 22px; }
.final h2 { font-size: clamp(36px, 6.6vw, 88px); }
.final h2 .mute, .bhero h1 .mute { display: block; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; justify-content: center; }
.is-post .final { margin-top: 40px; }
footer { border-top: 1px solid var(--line); padding-block: 30px 44px; font-size: 13px; color: var(--ink-3); background: var(--bg); position: relative; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .logo { color: var(--ink); }
footer a { transition: color .15s; }
footer a:hover { color: var(--ink); }
footer .rss { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
footer .rss .ic { font-size: 15px; }
footer .legal { flex-basis: 100%; max-width: 110ch; }
.foot-langs { display: inline-flex; gap: 14px; margin-left: auto; }
.foot-langs a { font-weight: 600; }
.foot-langs a[aria-current="true"] { color: var(--ink); }

/* ---------- 404 */
.nf { min-height: 60vh; }
.nf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 26px 0; border-top: 1px solid var(--line); }
.nf-row:first-of-type { margin-top: 26px; }
.nf .nf-row h1 { font-size: clamp(26px, 3.6vw, 44px); margin: 0; max-width: none; }

/* ---------- Hareket: açılış, kaydırınca belirme. Betik çalışmazsa içerik görünür kalır (.js yoksa .rv gizlenmez). */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.rise { animation: rise .8s var(--ease) var(--d, 0s) both; }
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s), box-shadow .3s, border-color .3s; }
.js .pc.rv.in:hover { transform: translateY(-4px); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .btn:hover, .pc:hover, .js .pc.rv.in:hover { transform: none; }
}
:lang(de) .pc h3, :lang(de) .pc h2, :lang(de) .phead h1 { hyphens: auto; }
@media print { .top, .progress, .toc, .share, .more-posts, .final, footer { display: none; } .pgrid { display: block; padding: 0; } .phero { box-shadow: none; } }
