/* peptidler.com — tasarım prototipi, revizyon 2
   Tek aile: Manrope. Soğuk açık zemin, lacivert metin, canlı mavi vurgu.
   Kesinlik işaretleri dekoratif renklerden bağımsızdır: hepsi nötr, şekille ayrışır. */

:root {
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --surface-2: #EEF2F8;
  --ink: #17243B;
  --ink-2: #43506A;
  --ink-3: #5B6780;
  --line: #DFE5EF;
  --line-2: #C6CFDE;

  --blue: #315EFB;
  --blue-hover: #2449D6;
  --blue-wash: #EAF0FF;
  --blue-ink: #1F43C2;
  --mint: #E5F5EE;
  --mint-ink: #11634A;
  --apricot: #FFE5CF;
  --apricot-ink: #8A4210;

  --bead-1: #315EFB;
  --bead-2: #1FA67A;
  --bead-3: #FF9A52;
  --bead-4: #F0BE2C;
  --bead-5: #8BA8FF;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(23, 36, 59, .05), 0 10px 28px -14px rgba(23, 36, 59, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.09375rem; font-weight: 450; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: inherit; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: #fff; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.link { color: var(--blue-ink); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(49, 94, 251, .35); }
.link:hover { text-decoration-color: currentColor; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--blue-wash); color: var(--blue-ink); font-size: .875rem; font-weight: 700; line-height: 1.3;
}

/* ---------- Kesinlik işaretleri (nötr, şekle dayalı) ---------- */

.st {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  padding: 3px 10px 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: .8125rem; font-weight: 700; line-height: 1.4; color: var(--ink); white-space: nowrap;
}
.st i { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.st--net i { background: var(--ink); }
.st--sinirli i { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.st--bilinmiyor i { border-style: dotted; }
.st--iddia { border-style: dashed; }
.st--iddia i { width: 0; height: 0; border: 0; display: none; }

/* ---------- Duyuru ve başlık ---------- */

.notice { background: var(--ink); color: #DCE3F2; font-size: .875rem; line-height: 1.45; }
.notice__inner { display: flex; align-items: center; gap: 12px; padding-block: 9px; }
.notice__tag { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--apricot); color: var(--ink); font-size: .75rem; font-weight: 800; }
.notice a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

.site-header { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding-block: 8px; }
.logo__mark { width: 38px; height: 18px; flex: none; }
.logo__word { font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo__tld { font-size: .9375rem; font-weight: 600; color: var(--ink-3); margin-left: -8px; letter-spacing: -.01em; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  font-size: .9375rem; font-weight: 650; color: var(--ink-2);
}
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current] { background: var(--blue-wash); color: var(--blue-ink); }

.header-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); font-size: .9375rem; font-weight: 700; cursor: pointer;
}
.header-btn:hover { border-color: var(--ink-3); }
.menu-btn { display: none; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--surface); }
.mobile-menu ul { display: grid; gap: 6px; padding-block: 12px 18px; }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px;
  border-radius: var(--r-sm); background: var(--bg); text-decoration: none; font-size: 1.0625rem; font-weight: 700;
}
.mobile-menu a::after { content: "→"; color: var(--blue); }

.header-search { border-top: 1px solid var(--line); background: var(--surface); }
.header-search .search { max-width: 720px; padding-block: 16px 20px; }

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 14px; border: 0; cursor: pointer;
  font-size: 1rem; font-weight: 750; text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(49, 94, 251, .8); }
.btn--primary:hover { background: var(--blue-hover); }
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(2px); }

/* ---------- Arama ---------- */

.search { position: relative; }
.search__label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 750; }
.search__box { position: relative; }
.search__field {
  display: flex; align-items: center; min-height: 56px;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 14px;
}
.search__field:hover { border-color: var(--ink-3); }
.search__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }
.search__icon { margin-left: 16px; color: var(--ink-3); flex: none; }
.search__input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 1rem; font-weight: 550; color: var(--ink); padding: 14px 12px; text-overflow: ellipsis;
}
.search__input::placeholder { color: var(--ink-3); opacity: 1; font-weight: 500; }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__submit {
  align-self: stretch; margin: 5px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 750; font-size: .9375rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.search__submit:hover { background: var(--blue); }

.search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: .875rem; color: var(--ink-3); }
.hint {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .875rem; font-weight: 650; color: var(--ink); cursor: pointer;
}
.hint:hover { border-color: var(--blue); color: var(--blue-ink); background: var(--blue-wash); }

.search__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 24px 48px -20px rgba(23, 36, 59, .35); max-height: min(68vh, 540px); overflow: auto; overscroll-behavior: contain;
}
.search__panel ul { padding: 6px; }
.result {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px;
  padding: 12px; border-radius: 12px; cursor: pointer;
}
.result[aria-selected="true"] { background: var(--blue-wash); }
.result[aria-disabled="true"] { cursor: default; }
.result__type { grid-column: 1 / -1; font-size: .75rem; font-weight: 700; color: var(--ink-3); }
.result__title { font-size: 1.0625rem; font-weight: 750; line-height: 1.35; }
.result__summary { grid-column: 1 / -1; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.result__state { grid-column: 2; grid-row: 2; align-self: center; font-size: .8125rem; font-weight: 750; white-space: nowrap; }
.result__state--open { color: var(--blue-ink); }
.result__state--draft { color: var(--ink-3); font-weight: 600; }
.result mark { background: #FFF1B8; color: inherit; border-radius: 3px; padding: 0 1px; }
.search__empty { padding: 18px 16px 20px; font-size: .9375rem; color: var(--ink-2); }
.search__empty strong { display: block; margin-bottom: 4px; font-size: 1.0625rem; color: var(--ink); }
.search__notice { margin: 0 6px 6px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: .875rem; color: var(--ink-2); }

/* ---------- Ana sayfa: giriş ---------- */

.hero { padding-block: clamp(28px, 4vw, 52px); background: var(--surface); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 16px; font-size: clamp(2.5rem, 1.7rem + 2.6vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.hero__lead { margin-top: 18px; max-width: 32em; font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem); font-weight: 550; line-height: 1.55; }
.hero__lead strong { color: var(--blue-ink); }
.hero__sub { margin-top: 12px; max-width: 34em; color: var(--ink-2); }

.explainer { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--blue-wash); }
.explainer__title { font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; }
.explainer__intro { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.xsteps { margin-top: 18px; display: grid; gap: 10px; }
.xstep {
  position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 16px 18px; border-radius: var(--r); background: var(--surface);
}
.xstep + .xstep::before {
  content: ""; position: absolute; left: calc(18px + 85px - 8px); top: -13px; width: 16px; height: 16px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4.5 8.5 8 12l3.5-3.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-radius: 50%; box-shadow: 0 0 0 3px var(--blue-wash);
}
.xstep__name { font-weight: 800; line-height: 1.3; }
.xstep__desc { margin-top: 2px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.explainer__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .8125rem; color: var(--ink-2); }
.explainer__foot span:last-child { color: var(--ink-3); }

.beads { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.beads--linked { gap: 5px; background: linear-gradient(var(--ink-3), var(--ink-3)) center / calc(100% - 16px) 2px no-repeat; width: max-content; }
.bead { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--bead-1); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.bead:nth-child(5n+2) { background: var(--bead-2); }
.bead:nth-child(5n+3) { background: var(--bead-3); }
.bead:nth-child(5n+4) { background: var(--bead-4); }
.bead:nth-child(5n+5) { background: var(--bead-5); }
.beads--loose .bead:nth-child(2) { transform: translateY(-6px); }
.beads--loose .bead:nth-child(4) { transform: translateY(5px); }

/* ---------- Bölümler ---------- */

.section { padding-block: clamp(40px, 6vw, 72px); }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.375rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.section-head p { max-width: 30em; color: var(--ink-2); }

.basics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.basics__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .9375rem; font-weight: 700; color: var(--ink-2); }
.basics__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .875rem; font-weight: 800; }
.basics__num--blue { background: var(--blue-wash); color: var(--blue-ink); }
.basics__num--mint { background: var(--mint); color: var(--mint-ink); }
.basics h3 { font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; scroll-margin-top: 20px; }
.basics p { margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.basics p strong { color: var(--ink); }

.lengths { margin-top: 20px; display: grid; gap: 4px; padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.lengths__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 0; }
.lengths__row + .lengths__row { border-top: 1px solid var(--line); }
.lengths__label { font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.lengths__label b { display: block; color: var(--ink); font-size: .9375rem; }
/* Beş renkli boncuk dizisi: her renk 5 boncukta bir tekrar eder */
.lengths__bar {
  --dot: 15px; --br: 5.6px; --p: calc(var(--dot) * 5);
  height: var(--dot); width: calc(var(--n) * var(--dot)); max-width: 100%;
  background:
    radial-gradient(circle at calc(var(--dot) / 2) 50%, var(--bead-1) var(--br), transparent calc(var(--br) + .6px)) 0 50% / var(--p) var(--dot) repeat-x,
    radial-gradient(circle at calc(var(--dot) / 2) 50%, var(--bead-2) var(--br), transparent calc(var(--br) + .6px)) var(--dot) 50% / var(--p) var(--dot) repeat-x,
    radial-gradient(circle at calc(var(--dot) / 2) 50%, var(--bead-3) var(--br), transparent calc(var(--br) + .6px)) calc(var(--dot) * 2) 50% / var(--p) var(--dot) repeat-x,
    radial-gradient(circle at calc(var(--dot) / 2) 50%, var(--bead-4) var(--br), transparent calc(var(--br) + .6px)) calc(var(--dot) * 3) 50% / var(--p) var(--dot) repeat-x,
    radial-gradient(circle at calc(var(--dot) / 2) 50%, var(--bead-5) var(--br), transparent calc(var(--br) + .6px)) calc(var(--dot) * 4) 50% / var(--p) var(--dot) repeat-x,
    linear-gradient(var(--line-2), var(--line-2)) calc(var(--dot) / 2) 50% / calc(100% - var(--dot)) 2px no-repeat;
}
.lengths__bar--fade { -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }

.kinds { margin-top: 18px; display: grid; gap: 10px; }
.kind { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.kind__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.kind h4 { font-size: 1.0625rem; font-weight: 800; line-height: 1.35; }
.kind p { margin-top: 2px; font-size: .9375rem; color: var(--ink-2); }
.kind p em { font-style: normal; color: var(--ink); font-weight: 650; }
.takeaway { margin-top: 14px; padding: 14px 16px; border-left: 4px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface); font-weight: 650; }

/* İddia nasıl okunur */
.claim-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-wash); color: var(--blue-ink); }
.step h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.35; }
.step h3 span { font-weight: 550; color: var(--ink-2); }
.step p { margin-top: 4px; font-size: 1rem; color: var(--ink-2); }

.key {
  padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #E6ECF7;
}
.key__quote { font-size: 1.375rem; font-weight: 800; line-height: 1.35; letter-spacing: -.015em; color: #fff; }
.key__text { margin-top: 18px; font-size: .9375rem; color: #C3CDE0; }
.key__legend { margin-top: 12px; display: grid; gap: 10px; }
.key__legend li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; align-items: start; font-size: .875rem; line-height: 1.5; color: #C3CDE0; }
.key .st { background: #fff; border-color: #fff; justify-self: start; }
.key .link { display: inline-block; margin-top: 20px; color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }

/* Alt alan */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.principles li { padding: 18px 20px; border-radius: var(--r); background: var(--surface); }
.principles h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.35; }
.principles p { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.principles-note { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }

.proto { margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 20px; }
.proto h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; }
.proto__grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.proto__grid h3 { font-size: .9375rem; font-weight: 800; margin-bottom: 4px; }
.proto__grid p { font-size: .9375rem; color: var(--ink-2); }


/* ---------- Peptit sayfası ---------- */

.crumbs { padding-top: 22px; font-size: .875rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; }

.phead { padding-top: 18px; }
.phead h1 { margin-top: 12px; font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.phead__what { margin-top: 12px; max-width: 34em; font-size: clamp(1.125rem, 1.02rem + .35vw, 1.3125rem); font-weight: 550; line-height: 1.55; }

.kisaca { margin-top: 28px; }
.kisaca > h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: 12px; }
.kisaca__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); }
.kcard--plain { background: var(--surface); border: 1px solid var(--line); }
.kcard--blue { background: var(--blue-wash); }
.kcard--apricot { background: var(--apricot); }
.kcard h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.kcard p { font-size: 1.0625rem; line-height: 1.55; }
.kcard .st { align-self: flex-start; margin-top: auto; }

.glance { margin-top: 14px; display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.glance__title { display: flex; align-items: center; padding: 16px 20px; background: var(--surface-2); font-size: .9375rem; font-weight: 800; }
.glance__item { padding: 14px 18px; border-left: 1px solid var(--line); }
.glance dt { font-size: .8125rem; font-weight: 700; color: var(--ink-3); line-height: 1.4; }
.glance dd { margin-top: 3px; font-size: .9375rem; font-weight: 750; line-height: 1.4; }
.glance dd span { font-weight: 550; color: var(--ink-2); }

.pagebar { display: none; }

.pbody { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.toc__inner { position: sticky; top: 20px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.toc h2 { font-size: .875rem; font-weight: 800; color: var(--ink-3); }
.toc ol { margin-top: 8px; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.toc a[aria-current="true"] { background: var(--blue-wash); color: var(--blue-ink); font-weight: 750; }

.psec { padding-top: 8px; scroll-margin-top: 16px; }
.psec + .psec { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.psec > h2 { font-size: clamp(1.5rem, 1.25rem + .7vw, 1.875rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.psec__step { display: inline-block; margin-bottom: 6px; font-size: .875rem; font-weight: 750; color: var(--blue-ink); }
.psec h3 { margin-top: 32px; font-size: 1.1875rem; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.psec h3 + .prose { margin-top: 10px; }
.prose > * + * { margin-top: 14px; }
.psec > h2 + .prose, .psec > h2 + * { margin-top: 14px; }
.prose p { max-width: 66ch; color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.answer { font-size: 1.1875rem; font-weight: 700; line-height: 1.5; color: var(--ink) !important; }
.term { font-weight: 650; color: var(--ink); }
.prose ul.dash { display: grid; gap: 8px; max-width: 66ch; }
.prose ul.dash li { position: relative; padding-left: 22px; color: var(--ink-2); }
.prose ul.dash li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }

.ref { font-size: .7em; font-weight: 800; line-height: 0; vertical-align: super; color: var(--blue-ink); text-decoration: none; padding: 0 1px; }
.ref:hover { text-decoration: underline; }

.studies { margin-top: 20px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.studies__title { font-weight: 800; }
.dots { margin-top: 14px; display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 5px; max-width: 520px; }
.dot { aspect-ratio: 1; border-radius: 5px; background: var(--surface-2); border: 1.5px solid var(--line-2); }
.dot--clin { background: var(--ink); border-color: var(--ink); }
.dots-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.dots-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dots-legend i { display: inline-block; width: 14px; height: 14px; }
.studies figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-3); max-width: 60ch; }

.where { margin-top: 18px; display: grid; gap: 10px; }
.where li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.where__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-wash); color: var(--blue-ink); }
.where h4 { font-size: 1.0625rem; font-weight: 800; }
.where p { margin-top: 2px; font-size: 1rem; color: var(--ink-2); }
.where p + p { margin-top: 6px; }
.where p b { color: var(--ink); }

.facts-list { margin-top: 14px; display: grid; gap: 0; max-width: 66ch; border-top: 1px solid var(--line); }
.facts-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.facts-list li::before { content: attr(data-n); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font-size: .8125rem; font-weight: 800; color: var(--ink); }

.aside-note { margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); }
.aside-note h4 { font-size: 1rem; font-weight: 800; }
.aside-note p { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }

.ku { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ku__col { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ku__col h4 { font-size: 1.0625rem; font-weight: 800; }
.ku__col ul { margin-top: 8px; }
.ku__col li { padding: 12px 0; border-top: 1px solid var(--line); }
.ku__col li:first-child { border-top: 0; }
.ku__col li p { margin-top: 6px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }

.change { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); background: var(--surface); font-size: .9375rem; color: var(--ink-2); max-width: 66ch; }
.change b { color: var(--ink); }

.tech { margin-top: 16px; border-top: 1px solid var(--line); max-width: 66ch; }
.tech > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.tech dt { color: var(--ink-3); font-weight: 650; }
.tech dd { color: var(--ink); font-weight: 600; }

.sources { margin-top: 14px; display: grid; gap: 10px; }
.source { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 8px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 80px; transition: background-color .4s, border-color .4s; }
.source:target { background: var(--blue-wash); border-color: var(--blue); }
.source__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-ink); font-size: .875rem; font-weight: 800; }
.source__type { font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.source__cite { margin-top: 4px; font-size: .9375rem; line-height: 1.55; }
.source__cite cite { font-style: normal; font-weight: 750; }
.source__use { margin-top: 6px; font-size: .875rem; color: var(--ink-2); }
.source__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: .875rem; }
.source__links a { display: inline-block; padding: 3px 0; }
.source__flag { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }

.history { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: .9375rem; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.history th { text-align: left; padding: 10px 14px; background: var(--surface-2); font-size: .8125rem; font-weight: 750; color: var(--ink-3); }
.history td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }

.related { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.related a, .related span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: .9375rem; font-weight: 650; text-decoration: none; }
.related a { background: var(--blue-wash); color: var(--blue-ink); }
.related a:hover { background: #DCE6FF; }
.related span { background: var(--surface); border: 1px dashed var(--line-2); color: var(--ink-3); }
.related small { font-size: .75rem; font-weight: 600; }

.legend-mini { margin-top: 14px; display: grid; gap: 10px; max-width: 66ch; }
.legend-mini li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-2); }
.legend-mini .st { justify-self: start; }

/* ---------- Duyarlı düzen ---------- */

@media (max-width: 1100px) {
  .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .glance__title { grid-column: 1 / -1; padding: 12px 18px; }
  .glance__item:nth-child(2) { border-left: 0; }
  .pbody { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .search-toggle { margin-left: auto; }
  .menu-btn { display: inline-flex; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .explainer { max-width: 640px; }
  .basics { grid-template-columns: minmax(0, 1fr); }
  .claim-grid { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proto__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  .kisaca__grid { grid-template-columns: minmax(0, 1fr); }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance__item:nth-child(4) { border-left: 0; }
  .glance__item:nth-child(n+4) { border-top: 1px solid var(--line); }

  .pbody { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .toc { display: none; }
  .pagebar { display: block; position: sticky; top: 0; z-index: 25; margin-top: 28px; background: rgba(247, 249, 252, .96); border-block: 1px solid var(--line); }
  .pagebar__btn { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 52px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
  .pagebar__hint { flex: none; font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
  .pagebar__current { flex: 1; min-width: 0; font-weight: 750; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pagebar__chev { flex: none; transition: transform .2s; }
  .pagebar__btn[aria-expanded="true"] .pagebar__chev { transform: rotate(180deg); }
  .pagebar__list { display: grid; gap: 4px; padding-bottom: 12px; }
  .pagebar__list a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: 10px; background: var(--surface); text-decoration: none; font-size: .9375rem; font-weight: 650; color: var(--ink-2); }
  .pagebar__list a[aria-current="true"] { background: var(--blue-wash); color: var(--blue-ink); }
  html.has-pagebar { scroll-padding-top: 64px; }
  .psec { scroll-margin-top: 60px; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .notice__inner { padding-block: 8px; font-size: .8125rem; }
  .notice .notice__long { display: none; }
  .site-header__inner { min-height: 60px; gap: 8px; }
  .logo__word { font-size: 1.25rem; }
  .logo__tld { display: none; }
  .search-toggle span, .menu-btn span, .search__submit span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .header-btn { padding: 0; width: 44px; }

  .hero { padding-top: 24px; }
  .hero h1 { margin-top: 12px; font-size: 2.375rem; }
  .hero__lead { margin-top: 12px; font-size: 1.125rem; }
  .hero__sub { font-size: 1rem; }
  .btn { width: 100%; }
  .hero .search > .search__hints { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .hero .search > .search__hints::-webkit-scrollbar { display: none; }
  .hint { min-height: 40px; flex: none; }
  .explainer { padding: 18px; border-radius: 20px; }
  /* Telefonda şema üç sütunlu kısa bir şerit olur; ayrıntı açıklamaları giriş metninde */
  .explainer__intro, .xstep__desc { display: none; }
  .explainer__title { font-size: 1rem; }
  .xsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
  .xstep { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 12px 10px; border-radius: 14px; }
  .xstep + .xstep::before { left: -13px; top: 50%; margin-top: -8px; transform: rotate(-90deg); }
  .xstep .beads { min-height: 16px; }
  .xstep .bead { width: 8px; height: 8px; }
  .xstep .beads--loose { gap: 4px; }
  .xstep .beads--linked { gap: 2px; }
  .xstep__name { font-size: .8125rem; line-height: 1.3; }
  .explainer__foot { margin-top: 10px; font-size: .75rem; }

  .lengths__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .lengths__bar { --dot: 9px; --br: 3.4px; }

  .key__legend li, .legend-mini li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .principles { grid-template-columns: minmax(0, 1fr); }

  .phead__what { font-size: 1.0625rem; }
  .kisaca { margin-top: 20px; }
  .kisaca__grid { gap: 10px; }
  .kcard { padding: 16px; gap: 6px; border-radius: 18px; }
  .kcard h3 { font-size: 1rem; }
  .kcard p { font-size: 1rem; line-height: 1.5; }
  .kcard .st { margin-top: 4px; }
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance__item { border-left: 0 !important; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; }
  .glance dd { margin-top: 0; }
  .ku { grid-template-columns: minmax(0, 1fr); }
  .tech > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .source { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .history th:nth-child(3), .history td:nth-child(3) { display: none; }
}

/* ================= Katalog ve keşif ================= */

/* Giriş: iki belirgin yol */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--secondary { background: var(--surface); color: var(--blue-ink); border: 1.5px solid var(--blue); }
.btn--secondary:hover { background: var(--blue-wash); }
.hero .search { margin-top: 22px; max-width: 560px; }

/* İnsan araştırması düzeyi: üç çubuk, nötr */
.lvl { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 750; line-height: 1.3; color: var(--ink); }
.lvl__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.lvl__bars i { width: 4px; border-radius: 1px; background: var(--line-2); }
.lvl__bars i:nth-child(1) { height: 6px; }
.lvl__bars i:nth-child(2) { height: 10px; }
.lvl__bars i:nth-child(3) { height: 14px; }
.lvl__bars i.on { background: var(--ink); }
.lvl--degerlendirilmedi { color: var(--ink-2); font-weight: 650; }
.lvl--degerlendirilmedi .lvl__bars i { background: transparent; border: 1px dashed var(--ink-3); }

/* Ana sayfa: konuya göre keşfet */
.discover { padding-block: clamp(36px, 5vw, 56px); }
.discover__more { font-weight: 750; color: var(--blue-ink); text-decoration: none; white-space: nowrap; }
.discover__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tcard {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px;
  border-radius: var(--r-lg); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tcard--blue { background: var(--blue-wash); }
.tcard--mint { background: var(--mint); }
.tcard--apricot { background: var(--apricot); }
.tcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); }
.tcard--blue .tcard__icon { color: var(--blue-ink); }
.tcard--mint .tcard__icon { color: var(--mint-ink); }
.tcard--apricot .tcard__icon { color: var(--apricot-ink); }
.tcard__name { margin-top: 4px; font-size: 1.125rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.tcard__desc { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.tcard__count { margin-top: auto; padding-top: 6px; font-size: .875rem; font-weight: 750; }
.discover__note { margin-top: 14px; font-size: .875rem; color: var(--ink-3); }

/* Katalog sayfası */
.catalog__top { background: var(--surface); border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.chead { padding-top: 12px; }
.chead h1 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.625rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.chead p { margin-top: 6px; color: var(--ink-2); }
.csearch { margin-top: 18px; max-width: 760px; }
.csearch__field { min-height: 60px; border-radius: 16px; }
.csearch__field .search__input { font-size: 1.0625rem; }
.csearch__clear { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-right: 8px; border: 0; border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.csearch__clear:hover { background: var(--line); }

.ctopics { margin-top: 20px; }
.ctopics__label { font-size: 1rem; font-weight: 800; }
.ctopics__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tchip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .9375rem; font-weight: 700; cursor: pointer;
}
.tchip:hover { border-color: var(--blue); color: var(--blue-ink); }
.tchip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tchip__n { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; color: var(--ink-2); text-align: center; }
.tchip.is-on .tchip__n { background: rgba(255, 255, 255, .22); color: #fff; }
.tchip:disabled { opacity: .45; cursor: not-allowed; }
.tchip:disabled:hover { border-color: var(--line-2); color: inherit; }
.ctopics__note { margin-top: 10px; font-size: .875rem; color: var(--ink-3); }
.ctopics__select { display: none; }
.ctopics__select select, .csort select {
  min-height: 44px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2317243B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
  -webkit-appearance: none; appearance: none; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
}

.catalog__body { padding-top: 20px; padding-bottom: 56px; }
.ctoolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ccount { font-size: 1rem; }
.ccount span { color: var(--ink-3); }
.ctools { display: flex; align-items: center; gap: 8px; }
.ctool {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .9375rem; font-weight: 700; cursor: pointer;
}
.ctool:hover { border-color: var(--ink-3); }
.ctool[aria-expanded="true"] { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-ink); }
.ctool__badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .75rem; }
.csort { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 650; color: var(--ink-2); }

.cactive { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.pill-x {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 6px 0 14px;
  border: 0; border-radius: 999px; background: var(--blue-wash); color: var(--blue-ink);
  font-size: .875rem; font-weight: 700; cursor: pointer;
}
.pill-x span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); font-size: 1.0625rem; line-height: 1; }
.pill-x:hover span { background: var(--blue); color: #fff; }
.clear-all { min-height: 36px; padding: 0 6px; border: 0; background: none; font-size: .875rem; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.cfilters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 32px; margin-top: 12px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cfilters__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.cfilters__group legend { margin-bottom: 10px; padding: 0; font-size: .9375rem; font-weight: 800; }
.cfilters__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cfilters__hint { margin-top: 10px; font-size: .8125rem; color: var(--ink-3); }
.opt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .9375rem; font-weight: 650; cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); }
.opt input { margin: 0; accent-color: var(--blue); }
.opt .lvl { font-size: .9375rem; }
.opt__n { font-size: .8125rem; color: var(--ink-3); }
.opt.is-empty { opacity: .5; cursor: not-allowed; }
.opt--check { border: 0; padding: 0; background: none; }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.pcard {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 20px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .15s, box-shadow .15s;
}
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pcard__name { font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.pcard__name a, .pcard__name button { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.pcard__name a:hover, .pcard__name button:hover { color: var(--blue-ink); }
.pcard__alt { margin-top: 2px; font-size: .875rem; color: var(--ink-3); }
.pcard__match { margin-top: 4px; font-size: .8125rem; font-weight: 650; color: var(--ink-2); }
.pcard__what { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.pcard__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.ttag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 8px; background: var(--surface-2); font-size: .8125rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.ttag:hover, .ttag.is-on { background: var(--blue-wash); color: var(--blue-ink); }
.pcard__human { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.pcard__q { flex-basis: 100%; font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.pcard__htext { flex-basis: 100%; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.pcard__state { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: .8125rem; line-height: 1.4; color: var(--ink-3); }
.pcard__flag { padding: 1px 8px; border-radius: 6px; border: 1px dashed var(--ink-3); font-weight: 700; color: var(--ink-2); }
.pcard__go {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px;
  border: 0; border-radius: 12px; background: var(--blue-wash); color: var(--blue-ink);
  font-size: .9375rem; font-weight: 750; text-decoration: none; cursor: pointer;
}
.pcard__go:hover { background: #DCE6FF; }
a.pcard__go { background: var(--blue); color: #fff; }
a.pcard__go:hover { background: var(--blue-hover); }

.cempty { margin-top: 16px; padding: 32px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-2); text-align: center; color: var(--ink-2); }
.cempty__title { font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.cempty p + p { margin-top: 4px; }
.cempty__actions { margin-top: 16px; }
.cmore { display: flex; justify-content: center; margin-top: 18px; }
.cfoot { margin-top: 24px; max-width: 60em; font-size: .875rem; color: var(--ink-3); }

/* Özet penceresi */
.sheet {
  width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
  border-radius: var(--r-lg); background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(23, 36, 59, .45);
}
.sheet::backdrop { background: rgba(23, 36, 59, .45); }
.sheet__inner { padding: 24px; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__kicker { font-size: .875rem; font-weight: 750; color: var(--blue-ink); }
.sheet__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.sheet__close:hover { background: var(--line); }
.sheet h2 { margin-top: 4px; font-size: 1.75rem; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.sheet__names { margin-top: 4px; font-size: .875rem; color: var(--ink-3); }
.sheet__what { margin-top: 12px; font-size: 1.0625rem; font-weight: 550; }
.sheet__topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sheet__facts { margin-top: 16px; border-top: 1px solid var(--line); }
.sheet__facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet__facts dt { font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.sheet__facts dd { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; font-size: .9375rem; }
.sheet__sub { color: var(--ink-2); }
.sheet__check { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-size: .9375rem; color: var(--ink-2); }
.sheet__check b { color: var(--ink); }
.sheet__check ul { display: grid; gap: 4px; margin-top: 8px; font-size: .875rem; }
.sheet__check--open { background: var(--surface); border: 1px dashed var(--ink-3); }
.sheet__foot { margin-top: 18px; }
.sheet__pending { font-size: .9375rem; font-weight: 650; color: var(--ink-3); }

/* Detay sayfası: konu bağlantıları ve aynı konudakiler */
.topic-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.topic-link { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .875rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.topic-link:hover { border-color: var(--blue); color: var(--blue-ink); background: var(--blue-wash); }
.rels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rel { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
a.rel:hover { border-color: var(--blue); }
.rel__name { font-size: 1.0625rem; font-weight: 800; }
.rel__what { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.rel__meta { margin-top: auto; padding-top: 6px; font-size: .8125rem; font-weight: 700; color: var(--blue-ink); }
.rel--empty { color: var(--ink-3); }
.search__all { display: block; margin: 0 6px 6px; padding: 12px; border-radius: 10px; background: var(--bg); font-size: .875rem; font-weight: 750; color: var(--blue-ink); text-decoration: none; }
.search__all:hover { background: var(--blue-wash); }

@media (max-width: 1100px) {
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfilters { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero__actions { flex-direction: column; }
  .tgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tcard { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; }
  .tcard__icon { grid-row: 1 / span 3; }
  .tcard__name { margin-top: 0; }
  .tcard__count { padding-top: 4px; }
  .chead h1 { font-size: 1.875rem; }
  .chead p { font-size: 1rem; }
  .catalog__top { padding-bottom: 18px; }
  .csearch { margin-top: 14px; }
  .ctopics { margin-top: 16px; }
  .ctopics__chips { display: none; }
  .ctopics__select { display: block; margin-top: 8px; }
  .ctopics__select select { width: 100%; min-height: 52px; font-size: 1rem; }
  .ctopics__note { font-size: .8125rem; }
  .csearch__field { min-height: 56px; }
  .csearch__field .search__input { font-size: 1rem; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .ctools { width: 100%; }
  .csort { margin-left: auto; }
  .csort span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pcard { padding: 18px; }
  .rels { grid-template-columns: minmax(0, 1fr); }
  .sheet { width: 100%; max-width: none; max-height: 88vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .sheet__inner { padding: 20px; }
}

/* ================= Revizyon 4: cila ve ortak alt alan ================= */

h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
html { scroll-behavior: smooth; }

.btn { transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(49, 94, 251, .85); }
.site-nav a, .hint, .tchip, .ctool, .ttag, .topic-link, .pcard__go { transition: background-color .15s, border-color .15s, color .15s; }

/* Giriş: sağ üstte yumuşak bir renk lekesi */
.hero { background: radial-gradient(820px 420px at 88% -10%, var(--blue-wash), transparent 70%), var(--surface); }
.xstep { box-shadow: 0 1px 2px rgba(23, 36, 59, .05); }

.section--tint { background: var(--surface-2); }
.basics { margin-top: 0; }
.basics__num--apricot { background: var(--apricot); color: var(--apricot-ink); }
.section-head .basics__kicker { margin-bottom: 6px; }

/* Konu kartları: ok düğmesi */
.tcard__count { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tcard__count span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); font-size: 1rem; transition: background-color .15s, color .15s, transform .15s; }
.tcard:hover .tcard__count span { background: var(--ink); color: #fff; transform: translateX(2px); }

/* Araştırma basamakları: laboratuvar → hayvan → insan bağlantısı */
.step { position: relative; }
.step + .step::before { content: ""; position: absolute; left: 43px; top: -12px; width: 2px; height: 12px; background: var(--line-2); }

/* Yayın ilkeleri */
.principles li { position: relative; padding-left: 58px; }
.principles li::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%231F43C2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Kısaca kartları: ikon */
.kcard__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--ink); }
.kcard--plain .kcard__icon { background: var(--surface-2); }

/* Katalog kartı: konu ikonu (renk tüm kartlarda aynı, anlam taşımaz) */
.pcard__head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
.pcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-wash); color: var(--blue-ink); }
.pcard:hover { transform: translateY(-2px); }
.pcard { transition: border-color .15s, box-shadow .15s, transform .15s; }

/* Kısa sayfalarda alt alan ekranın dibinde kalsın */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* Ortak alt alan */
.sitefoot { background: var(--ink); color: #C3CDE0; padding-block: clamp(36px, 5vw, 56px) 24px; }
.sitefoot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 32px 56px; }
.logo--light { color: #fff; }
.logo--light .logo__tld { color: #9FB0CC; }
.sitefoot__brand p { margin-top: 8px; max-width: 30em; font-size: .9375rem; }
.sitefoot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sitefoot__nav h2 { font-size: .875rem; font-weight: 800; color: #fff; }
.sitefoot__nav ul { display: grid; gap: 2px; margin-top: 8px; }
.sitefoot__nav a { display: inline-block; padding: 6px 0; font-size: .9375rem; color: #C3CDE0; text-decoration: none; }
.sitefoot__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sitefoot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }
.sitefoot :focus-visible { outline-color: #fff; }

@media (max-width: 760px) {
  .sitefoot__grid { grid-template-columns: minmax(0, 1fr); }
  .sitefoot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .principles li { padding-left: 54px; }
  .pcard:hover { transform: none; }
}

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

/* ================= Birim hesaplayıcı ================= */

.calc__scope { margin-top: 16px; max-width: 46em; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .9375rem; color: var(--ink-2); }
.calc__scope strong { color: var(--ink); }
.calc__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 24px; }
.calc__form, .calc__result { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.calc__result { position: sticky; top: 16px; background: var(--blue-wash); border-color: transparent; }
.calc h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; }

.field { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; padding: 0; font-size: 1rem; font-weight: 750; }
.field__hint { margin-top: 2px; font-size: .875rem; color: var(--ink-3); }
.field__box { display: flex; align-items: stretch; margin-top: 8px; min-height: 52px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: hidden; }
.field__box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }
.field__box:has([aria-invalid="true"]) { border-color: var(--ink); border-style: dashed; }
.field__box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0 14px; font: inherit; font-size: 1.125rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.field__unit, .field__box select { display: grid; place-items: center; min-width: 64px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: var(--surface-2); font: inherit; font-size: .9375rem; font-weight: 750; color: var(--ink-2); }
.field__box select { cursor: pointer; color: var(--ink); }
.field__error { margin-top: 6px; font-size: .875rem; font-weight: 650; color: var(--ink); }
.field__error::before { content: "! "; font-weight: 800; }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 6px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: .9375rem; font-weight: 750; text-align: center; line-height: 1.3; }
.seg small { font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.seg input:checked + span { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.calc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; }
.calc__example-note { margin-top: 8px; font-size: .8125rem; color: var(--ink-3); }

.calc__empty { margin-top: 14px; padding: 28px 18px; border-radius: var(--r); border: 1.5px dashed var(--line-2); background: var(--surface); text-align: center; font-size: .9375rem; color: var(--ink-2); }
.calc__empty strong { color: var(--ink); }
.calc__main { margin-top: 12px; padding: 20px; border-radius: var(--r); background: var(--surface); }
.calc__label { font-size: .875rem; font-weight: 700; color: var(--ink-3); }
.calc__big { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; color: var(--blue-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc__big small { font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; color: var(--ink); }
.calc__sub { margin-top: 2px; font-size: 1rem; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.syr { margin-top: 18px; padding-inline: 10px; }
.syr__bar { height: 22px; border-radius: 6px; background: var(--surface); border: 1.5px solid var(--ink); overflow: hidden; }
.syr__fill { height: 100%; width: 0; background: var(--blue); transition: width .25s; }
.syr__ticks { position: relative; height: 30px; }
.syr__ticks span { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; font-size: .6875rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.syr__ticks i { display: block; width: 1.5px; height: 7px; margin-bottom: 2px; background: var(--ink); }
.syr__cap { font-size: .8125rem; color: var(--ink-2); }

.calc__warn { display: grid; gap: 8px; margin-top: 12px; }
.calc__warn:empty { display: none; }
.calc__warn li { padding: 12px 14px 12px 42px; border-radius: 12px; background: var(--apricot); font-size: .9375rem; font-weight: 650; line-height: 1.5; position: relative; }
.calc__warn li::before { content: "!"; position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 800; }

.calc__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.calc__facts > div { padding: 12px 14px; border-radius: 12px; background: var(--surface); }
.calc__facts dt { font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.calc__facts dd { margin-top: 2px; font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.calc__notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; padding-block: 40px 64px; }
.calc__notes p { margin-top: 12px; font-size: .9375rem; color: var(--ink-2); }
.formula { display: grid; gap: 8px; margin-top: 12px; }
.formula li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .9375rem; }
.formula span { font-weight: 800; }
.formula code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.dashlist { display: grid; gap: 10px; margin-top: 12px; }
.dashlist li { position: relative; padding-left: 22px; font-size: .9375rem; color: var(--ink-2); }
.dashlist li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }

@media (max-width: 1100px) { .site-nav a { padding-inline: 10px; } }
@media (max-width: 860px) {
  .calc__body, .calc__notes { grid-template-columns: minmax(0, 1fr); }
  .calc__result { position: static; }
}
@media (max-width: 640px) {
  .calc__facts { grid-template-columns: minmax(0, 1fr); }
  .calc__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .formula li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .calc .ctool { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .syr__fill { transition: none; } }

/* ================= Araç sekmeleri ve yarı ömür ================= */

.tooltabs { display: inline-flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.tooltabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: .9375rem; font-weight: 750; color: var(--ink-2); text-decoration: none; }
.tooltabs a:hover { color: var(--ink); }
.tooltabs a[aria-current] { background: var(--surface); color: var(--blue-ink); box-shadow: 0 1px 2px rgba(23, 36, 59, .12); }

.calc__body--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.field__select { flex: 1; min-width: 0; border: 0 !important; background: var(--surface) !important; padding: 0 14px; font-size: 1rem !important; font-weight: 700 !important; color: var(--ink) !important; justify-items: start; text-align: left; }
.calc__source { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.calc__source b { color: var(--ink); }
.field__hint:empty { display: none; }

.chart { margin-top: 12px; padding: 14px 14px 12px; border-radius: var(--r); background: var(--surface); }
.chart svg { width: 100%; height: auto; }
.chart figcaption { margin-top: 8px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-base { stroke: var(--ink); stroke-width: 1.5; }
.ch-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.ch-area { fill: var(--blue-wash); stroke: none; }
.ch-steady { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 5; }
.ch-dose { stroke: var(--ink); stroke-width: 1.5; }
.ch-label { fill: var(--ink-2); font: 600 12px var(--font); font-variant-numeric: tabular-nums; }
.ch-label--strong { fill: var(--ink); font-weight: 750; }
.ch-axis { fill: var(--ink-3); font: 600 11px var(--font); }

.calc__facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc__fact-sub { margin-top: 2px; font-size: .8125rem !important; font-weight: 500 !important; line-height: 1.4; color: var(--ink-3); }
.calc__lastpeak { margin-top: 12px; font-size: .9375rem; color: var(--ink-2); }
.calc__lastpeak strong { color: var(--ink); }
.tablewrap { margin-top: 12px; overflow-x: auto; }
.hl-table { margin-top: 0; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) { .calc__body--wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .tooltabs { display: flex; }
  .tooltabs a { flex: 1; justify-content: center; padding: 0 8px; }
  .calc__facts--4 > div { display: block; }
  .ch-label { font-size: 14px; }
  .ch-axis { font-size: 13px; }
  .hl-table th:nth-child(3), .hl-table td:nth-child(3) { display: table-cell; }
}
