/* Yazı tipleri: Inter ve Inter Display (SIL Open Font License 1.1),
   TeX Gyre Schola ve TeX Gyre Heros Cn (GUST Font License). Lisanslar: fonts klasörü. */
@font-face { font-family: "Inter"; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/interdisplay-extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Schola"; src: url("fonts/schola-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "HerosCn"; src: url("fonts/heroscn-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Antrasit gri (RAL 7016 tonu) ve altın vurgu */
  --bg: #383E42;
  --bg-alt: #30353A;
  --bg-deep: #272B2F;
  --bg-raised: #42494E;
  --heading: #FFFFFF;
  --text: #F3F5F6;
  --text-soft: #C4CBD0;
  --text-mute: #A9B1B7;
  --rule: rgba(255, 255, 255, .16);
  --rule-soft: rgba(255, 255, 255, .08);
  --accent: #E9BE6A;
  --accent-strong: #F6D48F;
  --accent-ink: #1E2225;
  --accent-tint: rgba(233, 190, 106, .14);
  --accent-line: rgba(233, 190, 106, .5);
  /* Resmî Gazete kâğıdı */
  --paper: #F7F5F0;
  --paper-ink: #23282C;
  --paper-soft: #545B61;
  --paper-rule: #DDD8CD;
  --paper-hover: #ECE8DF;

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --display: "Inter Display", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --serif: "Schola", "Century Schoolbook", Georgia, serif;
  --stamp-font: "HerosCn", "Arial Narrow", Arial, sans-serif;

  --wrap: 74rem;
  --gutter: 1.25rem;
  --ruling: 2rem;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg-deep); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; margin: 0; color: var(--heading); }
h3 { font-family: var(--sans); font-weight: 600; line-height: 1.3; margin: 0; color: var(--heading); }
p { margin: 0; }
strong, b { font-weight: 600; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-strong); }

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

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 20;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
}
.skip:focus { top: .75rem; color: var(--accent-ink); }

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

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: .6rem 1.15rem;
  border: 1.5px solid var(--accent); border-radius: 6px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn--line { background: transparent; color: var(--accent); }
.btn--line:hover { background: var(--accent-tint); color: var(--accent-strong); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--accent-ink); }

/* ---------- Üst bant ---------- */
.masthead { background: var(--bg-deep); border-bottom: 1px solid var(--rule-soft); }
.masthead__row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }

.brand { display: flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand__mark { width: 2.6rem; height: 2.6rem; color: var(--accent); flex: none; }
.brand__mono { font-family: var(--serif); font-weight: 700; font-size: 15.5px; fill: currentColor; }
.brand__text { display: flex; flex-direction: column; gap: .2rem; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--heading); }
.brand__role { font-family: var(--sans); font-weight: 600; color: var(--accent); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.brand__logo { height: 2.9rem; width: auto; max-width: 5rem; object-fit: contain; flex: none; border-radius: 2px; }
.flag { display: block; width: 2.7rem; height: auto; flex: none; border-radius: 2px; }

.nav { display: flex; gap: 1.75rem; font-family: var(--sans); font-weight: 600; font-size: .9375rem; }
.nav a { color: var(--text-soft); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); border-bottom-color: var(--accent); }

/* ---------- Giriş ---------- */
.hero {
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 32rem at 12% -12%, rgba(255, 255, 255, .07), transparent 62%),
    linear-gradient(to bottom, transparent calc(var(--ruling) - 1px), rgba(255, 255, 255, .04) calc(var(--ruling) - 1px));
  background-size: auto, 100% var(--ruling);
  border-bottom: 1px solid var(--rule-soft);
}
.hero .wrap { position: relative; }
.hero .wrap::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: .45rem; width: 4px;
  border-left: 1px solid var(--accent-line); border-right: 1px solid var(--accent-line); opacity: .45;
}

.hero { overflow: hidden; overflow: clip; }
.hero__grid { display: grid; gap: 3rem; padding-block: 3.25rem 3.75rem; }
.hero__text { position: relative; }

/* Ad: iri, kalın ve modern */
.hero__name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.9rem, 12vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 8ch;
}
.hero__name::after {
  content: ""; display: block;
  width: 4.5rem; height: 4px; margin-top: 1.35rem;
  background: var(--accent); border-radius: 2px;
}
/* Unvan: büyük harf, aralıklı, altın */
.hero__field {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.45;
  color: var(--accent);
  margin-top: 1.1rem;
  text-wrap: balance;
}
.hero__intro { max-width: 34em; margin-top: 1.1rem; color: var(--text-soft); font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__actions:empty { display: none; }

/* Kaşe: altın mürekkep */
.stamp {
  position: absolute; top: -.75rem; right: 0;
  width: clamp(6.75rem, 28vw, 13.5rem); height: auto;
  color: var(--accent); opacity: .8;
  transform: rotate(-9deg);
  pointer-events: none;
  animation: kase-bas .55s cubic-bezier(.2, .8, .25, 1.15) .35s both;
}
.stamp__ring { font-family: var(--stamp-font); font-weight: 700; font-size: 18.5px; letter-spacing: .09em; fill: currentColor; text-anchor: middle; }
.stamp__ring--alt { font-size: 13px; letter-spacing: .07em; }
.stamp__mono { font-family: var(--serif); font-weight: 700; font-size: 44px; fill: currentColor; text-anchor: middle; }
.stamp__sub { font-family: var(--stamp-font); font-weight: 700; font-size: 12.5px; letter-spacing: .2em; fill: currentColor; text-anchor: middle; }

@keyframes kase-bas {
  0%   { opacity: 0; transform: rotate(-14deg) scale(1.45); }
  60%  { opacity: .85; transform: rotate(-8deg) scale(.97); }
  100% { opacity: .8; transform: rotate(-9deg) scale(1); }
}

/* Resmî Gazete kutusu: antrasit masada üst üste duran gazete sayfaları */
.gazette { align-self: center; }
.gazette__sheet {
  position: relative;
  background: var(--paper); color: var(--paper-ink);
  border: 1px solid var(--paper-rule); border-radius: 2px;
  padding: 1.5rem 1.5rem 1.35rem;
  margin-right: 12px; margin-bottom: 12px;
  box-shadow:
    6px 6px 0 -1px #E6E1D6, 6px 6px 0 0 #C9C2B4,
    12px 12px 0 -1px #D6D0C3, 12px 12px 0 0 #B5AD9D,
    0 22px 44px rgba(0, 0, 0, .38);
}
.gazette :focus-visible { outline-color: var(--bg); }
.gazette__title { font-size: 1.25rem; color: var(--paper-ink); }
.gazette__date { display: flex; flex-direction: column; margin-top: .5rem; }
.gazette__day-num { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.gazette__weekday { color: var(--paper-soft); font-size: 1rem; margin-top: .15rem; }
.gazette__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem; }
.gazette .btn--solid { background: var(--bg); border-color: var(--bg); color: #FFFFFF; }
.gazette .btn--solid:hover { background: var(--bg-deep); border-color: var(--bg-deep); color: #FFFFFF; }
.gazette .btn--line { border-color: var(--bg); color: var(--paper-ink); }
.gazette .btn--line:hover { background: var(--paper-hover); color: var(--paper-ink); }
.gazette__items { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--paper-rule); }
.gazette__items li { border-bottom: 1px solid var(--paper-hover); }
.gazette__items a { display: block; padding: .5rem 0; color: var(--paper-ink); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.gazette__items a:hover { color: #7A5612; }
.gazette__subtitle { font-size: .9375rem; color: var(--paper-soft); margin: 1.4rem 0 .55rem; }
.gazette__days { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.gazette__days a {
  display: inline-block; padding: .3rem .55rem;
  border: 1px solid var(--paper-rule); border-radius: 4px;
  font-size: .875rem; color: var(--paper-ink); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.gazette__days a:hover { border-color: var(--bg); background: var(--paper-hover); color: var(--paper-ink); }
.gazette__note { font-size: .875rem; color: var(--paper-soft); margin-top: 1.1rem; }

/* ---------- Bölümler ---------- */
.section { padding: 4rem 0; }
#hizmetler, .section--paper { background: var(--bg-alt); }
.section--quiet, .section--paper, .section--contact { border-top: 1px solid var(--rule-soft); }
.section__title { font-size: clamp(1.9rem, 4.5vw, 2.4rem); }
.section__lead { max-width: 36em; margin-top: .75rem; color: var(--text-soft); }

/* Hizmetler başlığı ve masa çizimi (Defter-i Kebir, hesap makinesi) */
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.section__head-text { flex: 1 1 22rem; padding-bottom: 1.25rem; }
.desk-art { display: block; width: min(100%, 17.5rem); height: auto; margin-bottom: -.2rem; }
.desk-art__small { font-family: var(--stamp-font); font-weight: 700; font-size: 12px; letter-spacing: .16em; fill: #1F2326; text-anchor: middle; }
.desk-art__title { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: .04em; fill: #1F2326; text-anchor: middle; }
.desk-art__year { font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .2em; fill: #545B61; text-anchor: middle; }
.desk-art__display { font-family: var(--stamp-font); font-weight: 700; font-size: 17px; fill: #1F2326; text-anchor: end; font-variant-numeric: tabular-nums; }
.desk-art__key { font-family: var(--stamp-font); font-weight: 700; font-size: 9.5px; fill: #1F2326; text-anchor: middle; }
.desk-art__key--on { fill: #1F2326; }

/* Hizmetler: defter satırları */
.ledger { margin: 2rem 0 0; border-top: 2px solid var(--accent); }
.section__head + .ledger { margin-top: .9rem; }
.ledger__row {
  position: relative;
  display: grid; gap: .35rem;
  padding: 1.1rem 0 1.2rem;
  border-bottom: 1px solid var(--rule-soft);
}
.ledger__row::before {
  content: ""; position: absolute; left: -.8rem; top: 0; bottom: 0; width: 4px;
  border-left: 1px solid var(--accent-line); border-right: 1px solid var(--accent-line); opacity: .45;
}
.ledger dt { font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--heading); }
.ledger dd { margin: 0; color: var(--text-soft); max-width: 42em; }

/* Aylık işleyiş */
.steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 2rem; counter-reset: adim; }
.step { counter-increment: adim; border-top: 2px solid var(--accent); padding-top: 1rem; }
.step::before {
  content: counter(adim, decimal-leading-zero);
  display: block; margin-bottom: .55rem;
  font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1;
  letter-spacing: -.02em; color: var(--accent);
}
.step__title { font-size: 1.125rem; }
.step p { margin-top: .45rem; color: var(--text-soft); }

/* Mevzuat bağlantıları */
.links { display: grid; gap: 2.5rem; margin-top: 2rem; }
.links__title { font-size: 1.125rem; margin-bottom: .75rem; }
.links__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.links__list li { border-bottom: 1px solid var(--rule-soft); }
.links__list a { display: grid; gap: .15rem; padding: .85rem 0; text-decoration: none; color: var(--text); }
.links__name { font-weight: 600; color: var(--accent); }
.links__desc { color: var(--text-soft); font-size: .9375rem; }
.links__list a:hover .links__name { color: var(--accent-strong); text-decoration: underline; text-underline-offset: .18em; }
.links__list--auto { margin-bottom: 1.25rem; }
.links__date { color: var(--text-mute); font-size: .875rem; }

/* İletişim */
.contact-card {
  display: grid; gap: 2rem;
  margin-top: 2rem; padding: 1.6rem 1.4rem;
  background: var(--bg-raised);
  border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 10px;
}
.contact { display: grid; gap: .2rem; margin: 0; }
.contact dt { font-weight: 600; color: var(--accent); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.contact dd { margin: 0 0 1.15rem; font-size: 1.125rem; line-height: 1.5; color: var(--heading); overflow-wrap: anywhere; }
.contact dd:last-of-type { margin-bottom: 0; }
.contact dd a { color: var(--heading); text-decoration-color: var(--accent-line); }
.contact dd a:hover { color: var(--accent-strong); }
.contact__extra { display: inline-block; font-size: .9375rem; margin-top: .35rem; color: var(--accent); }
.contact dd .contact__extra { color: var(--accent); }
.contact__actions { display: flex; flex-direction: column; gap: .75rem; align-self: start; }
.contact__actions:empty { display: none; }
.contact__actions .btn { width: 100%; }

/* Alt bilgi: künye, yasal metin bağlantıları ve telif satırı */
.footer { background: var(--bg-deep); color: var(--text-mute); font-size: .9375rem; border-top: 1px solid var(--rule-soft); }
.footer__grid { display: grid; gap: 2.25rem; padding-top: 2.5rem; padding-bottom: 2rem; }
.footer__title {
  font-family: var(--sans); font-weight: 600; font-size: .75rem; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem;
}
.footer__name { color: var(--text); font-weight: 600; }
.footer__facts { margin: .75rem 0 0; display: grid; gap: .6rem; }
.footer__facts div { display: grid; gap: .05rem; }
.footer__facts dt { color: var(--text-mute); font-size: .8125rem; }
.footer__facts dd { margin: 0; color: var(--text-soft); overflow-wrap: anywhere; }
.footer__facts a { color: var(--text-soft); text-decoration-color: var(--accent-line); }
.footer__facts a:hover { color: var(--accent-strong); }
.nowrap, a[href^="tel:"] { white-space: nowrap; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__links a { font-weight: 600; text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current="page"] { text-decoration: underline; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding: 1.5rem var(--gutter); border-top: 1px solid var(--rule-soft); }

/* ---------- Yasal metinler ---------- */
.legal-head {
  background-color: var(--bg-alt);
  background-image: linear-gradient(to bottom, transparent calc(var(--ruling) - 1px), rgba(255, 255, 255, .04) calc(var(--ruling) - 1px));
  background-size: 100% var(--ruling);
  border-bottom: 1px solid var(--rule-soft);
  padding: 2.75rem 0 2.25rem;
}
.legal-head__eyebrow { font-weight: 600; color: var(--accent); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-head__title { font-size: clamp(2rem, 7vw, 3rem); margin-top: .55rem; max-width: 20ch; text-wrap: balance; }
.legal-head__title::after { content: ""; display: block; width: 4.5rem; height: 4px; margin-top: 1.1rem; background: var(--accent); border-radius: 2px; }
.legal-head__meta { margin-top: 1rem; color: var(--text-mute); font-size: .9375rem; }

.legal { display: grid; gap: 2rem; padding-top: 2rem; padding-bottom: 4rem; }
.legal__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.legal__nav a {
  display: block; padding: .45rem .8rem;
  border: 1px solid var(--rule); border-radius: 6px;
  color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.3;
}
.legal__nav a:hover { border-color: var(--accent-line); color: var(--text); }
.legal__nav a[aria-current="page"] { background: var(--accent-tint); border-color: var(--accent); color: var(--heading); }

.legal__body { max-width: 44em; min-width: 0; }
.legal__body > * + * { margin-top: 1rem; }
.legal__body > h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.005em; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-soft); }
.legal__body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body > h2 + * { margin-top: .75rem; }
.legal__body p, .legal__body li { color: var(--text-soft); }
.legal__body strong { color: var(--heading); }
.legal__body a { overflow-wrap: anywhere; }

.legal__parties {
  display: grid; gap: .1rem; margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--bg-raised);
  border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 8px;
}
.legal__parties dt { font-weight: 600; color: var(--accent); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.legal__parties dd { margin: 0 0 .8rem; color: var(--heading); overflow-wrap: anywhere; }
.legal__parties dd:last-of-type { margin-bottom: 0; }
.legal__parties a { color: var(--heading); text-decoration-color: var(--accent-line); }
.legal__parties a:hover { color: var(--accent-strong); }

.legal__list { list-style: none; margin: 0; padding: 0; counter-reset: madde; border-top: 2px solid var(--accent); }
.legal__list > li { counter-increment: madde; position: relative; padding: 1rem 0 1.05rem 2.6rem; border-bottom: 1px solid var(--rule-soft); }
.legal__list > li::before {
  content: counter(madde) "."; position: absolute; left: 0; top: 1rem;
  font-family: var(--display); font-weight: 700; color: var(--accent);
}

/* Bildirim */
.toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 30;
  width: min(92vw, 30rem); transform: translateX(-50%);
  background: var(--text); color: var(--accent-ink); padding: .9rem 1.1rem; border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  font-size: 1rem; line-height: 1.45;
}

/* ---------- Geniş ekranlar ---------- */
@media (min-width: 40em) {
  body { font-size: 1.0625rem; }
  .footer__facts div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
  .legal__parties { grid-template-columns: max-content minmax(0, 1fr); gap: .65rem 1.75rem; align-items: baseline; padding: 1.4rem 1.6rem; }
  .legal__parties dd { margin: 0; }
  .ledger__row { grid-template-columns: minmax(13rem, 19rem) 1fr; gap: 2.5rem; align-items: baseline; }
  .contact { grid-template-columns: max-content 1fr; gap: 1.1rem 2.5rem; align-items: baseline; }
  .contact dd { margin: 0; }
  .contact-card { padding: 2rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 60em) {
  :root { --gutter: 2rem; }
  .hero .wrap::before { left: .9rem; }
  .ledger__row::before { left: -1.1rem; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .85fr);
    align-items: center; gap: 4.5rem;
    padding-block: 4.75rem 5.25rem;
  }
  .stamp { top: -2.25rem; right: 1.25rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; }
  .desk-art { width: 19.5rem; }
  .section__head { margin-top: -1.5rem; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
  .section { padding: 5rem 0; }
  .contact-card { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3rem; padding: 2.25rem 2.5rem; }
  .footer__grid { grid-template-columns: minmax(0, 1.7fr) minmax(14rem, 1fr); gap: 4rem; padding-top: 3rem; }
  .legal-head { padding: 3.5rem 0 2.75rem; }
  .legal { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; padding-top: 3rem; padding-bottom: 5rem; }
  .legal__nav { position: sticky; top: 1.5rem; align-self: start; }
  .legal__nav ul { flex-direction: column; gap: .3rem; }
  .legal__nav a { border: 0; border-left: 2px solid var(--rule); border-radius: 0 6px 6px 0; padding: .5rem .9rem; }
  .legal__nav a[aria-current="page"] { border-left-color: var(--accent); }
}

/* ---------- Dar ekranlar ---------- */
.btn__short { display: none; }
.brand__name, .masthead .btn { white-space: nowrap; }

@media (max-width: 39.99em) {
  .nav { display: none; }
  .masthead__row { gap: .75rem; min-height: 4rem; }
  .brand__mark { width: 2.25rem; height: 2.25rem; }
  .brand__logo { height: 2.4rem; }
  .brand__name { font-size: 1.125rem; }
  .flag { width: 2.25rem; }
  .brand__role { display: none; }
  .masthead .btn { padding: .4rem .9rem; font-size: .9375rem; min-height: 2.5rem; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}

/* Orta genişlikte (640-800 px) üst bant sığmıyordu: bölüm bağlantıları bu aralıkta gizlenir */
@media (min-width: 40em) and (max-width: 49.99em) {
  .nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp { animation: none; }
  .btn { transition: none; }
}

@media print {
  :root {
    --bg: #FFFFFF; --bg-alt: #FFFFFF; --bg-deep: #FFFFFF; --bg-raised: #FFFFFF;
    --heading: #000000; --text: #000000; --text-soft: #333333; --text-mute: #444444;
    --accent: #000000; --rule: #999999; --rule-soft: #CCCCCC;
  }
  html, body { background: #FFFFFF; color: #000000; }
  .masthead .btn, .stamp, .toast, .skip, .contact__actions, .legal__nav { display: none !important; }
  .hero { background: none; }
}
