/* AltaySec — ortak kurumsal tasarım.
   Kaynak: onaylanan yerel şablon, aşama 22 (24 Eylül 2026).
   Açık yüzeyler, özgün marka logosu, Inter, sakin gri/kırmızı dağ görseli.
   Ana sayfa, iç sayfalar ve araştırma arşivi aynı temeli kullanır. */

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-400-latin.woff2) format('woff2');
}

/* Tokens ------------------------------------------------------------------ */
:root {
  color-scheme: light;

  /* Marka kiti */
  --altay: #f5333f;        /* amblem ve koyu zeminde vurgu; küçük metinde kullanılmaz */
  --derin: #b51f35;        /* açık zeminde küçük metin ve buton dolgusu */
  --derin-hover: #971a2c;

  /* Açık yüzeyler */
  --paper: #ffffff;
  --ground: #f5f5f3;
  --ink: #14161b;
  --ink-2: #545a63;
  --ink-3: #686d75;
  --rule: #e2e3e7;
  --rule-strong: #c1c4cb;
  --red-ink: #b51f35;
  --ok: #1b6b45;

  /* Vurgu bantları (giriş, Guardian, ürün başlıkları, kapanış, alt bilgi).
     Adı tarihsel: açık temada açık, koyu temada gece rengidir. */
  --night: #f5f5f3;
  --night-2: #ffffff;
  --on-night: #0b0c0f;
  --on-night-2: #3d4048;
  --on-night-3: #5f626b;
  --night-rule: #e2e3e7;
  --night-head: #0b0c0f;
  --night-strong-rule: #0b0c0f;
  --night-quiet-border: #c1c4cb;
  --night-focus: #b51f35;
  --night-link: #b51f35;
  --footer-bg: #ffffff;

  /* Eş yükselti haritası (zirve.js bu değerleri okur) */
  --topo-line: rgba(11, 12, 15, 0.1);
  --topo-index: rgba(11, 12, 15, 0.22);
  --topo-label: rgba(11, 12, 15, 0.45);
  --topo-hl: #e0283c;
  --readout-bg: #ffffff;
  --readout-ink: #b51f35;
  --readout-border: rgba(181, 31, 53, 0.45);

  /* Canlı maskeleme gösterimi */
  --demo-input: #0b0c0f;
  --demo-out: #26282e;
  --mark-bg: #fbf1dc;
  --mark-ink: #7a5100;
  --verdict-block: #b51f35;
  --verdict-mask: #7a5100;
  --verdict-pass: #1b6b45;
  --demo-soft-rule: rgba(11, 12, 15, 0.07);

  --focus: #b51f35;
  --shadow-menu: 0 14px 36px -14px rgba(11, 12, 15, 0.28), 0 2px 6px rgba(11, 12, 15, 0.06);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans: var(--font);
  --font-display: var(--font);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 4px;
  --wrap: 1440px;
  --gutter: clamp(24px, 4.4vw, 72px);
  --header-h: clamp(64px, 5.3vw, 80px);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  font-stretch: normal;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.prose-link {
  color: var(--red-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose-link:hover { text-decoration-thickness: 2px; }

.text-link {
  color: var(--red-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.text-link:hover { border-bottom-width: 2px; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: #20252e; color: #fff; border-color: #20252e; }
.btn-primary:hover { background: #363c46; border-color: #363c46; }
.btn-quiet { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }

.on-night .btn-quiet { color: var(--night-head); border-color: var(--night-quiet-border); }
.on-night .btn-quiet:hover { border-color: var(--night-head); }
.on-night :focus-visible { outline-color: var(--night-focus); }

/* Logo (marka kiti, yatay; ALTAY bulunduğu zeminin rengini alır) ----------- */
.logo { display: block; width: 156px; height: auto; }
.logo .l-red { fill: #f5333f; }
.logo .l-ink { fill: currentColor; }

/* Header — brand, navigation and language sit on a single balanced line. */
.site-header { position: relative; z-index: 50; height: var(--header-h); border-bottom: 1px solid #e5e5e7; background: #fff; color: var(--ink); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; height: 100%; }
.brand { display: block; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.site-header .logo { width: clamp(180px, 18.5vw, 244px); height: auto; }
.header-end { display: flex; justify-self: end; align-items: center; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav-item { display: flex; align-items: center; position: relative; }
.nav-trigger, .nav-plain { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 0; font-size: clamp(12px, 1vw, 14px); line-height: 1.4; font-weight: 500; white-space: nowrap; text-decoration: none; }
.nav-trigger:hover, .nav-plain:hover, .nav-trigger[aria-current], .nav-plain[aria-current] { color: var(--red-ink); }
.nav-disclosure { display: grid; place-items: center; width: 22px; height: 36px; border: 0; background: transparent; padding: 0; color: var(--ink-3); cursor: pointer; }
.nav-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega-menu { display: none; position: absolute; top: 100%; left: -22px; width: 350px; max-width: calc(100vw - 48px); padding: 12px; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 14px 36px -14px #14161b26; }
.nav-item:last-of-type .mega-menu { left: auto; right: -22px; }
.nav-item.is-open > .mega-menu { display: block; }
.menu-link { display: block; padding: 12px; text-decoration: none; border-radius: 2px; }
.menu-link strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 500; }
.menu-link span { display: block; margin-top: 4px; color: var(--ink-3); font-size: 12px; line-height: 1.5; }
.menu-link:hover { background: var(--ground); }
.menu-all { display: block; padding: 12px; margin-top: 4px; border-top: 1px solid var(--rule); color: var(--red-ink); font-size: 13px; text-decoration: none; }
.lang-toggle { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.lang-btn { padding: 10px 2px; color: var(--ink-3); font-weight: 400; text-decoration: none; }
.lang-btn.active { color: var(--ink); font-weight: 600; }
.lang-btn:hover { color: var(--red-ink); }
.lang-sep { color: var(--ink-3); }
.mobile-menu-btn { display: none; width: 44px; height: 44px; position: relative; border: 0; background: none; color: inherit; cursor: pointer; }
.mobile-menu-btn span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; transition: transform .15s; }
.mobile-menu-btn span:nth-child(1) { top: 15px; }
.mobile-menu-btn span:nth-child(2) { top: 21px; }
.mobile-menu-btn span:nth-child(3) { top: 27px; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .mobile-menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 16px 24px #14161b0c; }
  .nav-links.active { display: block; }
  .nav-item { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--rule); }
  .nav-trigger, .nav-plain { display: block; padding: 17px 0; font-size: 16px; }
  .nav-links > .nav-plain { border-bottom: 1px solid var(--rule); }
  .nav-disclosure { width: 44px; height: 48px; }
  .mega-menu, .nav-item:last-of-type .mega-menu { position: static; grid-column: 1 / -1; width: auto; max-width: none; box-shadow: none; border: 0; padding: 0 0 12px; }
  .menu-link { padding: 12px; background: var(--ground); margin-bottom: 2px; }
}
@media (max-width: 480px) { .site-header .logo { width: 165px; } .nav { gap: 12px; } .header-end { gap: 8px; } }

/* Kabuk, eski sayfa stillerinin içinde de aynı görünsün -------------------- */
.site-header, .site-footer, .yazar-bandi { font-family: var(--font); font-stretch: 100%; line-height: 1.6; text-align: left; }
.site-header *, .site-footer * { letter-spacing: normal; text-transform: none; }
.site-header h2, .site-footer h2 { background: none; -webkit-text-fill-color: currentColor; }
.site-header .btn, .site-footer .btn { font-family: var(--font); box-shadow: none; transform: none; }
.site-header .btn-primary { color: #fff; }
.site-header .wrap, .site-footer .wrap { box-sizing: border-box; }
.site-header svg, .site-footer svg { display: block; }
/* Eski styles.css html/body'ye overflow-x: hidden veriyor; bu sticky'yi bozar */
html, body { overflow-x: clip; }

/* Makalelerde yazar satırı ------------------------------------------------ */
.yazar-bandi { border-top: 1px solid var(--rule); background: var(--ground); color: var(--ink-2); font-size: 0.9375rem; }
.yazar-bandi .wrap { padding-block: 20px; }
.yazar-bandi p { margin: 0; }
.yazar-bandi a { color: var(--red-ink); font-weight: 600; text-decoration: none; }
.yazar-bandi a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--night-head); text-decoration: none; font-weight: 600; }
.footer-social a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sections ---------------------------------------------------------------- */
.section { padding-block: clamp(44px, 4.8vw, 68px); }
.section + .section { border-top: 1px solid var(--rule); }
.section-ground { background: var(--ground); }
.section-ground + .section, .section + .section-ground { border-top: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px 72px;
  align-items: start;
}
.split-head { position: sticky; top: calc(var(--header-h) + 32px); }
.split-head h2, .section-title, .band h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); }
.split-head p { margin-top: 16px; color: var(--ink-2); max-width: 36ch; }
.split-head .head-links { margin-top: 24px; display: grid; gap: 8px; justify-items: start; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
}

/* Hizmet satırları -------------------------------------------------------- */
.offer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.offer h3 { font-size: 1.3125rem; }
.offer h3 a { text-decoration: none; }
.offer h3 a:hover { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.offer-desc { margin-top: 8px; color: var(--ink-2); }
.offer-status {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 8px;
  vertical-align: 3px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink-2);
}
.offer-facts { margin: 0; display: grid; grid-template-columns: 6.5em 1fr; gap: 8px 16px; font-size: 0.9375rem; align-content: start; padding-top: 4px; }
.offer-facts dt { color: var(--ink-3); }
.offer-facts dd { margin: 0; color: var(--ink); }

@media (max-width: 700px) {
  .offer { grid-template-columns: 1fr; }
}

/* Sektörler --------------------------------------------------------------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--ink);
}
.sector { padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.sector h3 { font-size: 1.1875rem; }
.sector p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 700px) {
  .sector-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Sızma testi: süreç + rapor sayfası --------------------------------------- */
.section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px 72px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head-row p { color: var(--ink-2); max-width: 58ch; }

.pentest-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 64px;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 2.25em minmax(6.5em, 8em) minmax(0, 1fr);
  gap: 4px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--red-ink);
  line-height: 1.5;
}
.step h3 { font-size: 1.0625rem; line-height: 1.5; }
.step p { color: var(--ink-2); font-size: 0.9688rem; }

.terms {
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.terms > div { padding: 18px 20px; }
.terms > div + div { border-left: 1px solid var(--rule); }
.terms dt { font-size: 0.875rem; color: var(--ink-3); }
.terms dd { margin: 4px 0 0; font-weight: 600; }

@media (max-width: 1000px) {
  .section-head-row, .pentest-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .step { grid-template-columns: 2em minmax(0, 1fr); }
  .step p { grid-column: 2; }
  .terms { grid-template-columns: 1fr; }
  .terms > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}

/* Rapor sayfası (temsilî) — kâğıt her iki temada da kâğıt kalır ------------- */
.sheet-figure { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.sheet-wrap { position: relative; padding: 0 12px 12px 0; }
.sheet-wrap::before {
  content: '';
  position: absolute;
  inset: 12px 0 0 12px;
  background: #eceef1;
  border: 1px solid #d5d8de;
  border-radius: 3px;
}
.sheet {
  position: relative;
  padding: 26px 26px 18px;
  background: #fff;
  color: #0b0c0f;
  border: 1px solid #d5d8de;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(11, 12, 15, 0.06), 0 22px 44px -24px rgba(11, 12, 15, 0.35);
  font-size: 0.875rem;
  line-height: 1.5;
}
:root[data-theme="dark"] .sheet-wrap::before { background: #1a1c22; border-color: #2c3038; }
:root[data-theme="dark"] .sheet { border-color: #2c3038; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8); }

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid #0b0c0f;
}
.sheet-top .logo { width: 96px; color: #0b0c0f; }
.sheet-class {
  padding: 2px 8px;
  border: 1.5px solid #b51f35;
  border-radius: 2px;
  color: #b51f35;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.sheet-doc { padding: 14px 0 16px; border-bottom: 1px solid #e2e3e7; }
.sheet-doc strong { display: block; font-size: 1rem; font-stretch: 92%; font-weight: 600; }
.sheet-doc span { color: #5f626b; }

.sheet-finding { padding-top: 16px; }
.sheet-finding-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #5f626b; font-variant-numeric: tabular-nums; }
.sev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #fcecee;
  color: #b51f35;
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.sev::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sheet-finding h3 {
  margin: 6px 0 14px;
  font-size: 1.0625rem;
  font-stretch: 92%;
  line-height: 1.25;
  color: #0b0c0f;
}
.sheet-rows { margin: 0; display: grid; grid-template-columns: 7.5em 1fr; border-top: 1px solid #e2e3e7; }
.sheet-rows dt, .sheet-rows dd { margin: 0; padding: 8px 0; border-bottom: 1px solid #e2e3e7; }
.sheet-rows dt { color: #5f626b; }
.sheet-rows dd { color: #0b0c0f; }
.sheet-rows .closed { color: #1b6b45; font-weight: 600; }
.sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  color: #7a7d86;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.sheet-caption { margin-top: 16px; font-size: 0.875rem; color: var(--ink-3); }

@media (max-width: 1000px) {
  .sheet-figure { position: static; max-width: 520px; }
}
@media (max-width: 480px) {
  .sheet { padding: 20px 18px 16px; }
  .sheet-rows { grid-template-columns: 1fr; }
  .sheet-rows dt { padding-bottom: 0; border-bottom: 0; font-size: 0.8125rem; }
  .sheet-rows dd { padding-top: 2px; }
}

/* Guardian: gece bandı + canlı maskeleme ----------------------------------- */
.band {
  background: var(--night);
  color: var(--on-night);
  padding-block: clamp(64px, 8vw, 112px);
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 64px;
  align-items: start;
}
.band h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); color: var(--night-head); }
.band-lead { margin-top: 18px; color: var(--on-night-2); max-width: 46ch; }
.band-status { margin-top: 24px; font-size: 0.9375rem; color: var(--on-night-2); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.diff {
  margin: 28px 0 0;
  padding: 14px 0;
  border: 1px solid #23262d;
  border-radius: var(--radius);
  background: #14161b;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #cfd2d8;
  overflow-x: auto;
}
.diff code { display: block; min-width: max-content; }
.diff span { display: block; padding: 0 16px; }
.diff .c { color: #80838d; }
.diff .del { background: rgba(245, 51, 63, 0.13); color: #f6b0b6; }
.diff .add { background: rgba(80, 190, 130, 0.13); color: #b2ebcb; }

.demo {
  border: 1px solid var(--night-rule);
  border-radius: 12px;
  background: var(--night-2);
  overflow: hidden;
}
.demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--night-rule);
}
.demo-head h3 { font-size: 0.9375rem; font-stretch: 100%; font-weight: 600; color: var(--night-head); letter-spacing: 0; }
.demo-samples { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-samples button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--night-rule);
  border-radius: 6px;
  background: transparent;
  color: var(--on-night-2);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}
.demo-samples button:hover { color: var(--night-head); border-color: var(--night-quiet-border); }
.demo-samples button[aria-pressed="true"] { color: var(--night-head); border-color: var(--altay); }

.demo-io { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.demo-pane { padding: 16px 18px 18px; min-width: 0; }
.demo-pane + .demo-pane { border-left: 1px solid var(--night-rule); }
.demo-label { display: block; margin-bottom: 8px; font-size: 0.8125rem; color: var(--on-night-3); }
.demo textarea {
  display: block;
  width: 100%;
  min-height: 184px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--demo-input);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
}
.demo textarea:focus { outline: none; }
.demo-pane:focus-within { box-shadow: inset 0 0 0 2px var(--night-quiet-border); }
.demo-out {
  min-height: 184px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--demo-out);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.demo-out.is-blocked { color: var(--on-night-3); }
.demo-out mark {
  padding: 0 4px;
  border-radius: 3px;
  background: var(--mark-bg);
  color: var(--mark-ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.demo-out .blocked-note { display: block; color: var(--verdict-block); font-weight: 600; }

.demo-verdict {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--night-rule);
  font-weight: 600;
}
.demo-verdict::before { content: ''; flex: none; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.demo-verdict[data-state="block"] { color: var(--verdict-block); }
.demo-verdict[data-state="mask"] { color: var(--verdict-mask); }
.demo-verdict[data-state="pass"] { color: var(--verdict-pass); }
.demo-verdict span { color: var(--on-night-2); font-weight: 400; }

.demo-findings { list-style: none; margin: 0; padding: 0 18px 6px; font-size: 0.875rem; }
.demo-findings:empty { display: none; }
.demo-findings li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--demo-soft-rule);
  color: var(--on-night-2);
}
.demo-findings li b { color: var(--night-head); font-weight: 600; }
.demo-findings li em { font-style: normal; color: var(--on-night-3); white-space: nowrap; }
.demo-note { padding: 12px 18px 16px; font-size: 0.8125rem; color: var(--on-night-3); border-top: 1px solid var(--night-rule); }

@media (max-width: 1000px) {
  .band-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .demo-io { grid-template-columns: minmax(0, 1fr); }
  .demo-pane + .demo-pane { border-left: 0; border-top: 1px solid var(--night-rule); }
  .demo textarea, .demo-out { min-height: 132px; }
}

/* ==========================================================================
   İÇ SAYFA BİLEŞENLERİ
   Ana sayfa dışındaki her sayfa bunlarla kurulur. Bileşen başına bir görev;
   kart kutusu yerine çizgi, ızgara ve boşlukla ayrım.
   ========================================================================== */

/* Sayfa başlığı ------------------------------------------------------------ */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
}
.page-head.on-night { background: var(--night); color: var(--on-night); border-bottom: 0; }
.page-head .topo-map { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.page-head .topo-map.is-ready { opacity: 1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 28px; font-size: 0.875rem; color: var(--ink-3); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-2); }
.on-night .crumbs { color: var(--on-night-3); }
.on-night .crumbs a:hover, .on-night .crumbs [aria-current] { color: var(--on-night); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 72px; align-items: end; }
.page-head-grid > :only-child { grid-column: 1 / -1; }
.page-head h1 {
  max-width: 17em;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  font-weight: 700;
  font-stretch: normal;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-head.on-night h1 { color: var(--night-head); }
.page-lead { margin-top: 22px; max-width: 60ch; font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); }
.on-night .page-lead { color: var(--on-night-2); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-facts { margin: 0; border-top: 1px solid var(--ink); }
.on-night .page-facts { border-top-color: var(--night-strong-rule); }
.page-facts > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; }
.on-night .page-facts > div { border-bottom-color: var(--night-rule); }
.page-facts dt { color: var(--ink-3); }
.on-night .page-facts dt { color: var(--on-night-3); }
.page-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); } }

/* Bölüm başlığı: başlık solda, açıklama sağda ------------------------------ */
.head-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px 72px;
  align-items: end;
  margin-bottom: 40px;
}
.head-row h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); }
.head-row p { color: var(--ink-2); max-width: 60ch; }
.on-night .head-row h2 { color: var(--night-head); }
.on-night .head-row p { color: var(--on-night-2); }
@media (max-width: 900px) { .head-row { grid-template-columns: minmax(0, 1fr); } }

/* Özellik listesi: kutusuz, üst çizgili sütunlar --------------------------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.features.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { padding: 22px 0 28px; border-top: 1px solid var(--ink); }
.on-night .feature { border-top-color: var(--night-strong-rule); }
.feature h3 { font-size: 1.125rem; line-height: 1.3; }
.on-night .feature h3 { color: var(--night-head); }
.feature p { margin-top: 10px; color: var(--ink-2); font-size: 0.9688rem; }
.on-night .feature p { color: var(--on-night-2); }
.feature ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.9375rem; }
.feature li + li { margin-top: 4px; }
.feature .ref { display: block; margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }
@media (max-width: 1000px) { .features, .features.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features, .features.cols-2, .features.cols-4 { grid-template-columns: minmax(0, 1fr); } }

/* Paketler ----------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); overflow: hidden; }
.plans.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plans.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { display: flex; flex-direction: column; padding: 28px 26px; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan.is-featured { box-shadow: inset 0 3px 0 var(--derin); }
.plan-note { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--red-ink); }
.plan h3 { font-size: 1.3125rem; }
.plan-for { margin-top: 6px; color: var(--ink-3); font-size: 0.9375rem; }
.plan-price { margin-top: 18px; font-size: 1.5rem; font-weight: 700; font-stretch: normal; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 400; font-stretch: 100%; color: var(--ink-3); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 16px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; font-size: 0.9375rem; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 4px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 14px; font-size: 0.875rem; color: var(--ink-3); }
@media (max-width: 1000px) {
  .plans, .plans.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); }
}

/* Teknik özellik tablosu --------------------------------------------------- */
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(8em, 14em) minmax(0, 1fr); gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; }
.on-night .spec { border-top-color: var(--night-strong-rule); }
.on-night .spec > div { border-bottom-color: var(--night-rule); }
.on-night .spec dt { color: var(--on-night-3); }
@media (max-width: 560px) { .spec > div { grid-template-columns: minmax(0, 1fr); } }

/* Genel tablo -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; border-top: 1px solid var(--ink); }
.table th { padding: 12px 16px 12px 0; text-align: left; font-weight: 600; font-size: 0.875rem; color: var(--ink-3); border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table td:first-child { font-weight: 600; }
.table a { color: var(--red-ink); text-underline-offset: 3px; }
.on-night .table { border-top-color: var(--night-strong-rule); color: var(--on-night); }
.on-night .table th { color: var(--on-night-3); border-bottom-color: var(--night-rule); }
.on-night .table td { border-bottom-color: var(--night-rule); }
.on-night .table a { color: var(--night-link); }

/* Bilgi kutusu ------------------------------------------------------------- */
.notice { padding: 18px 22px; border-left: 3px solid var(--ink); background: var(--ground); color: var(--ink-2); font-size: 0.9688rem; }
.notice strong { color: var(--ink); }
.notice.is-red { border-left-color: var(--derin); }
.section-ground .notice { background: var(--paper); }

/* Kapanış bandı ------------------------------------------------------------ */
.cta-band { background: var(--night); color: var(--on-night); padding-block: clamp(36px, 4vw, 52px); border-bottom: 1px solid var(--night-rule); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: center; }
.cta-band h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); color: var(--night-head); }
.cta-band p { margin-top: 14px; color: var(--on-night-2); max-width: 52ch; }
.cta-band .page-actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .page-actions { justify-content: flex-start; } }

/* Uzun metin: yasal sayfalar, rehberler ------------------------------------ */
.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; color: var(--ink); }
.prose h3 { margin-top: 1.8em; font-size: 1.1875rem; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; border-top: 1px solid var(--ink); }
.prose th, .prose td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { color: var(--ink-3); font-weight: 600; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--rule-strong); color: var(--ink-2); }
.prose code { font-family: var(--mono); font-size: 0.875em; padding: 1px 5px; border-radius: 4px; background: var(--ground); color: var(--ink); }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 8px; background: #0b0c0f; color: #dfe2e7; font-size: 0.875rem; line-height: 1.65; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose .updated { font-size: 0.875rem; color: var(--ink-3); }

/* Sayfa içi dizin (uzun sayfalarda) ---------------------------------------- */
.toc { font-size: 0.9375rem; }
.toc h2 { font-size: 0.9375rem; font-stretch: 100%; letter-spacing: 0; color: var(--ink-3); font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc .toc-rel { margin-top: 28px; }
.split-head.toc h2 { font-size: 0.9375rem; }

/* Etiket dizisi (standart eşlemeleri gibi kısa referanslar) ---------------- */
.refs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.refs li { padding: 2px 8px; border: 1px solid var(--rule-strong); border-radius: 4px; font-size: 0.8125rem; color: var(--ink-2); }
.on-night .refs li { border-color: var(--night-rule); color: var(--on-night-2); }

/* Açık zeminde kod bloğu --------------------------------------------------- */
.code { margin: 0; padding: 16px 18px; overflow-x: auto; border-radius: var(--radius); background: #0b0c0f; color: #dfe2e7; font-family: var(--mono); font-size: 0.8438rem; line-height: 1.7; }

/* Küçük düzen yardımcıları ---------------------------------------------------- */
.features + .spec, .features + .table-wrap, .features + .notice, .steps + .notice { margin-top: 32px; }
.spec + .notice, .plans + .notice, .plans-note + .notice, .table-wrap + .notice, .refs + .notice, .spec + .page-actions, .table-wrap + .page-actions { margin-top: 24px; }
.minor-title:first-child { margin-top: 0; }
.minor-title { margin-top: 40px; font-size: 1rem; font-stretch: 100%; letter-spacing: 0; font-weight: 600; color: var(--ink-3); }
.section-note { margin-top: 28px; max-width: 72ch; color: var(--ink-2); }
.on-night .section-note, .on-night .minor-title { color: var(--on-night-2); }

/* Araştırma dizini: bilgi bankası listesi ---------------------------------- */
.kb-section + .kb-section { margin-top: 72px; }
.kb-section h2 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); }
.kb-section > p { margin-top: 8px; max-width: 64ch; color: var(--ink-3); font-size: 0.9375rem; }
.kb-sub { margin-top: 32px; font-size: 1rem; font-stretch: 100%; letter-spacing: 0; font-weight: 600; color: var(--ink-3); }
.kb-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.kb-list li { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
.kb-list a { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); text-decoration: none; }
.kb-list a:hover { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kb-list p { margin-top: 4px; max-width: 70ch; color: var(--ink-2); font-size: 0.9375rem; }
.toc-authors { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.toc-authors a { display: inline; padding: 0; margin: 0; border: 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.toc-authors a:hover { text-decoration: underline; text-underline-offset: 3px; }
.toc-authors span { display: block; color: var(--ink-3); font-size: 0.875rem; }
@media (max-width: 900px) { .split-head.toc ol { columns: 2; column-gap: 24px; } }
@media (max-width: 560px) { .split-head.toc ol { columns: 1; } }

/* Görsel ve satır içi kod ---------------------------------------------------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); background: var(--ground); }
.figure figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }
:not(pre) > code { font-family: var(--mono); font-size: 0.875em; padding: 1px 5px; border-radius: 4px; background: var(--ground); color: var(--ink); overflow-wrap: anywhere; }
.on-night :not(pre) > code { background: var(--night-2); color: var(--on-night); }

/* Kanıt kayıtları --------------------------------------------------------- */
.records { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.records th {
  padding: 12px 16px 12px 0;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
}
.records td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.records td:first-child { width: 22%; color: var(--ink-3); font-size: 0.9375rem; }
.records td:last-child { width: 30%; padding-right: 0; font-size: 0.9375rem; }
.records strong { font-weight: 600; }
.records a { color: var(--red-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.records-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; }

@media (max-width: 700px) {
  .records thead { display: none; }
  .records, .records tbody, .records tr, .records td { display: block; width: auto !important; }
  .records tr { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .records td { padding: 2px 0; border: 0; }
}

/* Kurucular --------------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.person { padding-top: 24px; }
.person h3 { font-size: 1.3125rem; }
.person h3 a { text-decoration: none; }
.person h3 a:hover { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.person-role { margin-top: 4px; color: var(--ink-3); font-size: 0.9375rem; }
.person p:not(.person-role) { margin-top: 14px; color: var(--ink-2); }
.org-facts {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.org-facts > div { padding: 16px 16px 0 0; }
.org-facts dt { font-size: 0.875rem; color: var(--ink-3); }
.org-facts dd { margin: 2px 0 0; font-weight: 600; }

@media (max-width: 700px) {
  .people { grid-template-columns: 1fr; }
  .person + .person { margin-top: 32px; }
  .org-facts { grid-template-columns: 1fr; }
}

/* Araştırma listesi ------------------------------------------------------- */
.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pub {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.pub time { color: var(--ink-3); font-size: 0.9375rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.pub a { font-weight: 600; font-size: 1.0625rem; text-decoration: none; line-height: 1.4; }
.pub a:hover { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

@media (max-width: 560px) {
  .pub { grid-template-columns: 1fr; }
}

/* Section navigation on long product pages. */
.page-section-nav { position: sticky; top: 0; z-index: 25; background: var(--paper); border-block: 1px solid var(--rule); }
.page-section-nav > .wrap { display: flex; align-items: center; gap: 36px; min-height: 64px; }
.page-section-name { font-size: 15px; font-weight: 600; white-space: nowrap; }
.page-section-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.page-section-links a, .page-section-contact { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; text-decoration: none; }
.page-section-links a { color: var(--ink-2); }
.page-section-contact { margin-left: auto; color: var(--red-ink); white-space: nowrap; }
.page-section-nav a:hover { color: var(--red-ink); text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 900px) {
  .page-section-nav { position: static; }
  .page-section-nav > .wrap { align-items: flex-start; flex-wrap: wrap; gap: 0 24px; padding-block: 12px; }
  .page-section-name { width: 100%; padding-block: 6px; }
  .page-section-links { column-gap: 24px; }
  .page-section-contact { margin-left: 0; }
}
@media (max-height: 500px), print { .page-section-nav { position: static; } }

/* SSS --------------------------------------------------------------------- */
.split:has(.faq) {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.split:has(.faq) > .split-head { position: static; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.125rem; font-stretch: 95%; font-weight: 600; line-height: 1.35; }
.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--ink-3);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--red-ink); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 72ch; }

/* İletişim ---------------------------------------------------------------- */
.contact-details { margin: 32px 0 0; display: grid; gap: 16px; }
.contact-details dt { font-size: 0.875rem; color: var(--ink-3); }
.contact-details dd { margin: 2px 0 0; font-weight: 600; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: grid; gap: 8px; align-content: start; }
.contact-form > .form-group { margin-top: 20px; }
.form-group label { font-size: 0.9375rem; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.form-group textarea { min-height: 128px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-3); opacity: 1; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.consent-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--derin); }
.consent-row a { color: var(--ink); text-underline-offset: 3px; }
.contact-form-submit { margin-top: 24px; width: 100%; }
.contact-form-status { margin-top: 12px; font-size: 0.9375rem; }
.contact-form-status:empty { display: none; }
.contact-form-status.is-success { color: var(--ok); }
.contact-form-status.is-error { color: var(--red-ink); }
.contact-form-note { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }
.contact-form-note a { color: inherit; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--footer-bg); color: var(--on-night-2); font-size: 0.9375rem; border-top: 1px solid var(--night-rule); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: 44px 40px;
}
.footer-brand .brand { color: var(--night-head); }
.footer-brand p { margin-top: 20px; max-width: 30ch; }
.footer-brand address { margin-top: 16px; font-style: normal; line-height: 1.7; }
.footer-brand address a { color: var(--night-head); text-decoration: none; }
.footer-col h2 { font-size: 0.9375rem; font-stretch: 100%; font-weight: 600; letter-spacing: 0; color: var(--night-head); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-night-2); text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--night-head); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  background: linear-gradient(var(--night-rule), var(--night-rule)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: 0.75rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: var(--on-night-2); text-decoration: none; }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   ESKİ GÖVDELER İÇİN GEÇİŞ KATMANI
   Makaleler, profiller ve rehberler içeriğini korur; görünüşü yeni dile
   yaklaştırılır. Yeniden yazılan sayfalar bu sınıfları kullanmaz.
   Eski satır içi stilleri ezmek için yer yer !important bilerek kullanıldı.
   ========================================================================== */

/* Kaydırınca belirme ve sayaç animasyonları yok */
.reveal, .fade-in, .fade-in.visible, [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }

/* Gradyanlı ya da kırmızı başlık vurgusu düz metin olur */
.gradient-text, .gradient-text-brand, .primary-text, .accent-text {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
  display: inline !important;
}
.cyber-heading { color: var(--ink) !important; }

/* Başlık üstü süs etiketleri */
.badge-wrapper, .section-header > .badge { display: none !important; }

/* Mono ve aralıklı büyük harf etiketler Archivo'ya döner */
.article-breadcrumb, .article-series-badge, .article-meta, .article-date, .article-num, .article-link,
.rp-num, .kicker, .proof-kicker, .ex-kicker, .work-kicker, .pub-num, .module-num, .series-label,
.std-badge, .scope-tag, .topic-tag, .tag, .cred-tag, .publication-type, .hero-kicker, .section-kicker,
.series-nav-label, .spoke-num, .term-cat, .dataset-meta-kicker, .article-footer-meta, .read-time,
.breadcrumbs, .receipt-status, .receipt-title p, .receipt-facts dt, .receipt-body span, .receipt-evidence > span,
.stamp-head, .stamp-main span, .stamp-foot, .profile-kicker, .role, .new-badge, .icon-badge,
.article-table-wrap th, .article-body th, .prose-legacy th {
  font-family: var(--font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Legacy düğmeler */
.btn-secondary, .btn-outline { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--rule-strong) !important; box-shadow: none !important; }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--ink) !important; }
.btn { border-radius: var(--radius) !important; box-shadow: none !important; transform: none !important; }

/* Kartlar düzleşir: tek kenar çizgisi, gölge ve yükselme yok */
.premium-card, .service-card, .decision-card, .rp-card, .article-card, .product-card, .proof-card,
.expertise-card, .work-card, .feat-card, .module-card, .bento-card, .price-card, .layer-card, .deliv-card,
.ak-card, .receipt, .profile-proof-item, .spoke-card, .article-author-card, .researcher-card, .research-card,
.info-panel, .dataset-meta-card, .cta-box, .soft-cta, .pub-item, .trust-card {
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  transform: none !important;
  background-image: none !important;
}
.premium-card:hover, .service-card:hover, .rp-card:hover, .article-card:hover, .spoke-card:hover,
.research-card:hover, .researcher-card:hover, .expertise-card:hover, .work-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--rule-strong) !important;
}
.article-card .article-num, .spoke-num { color: var(--ink-3) !important; }

/* Ortalanmış bölüm başlıkları sola hizalanır */
.section-header { text-align: left !important; margin-left: 0 !important; }
.section-header .section-copy, .section-header p { margin-left: 0 !important; }

/* Açık kaynak kayıt sayfası (üreteç çıktısı) */
.proof-hero h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.375rem) !important; line-height: 1.05 !important; letter-spacing: -0.02em !important; font-stretch: normal; font-weight: 700; }
.hero-stamp { box-shadow: none !important; border-radius: var(--radius) !important; }
.hero-kicker { font-family: var(--font) !important; letter-spacing: 0 !important; color: var(--ink-3) !important; }
.receipt { border-left-width: 1px !important; }
.ledger-intro { border-top-width: 1px !important; }

/* Makale ------------------------------------------------------------------ */
.article-main { padding-top: clamp(32px, 5vw, 56px); }
.article-breadcrumb { font-size: 0.875rem !important; color: var(--ink-3) !important; }
.article-breadcrumb a { color: inherit !important; }
.article-series-badge {
  display: inline-block !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: var(--ink-3) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}
.article-header h1 { font-family: var(--font); font-weight: 700; font-stretch: 88%; letter-spacing: -0.018em; line-height: 1.08; color: var(--ink); }
.article-lead {
  font-style: normal !important;
  color: var(--ink-2) !important;
  border-left-color: var(--rule-strong) !important;
}
.article-meta, .article-date { color: var(--ink-3) !important; font-size: 0.875rem !important; }
.article-body h2, .article-body h3 { font-family: var(--font); font-stretch: 92%; color: var(--ink); letter-spacing: -0.01em; }
.article-body a { color: var(--red-ink); text-underline-offset: 3px; }
.article-tldr, .tldr, .info-box {
  background: var(--ground) !important;
  border: 0 !important;
  border-left: 3px solid var(--ink) !important;
  border-radius: 0 !important;
}
.warning-box { background: var(--ground) !important; border: 0 !important; border-left: 3px solid var(--derin) !important; border-radius: 0 !important; }
.article-toc { border-radius: 0 !important; border: 0 !important; border-left: 1px solid var(--rule) !important; background: none !important; }
.article-table-wrap { border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--ink) !important; }
.article-table-wrap th, .article-body th { background: none !important; color: var(--ink-3) !important; font-weight: 600 !important; }
.article-table-wrap tr:hover td, .article-body tr:hover td { background: none !important; }
.article-tags .tag { border-radius: 4px !important; }
.author-card-info span { font-family: var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-3) !important; }
.article-author-card { border: 0 !important; border-top: 1px solid var(--ink) !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; background: none !important; }
.article-series-nav { border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--rule) !important; border-bottom: 1px solid var(--rule) !important; padding-left: 0 !important; padding-right: 0 !important; background: none !important; }
.pillar-uplink { border-radius: 0 !important; background: none !important; border: 0 !important; border-left: 3px solid var(--ink) !important; }

/* Profil sayfalarındaki üreteç blokları (yayın satırları, katkı tablosu) */
.wrap > .profile-section > h2 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); }
.wrap > .profile-section > p { margin-top: 8px; max-width: 64ch; color: var(--ink-2); font-size: 0.9375rem; }
.wrap > .profile-section + .profile-section { margin-top: 72px; }

.publication-list { margin-top: 20px; border-top: 1px solid var(--ink); }
.publication-row {
  display: grid;
  grid-template-columns: minmax(0, 11em) minmax(0, 1fr) auto;
  gap: 4px 24px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.publication-type { padding-top: 3px; font-size: 0.875rem; color: var(--ink-3); }
.publication-main strong { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.publication-main > span { display: block; margin-top: 4px; max-width: 70ch; color: var(--ink-2); font-size: 0.9375rem; }
.publication-arrow { padding-top: 3px; font-size: 0.875rem; font-weight: 600; color: var(--red-ink); }
.publication-row:hover strong { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 700px) { .publication-row { grid-template-columns: minmax(0, 1fr); } }

.compact-ledger { margin-top: 20px; overflow-x: auto; }
.compact-ledger table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 0.9375rem; }
.compact-ledger th { padding: 12px 16px 12px 0; text-align: left; font-size: 0.875rem; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.compact-ledger td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compact-ledger td strong { display: block; font-weight: 600; }
.compact-ledger td > span { display: block; font-size: 0.875rem; color: var(--ink-3); overflow-wrap: anywhere; }
.compact-ledger td a { color: var(--red-ink); text-underline-offset: 3px; }
.compact-ledger td code { display: block; width: fit-content; margin-top: 4px; }

.proof-center-cta { margin-top: 20px; }
.proof-center-cta a { color: var(--red-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Üreteçlerin bağlantı sonuna eklediği ok işaretleri (aria-hidden) */
.proof-center-cta [aria-hidden="true"], .compact-ledger a [aria-hidden="true"] { display: none; }

/* Hareket tercihi ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .zirve-map, .zirve-mark, .band, .contact-form, .site-footer { display: none; }
  .hero { min-height: 0; background: none; color: #000; padding: 0 0 24px; }
  .hero h1 { color: #000; }
}

/* Inner pages: restrained titles, ordinary paper surfaces and reading width. */
.page-head, .page-head.on-night { background: #f4f5f6; }
.page-head h1 { font-weight: 500; letter-spacing: -.035em; line-height: 1.13; }
.page-lead { font-size: 18px; }
.page-facts { border-top-color: #92969b; }

/* Product introductions: the interface sits directly on the hero surface. */
.product-page-head { padding-bottom: 32px; }
.product-intro-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 36px; align-items: center; }
.product-intro-grid h1 { font-size: clamp(2rem, 1.25rem + 2.25vw, 3rem); }
.product-intro-grid .page-lead { max-width: 52ch; }
.product-visual { min-width: 0; margin: 0 calc(var(--gutter) * -.5) 0 -8px; }
.product-visual-image { display: block; }
.product-visual img {
  display: block; width: 100%; height: auto; mix-blend-mode: darken;
  mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 96%, transparent);
  mask-composite: intersect;
}
.product-visual figcaption { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 8px 20px; margin: 10px calc(var(--gutter) * .5) 0 8px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.product-visual figcaption a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Real Edge screenshots retain their native UI and proportions. */
.product-visual-edge { margin: 0; }
.product-visual-edge .product-visual-image { overflow: hidden; border: 1px solid #d6d9dd; border-radius: 4px; }
.product-visual-edge img { mix-blend-mode: normal; mask-image: none; transform: scale(1.8); }
.product-visual-edge figcaption { justify-content: space-between; margin: 12px 0 0; }
.product-visual-masking .product-visual-image { aspect-ratio: 2.6; }
.product-visual-masking img { width: 128%; max-width: none; transform: none; }
.product-visual-note { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.product-specs-edge { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.image-dialog {
  width: min(1440px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.image-dialog::backdrop { background: rgb(15 18 22 / .7); }
.image-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px 8px 20px; }
.image-dialog-header p { margin: 0; font-size: 14px; line-height: 1.5; }
.image-dialog-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 32px/1 var(--font); cursor: pointer; }
.image-dialog-close:hover { background: var(--ground); }
.image-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 120px); object-fit: contain; background: #f4f5f6; }
html:has(.image-dialog) { scrollbar-gutter: stable; }
html:has(.image-dialog[open]) { overflow: hidden; }
.product-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid #d6d9dd; }
.product-specs dt { margin-bottom: 7px; font-size: 13px; color: var(--ink-2); }
.product-specs dd { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
@media (max-width: 1000px) {
  .product-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-intro-grid .page-lead { max-width: 66ch; }
  .product-visual { margin: 0; }
  .product-visual figcaption { margin: 10px 0 0; }
  .product-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 28px; }
}
@media (max-width: 480px) {
  .product-page-head { padding-block: 28px; }
  .product-specs { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-specs > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .product-specs dt { margin: 0; line-height: 1.65; }
}
.features, .head-row { column-gap: 48px; }
.feature { border-top-color: #92969b; }
.split-head h2, .head-row h2, .cta-band h2 { font-weight: 500; letter-spacing: -.03em; }
.offer-list, .people, .pubs, .kb-list, .faq { border-top-color: #92969b; }
.offer h3 { font-weight: 500; }
.btn { font-family: var(--font); font-size: 14px; font-weight: 500; text-decoration: none; gap: 18px; }
.btn > svg, .text-link > svg { flex-shrink: 0; }
.footer-top { font-size: 13px; }
.footer-col h2 { font-size: 12px; margin-bottom: 18px; }
.footer-brand .logo { width: 188px; }
.footer-brand p { margin-top: 17px; font-size: 13px; }
.footer-brand address { font-size: 13px; }
.footer-social { gap: 18px; }
.footer-col li { line-height: 1.65; }
.contact-form { border-radius: 4px; padding: clamp(24px, 3vw, 36px); }
.form-group label { font-size: 14px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { border-radius: 2px; font-size: 16px; }
.consent-row { font-size: 14px; line-height: 1.65; }
.home-contact .split-head, .home-faq .split-head { position: static; }
.home-faq { padding-block: 48px; }
.home-faq summary { padding: 20px 0; }
.home-faq summary h3 { font-size: 16px; font-weight: 500; }
.home-faq .faq p { font-size: 16px; line-height: 1.7; }
.home-contact .split-head h2, .home-faq .split-head h2 { font-size: 28px; }
.training-section .features { grid-template-columns: 1fr; }
.training-section .feature { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 24px; padding-block: 17px; }
.training-section .feature p { margin: 0; }
.article-main { max-width: 860px; margin-inline: auto; padding-inline: 32px; padding-bottom: 56px; }
.article-header h1 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 500; line-height: 1.16; letter-spacing: -.035em; }
.article-body { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.article-body h2 { font-size: 27px; font-weight: 500; line-height: 1.3; }
.article-body h3 { font-size: 21px; font-weight: 500; line-height: 1.35; }
.article-breadcrumb { flex-wrap: wrap; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; }
.article-body pre { max-width: 100%; overflow: auto; }
.article-body p, .article-body li, .prose { overflow-wrap: break-word; }
.author-avatar { background: #ebeced; color: var(--ink); }
@media (max-width: 700px) { .training-section .feature { grid-template-columns: 1fr; gap: 8px; } .article-main { padding-inline: 24px; } }

/* Home — faithful to the approved original hero, stage 22. */
.home-hero { position: relative; height: min(43.2vw, 690px); min-height: 445px; isolation: isolate; overflow: hidden; background: #faf9f7; }
.home-hero .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.home-hero .hero-inner { height: 100%; display: flex; align-items: center; }
.home-hero .hero-copy { width: 53%; padding: 12px 0 20px; }
.home-hero .eyebrow { margin-bottom: 22px; font-size: clamp(10px, .92vw, 12px); line-height: 1.5; letter-spacing: .15em; color: #6b717c; }
.home-hero h1 { font-size: clamp(36px, 3.65vw, 58px); font-weight: 600; letter-spacing: -.04em; line-height: 1.16; color: #171a1f; }
.home-hero h1 span { display: block; white-space: nowrap; }
.home-hero .hero-description { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; letter-spacing: -.012em; max-width: min(94%, 560px); margin-top: 24px; color: #343840; }
.home-hero .hero-actions { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 44px); margin-top: 32px; flex-wrap: wrap; }
.home-hero .btn { font-size: 14px; padding: 15px 22px; font-weight: 500; }
.home-hero .text-link { color: #343840; font-weight: 400; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(12px, 1.12vw, 15px); border: 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #b1b5bc; }
.home-hero .text-link svg { color: var(--red-ink); }
html[lang="en"] .home-hero h1 { font-size: clamp(34px, 3.3vw, 52px); }
@media (max-width: 1100px) { .home-hero h1 { font-size: 3.9vw; } }
@media (max-width: 820px) {
  .home-hero { height: auto; min-height: 0; }
  .home-hero .hero-inner { height: auto; padding-top: 48px; padding-bottom: 48px; }
  .home-hero .hero-copy { width: 100%; padding: 0; }
  .home-hero h1, html[lang="en"] .home-hero h1 { font-size: clamp(30px, 5.5vw, 44px); }
  .home-hero .hero-description { max-width: 570px; font-size: 17px; }
  .home-hero .hero-art { position: absolute; inset: 0; z-index: -1; height: 100%; object-position: 77% center; opacity: .2; pointer-events: none; }
  .home-hero .hero-actions { gap: 22px; margin-top: 26px; }
  .home-hero .btn, .home-hero .text-link { font-size: 14px; }
}
@media (max-width: 560px) {
  .home-hero .hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .home-hero h1, html[lang="en"] .home-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .home-hero h1 span { white-space: normal; }
  .home-hero .eyebrow { font-size: 10px; margin-bottom: 18px; letter-spacing: .1em; }
  .home-hero .hero-description { font-size: 16px; margin-top: 18px; }
  .home-hero .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
}

/* Stage21: restrained corporate hierarchy beneath the selected original hero. */
.corporate-solutions {
  padding: 66px 0 44px;
  background: #fff;
}
.corporate-section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.corporate-eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: #73777e;
  margin-bottom: 14px;
}
.corporate-section-heading h2,
.corporate-research-heading h2 {
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.corporate-introduction {
  font-size: 16px;
  line-height: 1.65;
  color: #61656c;
  max-width: 495px;
  padding-bottom: 2px;
}
.corporate-solution-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 64px;
  margin-top: 38px;
}
.corporate-solution-group {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-width: 0;
  border-top: 1px solid #92969b;
  scroll-margin-top: 28px;
}
.corporate-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 20px;
  border-bottom: 1px solid #e0e1e2;
}
.corporate-group-heading h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.corporate-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  color: #585d65;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}
.corporate-link:hover {
  color: #b62b34;
}
.corporate-solution {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 118px;
  padding: 24px 0;
  border-bottom: 1px solid #e0e1e2;
  text-align: left;
}
.corporate-solution-title {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
}
.corporate-solution-description {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  color: #686d75;
  margin-top: 8px;
  max-width: 440px;
}
.corporate-solution > svg {
  color: #777d84;
}
.corporate-solution:hover .corporate-solution-title,
.corporate-solution:hover > svg {
  color: #b62b34;
}
.corporate-research {
  background: #f5f5f3;
  padding: 44px 0 56px;
  scroll-margin-top: 0;
}
.corporate-research-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 29px;
}
.corporate-research-heading h2 {
  font-size: 28px;
}
.corporate-research-heading p {
  margin-top: 12px;
  color: #686d75;
  font-size: 15px;
  line-height: 1.6;
}
.corporate-publications {
  border-top: 1px solid #d5d7d8;
}
.corporate-publication {
  display: grid;
  grid-template-columns: 21% 1fr 24px;
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 22px 0;
  border-bottom: 1px solid #d5d7d8;
  text-align: left;
}
.publication-category {
  color: #6c727a;
  font-size: 13px;
  line-height: 1.5;
}
.publication-title {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.corporate-publication > svg {
  color: #6c727a;
}
.corporate-publication:hover .publication-title {
  color: #b62b34;
}
.corporate-footer {
  background: #fff;
}
.corporate-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px 0;
  border-bottom: 1px solid #dedfe1;
}
.corporate-contact h2 {
  max-width: 700px;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.corporate-contact .button {
  min-width: 184px;
  border-radius: 2px;
  font-size: 13px;
}
.corporate-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  padding: 42px 0;
}
.corporate-footer-brand img {
  width: 188px;
  height: auto;
}
.corporate-footer-brand p {
  max-width: 285px;
  color: #72777f;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 17px;
}
.corporate-footer-grid h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 18px;
}
.corporate-footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  font-size: 13px;
  color: #676d75;
}
.corporate-footer-nav button {
  padding: 0;
  text-align: left;
  font-size: inherit;
}
.corporate-footer-address a {
  font-size: 14px;
}
.corporate-footer-address p {
  margin-top: 14px;
  font-size: 13px;
  color: #72777f;
}
.corporate-footer a:hover,
.corporate-footer-nav button:hover {
  color: #b62b34;
}
.corporate-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #dedfe1;
  padding: 22px 0;
  font-size: 11px;
  line-height: 1.5;
  color: #777c83;
}
.corporate-copyright a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.corporate-copyright a:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 1050px) {
  .corporate-section-heading,
  .corporate-solution-groups {
    column-gap: 40px;
  }
  .corporate-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .corporate-solution {
    min-height: 144px;
  }
  .corporate-solution-title {
    font-size: 18px;
  }
  .corporate-solution-description {
    font-size: 15px;
  }
  .corporate-footer-grid {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .corporate-solutions {
    padding: 42px 0 44px;
  }
  .corporate-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .corporate-section-heading h2 {
    max-width: 400px;
    font-size: 28px;
  }
  .corporate-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .corporate-introduction {
    font-size: 15px;
  }
  .corporate-solution-groups {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 32px;
    margin-top: 28px;
  }
  .corporate-solution-group {
    display: block;
    grid-row: auto;
  }
  .corporate-group-heading {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 19px 0;
  }
  .corporate-link {
    font-size: 14px;
    gap: 7px;
  }
  .corporate-solution {
    min-height: 108px;
    padding: 23px 0;
  }
  .corporate-solution-title {
    font-size: 18px;
  }
  .corporate-solution-description {
    font-size: 14px;
    max-width: 430px;
  }
  .corporate-research {
    padding: 40px 0;
  }
  .corporate-research-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }
  .corporate-research-heading h2 {
    font-size: 26px;
  }
  .corporate-research-heading p {
    font-size: 14px;
  }
  .corporate-publication {
    grid-template-columns: 1fr 22px;
    gap: 8px 20px;
    padding: 20px 0;
  }
  .publication-category {
    grid-column: 1;
    font-size: 11px;
  }
  .publication-title {
    grid-column: 1;
    font-size: 16px;
  }
  .corporate-publication > svg {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .corporate-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 34px 0;
  }
  .corporate-contact h2 {
    font-size: 23px;
    max-width: 430px;
  }
  .corporate-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
    padding: 32px 0;
  }
  .corporate-footer-brand {
    grid-column: 1 / -1;
  }
  .corporate-footer-grid h3 {
    margin-bottom: 14px;
  }
  .corporate-footer-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .corporate-footer-address a {
    font-size: 13px;
  }
  .corporate-copyright {
    flex-wrap: wrap;
    gap: 15px;
    padding: 21px 0;
  }
}
@media (max-width: 360px) {
  .corporate-group-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .corporate-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .corporate-footer-brand {
    grid-column: auto;
  }
  .corporate-footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.corporate-solutions a, .corporate-research a { text-decoration: none; }

/* Research library search progressively enhances the full, crawlable index. */
[hidden] { display: none !important; }
.research-search { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 24px; padding: 0 0 28px; margin-bottom: 32px; border-bottom: 1px solid var(--rule); }
.research-search label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.research-search input, .research-search select { width: 100%; min-width: 0; height: 48px; padding: 10px 12px; border: 1px solid #b9bdc3; border-radius: 2px; background: #fff; color: var(--ink); font: 14px var(--font); }
.search-feedback { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-3); }
.search-feedback button { border: 0; background: transparent; padding: 0; font: inherit; color: var(--red-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.kb { min-width: 0; }
.kb .kb-section { scroll-margin-top: 28px; }
.kb-section:has(~ .kb-section) { margin-top: 44px; }
.kb-section h2 { font-weight: 500; }
.toc:has(+ .kb) { top: 28px; max-height: calc(100vh - 56px); overflow-y: auto; padding-right: 12px; }
@media (max-width: 900px) { .toc:has(+ .kb) { position: static; max-height: none; } }
@media (max-width: 560px) { .research-search { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 1100px) {
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .nav-links { position: static; display: flex; flex-wrap: wrap; grid-column: 1 / -1; grid-row: 2; padding: 0; box-shadow: none; }
  html:not(.js) .nav-disclosure, html:not(.js) .mobile-menu-btn { display: none; }
}
