/* Terms of Service and Privacy Policy: the home page's Ommasi palette, type and header, set for reading. */
:root {
  --paper: #0D0E12; --surface: #1C1F26; --ink: #EDEBE6; --muted: #9A9EA8; --line: #2E323C; --kept: #F6BA45;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-meta: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px; --measure: 720px; --bar: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--kept); }
::selection { background: color-mix(in oklab, var(--kept) 40%, transparent); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.meta { font-family: var(--font-meta); font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }

.bar { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--bar); }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.wordmark:hover { color: inherit; }
.get { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; background: var(--ink); color: var(--paper); padding: 8px 20px; border-radius: 99px; line-height: 1.4; }
.get:hover { color: var(--paper); opacity: .85; }

.doc article { max-width: var(--measure); margin: 0 auto; padding: 72px 0 40px; }
h1, h2 { font-family: var(--font-display); font-weight: 550; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.04; }
.updated { margin: 16px 0 0; }
h2 { font-size: 24px; line-height: 1.2; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
h2 .num { color: var(--muted); font-weight: 450; }
p { margin: 0 0 16px; }
.clause strong { font-weight: 600; }
.clause .num { font-family: var(--font-meta); font-size: 13px; font-weight: 500; color: var(--muted); margin-right: 4px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin: 0 0 6px; }
li::marker { color: var(--muted); }

.contents { margin: 40px 0 0; padding: 20px 24px; background: var(--surface); border-radius: 12px; }
.contents .meta { margin: 0 0 8px; text-transform: uppercase; }
.contents ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; line-height: 1.5; }
.contents li { break-inside: avoid; margin: 0 0 4px; }
.contents li::marker { font-family: var(--font-meta); font-size: 12px; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }
@media (max-width: 640px) { .contents ol { columns: 1; } }

.table { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 14px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
th { font-family: var(--font-meta); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); background: var(--surface); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
@media (max-width: 600px) {
  .table { border: 0; border-radius: 0; overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 4px 0; }
  td, tbody tr:last-child td { border: 0; padding: 6px 16px; }
  td:first-child { font-size: 15px; padding-top: 12px; }
  td:not(:first-child)::before { content: attr(data-label); display: block; font-family: var(--font-meta); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }
}

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: max(40px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--ink); }
