:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #1d1e1a;
  --body: #41433c;
  --line: #d7d6ca;
  --accent: #804332;
  --sage: #586552;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, input:focus-visible + label {
  outline: 3px solid #804332;
  outline-offset: 4px;
}
.en-copy, .tr-copy { overflow-wrap: anywhere; }
html[lang="en"] .tr-copy, html[lang="tr"] .en-copy { display: none; }

/* A native language control remains usable with JavaScript or browser storage disabled. */
@supports selector(body:has(input:checked)) {
  .no-script:has(#lang-tr:checked) .en-copy { display: none; }
  .no-script:has(#lang-tr:checked) .tr-copy { display: revert; }
}
.sr-only, .languages input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip { position: absolute; z-index: 5; padding: .55rem .9rem; background: var(--paper); left: .8rem; top: .5rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell { width: min(71rem, calc(100% - clamp(2rem, 9vw, 8rem))); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.bar, .pages, .brand, .languages, .footer-inner, .footer nav { display: flex; align-items: center; }
.bar { gap: clamp(.8rem, 3vw, 2.5rem); min-height: 4.8rem; }
.brand { gap: .58rem; font-size: 1.3rem; font-weight: 650; letter-spacing: -.045em; }
.brand img { width: 2.15rem; height: 2.15rem; border-radius: .55rem; }
.brand, .pages a, .footer a { color: var(--ink); text-decoration: none; }
.pages { margin-left: auto; gap: clamp(.8rem, 2.4vw, 2rem); }
.pages a, .footer a { padding-block: .55rem; font-size: .9375rem; font-weight: 550; line-height: 1.4; }
.pages a:hover, .footer a:hover, .pages a[aria-current] { text-decoration: underline; text-underline-offset: .42em; }
.languages { position: relative; border: 1px solid #c1c2b4; border-radius: 5px; padding: 3px; margin: 0; }
.languages label { display: grid; place-items: center; min-width: 37px; min-height: 34px; font-size: .875rem; line-height: 1; font-weight: 650; cursor: pointer; padding: .3rem; border-radius: 2px; }
.languages input:checked + label { color: #fff; background: var(--ink); }
.intro { padding-block: clamp(2.75rem, 6.5vw, 5.5rem) clamp(2.25rem, 5vw, 3.75rem); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.75rem + 2.8vw, 4rem); font-weight: 650; line-height: 1.09; letter-spacing: -.045em; }
.intro p:not(.date) { color: var(--body); font-size: clamp(1.0625rem, 1rem + .36vw, 1.25rem); margin-top: 1.15rem; max-width: 60ch; line-height: 1.55; }
.intro .date { font-size: .9375rem; font-weight: 550; margin-top: 1.1rem; color: var(--sage); }
.document { display: grid; gap: clamp(2rem, 7vw, 7rem); grid-template-columns: minmax(11rem, .75fr) minmax(0, 2.35fr); align-items: start; padding-bottom: clamp(4rem, 8vw, 8rem); }
.contents { position: sticky; top: 1rem; display: grid; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.contents h2 { font-size: 1rem; line-height: 1.4; margin-bottom: .65rem; font-weight: 650; }
.contents a { display: block; padding-block: .33rem; color: var(--body); font-size: .9375rem; text-decoration: none; line-height: 1.45; }
.contents a:hover { color: var(--accent); text-decoration: underline; }
.prose { min-width: 0; max-width: 44rem; }
.prose section { border-top: 1px solid var(--line); padding-block: clamp(1.7rem, 4vw, 3rem); scroll-margin: 1rem; }
.prose section:first-child { border-color: var(--ink); }
.prose h2 { font-size: clamp(1.375rem, 1.18rem + 1.1vw, 2rem); font-weight: 620; line-height: 1.22; letter-spacing: -.028em; margin-bottom: 1rem; }
.prose h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.4; margin-top: 1.65rem; }
.prose p, .prose li, .notice { font-size: 1.0625rem; line-height: 1.65; color: var(--body); }
.prose p + p, .prose h3 + p { margin-top: .85rem; }
.prose ul { padding-left: 1.35rem; margin-block: 1rem; }
.prose li { padding-left: .12rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--sage); }
.notice { background: #ecefe6; border-left: 3px solid var(--sage); padding: 1.1rem 1.35rem; margin-block: 1.2rem; }
.notice strong { display: block; color: var(--ink); }
.support-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: .4rem 0; }
.help-card { display: flex; flex-direction: column; align-items: flex-start; gap: .95rem; padding: clamp(1.35rem, 2.5vw, 2.3rem); border-block: 1px solid var(--line); }
.help-card + .help-card { border-left: 1px solid var(--line); }
.help-card:first-child { background-color: #e7ebdf; border-color: #c9cfc0; }
.help-card h2, .safety h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 620; line-height: 1.24; letter-spacing: -.027em; }
.help-card p, .safety p, .faq p { color: var(--body); font-size: 1.0625rem; line-height: 1.6; }
.help-card > a:last-child, .help-card > div:last-child { margin-top: auto; }
.card-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .5rem 1.1rem; }
.action { display: inline-flex; align-items: center; color: white; background: var(--ink); text-decoration: none; padding: .58rem .95rem; border-radius: .3rem; overflow-wrap: anywhere; font-weight: 550; }
.action:hover { background: #41473d; }
.help-layout { display: grid; gap: clamp(2rem, 6vw, 5.5rem); grid-template-columns: minmax(0, 2fr) minmax(0, .9fr); align-items: start; padding-block: clamp(3rem, 7vw, 7rem); }
.questions h2 { font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem); font-weight: 620; line-height: 1.17; letter-spacing: -.035em; margin-bottom: 1.6rem; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 1.0625rem; font-weight: 600; padding: 1.05rem 2rem 1.05rem 0; cursor: pointer; list-style: none; position: relative; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: .85rem; color: var(--sage); font-size: 1.4rem; font-weight: 400; }
.faq details[open] > summary::after { content: "−"; }
.faq p { margin-bottom: 1.12rem; }
.safety { margin-top: .3rem; border-top: 2px solid var(--sage); padding-top: 1.25rem; }
.safety h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; margin-top: 1.1rem; }
.safety p { margin-top: .45rem; }
.missing { padding: clamp(4rem, 9vw, 9rem) 0; min-height: 60vh; }
.missing .intro { padding: .65rem 0 1.45rem; }
.error-code { color: var(--accent); font-size: 1.3rem; }
.missing .card-links { align-items: center; }
.footer { border-top: 1px solid var(--line); padding-block: 1.55rem; color: var(--body); }
.footer-inner { flex-wrap: wrap; justify-content: space-between; gap: .7rem; }
.footer p { font-size: .9rem; }
.footer nav { flex-wrap: wrap; gap: 1.15rem; }

@media (max-width: 54rem) {
  .support-actions { grid-template-columns: 1fr; gap: .75rem; }
  .help-card { border: 1px solid var(--line); }
  .help-layout { grid-template-columns: 1fr; }
}

@media (max-width: 44rem) {
  .bar { gap: .5rem; flex-wrap: wrap; min-height: 0; padding-top: .72rem; }
  .languages { margin-left: auto; }
  .languages label { min-height: 40px; }
  .pages { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 1.15rem; margin: 0 0 .25rem; }
  .document { grid-template-columns: 1fr; gap: 1.4rem; }
  .contents { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.3rem; }
  .contents h2 { grid-column: 1 / -1; }
  .contents a { padding-block: .45rem; }
}
@media print {
  .masthead, .footer, .contents, .skip { display: none; }
  .shell, .document, .help-layout { width: 100%; display: block; }
  .intro { padding: 0 0 1em; }
  .prose section { padding-block: 1em; }
  .prose h2, .prose h3 { break-after: avoid; }
}
