/* Kodlagelistir — site stilleri */
@font-face { font-family: "Jakarta"; font-weight: 200 800; font-display: swap; src: url("../fonts/jakarta-latin-ext.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: "Jakarta"; font-weight: 200 800; font-display: swap; src: url("../fonts/jakarta-latin.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: "Inter"; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext.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-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.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; }

:root {
  --bg: #f7f7f3; --surface: #ffffff; --surface-2: #f0f0ea;
  --ink: #10121c; --ink-2: #4c5063; --ink-3: #7b8094; --line: #e4e4dc;
  --accent: #3355ff; --accent-soft: #e9edff;
  /* Ana düğme ve seçili öğe rengi (site + panel): maviden mora geçiş, renkli yumuşak gölge */
  --brand: linear-gradient(135deg, #3355ff 0%, #6a4dff 100%);
  --brand-hover: linear-gradient(135deg, #2847f0 0%, #5c3df5 100%);
  --brand-shadow: 0 6px 18px -6px rgba(65, 77, 255, .55);
  --ok: #0e9f6e; --err: #d92d4b;
  --shadow: 0 1px 2px rgba(16, 18, 28, .04), 0 12px 32px -12px rgba(16, 18, 28, .12);
  --radius: 20px; --radius-sm: 12px;
  --font-display: "Jakarta", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --c: var(--accent);
}
[data-theme="dark"] {
  --bg: #0b0d14; --surface: #141722; --surface-2: #1b1f2d;
  --ink: #f3f4f8; --ink-2: #b4b9cb; --ink-3: #8087a0; --line: #252a3c;
  --accent: #7c93ff; --accent-soft: #1c2342;
  --brand: linear-gradient(135deg, #4f6bff 0%, #8b5cf6 100%);
  --brand-hover: linear-gradient(135deg, #6680ff 0%, #9d74f7 100%);
  --brand-shadow: 0 6px 20px -6px rgba(110, 100, 255, .55);
  --ok: #3ccf91; --err: #ff6b84;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.15; margin: 0; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--mid { width: min(960px, 100% - 40px); }
.wrap--narrow { width: min(720px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.admin-note { background: var(--ink); color: var(--bg); font-size: 13.5px; text-align: center; padding: 8px 16px; }
.admin-note a { text-decoration: underline; font-weight: 600; margin-left: 6px; }

/* Üst menü */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.tools { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .15s, border-color .15s; }
.icon-btn:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.icon-btn svg { width: 18px; height: 18px; }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.btn svg { width: 16px; height: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--brand-shadow); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(80, 80, 255, .6); }
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled { background: var(--surface-2); color: var(--ink-3); box-shadow: none; transform: none; cursor: not-allowed; }
.btn--ghost { background: var(--surface); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Giriş */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-grid--single { grid-template-columns: minmax(0, 820px); }
.hello { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #3355ff, #7c3aed); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; }
/* Giriş bölümünün sağındaki marka işareti (öne çıkan blog yokken) */
.hero-grid--brand { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
.hero-grid--brand .lead { max-width: none; }
/* Görsel: kod penceresi + üzerine binen üç küçük kart. Ölçüler kapsayıcıya göre (em) verilir, küçülünce orantılı küçülür. */
.hero-art { position: relative; width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 1 / .86; font-size: clamp(11px, 1.05vw, 13.5px); }
.hero-art::before { content: ""; position: absolute; inset: -8% -6% -10% -6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, #f0642f 20%, transparent), transparent 100%); }
.hero-art::after { content: ""; position: absolute; inset: 4% 0 0 8%; border-radius: 28px; background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1.2px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); mask-image: linear-gradient(135deg, #000, transparent 70%); }
.art-code { position: absolute; z-index: 1; left: 4%; top: 12%; width: 84%; border-radius: 1.4em; background: #0f1220; color: #d7dcee; box-shadow: 0 30px 60px -28px rgba(16, 18, 28, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; overflow: hidden; }
[data-theme="dark"] .art-code { background: #171b2c; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.art-bar { display: flex; align-items: center; gap: .5em; padding: .9em 1.1em; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.art-bar i { width: .72em; height: .72em; border-radius: 50%; background: #ff5f57; }
.art-bar i:nth-child(2) { background: #febc2e; }
.art-bar i:nth-child(3) { background: #28c840; }
.art-bar span { margin-left: .8em; font-family: var(--font-mono); font-size: .92em; color: #8f97b3; }
.art-code pre { margin: 0; padding: 1.2em 1.4em 1.5em; font-family: var(--font-mono); font-size: 1em; line-height: 1.75; white-space: pre; overflow: hidden; }
.art-code .k { color: #ff9a5c; } .art-code .t { color: #7cc7ff; } .art-code .f { color: #c7a6ff; } .art-code .s { color: #8fd694; } .art-code .n { color: #ffd479; }
.art-card { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 1.25em; box-shadow: var(--shadow); padding: 1em 1.15em; }
.art-card b { display: block; font-family: var(--font-display); font-size: 1.08em; font-weight: 700; color: var(--ink); line-height: 1.2; }
.art-card span { font-size: .92em; color: var(--ink-3); }
.art-chart { right: 0; top: 0; width: 46%; display: grid; gap: .7em; animation: art-float 7s ease-in-out infinite; }
.art-card-head { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.art-card-head span { display: inline-flex; align-items: center; gap: .4em; }
.art-live { width: .6em; height: .6em; border-radius: 50%; background: #0e9f6e; box-shadow: 0 0 0 0 rgba(14, 159, 110, .6); animation: art-pulse 1.8s ease-out infinite; }
.art-chart svg { width: 100%; height: 4.6em; display: block; }
.art-stats { display: flex; gap: 1.4em; }
.art-stats b { font-size: 1.3em; }
.art-node { left: 0; bottom: 4%; display: flex; align-items: center; gap: .9em; animation: art-float 8s ease-in-out -3s infinite; }
.art-node img { width: 3.2em; height: 3.2em; }
.art-ai { right: 3%; bottom: 0; display: flex; align-items: center; gap: .85em; animation: art-float 9s ease-in-out -5s infinite; }
.art-box { position: relative; width: 2.9em; height: 2.9em; border-radius: .7em; background: linear-gradient(135deg, #3355ff, #7c3aed); flex: none; }
.art-box::after { content: ""; position: absolute; inset: 22% 18% 26% 24%; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
/* Görsel 2: teknoloji haritası (ortada marka, çevresinde çalışma alanları, aralarında veri akışı) */
.hero-map { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 540 / 486; font-size: clamp(11px, 1.02vw, 13.5px); }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-ring ellipse { fill: none; stroke: var(--ink); stroke-opacity: .13; stroke-width: 1.2; stroke-dasharray: 3 9; stroke-linecap: round; }
.map-ring circle { fill: #f0642f; opacity: .85; }
.map-ring { transform-origin: 270px 243px; animation: map-spin 60s linear infinite; }
.map-ring--b { animation-duration: 90s; animation-direction: reverse; }
.map-link { stroke-width: 1.6; stroke-opacity: .34; stroke-dasharray: 5 7; stroke-linecap: round; }
.map-core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, #f0642f 9%, transparent), 0 0 0 24px color-mix(in srgb, #f0642f 5%, transparent), var(--shadow); animation: map-breathe 4.5s ease-in-out infinite; }
.map-core img { width: 56%; height: auto; }
.map-node { position: absolute; translate: -50% -50%; display: flex; align-items: center; gap: .75em; padding: .7em 1.05em .7em .7em; border-radius: 1.2em; background: var(--surface); border: 1px solid color-mix(in srgb, var(--c) 34%, var(--line)); box-shadow: var(--shadow); white-space: nowrap; animation: art-float 7s ease-in-out infinite; }
.map-ico { width: 2.9em; height: 2.9em; border-radius: .85em; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #ffffff)); color: #fff; display: grid; place-items: center; flex: none; }
.map-ico svg { width: 1.5em; height: 1.5em; }
.map-text { display: grid; }
.map-text b { font-family: var(--font-display); font-size: 1.1em; font-weight: 700; line-height: 1.2; color: var(--ink); }
.map-text small { font-size: .88em; color: var(--ink-3); }
@keyframes map-spin { to { transform: rotate(360deg); } }
@keyframes map-breathe { 0%, 100% { box-shadow: 0 0 0 10px color-mix(in srgb, #f0642f 9%, transparent), 0 0 0 24px color-mix(in srgb, #f0642f 5%, transparent), var(--shadow); } 50% { box-shadow: 0 0 0 16px color-mix(in srgb, #f0642f 11%, transparent), 0 0 0 36px color-mix(in srgb, #f0642f 4%, transparent), var(--shadow); } }
@media (max-width: 1000px) { .hero-map { justify-self: center; max-width: 500px; font-size: 12.5px; } }
/* Telefonda görsel küçülerek kalır; ölçüler em olduğu için yazı boyutu ekran genişliğine bağlanır */
@media (max-width: 640px) { .hero-map { max-width: 440px; font-size: clamp(8.5px, 2.6vw, 12.5px); margin-block: 6px; } .map-node { gap: .6em; padding: .55em .85em .55em .55em; } .map-ico { width: 2.5em; height: 2.5em; } }
@media (prefers-reduced-motion: reduce) { .map-ring, .map-core, .map-node { animation: none; } }
/* Görsel 3: hafif eğik "akıllı yönetim paneli" maketi */
.hero-dash { position: relative; width: 100%; max-width: 580px; justify-self: end; font-size: clamp(10.5px, .98vw, 13px); perspective: 1500px; padding: 2% 2% 6% 0; }
.hero-dash::before { content: ""; position: absolute; inset: -6% -8% -4% -4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, #f0642f 20%, transparent), transparent 100%); }
.dash-window { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 1.6em; overflow: hidden; transform: rotateY(-11deg) rotateX(5deg) rotateZ(.6deg); transform-origin: 60% 50%; box-shadow: 0 40px 70px -34px rgba(16, 18, 28, .5), 0 2px 0 rgba(255, 255, 255, .5) inset; animation: dash-tilt 12s ease-in-out infinite; }
[data-theme="dark"] .dash-window { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .08) inset; }
.dash-top { display: flex; align-items: center; gap: .7em; padding: .95em 1.2em; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
.dash-top img { width: 1.7em; height: 1.7em; }
.dash-top b { font-family: var(--font-display); font-size: 1.1em; font-weight: 700; }
.dash-live { display: inline-flex; align-items: center; gap: .4em; font-size: .86em; font-weight: 600; color: color-mix(in srgb, #0e9f6e 80%, var(--ink)); background: color-mix(in srgb, #0e9f6e 13%, transparent); padding: .2em .7em; border-radius: 999px; }
.dash-live i { width: .55em; height: .55em; border-radius: 50%; background: #0e9f6e; animation: art-pulse 1.8s ease-out infinite; }
.dash-tabs { margin-left: auto; display: flex; gap: .3em; }
.dash-tabs i { font-style: normal; font-size: .88em; font-weight: 600; color: var(--ink-3); padding: .3em .8em; border-radius: 999px; }
.dash-tabs i.is-on { background: var(--brand); color: #fff; }
.dash-grid { display: grid; grid-template-columns: 1.25fr .85fr .9fr; grid-template-areas: "chart chart vision" "devices gauge vision" "devices stack stack"; gap: .85em; padding: 1em; }
.dash-tile { background: var(--bg); border: 1px solid var(--line); border-radius: 1.1em; padding: .85em 1em; min-width: 0; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; }
.dash-head span { font-size: .88em; font-weight: 600; color: var(--ink-3); }
.dash-head b { font-family: var(--font-display); font-size: 1.25em; font-weight: 800; }
.dash-head b small { font-family: var(--font-body); font-size: .62em; font-weight: 500; color: var(--ink-3); }
.dash-head b.ok { font-size: .95em; color: color-mix(in srgb, #0e9f6e 80%, var(--ink)); }
.dash-chart { grid-area: chart; display: grid; gap: .5em; }
.dash-chart svg { width: 100%; height: 7.4em; display: block; overflow: visible; }
.dash-gridlines path { stroke: var(--ink); stroke-opacity: .08; stroke-width: 1; fill: none; }
.dash-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dash-draw 2.4s ease-out .3s forwards; }
.dash-dot { animation: dash-blink 1.6s ease-in-out infinite; }
.dash-vision { grid-area: vision; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .7em; }
.dash-vision .dash-head { display: grid; gap: .1em; }
.dash-frame { position: relative; min-height: 9em; border-radius: .8em; background: linear-gradient(160deg, #171b2c, #0f1220); overflow: hidden; }
.dash-part { position: absolute; left: 24%; top: 32%; width: 52%; height: 38%; border-radius: 22% 22% 34% 34%; background: linear-gradient(140deg, #8f97b3, #4c5063); box-shadow: 0 .6em 1.2em rgba(0, 0, 0, .45); }
.dash-part::after { content: ""; position: absolute; left: 34%; top: 30%; width: 32%; height: 32%; border-radius: 50%; background: #0f1220; box-shadow: 0 0 0 .25em rgba(255, 255, 255, .12); }
.dash-bbox { position: absolute; left: 15%; top: 25%; width: 70%; height: 52%; border: 2px solid #3ccf91; border-radius: .5em; box-shadow: 0 0 0 1px rgba(60, 207, 145, .25); animation: dash-box 3.6s ease-in-out infinite; }
.dash-bbox em { position: absolute; left: -2px; top: -1.75em; font-style: normal; font-size: .78em; font-weight: 700; color: #0f1220; background: #3ccf91; padding: .1em .5em; border-radius: .35em; white-space: nowrap; }
.dash-scan { position: absolute; left: 0; right: 0; height: 22%; top: -22%; background: linear-gradient(180deg, transparent, rgba(124, 147, 255, .35)); border-bottom: 1px solid rgba(124, 147, 255, .9); animation: dash-scan 3.6s linear infinite; }
.dash-devices { grid-area: devices; display: grid; gap: .5em; align-content: start; }
.dash-devices ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .95em; }
.dash-devices li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .55em; }
.dash-devices li i { width: .6em; height: .6em; border-radius: 50%; grid-row: span 2; }
.dash-devices li b { font-family: var(--font-mono); font-size: .95em; font-weight: 600; line-height: 1.2; }
.dash-devices li span { font-size: .82em; color: var(--ink-3); line-height: 1.2; }
.s-ok { background: #0e9f6e; } .s-wait { background: #e08600; }
.dash-gauge { grid-area: gauge; position: relative; display: grid; place-items: center; padding: .6em; }
.dash-gauge svg { width: 100%; max-width: 7em; transform: rotate(-90deg); }
.g-track { fill: none; stroke: var(--line); stroke-width: 7; }
.g-value { fill: none; stroke: #f0642f; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: dash-gauge 2s ease-out .5s forwards; }
.dash-gauge-text { position: absolute; display: grid; justify-items: center; line-height: 1.1; }
.dash-gauge-text b { font-family: var(--font-display); font-size: 1.35em; font-weight: 800; }
.dash-gauge-text span { font-size: .72em; color: var(--ink-3); }
.dash-stack { grid-area: stack; display: grid; gap: .55em; }
.dash-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.dash-chips i { font-style: normal; font-size: .9em; font-weight: 700; padding: .28em .75em; border-radius: 999px; color: color-mix(in srgb, var(--c) 82%, var(--ink)); background: color-mix(in srgb, var(--c) 14%, transparent); }
[data-theme="dark"] .dash-chips i { color: color-mix(in srgb, var(--c) 55%, #ffffff); }
.dash-badge { position: absolute; left: -4%; bottom: 0; z-index: 2; display: flex; align-items: center; gap: .8em; padding: .8em 1.1em .8em .8em; border-radius: 1.2em; background: var(--surface); border: 1px solid color-mix(in srgb, #e11d62 30%, var(--line)); box-shadow: var(--shadow); animation: art-float 7s ease-in-out infinite; }
.dash-badge > span { width: 2.9em; height: 2.9em; border-radius: .85em; background: linear-gradient(135deg, #e11d62, #ff7aa5); color: #fff; display: grid; place-items: center; flex: none; }
.dash-badge svg { width: 1.5em; height: 1.5em; }
.dash-badge b { display: block; font-family: var(--font-display); font-size: 1.08em; line-height: 1.2; }
.dash-badge small { font-size: .88em; color: var(--ink-3); }
@keyframes dash-tilt { 0%, 100% { transform: rotateY(-11deg) rotateX(5deg) rotateZ(.6deg); } 50% { transform: rotateY(-7deg) rotateX(3deg) rotateZ(.2deg); } }
@keyframes dash-draw { to { stroke-dashoffset: 0; } }
@keyframes dash-gauge { to { stroke-dashoffset: 6; } }
@keyframes dash-blink { 0%, 100% { opacity: 1; r: 4px; } 50% { opacity: .45; r: 6px; } }
@keyframes dash-scan { 0% { top: -22%; } 70%, 100% { top: 100%; } }
@keyframes dash-box { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@media (max-width: 1000px) { .hero-dash { justify-self: center; max-width: 520px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .dash-window, .dash-badge, .dash-scan, .dash-bbox, .dash-dot, .dash-live i { animation: none; } .dash-line { stroke-dashoffset: 0; animation: none; } .g-value { stroke-dashoffset: 6; animation: none; } }
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes art-pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, .6); } 100% { box-shadow: 0 0 0 .6em rgba(14, 159, 110, 0); } }
@media (max-width: 1000px) { .hero-art { justify-self: center; max-width: 480px; font-size: 12.5px; } }
@media (max-width: 640px) { .hero-art { max-width: 440px; font-size: clamp(7.5px, 2.4vw, 12.5px); } }
@media (prefers-reduced-motion: reduce) { .art-chart, .art-node, .art-ai, .art-live { animation: none; } }
/* Başlık tüm genişliği kullanır; altındaki sütunlar (metin + görsel) üstten hizalanır */
.hero-grid { row-gap: 30px; align-items: start; }
.hero .hero-title { grid-column: 1 / -1; margin: 0; text-wrap: balance; }
.hero .hero-title + div > .lead:first-child { margin-top: 0; }
.hero-grid .feature, .hero-grid .hero-art { align-self: center; }
/* Görsel, tanıtım metninin başladığı hizadan başlar; altında kalan boşluk üstündekiyle dengeli olsun diye hafifçe yukarı alınır */
.hero-grid .hero-map { align-self: start; margin-top: -14px; }
.hero-grid .hero-dash { align-self: start; margin-top: 4px; }
.hello--page { margin-bottom: 18px; }
/* "İkisi birlikte" düzeni: 1. satır metin | harita, 2. satır panel maketi | metnin devamı (zikzak) */
.hero-grid--duo { align-items: center; row-gap: 34px; }
.hero-grid--duo .duo-text > :first-child { margin-top: 0; }
.hero-grid--duo .hero-map { align-self: center; margin-top: 0; max-width: 500px; }
.hero-grid--duo .hero-dash { align-self: center; justify-self: start; margin-top: 12px; max-width: 600px; padding: 2% 0 6% 2%; }
.hero-grid--duo .duo-text--2 { margin-top: 12px; }
.hero-grid--duo .duo-text--2 .facts { margin-top: 32px; }
.hero-grid--duo .dash-window { transform: rotateY(10deg) rotateX(5deg) rotateZ(-.6deg); transform-origin: 40% 50%; animation-name: dash-tilt-left; }
.hero-grid--duo .dash-badge { left: auto; right: -3%; }
@keyframes dash-tilt-left { 0%, 100% { transform: rotateY(10deg) rotateX(5deg) rotateZ(-.6deg); } 50% { transform: rotateY(6deg) rotateX(3deg) rotateZ(-.2deg); } }
@media (max-width: 1000px) {
  .hero-grid--duo .hero-dash { order: 1; justify-self: center; margin-top: 0; padding: 2% 2% 6% 0; }
  .hero-grid--duo .hero-map { max-width: 500px; }
  .hero-grid--duo .duo-text--2 { margin-top: 0; }
}
/* Telefonda panel maketi düz durur (eğim küçük ekranda okumayı zorlaştırır), rozet pencerenin altına taşar */
@media (max-width: 640px) {
  .hero { overflow-x: clip; }
  .hero-dash, .hero-grid--duo .hero-dash { max-width: 460px; font-size: clamp(8.5px, 2.55vw, 12px); padding: 0 0 3.4em 0; }
  .dash-window, .hero-grid--duo .dash-window { transform: none; animation: none; }
  .dash-tabs i:not(.is-on) { display: none; }
  .dash-grid { gap: .7em; padding: .8em; }
  .dash-tile { padding: .75em .8em; }
  .dash-badge, .hero-grid--duo .dash-badge { left: auto; right: 4%; }
}
.hero h1:first-child { margin-top: 0; }
.hero h1 {font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; margin-top: 22px; }
/* Başlığın renkli devamı: logo turuncusundan siyaha geçiş (koyu temada siyah görünmeyeceği için açık turuncuya) */
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #f0642f, #d75937 45%, #2a120b); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .hero h1 em { background-image: linear-gradient(100deg, #ff9a5c, #e8552a 60%, #b8401f); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 56ch; }
.hero .lead { margin-top: 20px; max-width: 62ch; }
.hero .lead br { display: block; content: ""; margin-top: .7em; }
.hero .actions { margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.facts span { font-size: 13.5px; color: var(--ink-3); }

/* Kapak */
.cover { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #ffffff)); aspect-ratio: 16 / 10; }
.cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .28) 1.2px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000); mask-image: linear-gradient(135deg, transparent 20%, #000); }
.cover > svg { position: absolute; right: -6%; bottom: -14%; width: 52%; height: auto; color: rgba(255, 255, 255, .32); }
.cover--img { background: var(--surface-2); }
.cover--img::before { display: none; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .badge { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(255, 255, 255, .92); color: #10121c; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: color-mix(in srgb, var(--c) 82%, var(--ink)); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
[data-theme="dark"] .tag { color: color-mix(in srgb, var(--c) 60%, #ffffff); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13.5px; color: var(--ink-3); }
.meta-icon { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
.meta-icon svg { width: 15px; height: 15px; flex: none; }
a.meta-icon:hover { color: var(--ink); }

/* Blog yorumları */
.comments { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); display: grid; gap: 20px; scroll-margin-top: 96px; }
.comments h2 { font-size: clamp(22px, 3vw, 26px); font-weight: 800; }
.comments-empty { color: var(--ink-3); }
.comments-wrap { max-width: 760px; margin: 0 auto; }
.comments-wrap:empty { display: none; }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.comment { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.comment--author { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.comment-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--accent); background: var(--accent-soft); }
.comment--author .comment-avatar { background: var(--accent); color: #fff; }
.comment-main { display: grid; gap: 6px; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.comment-head time { font-size: 13px; color: var(--ink-3); }
.comment-badge { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.comment-main p { color: var(--ink-2); line-height: 1.65; overflow-wrap: anywhere; }
.comment-form { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.comment-form h3 { font-size: 18px; font-weight: 800; }
.comment-as { color: var(--ink-2); font-size: 15px; }
.comment-form .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.comment-form .form-actions .hint { font-size: 13.5px; color: var(--ink-3); flex: 1; min-width: 220px; }

/* Öne çıkan yazı */
.feature { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); transition: transform .2s; }
.feature:hover { transform: translateY(-4px); }
.feature .body { padding: 20px 14px 12px; }
.feature h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; margin: 10px 0; }
.feature p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }

/* Bölümler */
.section { padding: 56px 0; }
.section--tight { padding-top: 16px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.section-head p { color: var(--ink-2); margin-top: 6px; }
.more { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* Kategoriler */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: var(--shadow); }
.cat .ico { width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, transparent); color: color-mix(in srgb, var(--c) 85%, var(--ink)); display: grid; place-items: center; }
[data-theme="dark"] .cat .ico { color: color-mix(in srgb, var(--c) 60%, #ffffff); }
.cat .ico svg { width: 22px; height: 22px; }
.cat b { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; line-height: 1.25; display: block; }
.cat span { font-size: 13px; color: var(--ink-3); }

/* Yazı kartları */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.post { display: flex; flex-direction: column; gap: 14px; }
.post .cover { transition: transform .25s; }
.post:hover .cover { transform: translateY(-4px); }
.post h3 { font-size: 20px; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; margin: 8px 0; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; display: grid; gap: 6px; }
.empty b { font-family: var(--font-display); font-size: 18px; }
.empty span { color: var(--ink-3); }

/* İletişim bandı */
.cta { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 147, 255, .55), transparent 65%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { margin-top: 10px; opacity: .75; max-width: 52ch; }
.cta .btn--primary { box-shadow: none; }
.cta .btn--ghost { background: transparent; border-color: color-mix(in srgb, var(--bg) 30%, transparent); color: var(--bg); }

/* Sayfa başlığı (blog, iletişim) */
.page-head { padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; }
.page-head .lead { margin-top: 14px; }
.page-head--center { text-align: center; padding: 96px 0; }
.page-head--center .lead { margin-inline: auto; }
.page-head--center .actions { justify-content: center; margin-top: 28px; }
.big-code { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 1; color: var(--accent); display: block; margin-bottom: 8px; }
.crumb { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 18px; }
.crumb:hover { color: var(--ink); }
.search { display: flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search > svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--c); color: var(--ink); }
.chip.is-on { background: var(--brand); border-color: transparent; color: #fff; box-shadow: var(--brand-shadow); }
.chip .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.chip small { font-weight: 500; opacity: .6; }
.result-note { color: var(--ink-2); margin-bottom: 24px; }
.result-note a { color: var(--accent); font-weight: 600; margin-left: 6px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.pager a { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14.5px; }
.pager a:hover { border-color: var(--ink-3); }
.pager a[aria-current="page"] { background: var(--brand); border-color: transparent; color: #fff; box-shadow: var(--brand-shadow); }

/* Yazı sayfası */
.article-head { padding: 48px 0 32px; }
.article-head h1 { font-size: clamp(32px, 4.8vw, 50px); font-weight: 800; margin-top: 14px; }
.article-head .lead { margin-top: 16px; }
.article-head .meta { margin-top: 22px; font-size: 14.5px; }
/* Yazı sayfasındaki kapak metin sütunu genişliğinde; yüklenen görsel kırpılmadan kendi oranıyla görünür
   (şemalar ve ekran görüntüleri kesilmesin); çok uzun görseller 560 px'te sığdırılır. Görselsiz kapak 16:10 desenli kutu. */
.article-page .cover { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.article-page .cover--img { aspect-ratio: auto; }
.article-page .cover--img img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.draft-note { background: color-mix(in srgb, #e08600 16%, transparent); border: 1px solid color-mix(in srgb, #e08600 40%, transparent); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.prose { padding: 44px 0 8px; font-size: 18px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 90%, var(--ink-2)); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 30px; font-weight: 800; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 23px; font-weight: 700; margin-top: 1.6em; color: var(--ink); }
.prose h4 { font-family: var(--font-display); font-size: 19px; margin: 1.5em 0 0; color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c); color: var(--ink-2); font-size: 20px; }
.prose img { border-radius: var(--radius-sm); margin-inline: auto; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); padding: .15em .4em; border-radius: 6px; }
.prose pre { font-family: var(--font-mono); background: #0f1220; color: #e6e9f5; padding: 20px 22px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 14.5px; line-height: 1.65; tab-size: 4; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.share { display: flex; align-items: center; gap: 10px; margin: 36px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-weight: 600; font-size: 14.5px; color: var(--ink-2); margin-right: auto; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field-error { color: var(--err); font-size: 13.5px; font-weight: 600; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 22px; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.notice b { display: block; }
.notice span { font-size: 14.5px; }
.notice--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: color-mix(in srgb, var(--ok) 70%, var(--ink)); }
.notice--err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.contact-side { display: grid; gap: 12px; }
.contact-link { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: transform .15s, border-color .15s; }
.contact-link:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-link .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-link .ico svg { width: 21px; height: 21px; }
.contact-link b { display: block; font-family: var(--font-display); font-size: 15.5px; }
.contact-link small { color: var(--ink-3); font-size: 13.5px; overflow-wrap: anywhere; }





.field select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; }
.field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.result-note { font-size: 14px; color: var(--ink-2); }
.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.check a, .form-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 13.5px; color: var(--ink-3); }
.prose--legal { padding-top: 8px; font-size: 16.5px; }
.prose--legal h2 { font-size: 22px; margin-top: 1.6em; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); margin-top: 32px; padding: 32px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot .logo img { height: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.foot .copy { margin-left: auto; font-size: 13.5px; color: var(--ink-3); }

/* Açıklama niteliğindeki metinler iki yana yaslanır (başlıklar, düğmeler ve ortalanmış kısa notlar hariç).
   Satır sonunda kelime bölünmesi, yaslamanın kelime aralarını fazla açmasını önler. */
.lead, .section-head p, .feature p, .post p, .cta p, .prose p, .prose li, .prose blockquote,
.result-note, .form-note, .empty span, .hint, .message-body {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.page-head--center .lead, .empty span { text-align: center; hyphens: manual; -webkit-hyphens: manual; }

/* SweetAlert2 onay kutuları: site temasına uyum */
.swal2-container { z-index: 2000; }
.swal2-popup { font-family: var(--font-body); border-radius: 22px; border: 1px solid var(--line); padding: 28px 24px 24px; }
.swal2-popup .swal2-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); }
.swal2-popup .swal2-html-container { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.swal2-popup .swal2-actions { gap: 10px; margin-top: 22px; }
.swal2-popup .swal2-styled { margin: 0; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 12px 24px; box-shadow: none !important; }
.swal2-popup .swal2-cancel { background: var(--surface-2) !important; color: var(--ink) !important; }
.swal2-popup .swal2-styled:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Kısa bildirim (bağlantı kopyalandı vb.) */
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 16px; opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow); transition: opacity .2s, translate .2s; z-index: 50; }
.toast.is-on { opacity: 1; translate: -50% 0; }

.nav-toggle { display: none; }
/* Dar ekranda menü, üst çubuğun altında açılan bir panele dönüşür */
@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .tools { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 4px; margin: 0; padding: 12px 16px 18px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16, 18, 28, .35); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 16.5px; border-radius: 14px; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top .wrap { gap: 10px; height: 64px; }
  .logo img { height: 28px; }
  .tools a.icon-btn { display: none; }
  .hero { padding: 44px 0 36px; }
  .lead { font-size: 17px; }
  .posts { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .prose { font-size: 17px; }
  .foot .copy { margin-left: 0; }
}














@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


