/* Piyasa hukuk metinleri: tanıtım sayfasıyla (docs/web/) aynı marka.
   Yerel Rubik (SIL OFL 1.1, fonts/), betik, dış yazı tipi ya da istek yok.
   Lacivert şerit + lime vurgu; lime yalnızca lacivert zeminde yazı/simge,
   açık zeminde yalnızca dolgu (başlık çubuğu). Bulanıklık ya da yumuşak
   gölge yok. Üretici: tool/legal/build_legal_site.py (elle düzenleme). */
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #081b39;
  --navy-2: #0d2347;
  --navy-3: #12305f;
  --deep: #051229;
  --lime: #a0f971;
  --paper: #f2f4ec;
  --paper-2: #e4e9d8;
  --ink: #081b39;
  --ink-2: #3e4656;
  --muted: #b4c2da;
  --soft: #dde5f2;
  --line-dark: #21406f;
  --link: #1f4e9b;
  --gut: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--deep); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 1.0625rem/1.65 "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: anywhere;
}
img, picture { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
header.site :focus-visible, footer.site :focus-visible { outline-color: var(--lime); }
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  background: var(--lime); color: var(--navy); font-weight: 700;
  padding: 12px 18px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: #ffffff; }

header.site { background: var(--navy); color: #ffffff; border-bottom: 3px solid var(--lime); }
header.site .bar, header.site nav, .foot, .foot__fine {
  width: 100%; max-width: calc(68ch + 2 * var(--gut) + 112px); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
header.site .brand { display: block; border-radius: 8px; }
header.site .brand img { width: 96px; }
header.site .home {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--lime); font-weight: 700; text-decoration: none;
}
header.site .home:hover { text-decoration: underline; text-underline-offset: 4px; }
header.site nav { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 16px; }
header.site nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px; border-radius: 999px;
  color: var(--soft); text-decoration: none; font-size: .95rem;
  border: 1.5px solid var(--line-dark);
}
header.site nav a:hover { background: var(--navy-3); color: #ffffff; }
header.site nav a[aria-current="page"] { background: var(--lime); border-color: var(--lime); color: var(--navy); font-weight: 700; }
header.site nav a.other { border-style: dashed; }

/* the article: a white card on paper (1px rule, no shadow) */
main {
  display: block;
  width: calc(100% - 2 * var(--gut));
  max-width: calc(68ch + 2 * clamp(20px, 5vw, 56px));
  margin: clamp(20px, 4vw, 40px) auto clamp(40px, 6vw, 72px);
  padding: clamp(8px, 2vw, 16px) clamp(20px, 5vw, 56px) clamp(24px, 4vw, 40px);
  background: #ffffff;
  border: 1px solid var(--paper-2);
  border-radius: 18px;
}
main > * { max-width: 68ch; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 2.5rem); letter-spacing: -.025em; margin: 24px 0 14px; }
h2 {
  font-size: 1.35rem; letter-spacing: -.01em; margin: 40px 0 12px; padding-bottom: 12px;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 2.6em 6px;
}
h3 { font-size: 1.1rem; margin: 28px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.3em; }
li { margin-bottom: 8px; padding-left: .2em; }
li::marker { color: var(--navy); }
strong { color: var(--ink); }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }

footer.site { background: var(--deep); color: var(--muted); padding: 52px 0 40px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1fr; gap: 32px 24px; }
.foot__brand picture { width: 200px; }
.foot__brand p { margin: 16px 0 0; color: #ffffff; font-weight: 700; line-height: 1.45; }
footer.site h2 { font-size: .95rem; color: var(--lime); background: none; margin: 0 0 6px; padding: 0; letter-spacing: 0; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0; padding: 0; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; }
footer.site a:hover { color: var(--lime); text-decoration: underline; }
.foot__fine { margin-top: 36px; }
.foot__fine p { margin: 0 0 8px; font-size: .88rem; line-height: 1.5; padding-top: 0; }
.foot__fine p:first-child { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.foot__fine a { color: var(--soft); text-decoration: underline; }
@media (max-width: 759px) {
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col { font-size: .92rem; }
  footer.site .foot__col h2 { min-height: 2.6em; line-height: 1.3; }
  .foot__col a { line-height: 1.3; padding: 6px 0; }
}
@media (min-width: 760px) {
  .foot { grid-template-columns: 1.3fr 1fr 1fr; }
}
