/* API Türkiye — redesign prototipi.
   Açık bölümler expo.dev/home dilinden (renksiz gri paneller, hap butonlar, sıkı başlıklar),
   koyu geliştirici bölümü github.com/home dilinden (ışıklı çerçeve, ince çizgiler, sekmeler) uyarlandı. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mona-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mona-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Yüklenirken sayfa kaymasın diye ölçüsü ayarlanmış yedek yazı tipleri. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.1%; ascent-override: 90.4%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Mona Sans Fallback"; src: local("Arial"); size-adjust: 104.5%; ascent-override: 71%; }

:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #12151c;
  --panel-2: #1a1e27;
  --line: #242a35;
  --line-2: #303746;
  --ink: #eef1f5;
  --ink-2: #a6adba;
  --ink-3: #8d94a1;
  --brand: #3b9bff;
  --link: #6cb6ff;
  --flag: #e30a17;
  --ok: #4cc38a;
  --ok-bg: rgba(46, 160, 67, 0.16);
  --warn: #f0b442;
  --warn-bg: rgba(187, 128, 9, 0.18);
  --btn: #f2f4f7;
  --btn-ink: #0b0d12;
  --btn-hover: #ffffff;
  --btn-2-hover: #232835;
  --surface: #171b24;
  --header-bg: rgba(11, 13, 18, 0.78);
  --scrim: rgba(0, 0, 0, 0.55);
  --ring: rgba(59, 155, 255, 0.24);
  --ring-border: #3d8ee0;
  --ray-link: #3a4252;
  --shadow-soft: 0 12px 30px -18px rgba(0, 0, 0, 0.75);
  --shadow-menu: 0 24px 48px -24px rgba(0, 0, 0, 0.75);
  --shadow-mock: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02);
  --shadow-mark: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 18px 40px -16px rgba(0, 0, 0, 0.7), 0 0 70px -12px rgba(59, 155, 255, 0.45);
  --shadow-pill: 0 2px 12px rgba(0, 0, 0, 0.45);
  --featured-bg: linear-gradient(180deg, #13284a 0%, #0d1628 100%);
  --featured-border: rgba(59, 155, 255, 0.45);
  --dark-start: #07102a;
  --dark-end: var(--bg);
  --cta-border: var(--line);

  --d-bg: #02040b;
  --d-ink: #ffffff;
  --d-ink-2: rgba(255, 255, 255, 0.7);
  --d-ink-3: rgba(255, 255, 255, 0.52);
  --d-line: rgba(255, 255, 255, 0.1);
  --d-frame: rgba(255, 255, 255, 0.12);
  --d-code: #0b0f19;

  --r-panel: 32px;
  --r-card: 20px;
  --r-tile: 12px;
  --r-pill: 999px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 68px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Mona Sans", "Mona Sans Fallback", system-ui, sans-serif;
  --font-text: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f9f9fb;
  --panel-2: #f0f0f3;
  --line: #e0e1e6;
  --line-2: #d9d9e0;
  --ink: #1c2024;
  --ink-2: #60646c;
  --ink-3: #6b6f78;
  --brand: #1f8bff;
  --link: #0b6bd3;
  --ok: #18794e;
  --ok-bg: #e6f6eb;
  --warn: #ab6400;
  --warn-bg: #fff4d5;
  --btn: #111317;
  --btn-ink: #ffffff;
  --btn-hover: #2b2f36;
  --btn-2-hover: #e8e8ec;
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.86);
  --scrim: rgba(17, 19, 23, 0.32);
  --ring: rgba(31, 139, 255, 0.12);
  --ring-border: #8fc2ff;
  --ray-link: #b9c7d8;
  --shadow-soft: 0 12px 30px -18px rgba(17, 19, 23, 0.3);
  --shadow-menu: 0 24px 40px -24px rgba(17, 19, 23, 0.18);
  --shadow-mock: 0 30px 60px -32px rgba(17, 19, 23, 0.35), 0 2px 6px rgba(17, 19, 23, 0.04);
  --shadow-mark: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -16px rgba(17, 19, 23, 0.25);
  --shadow-pill: 0 2px 10px rgba(17, 19, 23, 0.08);
  --featured-bg: #111317;
  --featured-border: #111317;
  --dark-start: #020a2a;
  --dark-end: #000000;
  --cta-border: transparent;
}

*, *::before, *::after { box-sizing: border-box; }
/* hidden niteliği, bileşenlerin display kurallarından her zaman üstündür. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 450 16px/1.6 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.dark :focus-visible { outline-color: #7cc0ff; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--btn); color: var(--btn-ink); font-weight: 600; transition: top .2s var(--ease-std); }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Tipografi ---------- */
.display, h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 580; }
h1 { font-size: clamp(44px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -0.042em; }
h2 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.06; letter-spacing: -0.036em; }
h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.12; letter-spacing: -0.022em; }
h4 { font-size: 20px; line-height: 1.25; letter-spacing: -0.012em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.lead-in strong { color: var(--ink); font-weight: 600; }
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; display: grid; gap: 18px; justify-items: center; }
.section-head.left { margin-inline: 0; text-align: left; justify-items: start; }

/* ---------- Butonlar ve bağlantılar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-pill); font: 560 15px/1 var(--font-text); white-space: nowrap; transition: background-color .15s var(--ease-std), border-color .15s var(--ease-std), color .15s var(--ease-std); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--panel-2); color: var(--ink); }
.btn-secondary:hover { background: var(--btn-2-hover); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--panel-2); }
.btn-light { background: #fff; color: #0b0d12; }
.btn-light:hover { background: #e9edf3; }
.btn-glass { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.12); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-weight: 560; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.link-arrow:hover .icon, .link-arrow:focus-visible .icon { transform: translateX(4px); }
.dark .link-arrow { color: #8fc7ff; }

/* ---------- Header ve menü ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease-std); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 620 18px/1 var(--font-display); letter-spacing: -0.02em; }
.brand img { width: 22px; height: 28px; }
.brand b { font-weight: 720; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: 520 14.5px/1 var(--font-text); transition: background-color .15s var(--ease-std), color .15s var(--ease-std); }
.nav-item:hover, .nav-item[aria-expanded="true"] { background: var(--panel-2); color: var(--ink); }
.nav-item .icon { width: 15px; height: 15px; color: var(--ink-3); transition: transform .2s var(--ease-out); }
.nav-item[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--panel-2); align-items: center; justify-content: center; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-menu); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease-std), transform .22s var(--ease-out), visibility 0s linear .22s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease-std), transform .22s var(--ease-out), visibility 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1px minmax(0, 0.8fr); gap: 28px; padding: 32px 0 28px; }
.mega-rule { background: var(--line); }
.mega-group { display: grid; align-content: start; gap: 6px; }
.mega-group .eyebrow { margin: 0 0 8px 12px; }
.mega-link { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 14px; transition: background-color .15s var(--ease-std); }
.mega-link:hover { background: var(--panel); }
.mega-link .tile { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; color: var(--ink); }
.mega-link .tile .icon { width: 18px; height: 18px; }
.mega-link b { font: 600 15px/1.3 var(--font-text); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.mega-link span { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.mega-plain { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; font-weight: 560; color: var(--ink); }
.mega-plain:hover { background: var(--panel); }
.mega-plain .icon { width: 14px; height: 14px; color: var(--ink-3); }
.chip-new { padding: 2px 8px; border-radius: var(--r-pill); background: var(--panel-2); font: 560 11.5px/1.5 var(--font-text); color: var(--ink-2); }
.mega-foot { border-top: 1px solid var(--line); background: var(--panel); }
.mega-foot .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; font-size: 14px; color: var(--ink-2); }
.nav-scrim { position: fixed; inset: var(--header-h) 0 0; z-index: 40; background: var(--scrim); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-std), visibility 0s linear .2s; }
.nav-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .2s var(--ease-std), visibility 0s; }

.sheet { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-std), transform .25s var(--ease-out), visibility 0s linear .25s; }
.sheet.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s var(--ease-std), transform .25s var(--ease-out), visibility 0s; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.sheet-body { overflow-y: auto; padding-bottom: 32px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.sheet-group { border-bottom: 1px solid var(--line); }
.sheet-group > button { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 4px; border: 0; background: none; font: 600 19px/1 var(--font-display); letter-spacing: -0.015em; }
.sheet-group > button .icon { color: var(--ink-3); transition: transform .2s var(--ease-out); }
.sheet-group > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sheet-panel { display: grid; gap: 2px; padding: 0 0 14px; }
.sheet-panel[hidden] { display: none; }
.sheet-link { display: block; min-height: 52px; padding: 13px 4px; font: 600 19px/1.4 var(--font-display); letter-spacing: -0.015em; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 13px; color: var(--ink-2); transition: border-color .15s var(--ease-std), box-shadow .15s var(--ease-std); }
.status-pill:hover { box-shadow: var(--shadow-pill); border-color: var(--line); }
.status-pill .tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--panel-2); color: var(--ink); font-weight: 600; }
.status-pill .icon { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.status-pill:hover .icon { transform: translateX(2px); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2fb36d; animation: pulse 2.2s linear infinite; }
@keyframes pulse { 0% { opacity: 0; transform: scale(1); } 20% { opacity: 0.6; } 100% { opacity: 0; transform: scale(3); } }
.hero h1 em { font-style: normal; color: var(--ink-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { font-size: 14px; color: var(--ink-3); }
.hero-visual { position: relative; aspect-ratio: 1 / 0.92; will-change: transform, opacity; }
.hero-visual svg.rays { position: absolute; inset: 0; width: 100%; height: 100%; }
.rays line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 5; }
.rays .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.rays .ring-dash { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 7; transform-origin: 300px 276px; animation: spin 80s linear infinite; }
.rays .link { fill: none; stroke: var(--ray-link); stroke-width: 1.25; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-mark { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-mark); display: grid; place-items: center; }
.hero-mark img { width: 48px; height: 60px; }
.node { position: absolute; display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); white-space: nowrap; }
.node .eyebrow { font-size: 10.5px; }
.node b { font: 600 15px/1.25 var(--font-text); }
.node.is-active { border-color: var(--ring-border); box-shadow: 0 0 0 4px var(--ring), var(--shadow-soft); }

/* ---------- Kanıt şeridi ve kayan iller ---------- */
.proof { padding: 8px 0 32px; text-align: center; }
.proof .eyebrow { display: block; margin-bottom: 22px; }
.marquee { position: relative; display: flex; align-items: center; gap: 12px; }
.marquee-viewport { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 90s linear infinite; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.province { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: var(--r-pill); background: var(--panel); font-weight: 540; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.province span { display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font: 600 12px/1 var(--font-mono); color: var(--ink-2); }
.icon-btn { width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--ink-2); transition: background-color .15s var(--ease-std); }
.icon-btn:hover { background: var(--panel-2); color: var(--ink); }
.icon-btn .icon { width: 15px; height: 15px; }

/* ---------- Paneller ---------- */
.panel { position: relative; background: var(--panel); border: 1px solid transparent; border-radius: var(--r-panel); overflow: hidden; transition: background-color .2s var(--ease-std), border-color .2s var(--ease-std); }
a.panel:hover, .panel.is-link:hover { background: var(--panel-2); border-color: var(--line-2); }

/* Otomatik ilerleyen adım paneli */
.steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; padding: 56px; }
.steps-copy { display: grid; align-content: start; gap: 34px; }
.step-list { display: grid; gap: 6px; }
.step { border-left: 2px solid transparent; padding-left: 0; }
.step-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 0; border: 0; background: none; text-align: left; font: 600 24px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink-3); transition: color .2s var(--ease-std); }
.step-btn:hover { color: var(--ink-2); }
.step.is-active .step-btn { color: var(--ink); }
.step-ring { width: 22px; height: 22px; opacity: 0; transition: opacity .2s var(--ease-std); }
.step.is-active .step-ring { opacity: 1; }
.step-ring circle { fill: none; stroke-width: 2.5; }
.step-ring .track { stroke: var(--line-2); }
.step-ring .bar { stroke: var(--brand); stroke-dasharray: 56.55; stroke-dashoffset: 56.55; transform: rotate(-90deg); transform-origin: 50% 50%; }
.step.is-active .step-ring .bar { animation: ring var(--step-ms, 6000ms) linear forwards; }
.steps.is-paused .step-ring .bar { animation-play-state: paused; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.step-body { display: grid; gap: 12px; max-width: 440px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .45s var(--ease-out), opacity .3s var(--ease-std), margin .3s var(--ease-std); }
.step.is-active .step-body { max-height: 220px; opacity: 1; margin: 2px 0 12px; }
.step-body p { color: var(--ink-2); }
.endpoint { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font: 500 12.5px/1.4 var(--font-mono); color: var(--ink-2); }
.endpoint b { color: var(--brand); font-weight: 650; }
.steps-pause { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border: 0; background: none; padding: 6px 0; color: var(--ink-3); font-size: 13.5px; }
.steps-pause:hover { color: var(--ink); }
.steps-pause .icon { width: 14px; height: 14px; }
.stage { position: relative; min-height: 440px; }
.stage-frame { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(12px) scale(0.985); transition: opacity .45s var(--ease-std), transform .6s var(--ease-out); pointer-events: none; }
.stage-frame.is-active { opacity: 1; transform: none; pointer-events: auto; }
.mock { width: min(100%, 460px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-mock); padding: 18px; display: grid; gap: 10px; }
.mock-row { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; }
.mock-row .eyebrow { font-size: 10.5px; }
.mock-row b { font-weight: 600; }
.mock-row .icon { color: var(--ink-3); width: 16px; height: 16px; }
.mock-row.is-focus { border-color: var(--ring-border); box-shadow: 0 0 0 4px var(--ring); }
.mock-input { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--ring-border); border-radius: 12px; box-shadow: 0 0 0 4px var(--ring); font-size: 15px; }
.mock-input .icon { color: var(--ink-3); }
.caret { width: 1.5px; height: 18px; margin-left: -6px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-list { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mock-option { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.mock-option:first-child { border-top: 0; background: var(--panel); }
.mock-option b { font-weight: 600; }
.mock-option span { grid-column: 1; color: var(--ink-2); font-size: 13px; }
.type-badge { grid-row: span 2; align-self: center; padding: 3px 8px; border-radius: 6px; background: var(--panel-2); font: 500 11.5px/1.4 var(--font-mono); color: var(--ink-2); }
.result { display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 12.5px/1.4 var(--font-mono); color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-pill); font: 600 12px/1.4 var(--font-mono); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge .icon { width: 13px; height: 13px; }
.chain { display: flex; flex-wrap: wrap; gap: 6px; }
.chain span { padding: 4px 9px; border-radius: 8px; background: var(--panel); font-size: 12.5px; font-weight: 560; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.kv dt { color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; padding-top: 2px; }
.kv dd { margin: 0; font-weight: 560; overflow-wrap: anywhere; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.counts div { padding: 10px; border-radius: 10px; background: var(--panel); }
.counts b { display: block; font: 620 17px/1.2 var(--font-display); letter-spacing: -0.02em; }
.counts span { font-size: 12px; color: var(--ink-3); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .panel { padding: 40px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.bento .span-2 { grid-column: span 2; }
.bento .rows-2 { grid-row: span 2; }
.bento .panel p { color: var(--ink-2); max-width: 46ch; }
.bento .panel .visual { margin-top: auto; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.ladder { display: grid; gap: 8px; }
.ladder li { list-style: none; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ladder li:nth-child(2) { margin-left: 14px; } .ladder li:nth-child(3) { margin-left: 28px; } .ladder li:nth-child(4) { margin-left: 42px; } .ladder li:nth-child(5) { margin-left: 56px; }
.ladder i { width: 26px; height: 26px; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; font: 600 11px/1 var(--font-mono); font-style: normal; color: var(--ink-2); }
.ladder b { font-weight: 600; }
.ladder span { font: 560 13px/1 var(--font-mono); color: var(--ink-2); }
.ladder ol { margin: 0; padding: 0; }
.pairs { display: grid; gap: 10px; }
.pair { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 10px; }
.pair code { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font: 500 13.5px/1.3 var(--font-mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair code:last-child { color: var(--ink); border-color: var(--ring-border); }
.pair .icon { color: var(--ink-3); width: 18px; height: 18px; }
.id-box { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font: 500 13px/1.5 var(--font-mono); color: var(--ink); overflow-wrap: anywhere; }
.id-box span { color: var(--ink-3); }
.limit-row { display: flex; flex-wrap: wrap; gap: 8px; }
.limit-row code { padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font: 500 13px/1.3 var(--font-mono); }

/* Canlı demo */
.demo { padding: clamp(32px, 5vw, 64px); display: grid; justify-items: center; gap: 28px; text-align: center; }
.demo-form { width: min(100%, 720px); display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.field { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; transition: border-color .15s var(--ease-std), box-shadow .15s var(--ease-std); }
.field:focus-within { border-color: var(--ring-border); box-shadow: 0 0 0 4px var(--ring); }
.field input, .field select { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.field .icon { color: var(--ink-3); }
.field select { appearance: none; padding-right: 22px; cursor: pointer; }
.select-wrap { position: relative; min-width: 190px; }
.select-wrap .icon-chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; }
.demo-results { width: min(100%, 720px); text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.demo-results ul { list-style: none; margin: 0; padding: 0; }
.demo-results li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.demo-results li:first-child { border-top: 0; }
.demo-results li b { font-weight: 600; }
.demo-results li span { color: var(--ink-2); font-size: 14px; }
.demo-results li code { grid-column: 1 / -1; font: 500 12px/1.4 var(--font-mono); color: var(--ink-3); overflow-wrap: anywhere; }
.demo-state { padding: 18px; color: var(--ink-2); font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.demo-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); background: var(--panel); font: 500 12px/1.4 var(--font-mono); color: var(--ink-3); }

/* Rakamlar */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat b { display: block; font: 600 clamp(44px, 5.6vw, 72px)/1 var(--font-display); letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-weight: 520; }
.stats-sub { margin-top: 40px; text-align: center; }

/* ---------- Koyu geliştirici bölümü ---------- */
.dark { position: relative; isolation: isolate; color: var(--d-ink); background: linear-gradient(180deg, var(--dark-start) 0%, #02040b 42%, var(--dark-end) 100%); overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: var(--d-ink); }
.dark .lead, .dark .muted { color: var(--d-ink-2); }
.dark .eyebrow { color: var(--d-ink-3); }
.dark-glow { position: absolute; z-index: -1; left: 50%; top: -280px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(31, 139, 255, 0.35), rgba(31, 139, 255, 0) 70%); filter: blur(30px); pointer-events: none; }
.stars { position: absolute; inset: 0; z-index: -1; opacity: 0.55; background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #cfe4ff, transparent), radial-gradient(1px 1px at 46% 22%, #fff, transparent), radial-gradient(1.4px 1.4px at 64% 12%, #fff, transparent), radial-gradient(1px 1px at 78% 26%, #cfe4ff, transparent), radial-gradient(1px 1px at 88% 9%, #fff, transparent), radial-gradient(1px 1px at 8% 34%, #cfe4ff, transparent), radial-gradient(1px 1px at 56% 34%, #fff, transparent); pointer-events: none; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--d-line); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.03); }
.segmented [role="tab"] { min-height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-pill); background: none; color: var(--d-ink-2); font-weight: 560; font-size: 14.5px; transition: background-color .2s var(--ease-std), color .2s var(--ease-std), border-color .2s var(--ease-std); }
.segmented [role="tab"]:hover { color: #fff; }
.segmented [role="tab"][aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.tab-desc { margin-top: 16px; min-height: 26px; color: var(--d-ink-2); text-align: center; }
.glow-frame { position: relative; isolation: isolate; margin-top: 40px; padding: 10px; border-radius: 24px; background: var(--d-frame); border: 1px solid rgba(143, 199, 255, 0.28); }
.glow-frame::before { content: ""; position: absolute; z-index: -1; inset: -12% 6% auto; height: 70%; border-radius: 50%; background: radial-gradient(60% 60% at 50% 60%, #1f8bff 30%, rgba(31, 139, 255, 0) 100%); filter: blur(48px); opacity: 0.75; mix-blend-mode: screen; mix-blend-mode: plus-lighter; pointer-events: none; }
.glow-frame::after { content: ""; position: absolute; z-index: -1; inset: auto 18% -10%; height: 50%; border-radius: 50%; background: radial-gradient(rgb(255, 205, 150) 8%, rgb(170, 190, 255) 26%, rgb(31, 139, 255) 58%, transparent 72%); filter: blur(52px); opacity: 0.45; mix-blend-mode: color-dodge; pointer-events: none; }
.code-window { border-radius: 16px; background: var(--d-code); border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font: 500 12.5px/1 var(--font-mono); color: var(--d-ink-3); }
.code-bar .dots { display: flex; gap: 6px; } .code-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.code-bar .method { color: #7cc0ff; font-weight: 650; }
.code-bar .copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: none; color: var(--d-ink-2); font: 500 12px/1 var(--font-mono); }
.code-bar .copy:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.code-bar .copy .icon { width: 13px; height: 13px; }
.code-panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.code-pane { padding: 22px 24px 26px; min-width: 0; }
.code-pane + .code-pane { border-left: 1px solid rgba(255, 255, 255, 0.07); }
.code-pane .eyebrow { display: block; margin-bottom: 14px; }
pre { margin: 0; font: 450 13px/1.75 var(--font-mono); color: #d6e2f0; white-space: pre; overflow-x: auto; tab-size: 2; }
.tk-k { color: #8fc7ff; } .tk-s { color: #b8f2c9; } .tk-n { color: #ffd59a; } .tk-p { color: #7f8aa3; } .tk-c { color: #7f8aa3; } .tk-b { color: #ffb4d0; }
.tab-panel[hidden] { display: none; }

.conventions { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; margin-top: clamp(80px, 9vw, 120px); padding-top: clamp(64px, 7vw, 96px); border-top: 1px solid var(--d-line); }
.acc { border-top: 1px solid var(--d-line); }
.acc-item { border-bottom: 1px solid var(--d-line); }
.acc-item > h4 { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border: 0; background: none; text-align: left; color: var(--d-ink-2); font: 520 20px/1.3 var(--font-display); letter-spacing: -0.012em; transition: color .2s var(--ease-std); }
.acc-btn:hover, .acc-btn[aria-expanded="true"] { color: #fff; }
.acc-btn .icon { color: #7cc0ff; transition: transform .25s var(--ease-out); }
.acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.acc-panel { display: grid; gap: 12px; padding: 0 0 22px; color: var(--d-ink-2); }
.acc-panel[hidden] { display: none; }
.media-frame { position: relative; isolation: isolate; padding: 8px; border-radius: 24px; background: var(--d-frame); border: 1px solid rgba(255, 255, 255, 0.1); }
.media-frame::before { content: ""; position: absolute; z-index: -1; inset: 10% -4% 10% 30%; border-radius: 50%; background: #3a7bff; filter: blur(60px); opacity: 0.35; pointer-events: none; }
.media-frame .code-window pre { padding: 22px 24px; min-height: 260px; }
.media-slide { display: none; }
.media-slide.is-active { display: block; animation: fade-up .45s var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Fiyatlar ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .2s var(--ease-std), background-color .2s var(--ease-std); }
.plan:hover { border-color: var(--line-2); background: var(--panel); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head h3 { font-size: 22px; }
.plan-note { font-size: 13px; color: var(--ink-3); }
.plan-price b { display: block; font: 620 34px/1.05 var(--font-display); letter-spacing: -0.035em; }
.plan-price span { font-size: 14px; color: var(--ink-2); }
.plan-quota { padding: 12px 14px; border-radius: 12px; background: var(--panel); display: grid; gap: 2px; }
.plan-quota b { font: 600 15px/1.3 var(--font-mono); }
.plan-quota span { font-size: 13px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.plan li .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { background: var(--featured-bg); border-color: var(--featured-border); color: #fff; }
.plan.featured:hover { background: var(--featured-bg); border-color: var(--featured-border); }
.plan.featured h3, .plan.featured .plan-price b { color: #fff; }
.plan.featured .plan-note, .plan.featured .plan-price span, .plan.featured ul, .plan.featured .plan-quota span { color: rgba(255, 255, 255, 0.68); }
.plan.featured .plan-quota { background: rgba(255, 255, 255, 0.08); }
.plan.featured li .icon { color: #6ee7a8; }
.plan-badge { padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.12); font-size: 12px; font-weight: 600; }
.pricing-foot { margin-top: 24px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* ---------- SSS ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; cursor: pointer; list-style: none; font: 560 19px/1.35 var(--font-display); letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-3); transition: transform .25s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 70ch; color: var(--ink-2); }

/* ---------- Kapanış ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-panel); padding: clamp(64px, 9vw, 120px) 24px; text-align: center; color: #fff; background: linear-gradient(180deg, #020a2a, #000 120%); border: 1px solid var(--cta-border); }
.cta h2 { color: #fff; max-width: 14ch; margin: 0 auto; }
.cta p { max-width: 52ch; margin: 20px auto 0; color: var(--d-ink-2); }
.cta .hero-actions { justify-content: center; margin-top: 34px; }
.cta-dome { position: absolute; z-index: -1; left: 50%; bottom: -62%; width: 120%; aspect-ratio: 2 / 1; border-radius: 50%; transform: translate(-50%, var(--dome-y, 18%)) scale(var(--dome-s, 1.08)); background: radial-gradient(50% 50% at 50% 50%, rgba(31, 139, 255, 0.55), rgba(31, 139, 255, 0.08) 55%, transparent 70%); filter: blur(10px); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); margin-top: clamp(80px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 320px; }
.footer-brand p { font-size: 14px; color: var(--ink-2); }
.footer-brand p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-title { font: 600 14px/1.4 var(--font-text); letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-2); transition: color .15s var(--ease-std); }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--font-mono); color: var(--ink-3); }
.status-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-family: var(--font-text); font-size: 13px; }
/* Nokta /status yanıtı gelene kadar gri kalır; sabit yeşil, bilinmeyen durumu "çalışıyor" gibi göstermez. */
.status-link .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transition: background-color .3s var(--ease-std); }
.status-link[data-state="operational"] .dot { background: #2fb36d; }
.status-link[data-state="degraded"] .dot { background: #e5a50a; }
.status-link[data-state="outage"] .dot { background: #e5484d; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--header-bg); backdrop-filter: blur(10px); display: grid; place-items: center; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease-out, transform .25s var(--ease-out), visibility 0s linear .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease-out, transform .25s var(--ease-out), visibility 0s; }

/* ---------- Kaydırınca belirme (yalnız JS varken gizlenir) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
  .js [data-reveal="scale"]:not(.is-in) { transform: scale(0.94); }
  .js [data-reveal="blur"]:not(.is-in) { transform: translateY(20px); filter: blur(8px); }
  .js [data-reveal="pop"]:not(.is-in) { transform: scale(0.6); filter: blur(10px); }
  .js .node[data-reveal]:not(.is-in) { transform: translateY(10px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .rays .ring-dash, .pulse::after, .caret { animation: none !important; }
  .step.is-active .step-ring .bar { animation: none; stroke-dashoffset: 0; }
  .stage-frame, .mega, .sheet, .to-top, .step-body { transition: none !important; }
}

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1080px) {
  .nav, .header-actions .btn-outline { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 10px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; padding: 40px; }
  .stage { min-height: 400px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .span-2 { grid-column: span 2; }
  .bento .rows-2 { grid-row: auto; }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conventions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --r-panel: 24px; }
  .header-actions .btn-primary { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { aspect-ratio: 1 / 1.05; }
  .node { padding: 7px 10px; border-radius: 12px; }
  .node b { font-size: 13px; }
  .node .eyebrow { font-size: 9.5px; }
  .hero-mark { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 24px; }
  .hero-mark img { width: 36px; height: 45px; }
  .steps { padding: 32px 24px 24px; gap: 28px; }
  .step-btn { font-size: 21px; }
  .stage { min-height: 380px; }
  .mock { padding: 14px; }
  .mock-row { grid-template-columns: 70px 1fr auto; font-size: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bento .span-2 { grid-column: auto; }
  .bento .panel { padding: 28px 24px; min-height: 0; }
  .ladder li:nth-child(n) { margin-left: 0; }
  .demo-form { grid-template-columns: 1fr; }
  .select-wrap { min-width: 0; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .segmented { display: flex; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .segmented [role="tab"] { flex: none; padding: 0 14px; }
  .code-panes { grid-template-columns: 1fr; }
  .code-pane + .code-pane { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .code-pane { padding: 18px; }
  pre { font-size: 12px; }
  .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega { display: none; }
}
.marquee-group { display: flex; gap: 10px; }

/* ---------- Önizleme incelemesinden düzeltmeler ---------- */
.steps h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.03em; }
.cta h2 { max-width: 20ch; }
.ladder li:nth-child(2) { margin-left: 10px; } .ladder li:nth-child(3) { margin-left: 20px; } .ladder li:nth-child(4) { margin-left: 30px; } .ladder li:nth-child(5) { margin-left: 40px; }
.ladder b { white-space: nowrap; }
.conventions > *, .glow-frame, .media-frame, .code-window { min-width: 0; }
.code-bar > span:not(.dots) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-bar .copy { flex: none; }
@media (max-width: 1080px) { .conventions { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .code-bar .copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .code-bar .copy { padding: 8px; }
  .pair { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); }
  .pair code { white-space: normal; overflow-wrap: anywhere; font-size: 12.5px; }
}
@media (max-width: 520px) {
  .segmented { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 22px; overflow: visible; }
  .segmented [role="tab"] { width: 100%; padding: 0 10px; }
}
.mock-option > span:not(.type-badge) { grid-column: 1; }
.mock-option .type-badge { grid-column: 2; grid-row: 1 / span 2; }
.field input[type="search"]::-webkit-search-cancel-button, .field input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* Koyu bölümün üzerindeyken header da koyulaşır (GitHub'ın hero üstü header'ı gibi). */
.site-header { transition: border-color .2s var(--ease-std), background-color .25s var(--ease-std); }
.site-header.on-dark { background: rgba(2, 4, 11, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); }
.site-header.on-dark .brand { color: #fff; }
.site-header.on-dark .nav-item { color: rgba(255, 255, 255, 0.72); }
.site-header.on-dark .nav-item:hover, .site-header.on-dark .nav-item[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-header.on-dark .nav-item .icon { color: rgba(255, 255, 255, 0.5); }
.site-header.on-dark .btn-outline { border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.site-header.on-dark .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.site-header.on-dark .btn-primary { background: #fff; color: #0b0d12; }
.site-header.on-dark .btn-primary:hover { background: #e9edf3; }
.site-header.on-dark .menu-toggle { background: rgba(255, 255, 255, 0.12); color: #fff; }
.footer ul a { display: inline-block; padding: 3px 0; }
.status-link { min-height: 28px; }

/* ---------- Tema anahtarı (navbar ve mobil menü) ---------- */
.theme-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--panel); }
.theme-switch button { display: inline-grid; place-items: center; width: 32px; height: 30px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-3); transition: background-color .15s var(--ease-std), color .15s var(--ease-std), box-shadow .15s var(--ease-std); }
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(0, 0, 0, 0.18); }
.theme-switch .icon { width: 16px; height: 16px; }
.theme-switch.labeled button { display: inline-flex; gap: 8px; width: auto; height: 40px; padding: 0 16px; font-weight: 560; font-size: 15px; }
.sheet-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); font: 600 19px/1 var(--font-display); letter-spacing: -0.015em; }
.site-header.on-dark .theme-switch { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.05); }
.site-header.on-dark .theme-switch button { color: rgba(255, 255, 255, 0.6); }
.site-header.on-dark .theme-switch button:hover { color: #fff; }
.site-header.on-dark .theme-switch button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }

/* ---------- Karanlık temaya özel dokunuşlar ---------- */
.hero { isolation: isolate; }
:root:not([data-theme="light"]) .hero::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -18%; width: 72%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 139, 255, 0.2), rgba(31, 139, 255, 0) 100%); pointer-events: none; }
:root:not([data-theme="light"]) .hero h1 em { color: #7f8796; }
:root:not([data-theme="light"]) .plan.featured { box-shadow: 0 30px 60px -36px rgba(31, 139, 255, 0.55); }
:root:not([data-theme="light"]) .province span { color: var(--ink-2); }

/* Tema değişirken kısa çapraz geçiş (destekleyen tarayıcılarda). */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease-std); }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* Koyu temada geliştirici bölümü sayfa zemininden yumuşakça laciverde geçer. */
:root:not([data-theme="light"]) .dark { background: linear-gradient(180deg, var(--bg) 0%, #07102a 16%, #03060f 55%, var(--bg) 100%); }
.ladder span { white-space: nowrap; }
.sheet-theme { padding: 0 4px; }
:root:not([data-theme="light"]) .dark-glow { top: 0; }

/* ---------- İl seçici (özel açılır liste; iki temaya da uyar) ---------- */
.panel.demo { overflow: visible; }
.select { position: relative; min-width: 220px; }
.select-trigger { width: 100%; justify-content: space-between; text-align: left; font-size: 16px; color: var(--ink); cursor: pointer; }
.select-trigger:hover { border-color: var(--ink-3); }
.select-trigger[aria-expanded="true"] { border-color: var(--ring-border); box-shadow: 0 0 0 4px var(--ring); }
.select-trigger .icon-chevron { position: static; transform: none; width: 16px; height: 16px; color: var(--ink-3); transition: transform .2s var(--ease-out); }
.select-trigger[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); color: var(--ink); }
.select-value { display: inline-flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.select-value > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.code-chip { display: inline-grid; place-items: center; flex: none; min-width: 32px; height: 24px; padding: 0 7px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--panel-2); font: 600 11.5px/1 var(--font-mono); color: var(--ink-2); }
.select-panel { position: absolute; z-index: 25; top: calc(100% + 8px); right: 0; width: max(100%, 330px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-mock); overflow: hidden; transform-origin: top right; }
.select-panel:not([hidden]) { animation: select-in .18s var(--ease-out); }
.select.is-up .select-panel { top: auto; bottom: calc(100% + 8px); transform-origin: bottom right; }
@keyframes select-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.select.is-up .select-panel:not([hidden]) { animation-name: select-in-up; }
@keyframes select-in-up { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.select-search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.select-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); }
.select-search input::placeholder { color: var(--ink-3); }
.select-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.select-option { display: grid; grid-template-columns: auto 1fr 16px; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: 10px; font-size: 15px; color: var(--ink); cursor: pointer; user-select: none; }
.select-option.is-active { background: var(--panel-2); }
.select-option mark { background: none; color: var(--link); font-weight: 650; }
.select-option .icon { width: 16px; height: 16px; color: var(--brand); visibility: hidden; }
.select-option[aria-selected="true"] { font-weight: 600; }
.select-option[aria-selected="true"] .icon { visibility: visible; }
.select-option[aria-selected="true"] .code-chip { border-color: var(--ring-border); color: var(--ink); }
.select-sep { height: 1px; margin: 6px 4px; background: var(--line); list-style: none; }
.select-empty { margin: 0; padding: 18px 16px; font-size: 14px; color: var(--ink-2); }
.select-foot { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--panel); font: 500 11.5px/1.4 var(--font-mono); color: var(--ink-3); }
.select-foot kbd { display: inline-block; min-width: 18px; padding: 1px 5px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--surface); font: inherit; text-align: center; color: var(--ink-2); }
@media (max-width: 720px) {
  .select { min-width: 0; }
  .select-panel { width: 100%; }
  .select-list { max-height: min(300px, 42vh); }
  .select-foot span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .select-panel:not([hidden]) { animation: none; } }
.select-panel { text-align: left; }
.select-foot { white-space: nowrap; align-items: center; }
.select-foot kbd { min-width: 0; padding: 1px 5px; }
/* Fareyle seçimden sonra odak butona döner ama halka gösterilmez; klavyede gösterilir. */
.select-trigger[data-pointer-focus]:focus-visible { outline: none; }

/* ---------- Sekme geçiş animasyonu ---------- */
.segmented { position: relative; isolation: isolate; }
.segmented [role="tab"] { position: relative; }
.segmented-indicator { position: absolute; z-index: -1; left: 0; top: 0; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.09); box-shadow: 0 8px 24px -10px rgba(31, 139, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06); pointer-events: none; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), width .5s cubic-bezier(0.16, 1, 0.3, 1), height .5s cubic-bezier(0.16, 1, 0.3, 1); }
.segmented.has-indicator [role="tab"][aria-selected="true"] { background: transparent; border-color: transparent; }
.tab-stage { position: relative; overflow: hidden; border-radius: 16px; touch-action: pan-y; }
.tab-stage pre { touch-action: auto; }
.tab-desc { will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) { .segmented-indicator { transition: none; } }
/* Işıma katmanları sabit boyutlu ve ayrı katmanda: panel yüksekliği animasyonunda yeniden bulanıklaştırılmaz. */
.glow-frame::before { inset: -40px 6% auto; height: 300px; will-change: transform; }
.glow-frame::after { inset: auto 18% -40px; height: 220px; will-change: transform; }
/* Sekme panelleri tek ızgara hücresinde üst üste: yükseklik sabit, geçiş yalnız transform/opacity. */
.tab-stage.is-stacked { display: grid; }
.tab-stage.is-stacked > .tab-panel { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
.tab-stage.is-stacked > .tab-panel > .code-window { flex: 1; display: flex; flex-direction: column; }
.tab-stage.is-stacked .code-panes { flex: 1; }
.tab-panel.is-inactive { visibility: hidden; pointer-events: none; }
.tab-stage.is-stacked > .tab-panel { will-change: transform, opacity; }

/* ---------- Akordeon animasyonları ---------- */
/* "Her uçta aynı kurallar": grid satır yüksekliği 0fr ↔ 1fr arasında yumuşar. */
.acc-panel { display: grid; grid-template-rows: 1fr; padding: 0; gap: 0; transition: grid-template-rows .5s var(--ease-out); }
.acc-item:not(.is-open) > .acc-panel { grid-template-rows: 0fr; }
.acc-inner { display: grid; gap: 12px; min-height: 0; overflow: hidden; }
.acc-inner::after { content: ""; height: 10px; }
.acc-inner > * { transition: opacity .3s ease, transform .5s var(--ease-out); }
.acc-item:not(.is-open) .acc-inner > * { opacity: 0; transform: translateY(-8px); transition-duration: .18s, .3s; }
.acc-item.is-open .acc-inner > * { transition-delay: .08s; }
.acc-item.is-open .acc-btn { color: #fff; }
.acc-item.is-open .acc-btn .icon { transform: rotate(45deg); }
/* Görseller aynı hücrede üst üste: çerçeve yüksekliği sabit kalır. */
.media-frame.is-stacked { display: grid; }
.media-frame.is-stacked > .media-slide { grid-area: 1 / 1; display: flex; flex-direction: column; animation: none; min-width: 0; }
.media-frame.is-stacked > .media-slide > .code-window { flex: 1; }
.media-slide.is-inactive { visibility: hidden; pointer-events: none; }
/* SSS: açılırken simge hemen döner (kapanırken de), içerik JS ile canlanır. */
.faq details[open] summary .icon { transform: none; }
.faq details.is-open summary .icon, html:not(.js) .faq details[open] summary .icon { transform: rotate(45deg); }
.faq-body p { padding: 0 0 22px; max-width: 70ch; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .acc-panel, .acc-inner > * { transition: none !important; }
}
.acc-btn { padding: 0; }

/* ---------- "Her uçta aynı kurallar": github.com/home akordeon bloğundan uyarlama ---------- */
.conventions-head { margin: clamp(80px, 9vw, 120px) 0 28px; }
.conventions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; margin-top: 0; padding-top: 0; border: 1px solid var(--d-line); border-width: 1px 1px 1px 1px; }
.conv-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; border-right: 1px solid var(--d-line); }
.conventions .acc { border-top: 0; }
.conventions .acc-item:last-child { border-bottom: 0; }
.conventions .acc-panel { transition: grid-template-rows .4s cubic-bezier(0.5, 0.16, 0.1, 1); }
.conventions .acc-btn { min-height: 76px; font: 460 22px/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--d-ink-2); transition: color .2s ease-out; }
.conventions .acc-item.is-open .acc-btn { color: #fff; font-weight: 520; min-height: 64px; padding-top: 6px; }
.conventions .acc-btn .icon { color: #8f97ff; transition: opacity .2s ease-out; transform: none !important; }
.conventions .acc-item.is-open .acc-btn .icon { opacity: 0; }
.conventions .acc-inner { font-size: 17px; line-height: 1.6; }
.conventions .acc-inner::after { height: 18px; }
/* Sağ hücre: kenardan kenara degrade panel, tepede ışık konisi, ortada parlayan çerçeve. */
.conventions .media-frame { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 540px; padding: 56px 40px; border: 0; border-radius: 0; background: linear-gradient(180deg, #161a24 0%, #1a2233 48%, #22385a 82%, #2a4a72 100%); }
.conventions .media-frame::before { content: ""; position: absolute; z-index: -1; inset: auto; left: 50%; top: -18%; width: 78%; height: 62%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 158, 255, 0.85), rgba(120, 128, 255, 0.35) 45%, rgba(120, 128, 255, 0) 100%); filter: blur(28px); opacity: 0.9; }
.conventions .media-frame::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(80, 140, 220, 0.22)); pointer-events: none; }
.conventions .media-frame.is-stacked > .media-slide { width: min(100%, 520px); padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(214, 218, 255, 0.55); box-shadow: 0 0 0 1px rgba(150, 158, 255, 0.25), 0 0 40px 4px rgba(140, 148, 255, 0.55), 0 0 110px 18px rgba(110, 120, 255, 0.28); transform-origin: 50% 50%; will-change: transform, opacity; }
.conventions .media-frame .code-window pre { min-height: 280px; }
@media (max-width: 1080px) {
  .conventions { grid-template-columns: minmax(0, 1fr); }
  .conv-copy { border-right: 0; border-bottom: 1px solid var(--d-line); padding: 40px 28px; }
  .conventions .media-frame { min-height: 0; padding: 48px 20px; }
}
@media (max-width: 720px) {
  .conventions .acc-btn { font-size: 19px; min-height: 64px; }
  .conv-copy { padding: 28px 20px; }
  .conventions .media-frame { padding: 40px 14px; }
}

/* ---------- Cihaz incelemesinden düzeltmeler (320 px telefon → 2560 px ekran) ---------- */
h1, h2, h3 { text-wrap: balance; }
.lead, .section-head p { text-wrap: pretty; }
.hero h1 { font-size: clamp(44px, 5.6vw, 72px); } /* 72px: "Türkiye adres verisi." 630px sütuna tek satır sığar */
.brand { min-height: 44px; }
.status-pill .tag { white-space: nowrap; }
@media (max-width: 400px) { .hide-xs { display: none; } }
/* Dar ekranda içerik genişliği sütunu büyütmesin: */
.steps { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.stage, .mock, .steps-copy { min-width: 0; }
.mock-row { grid-template-columns: 88px minmax(0, 1fr) auto; }
.mock-row b, .mock-option b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.endpoint { flex-wrap: wrap; max-width: 100%; overflow-wrap: anywhere; }
.demo { grid-template-columns: minmax(0, 1fr); }
.field input, .field select { width: 0; align-self: stretch; }
.demo-meta { flex-wrap: wrap; }
/* Dokunmatik ekranlarda rahat basılabilen hedefler: */
@media (pointer: coarse) {
  .theme-switch button { width: 38px; height: 38px; }
  .code-bar .copy { min-width: 40px; min-height: 40px; justify-content: center; }
  .link-arrow { padding-block: 6px; }
}
/* Tablet / yatay telefon: bento ızgarasında boş hücre kalmasın. */
@media (min-width: 721px) and (max-width: 1080px) {
  .bento > :nth-child(1) { grid-column: span 2; }
  .bento > :nth-child(5) { grid-column: auto; }
}
@media (max-width: 1023px) { .steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .ladder li:nth-child(n) { margin-left: 0; } .mock-row { grid-template-columns: 70px minmax(0, 1fr) auto; } }
/* iPad yatay (1024–1080 px): tam menü ve iki sütunlu düzen sığar. */
@media (min-width: 1024px) and (max-width: 1080px) {
  .nav { display: flex; }
  .header-actions .btn-outline { display: inline-flex; }
  .header-actions .menu-toggle { display: none; }
  .header-inner { gap: 18px; }
  .nav-item { padding: 0 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero-visual { max-width: none; margin: 0; }
  .steps { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding: 48px; }
  .conventions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .conv-copy { border-right: 1px solid var(--d-line); border-bottom: 0; padding: 48px 36px; }
  .conventions .media-frame { min-height: 520px; padding: 48px 28px; }
}
@media (max-width: 380px) {
  .ladder li { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
  .ladder b { white-space: normal; }
}

/* SEO eşitlemesi: alan adı etiketi, yetenek ızgarası, kapanış adımları */
.hero-title { display: grid; gap: 12px; justify-items: start; }
.hero-domain { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--ink-3); }

/* Yetenekler: hücreler 1px aralıkla ayrılır, çizgi rengi ızgaranın zemininden gelir (GitHub özellik listesi). */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.cap { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 28px 26px; background: var(--bg); transition: background-color .2s var(--ease-std); }
.cap:hover { background: var(--panel); }
.cap-tag { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.cap h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.cap p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.cap code { margin-top: auto; align-self: flex-start; max-width: 100%; padding: 5px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font: 500 12px/1.4 var(--font-mono); color: var(--ink); overflow-wrap: anywhere; }
.caps-foot { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .caps { grid-template-columns: minmax(0, 1fr); } .cap { padding: 22px 20px; } }

.cta-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; padding: 0; }
.cta-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); font-size: 14px; color: #fff; }
.cta-steps span { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); font: 600 11.5px/1 var(--font-mono); color: var(--d-ink-2); }
@media (max-width: 520px) { .cta-steps { flex-direction: column; align-items: stretch; width: min(100%, 300px); } }

/* Başa dön butonu (44px, alttan 20px) sayfa sonunda alt bilgi satırını örtmesin. */
.footer { padding-bottom: 88px; }
