/* vrunn — yasal metinler · tasarım v3 */

@font-face {
  font-family: "Inter";
  src: url("assets/InterVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F3EEE6;
  --surface: #FBF7F0;
  --red: #A92520;
  --red-deep: #A92520;
  --cream: #0C0A09;
  --muted: #4F4741;
  --muted-2: #6D645D;
  --line: rgba(12, 10, 9, 0.14);
  --line-soft: rgba(12, 10, 9, 0.075);
  --gutter: 40px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--red); color: #F7F1E8; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

.shell {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed; left: 16px; top: -90px; z-index: 20;
  padding: 10px 18px; background: var(--cream); color: #F7F1E8;
  border-radius: 999px; font-weight: 700; font-size: 14px;
}
.skip:focus { top: 14px; }

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

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand span { color: var(--red); }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.legal-header .bar {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.legal-header .bar > p {
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.legal-header .back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cream);
}
.legal-header .back span { color: var(--red); }
.legal-header .back:hover { color: var(--red); text-decoration: none; }

.legal-hero { padding-block: 66px 46px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 20px;
}
.eyebrow .mark { width: 22px; height: 1px; background: var(--red); display: inline-block; }

h1 {
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 0 0 22px;
}

.intro {
  max-width: 650px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.intro strong { color: var(--cream); font-weight: 600; }

.en-note {
  max-width: 620px;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding-bottom: 72px;
}

.legal-nav {
  position: sticky;
  top: 104px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.nav-title {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.legal-nav nav { display: flex; flex-direction: column; }

.legal-nav a {
  display: flex;
  gap: 10px;
  padding: 9px 10px 9px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  transition: color 0.2s, border-color 0.2s;
}
.legal-nav a span {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.legal-nav a:hover { color: var(--cream); text-decoration: none; }
.legal-nav a.is-active {
  color: var(--cream);
  border-left-color: var(--red);
}
.legal-nav a.is-active span { color: var(--red); }

.legal-toc { display: none; }

.legal-body { min-width: 0; max-width: 790px; }

.legal-doc {
  padding-block: 52px 58px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}
.legal-doc:first-child { border-top: 0; padding-top: 0; }

.doc-head { margin-bottom: 30px; }

.doc-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 12px;
}

.legal-doc h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0;
}

.legal-doc h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--cream);
  margin: 34px 0 12px;
}

.legal-doc h4 {
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--cream);
  margin: 26px 0 8px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.legal-doc p { margin: 0 0 14px; }
.legal-doc strong { color: var(--cream); font-weight: 600; }
.legal-doc em { color: var(--cream); }

.legal-doc ul,
.legal-doc ol { margin: 0 0 18px; padding-left: 20px; }
.legal-doc li { margin: 6px 0; padding-left: 4px; }
.legal-doc li::marker { color: var(--red); }

.legal-doc .doc-version {
  display: inline-block;
  margin-bottom: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(169, 37, 32, 0.3);
  border-radius: 999px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.legal-doc a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.intro a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 2px solid var(--red);
  background: rgba(12, 10, 9, 0.035);
  border-radius: 0 8px 8px 0;
}
blockquote p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 28px 0;
}

.table-wrap {
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th, td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.6;
}

th {
  background: rgba(12, 10, 9, 0.045);
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
}

td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.doc-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  margin-top: 30px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.doc-top span { color: var(--red); }
.doc-top:hover { color: var(--cream); text-decoration: none; }

.legal-contact {
  margin-top: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(169, 37, 32, 0.07), rgba(12, 10, 9, 0.025));
}
.legal-contact p { margin: 0 0 6px; color: var(--muted-2); font-size: 12px; }
.legal-contact a { font-size: 19px; font-weight: 600; color: var(--cream); display: inline-flex; align-items: center; min-height: 44px; }
.legal-contact a span { color: var(--red); }

.legal-footer {
  border-top: 1px solid var(--line-soft);
  background: #FBF7F0;
  padding-block: 40px;
}
.legal-footer .shell {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.legal-footer p { margin: 6px 0 0; color: var(--muted-2); font-size: 12px; }
.legal-footer .foot-links { margin-left: auto; display: flex; gap: 22px; }
.legal-footer .foot-links a { color: var(--muted); font-size: 12.5px; }
.legal-footer .foot-links a:hover { color: var(--red); }
.foot-meta { margin-left: auto; }

@media (max-width: 900px) {
  :root { --gutter: 22px; }

  .legal-header .bar { height: 66px; gap: 14px; }
  .legal-header .bar > p { padding-left: 14px; font-size: 9.5px; }
  .legal-header .back { font-size: 11.5px; }

  .legal-hero { padding-block: 44px 34px; }

  .legal-layout { grid-template-columns: 1fr; gap: 26px; }

  .legal-nav { display: none; }

  .legal-toc {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(12, 10, 9, 0.025);
    margin-bottom: 18px;
  }
  .legal-toc summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
  }
  .legal-toc summary::-webkit-details-marker { display: none; }
  .legal-toc summary span { color: var(--red); font-size: 18px; transition: transform 0.25s; }
  .legal-toc[open] summary span { transform: rotate(45deg); }
  .legal-toc nav {
    display: flex;
    flex-direction: column;
    padding: 4px 16px 16px;
    border-top: 1px solid var(--line-soft);
  }
  .legal-toc nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 13px;
  }
  .legal-toc nav a:last-child { border-bottom: 0; }

  .legal-doc { padding-block: 40px 46px; }
  .legal-doc:first-child { padding-top: 0; }
  .legal-doc p, .legal-doc li { font-size: 14px; line-height: 1.78; }
  .legal-doc h3 { margin-top: 28px; }

  .table-wrap { border-radius: 8px; }
  table { min-width: 0; table-layout: fixed; }
  th, td { padding: 9px 10px; font-size: 12.5px; line-height: 1.55; overflow-wrap: anywhere; }
  th:first-child, td:first-child { width: 34%; }
  th { white-space: normal; }

  .legal-footer .shell { flex-direction: column; align-items: flex-start; gap: 16px; }
  .legal-footer .foot-links { margin-left: 0; flex-wrap: wrap; gap: 4px 22px; }
  .legal-footer .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-meta { margin-left: 0; }
}

@media (max-width: 480px) {
  .legal-header .bar > p { display: none; }
  .legal-header .back { margin-left: auto; }
  .legal-header .back span { display: none; }
  h1 { font-size: 40px; }
  .legal-contact { padding: 22px; }
  .legal-contact a { font-size: 17px; }
}

@media print {
  .legal-header, .legal-nav, .legal-toc, .doc-top, .legal-footer, .en-note { display: none !important; }
  body { background: #fff; color: #111; }
  .legal-layout { display: block; }
  .legal-doc p, .legal-doc li, td { color: #222; }
  .legal-doc h2, .legal-doc h3, .legal-doc h4, .legal-doc strong { color: #000; }
  a { color: #000; }
  .legal-hero { padding-top: 0; }
}

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