:root { color-scheme: dark; --bg: #080808; --text: #f4f4f4; --muted: #a3a3a3; --line: #292929; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 2px; }
.skip-link { position: absolute; top: 12px; left: 20px; transform: translateY(-200%); padding: 12px; background: #fff; color: #000; z-index: 5; }
.skip-link:focus { transform: none; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.site-header { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 23px; font-weight: 600; letter-spacing: -1.1px; text-decoration: none; }
.brand sup { font-size: 10px; vertical-align: top; margin-left: 3px; }
.back { font-size: 13px; color: var(--muted); text-decoration: none; }
.intro { padding: 92px 0 62px; max-width: 840px; }
.eyebrow { margin: 0 0 24px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0 0 26px; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.055em; font-weight: 500; }
.intro .lead { max-width: 660px; margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); letter-spacing: -.3px; }
.version { margin: 24px 0 0; color: #777; font-size: 12px; line-height: 1.7; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.principles div { padding: 23px 24px 23px 0; }
.principles strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.principles p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.reading { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 65px; align-items: start; padding-top: 64px; }
.contents { position: sticky; top: 28px; padding-bottom: 25px; }
.contents h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #777; margin: 0 0 18px; font-weight: 500; }
.contents a { display: block; padding: 9px 0; font-size: 13px; color: var(--muted); text-decoration: none; line-height: 1.5; }
.contents a:hover { color: var(--text); }
.contents .contact { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; color: #777; line-height: 1.7; }
.contents .contact a { font-size: 12px; overflow-wrap: anywhere; }
.document { min-width: 0; max-width: 760px; }
.document > section { margin-bottom: 76px; }
.document h1, .document h2 { margin: 0 0 34px; font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -1.2px; }
.clause { margin: 0 0 38px; }
.clause h3 { margin: 0 0 14px; font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -.35px; }
.clause h3 .number { display: inline-block; min-width: 28px; color: #707070; font-size: 12px; letter-spacing: 0; }
.document p, .document li, .document td { color: #b8b8b8; font-size: 14px; line-height: 1.85; }
.document p { margin: 0 0 14px; }
.document strong { color: #eee; font-weight: 500; }
.document ul, .document ol { padding-left: 20px; margin: 10px 0 16px; }
.document li { padding-left: 3px; margin-bottom: 8px; }
.notice { border-left: 2px solid #bbb; padding: 0 0 0 20px; margin: 24px 0; }
.notice p { color: #ddd; }
.table-scroll { overflow-x: auto; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; text-align: left; min-width: 520px; }
th { font-weight: 500; color: #eee; font-size: 12px; }
th, td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.support { border-top: 1px solid var(--line); padding-top: 36px; }
.support a { overflow-wrap: anywhere; }
.legal-footer { margin-top: 12px; padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 12px; color: #777; }
.legal-footer a { color: var(--muted); }
@media (max-width: 860px) {
  .reading { grid-template-columns: 1fr; gap: 38px; }
  .contents { position: static; border-bottom: 1px solid var(--line); }
  .contents .nav-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .contents .contact { display: none; }
}
@media (max-width: 540px) {
  .shell { padding: 0 24px; }
  .site-header { min-height: 80px; gap: 12px; }
  .brand { font-size: 20px; }
  .back { font-size: 12px; }
  .intro { padding: 58px 0 38px; }
  .intro .lead { font-size: 15px; }
  .principles { grid-template-columns: 1fr; margin-bottom: 38px; }
  .principles div { padding: 18px 0; }
  .principles div + div { border-top: 1px solid var(--line); }
  .reading { padding-top: 38px; }
  .document h1, .document h2 { font-size: 26px; }
  .document > section { margin-bottom: 52px; }
  .legal-footer { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --text: #000; --bg: #fff; --line: #ccc; }
  body { background: #fff; color: #000; }
  .shell { max-width: none; padding: 0; }
  .skip-link, .back, .contents, .principles, .legal-footer { display: none; }
  .site-header { min-height: 50px; }
  .intro { padding: 24px 0; }
  h1 { font-size: 30px; }
  .reading { display: block; }
  .document { max-width: none; }
  .document p, .document li, .document td, .document strong, .notice p, th, .intro .lead, .version { color: #222; }
  .clause h3, .document h2 { break-after: avoid; }
  .table-scroll { overflow: visible; }
  table { min-width: 0; }
  a { color: #000; }
}
