/* Kelime Türet · tanyeri.app/kelime-turet — matbaa atölyesi: mürekkep, kâğıt, köz */
:root {
  color-scheme: dark;
  --bg: #0b1418;
  --bg-2: #101b1e;
  --bg-3: #15201f;
  --plate: #050a0d;
  --ink: #f2e6cb;
  --ink-2: #d8cdb4;
  --muted: #a89f8c;
  --ember: #f58a07;
  --ember-2: #ffad3d;
  --ember-3: #c56700;
  --saffron: #e8a33d;
  --moss: #4fb286;
  --rust: #c34a2c;
  --teal: #1b5e6e;
  --tile: #f2e6cb;
  --tile-2: #dccba4;
  --line: rgba(242, 230, 203, 0.12);
  --line-2: rgba(242, 230, 203, 0.26);
  --card: rgba(242, 230, 203, 0.035);
  --radius: 18px;
  --wrap: 1140px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.7 var(--sans);
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
body::before { /* kâğıt dokusu */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--ember-2); text-decoration-color: rgba(255, 173, 61, 0.4); text-underline-offset: 3px; }
a:hover { color: #ffd08a; }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 650; line-height: 1.12; text-wrap: balance; margin: 0 0 0.5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
[id] { scroll-margin-top: 88px; }
.tnum { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ember); color: #1b1103; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.kicker { font: 600 0.76rem/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--saffron); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.lead { font-size: 1.16rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.serif-i { font-style: italic; font-weight: 600; color: var(--ember-2); }

/* ── üst çubuk ── */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 20, 24, 0.8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 650 1.12rem/1 var(--serif); margin-right: auto; white-space: nowrap; }
.brand i { font-style: italic; color: var(--ember-2); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.93rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ember-2); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--ember-2), var(--ember));
  color: #1b1103; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  padding: 10px 16px; border-radius: 11px; border: 0;
  box-shadow: 0 8px 22px -10px rgba(245, 138, 7, 0.75), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn:hover { color: #1b1103; filter: brightness(1.06); }
@media (max-width: 900px) { .nav { display: none; } }

/* ── kahraman ── */
.hero { position: relative; isolation: isolate; padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 92px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 130%; z-index: -2;
  background:
    radial-gradient(46% 46% at 76% 46%, rgba(245, 138, 7, 0.16), transparent 70%),
    radial-gradient(40% 40% at 8% 6%, rgba(27, 94, 110, 0.28), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 .serif-i { display: inline-block; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; list-style: none; font-size: 0.92rem; color: var(--ink-2); }
.facts li { display: flex; align-items: center; gap: 7px; }
.facts svg { width: 16px; height: 16px; color: var(--moss); flex: none; }
.hero-letters { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-letters span { position: absolute; font: italic 700 clamp(5rem, 12vw, 11rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(242, 230, 203, 0.07); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  min-width: 196px; padding: 10px 18px 10px 14px;
  background: #04080a; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line-2); border-radius: 13px;
  transition: border-color 0.2s, transform 0.2s;
}
a.store:hover { border-color: var(--ember-2); color: var(--ink); transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); line-height: 1.2; }
.store b { display: block; font: 600 1.12rem/1.15 var(--sans); color: var(--ink); }
.store.soon { opacity: .62; border-style: dashed; cursor: default; }
.free-note { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }

/* ── etkileşimli harf çemberi ── */
.demo {
  position: relative; justify-self: center; width: min(430px, 100%);
  background: radial-gradient(120% 80% at 50% 0%, #17262a, var(--bg-2) 60%);
  border: 1px solid var(--line-2); border-radius: 28px; padding: 18px 18px 20px;
  box-shadow: 0 40px 90px -36px rgba(0,0,0,.95), 0 0 90px -30px rgba(245,138,7,.35), inset 0 1px 0 rgba(255,255,255,.05);
}
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.demo-head b { color: var(--saffron); font-weight: 700; }
.demo-score { font: 600 .8rem/1 var(--sans); letter-spacing: .06em; color: var(--ink); background: rgba(242,230,203,.06); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.demo-bar {
  margin: 14px 0 6px; min-height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--plate); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
  font: 700 1.55rem/1 var(--serif); letter-spacing: .12em; color: var(--ink);
}
.demo-bar .ph { font: 400 .92rem/1.2 var(--sans); letter-spacing: 0; color: var(--muted); }
.demo-bar.ok { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(79,178,134,.18); color: #bff0d8; }
.demo-bar.gold { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232,163,61,.25), 0 0 40px -6px rgba(232,163,61,.6); color: #ffe2a8; }
.demo-bar.bad { border-color: var(--rust); animation: shake .32s; }
.demo-bar.seen { border-color: var(--line-2); color: var(--muted); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.demo-msg { text-align: center; min-height: 1.5em; font-size: .88rem; color: var(--muted); }
.demo-msg b { color: var(--ink); }

.wheel { position: relative; width: min(300px, 76vw); aspect-ratio: 1; margin: 6px auto 4px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wheel-plate { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #1d2c2f, #0c1518 70%); box-shadow: inset 0 2px 0 rgba(255,255,255,.05), inset 0 -10px 30px rgba(0,0,0,.55), 0 20px 40px -20px rgba(0,0,0,.9); }
.wheel-plate::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(242,230,203,.10); }
.wheel svg.trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wheel svg.trail polyline { fill: none; stroke: var(--ember-2); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255,173,61,.65)); }
.wheel.ok svg.trail polyline { stroke: var(--moss); filter: drop-shadow(0 0 8px rgba(79,178,134,.7)); }
.wheel.gold svg.trail polyline { stroke: var(--saffron); }
.tile {
  position: absolute; width: 23%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 0; border-radius: 22%; cursor: pointer; padding: 0;
  background: linear-gradient(180deg, #fbf3df, var(--tile) 55%, var(--tile-2));
  box-shadow: 0 5px 0 #8f7f5c, 0 12px 18px -6px rgba(0,0,0,.7), inset 0 1px 0 #fff;
  font: 700 clamp(1.5rem, 6vw, 2rem)/1 var(--serif); color: #24180b; touch-action: none;
  transition: transform .14s, box-shadow .14s, background .14s;
}
.tile:hover { transform: translate(-50%, -52%); }
.tile[aria-pressed="true"] { background: linear-gradient(180deg, var(--ember-2), var(--ember) 60%, var(--ember-3)); color: #1b1103; box-shadow: 0 3px 0 #7a4300, 0 0 0 3px rgba(255,173,61,.35), 0 0 26px rgba(245,138,7,.6); transform: translate(-50%, -50%) scale(1.08); }
.wheel.ok .tile[aria-pressed="true"] { background: linear-gradient(180deg, #8fe0bc, var(--moss)); box-shadow: 0 3px 0 #1e5a43, 0 0 24px rgba(79,178,134,.6); }
.wheel.gold .tile[aria-pressed="true"] { background: linear-gradient(180deg, #ffe3a6, var(--saffron)); }
.tile .n { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--saffron); color: #1b1103; font: 700 .7rem/20px var(--sans); text-align: center; display: none; }
.tile[aria-pressed="true"] .n { display: block; }
.hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--line-2); background: radial-gradient(circle, #1a2a2d, #0b1418); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: transform .4s; }
.hub:hover { color: var(--ember-2); }
.hub svg { width: 42%; height: 42%; }
.hub.spin { transform: translate(-50%, -50%) rotate(180deg); }

.demo-actions { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 8px; margin-top: 12px; }
.demo-actions button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(242,230,203,.04); color: var(--ink-2); font: 600 .9rem/1 var(--sans); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.demo-actions button:hover { border-color: var(--ember-2); color: var(--ink); }
.demo-actions .go { background: linear-gradient(180deg, var(--ember-2), var(--ember)); color: #1b1103; border: 0; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.demo-actions .go:disabled { opacity: .45; cursor: not-allowed; }

.found { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.found-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.found-head b { color: var(--ink); letter-spacing: 0; font-size: .9rem; }
.found-list { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { border: 1px dashed rgba(242,230,203,.18); border-radius: 8px; padding: 4px 8px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .18em; color: rgba(242,230,203,.25); background: none; }
.slot.got { border: 1px solid rgba(79,178,134,.45); background: rgba(79,178,134,.10); color: #c9f1de; cursor: pointer; letter-spacing: .06em; animation: pop .36s cubic-bezier(.2,1.4,.4,1); }
.slot.got.pan { border-color: var(--saffron); background: rgba(232,163,61,.14); color: #ffe2a8; }
.slot.got:hover { border-color: var(--moss); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.meaning { margin-top: 12px; font-size: .9rem; color: var(--ink-2); background: rgba(242,230,203,.04); border-left: 3px solid var(--saffron); border-radius: 0 10px 10px 0; padding: 8px 12px; min-height: 2.6em; }
.meaning b { font-family: var(--serif); color: var(--ink); }
.demo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .82rem; color: var(--muted); gap: 10px; }
.demo-foot button { background: none; border: 0; color: var(--ember-2); font: 600 .85rem/1 var(--sans); cursor: pointer; padding: 6px 0; }
.demo.win .demo-bar { border-color: var(--saffron); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.confetti i { position: absolute; top: 40%; left: 50%; width: 7px; height: 11px; border-radius: 2px; opacity: 0; animation: conf 1.4s cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes conf { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ── bölümler ── */
.sec { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.97rem; color: var(--ink-2); }
.card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(245,138,7,.10); color: var(--ember-2); box-shadow: inset 0 0 0 1px rgba(245,138,7,.22); }
.card .ic svg { width: 20px; height: 20px; }
.card .tag { display: inline-block; font: 700 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); margin-bottom: 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 96px); }
.split.rev > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.shot { width: min(320px, 74vw); margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.shot img { width: 100%; height: auto; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.more { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* dizgi taşı başlıklar */
.tiles-word { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.tiles-word span { width: 38px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(180deg, #fbf3df, var(--tile) 60%, var(--tile-2)); box-shadow: 0 4px 0 #8f7f5c, 0 10px 16px -8px rgba(0,0,0,.8); font: 700 1.25rem/1 var(--serif); color: #24180b; }
.tiles-word span.e { background: linear-gradient(180deg, var(--ember-2), var(--ember)); box-shadow: 0 4px 0 #7a4300, 0 0 20px rgba(245,138,7,.45); color: #1b1103; }

/* kademe şeridi */
.ranks { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-2); }
.ranks li { padding: 18px 14px 0 0; position: relative; }
.ranks li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; transform: rotate(45deg); background: var(--saffron); box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(232,163,61,.7); }
.ranks li:last-child::before { background: var(--ember-2); width: 13px; height: 13px; top: -7px; }
.ranks b { display: block; font: 700 1.12rem/1.3 var(--serif); color: var(--ink); letter-spacing: .04em; }
.ranks span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.ranks .pct { font: 600 .78rem/1 var(--sans); color: var(--saffron); letter-spacing: .08em; }
@media (max-width: 760px) { .ranks { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* hikâye */
.scene { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85), 0 0 0 1px var(--line); margin: 0; }
.scene img { width: 100%; height: auto; }
.scene figcaption { font-size: 0.85rem; color: var(--muted); padding: 10px 2px 0; }
.objects { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.objects li { font-size: .86rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }

/* modlar */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 940px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }
.mode { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(245,138,7,.10), rgba(242,230,203,.02) 55%); border: 1px solid rgba(245,138,7,.22); border-radius: 16px; padding: 18px 18px 16px; }
.mode h3 { font-size: 1.08rem; letter-spacing: .03em; margin-bottom: 6px; }
.mode p { margin: 0; font-size: .92rem; }
.mode .t { font: 600 .72rem/1 var(--sans); color: var(--saffron); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* galeri */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 20px; margin: 0 -16px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--teal) transparent; }
.gallery figure { margin: 0; flex: 0 0 auto; width: clamp(210px, 24vw, 252px); scroll-snap-align: start; }
.gallery img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); background: var(--bg-3); }
.gallery figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* SSS */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 1.12rem/1.4 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ember-2); border-bottom: 2px solid var(--ember-2); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* destek */
.support { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .support { grid-template-columns: 1fr; } }
.support ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.support li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .95rem; }
.support li b { color: var(--ink); display: block; margin-bottom: 2px; }
.mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font: 600 1.05rem/1 var(--sans); text-decoration: none; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); }
.mail:hover { border-color: var(--ember-2); color: var(--ink); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .9rem; }

/* kapanış */
.final { text-align: center; padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); background: radial-gradient(50% 70% at 50% 100%, rgba(245,138,7,0.16), transparent 70%); }
.final .stores { justify-content: center; }
.final p { margin-inline: auto; max-width: 56ch; }
.final .tiles-word { justify-content: center; }

/* altbilgi */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 0.9rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ember-2); }

/* ── makale sayfaları ── */
.crumbs { font-size: 0.86rem; color: var(--muted); padding-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ember-3); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ember-2); }
.article-head { padding: 26px 0 8px; max-width: 840px; }
.article-head .meta { font-size: 0.86rem; color: var(--muted); }
.prose { max-width: 740px; padding-bottom: 40px; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin-top: 2.1em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--saffron); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px; }
.toc b { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron); }
.toc ol { margin: 12px 0 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ember-2); }
.note { border-left: 3px solid var(--saffron); background: rgba(232, 163, 61, 0.07); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 22px 0; }
.note p:last-child { margin: 0; }
.ex { font-family: var(--serif); font-style: italic; color: var(--ink); }
.k { display: inline-block; padding: 1px 7px; border-radius: 6px; background: rgba(242,230,203,.08); border: 1px solid var(--line); font: 600 .9em/1.4 var(--sans); letter-spacing: .06em; color: var(--ink); }
.k.add { background: rgba(79,178,134,.12); border-color: rgba(79,178,134,.4); color: #c9f1de; }
.tbl { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 0.95rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--saffron); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, rgba(245,138,7,0.13), rgba(27,94,110,0.16)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; margin: 36px 0; }
.inline-cta .stores { margin: 0; }
.inline-cta p { margin: 0; max-width: 34ch; color: var(--ink); font: 600 1.15rem/1.4 var(--serif); }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 620px) { .related { grid-template-columns: 1fr; } }
.related a { display: block; text-decoration: none; }
.related a .card { height: 100%; transition: border-color 0.2s; }
.related a:hover .card { border-color: var(--line-2); }
.study { margin: 16px 0; }
.study h3 { margin-top: 0; }
.study p { margin: 0 0 8px; }
.study .src { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.study .type { display: inline-block; font: 700 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 10px; }
.exercises { display: grid; gap: 14px; margin: 18px 0 8px; }
.exercise { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--card); }
.exercise h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 1.18rem; }
.exercise p { margin: 0 0 6px; }
.ex-n { flex: none; width: 32px; height: 34px; border-radius: 8px; display: grid; place-items: center; font: 700 .95rem/1 var(--serif); color: #24180b; background: linear-gradient(180deg, #fbf3df, var(--tile-2)); box-shadow: 0 3px 0 #8f7f5c; font-variant-numeric: tabular-nums; }
.works { font-size: 0.88rem; color: var(--moss) !important; margin: 0 !important; }
.sources { font-size: 0.9rem; color: var(--muted); }
.sources a { word-break: break-all; }
.skill-grid { margin: 18px 0; }
@media (max-width: 560px) {
  .tbl th, .tbl td { padding: 9px 7px; }
  .tbl { font-size: 0.9rem; }
}

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