/* Privacy policy / KVKK notice (scripts/site/pages/privacy.js). site.css tokens only. */

.pv-hero h1{max-width:820px}
.page-hero.pv-hero p.pv-updated{margin-top:18px;font-size:13px;font-weight:650;color:#aeb9c4}

/* Layout: sticky contents on the left, readable column (~75 characters) on the right */
.pv-body{padding:56px 0 84px}
.pv-layout{display:grid;grid-template-columns:250px minmax(0,680px);grid-template-areas:"toc summary" "toc doc";justify-content:center;column-gap:56px;row-gap:40px;align-items:start}
.pv-summary{grid-area:summary}
.pv-toc{grid-area:toc;position:sticky;top:106px;max-height:calc(100vh - 126px);overflow:auto}
.pv-doc{grid-area:doc;min-width:0;font-size:17px}
/* Running text stays at ~75 characters per line; tables may use the full column */
.pv-doc p,.pv-doc ul,.pv-doc h3,.pv-facts{max-width:33em}
.pv-summary li{max-width:38em}

/* "In short" box */
.pv-summary{background:var(--pale);border:1px solid var(--line);border-radius:13px;padding:24px 26px}
.pv-summary h2{font-size:20px;letter-spacing:-.3px;margin:0 0 12px}
.pv-summary ul{list-style:none;margin:0;padding:0}
.pv-summary li{position:relative;padding-left:22px;font-size:15px;line-height:1.6;color:#2c333b}
.pv-summary li+li{margin-top:10px}
.pv-summary li:before{content:"";position:absolute;left:4px;top:.68em;width:6px;height:6px;border-radius:50%;background:#8a949e}
.pv-summary strong{color:var(--ink)}
.pv-summary a,.pv-doc a{color:var(--orange-text);font-weight:650;text-decoration:underline;text-underline-offset:2px}

/* Table of contents */
.pv-toc h2{font-size:17px;font-weight:750;letter-spacing:-.2px;color:var(--ink);margin:0 0 12px}
.pv-toc ol{list-style:none;margin:0;padding:0;counter-reset:pv;border-left:2px solid var(--line)}
.pv-toc li{counter-increment:pv}
.pv-toc a{display:flex;gap:10px;padding:6px 0 6px 14px;margin-left:-2px;border-left:2px solid transparent;font-size:14px;line-height:1.4;color:#38414b}
.pv-toc a:before{content:counter(pv);flex:0 0 18px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums}
.pv-toc a:hover{color:var(--orange-text);border-left-color:var(--orange)}

/* Formal part header */
.pv-part{padding-bottom:22px;border-bottom:1px solid var(--line)}
.pv-doc .pv-part p{margin:0}
.pv-doc .pv-part .pv-part-title{margin:0 0 10px;font-size:21px;font-weight:800;line-height:1.3;letter-spacing:-.3px;color:var(--navy)}
.pv-doc .pv-part p:last-child{font-size:15px;color:var(--muted)}

/* Sections */
.pv-section{padding:36px 0 4px}
.pv-section+.pv-section{border-top:1px solid var(--line);margin-top:24px}
.pv-doc h2{display:flex;align-items:baseline;gap:8px;font-size:24px;line-height:1.25;letter-spacing:-.1px;margin:0 0 16px}
.pv-num{flex:0 0 auto;min-width:1.3em;color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}
.pv-doc h3{font-size:18px;line-height:1.3;letter-spacing:-.2px;margin:28px 0 10px}
.pv-doc ul{margin:0 0 16px;padding-left:22px}
.pv-doc li{margin:0 0 7px}
.pv-doc li::marker{color:#8a949e}
.pv-doc .notice{margin:18px 0;font-size:15px;max-width:37em}
.pv-top{display:none}

/* Key facts (data controller) */
.pv-facts{margin:4px 0 18px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pv-facts div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:11px 16px}
.pv-facts div+div{border-top:1px solid var(--line)}
.pv-facts dt{font-size:13px;font-weight:750;color:var(--muted);padding-top:2px}
.pv-facts dd{margin:0;overflow-wrap:anywhere}

/* Tables: scroll inside their own wrapper, never the page */
.pv-table{margin:20px 0 22px;overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.pv-table table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.55;color:#2c333b}
.pv-table th,.pv-table td{padding:12px 14px;text-align:left;vertical-align:top;overflow-wrap:break-word}
.pv-table thead th{background:var(--pale);color:var(--ink);font-size:13.5px;font-weight:750;border-bottom:1px solid var(--line)}
.pv-table tbody tr+tr th,.pv-table tbody tr+tr td{border-top:1px solid var(--line)}
.pv-table tbody tr:nth-child(even){background:#fafbfc}
.pv-table tbody th{width:34%;font-weight:700;color:var(--ink)}

@media (max-width:1023px){
  .pv-layout{grid-template-columns:minmax(0,720px);grid-template-areas:"summary" "toc" "doc";row-gap:28px}
  .pv-toc{position:static;max-height:none;overflow:visible;border:1px solid var(--line);border-radius:13px;padding:20px 22px}
  .pv-top{display:inline-flex;gap:6px;margin-top:6px;font-size:13px;font-weight:700;color:var(--muted)!important;text-decoration:none!important}
}

@media (max-width:640px){
  .pv-body{padding:32px 0 56px}
  .pv-doc{font-size:16px}
  .pv-summary{padding:20px}
  .pv-toc{padding:18px}
  .pv-doc h2{font-size:21px}
  .pv-doc .pv-part .pv-part-title{font-size:19px}
  .pv-facts div{grid-template-columns:1fr;gap:2px}
  /* Stack table rows into cards */
  .pv-table{border:0;border-radius:0;overflow:visible}
  .pv-table table,.pv-table tbody,.pv-table tr,.pv-table th,.pv-table td{display:block;width:auto}
  .pv-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .pv-table tbody tr{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
  .pv-table tbody tr+tr{margin-top:10px}
  .pv-table tbody tr:nth-child(even){background:#fff}
  .pv-table tbody tr+tr th,.pv-table tbody tr+tr td{border-top:0}
  .pv-table tbody th{width:auto;background:var(--pale);border-bottom:1px solid var(--line)}
  .pv-table td+td{border-top:1px solid var(--line)!important}
  .pv-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:3px;font-size:12.5px;font-weight:700;color:var(--muted)}
}
