/* Paperharp: hukuki ve destek sayfaları için ortak stil. Renkler ve fontlar index.html ile aynı. */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(/fonts/Fraunces_600SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/Fraunces_400Regular_Italic.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/fonts/Nunito_400Regular.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/fonts/Nunito_700Bold.woff2) format("woff2"); }
:root {
  --bg: #FBF4E9; --bg-2: #F1E2CB; --text: #3A2A20; --text-2: #6E5747; --muted: #8A7260; --accent: #8E4A22;
  --card: rgba(255, 252, 246, .72); --line: rgba(58, 42, 32, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif; --sans: "Nunito", ui-rounded, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #1F1612; --bg-2: #2E2019; --text: #F6EADB; --text-2: #D3BFAA; --muted: #AE977F; --accent: #F2B45E;
  --card: rgba(46, 32, 25, .78); --line: rgba(246, 234, 219, .14); color-scheme: dark;
} }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-2) 100%) fixed; background-color: var(--bg);
  color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.wrap { width: min(100% - 32px, 70ch); margin-inline: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Üst çubuk */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: max(18px, env(safe-area-inset-top)) 0 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 22.5%; box-shadow: 0 1px 2px rgba(26,14,8,.18), 0 6px 14px rgba(58,22,8,.16); }
.lang { display: inline-flex; gap: 6px; }
.lang a { font-weight: 700; font-size: 14px; text-decoration: none; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.lang a:hover { border-color: var(--accent); }

/* Metin */
main { flex: 1; padding-bottom: 48px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 7vw, 48px); line-height: 1.08; letter-spacing: -.01em; margin: 28px 0 8px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.25; margin: 2.3em 0 .5em; scroll-margin-top: 20px; }
h3 { font-weight: 700; font-size: 17px; margin: 1.6em 0 .3em; color: var(--text); }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .25em 0; }
li::marker { color: var(--muted); }
strong { font-weight: 700; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.lede { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--text-2); }
.note { color: var(--text-2); font-size: 15px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 0 0 20px; }
.card > :last-child { margin-bottom: 0; }
.card h2 { margin-top: 0; font-size: 20px; }
.summary ul { padding-left: 1.1em; }

.toc { font-size: 15px; }
.toc p { margin: 0 0 6px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2 16rem; column-gap: 28px; }
.toc li { break-inside: avoid; margin: .15em 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 700; color: var(--text-2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
td a { overflow-wrap: anywhere; }

details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 18px; margin: 0 0 10px; }
details[open] { padding-bottom: 6px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 20px 0 max(24px, env(safe-area-inset-bottom)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.foot nav a { color: var(--text-2); text-decoration: none; font-weight: 700; }
.foot nav a:hover, .foot nav a[aria-current="page"] { color: var(--accent); }
.foot p { margin: 0; }
