/* Shared styles for privacy.html and terms.html.
   Roll v2: black and white. Tokens match the :root block inlined in index.html. */
@font-face {
  font-family: "Roll Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/fonts/paytone-one-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2");
}

:root {
  --ink: #0A0A0A;
  --graphite: #5C5C5C;
  --ash: #9A9A9A;
  --hairline: #E3E3E3;
  --wash: #F3F3F3;
  --paper: #FFFFFF;
  --night-line: #2A2A2A;
  --night-muted: #A3A3A3;

  --display: "Roll Display", ui-rounded, system-ui, -apple-system, sans-serif;
  --sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* nav: a plain paper bar with a hairline, like the home page */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav-pill {
  display: flex; align-items: center; gap: 24px;
  max-width: 1400px; height: 64px; margin: 0 auto; padding: 0 var(--gutter);
}
.nav-logo { display: block; line-height: 0; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--graphite); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav-back {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none;
}
.nav-back:hover { background: #2E2E2E; color: var(--paper); }
@media (max-width: 560px) { .nav-links a:not([aria-current="page"]) { display: none; } .nav-pill { gap: 16px; } }

/* page */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.head { padding-top: clamp(48px, 8vw, 96px); padding-bottom: 8px; }
.masthead { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0 11px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hairline); color: var(--graphite); }
.mono { font-size: 14px; line-height: 1.4; }
h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(54px, 11vw, 112px); line-height: .9; letter-spacing: -.035em;
  margin: 44px 0 20px; text-wrap: balance;
}
h1 em { font-style: normal; }
.effective { color: var(--graphite); margin-bottom: 32px; }
.intro { font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 60ch; margin-bottom: 40px; }

.short { padding: 22px 0 6px; margin-bottom: 44px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hairline); }
.short h2 {
  margin: 0 0 14px; padding: 0; border-top: 0; counter-increment: none;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--ink);
}
.short h2::before { content: none; }
.short ul { list-style: none; padding: 0; margin: 0; }
.short li { position: relative; padding: 0 0 14px 24px; margin: 0; font-size: 17px; line-height: 1.55; }
.short li::before { content: ""; position: absolute; left: 2px; top: .64em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

article { counter-reset: sec; padding-bottom: 88px; }
h2 {
  counter-increment: sec;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(32px, 5vw, 44px); line-height: 1; letter-spacing: -.025em;
  margin: 64px 0 18px; padding-top: 22px; border-top: 1px solid var(--hairline);
  text-wrap: balance;
}
h2::before { content: counter(sec); display: block; font: 500 14px/1 var(--sans); letter-spacing: 0; color: var(--graphite); margin-bottom: 16px; }
h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
p, li { color: #1F1F1F; }
p { margin-bottom: 16px; }
ul, ol { padding-left: 22px; margin-bottom: 18px; }
li { margin-bottom: 8px; padding-left: 4px; }
li::marker { color: var(--ash); }
strong { font-weight: 600; }
.note { background: var(--wash); border-left: 2px solid var(--ink); padding: 14px 18px 2px; margin: 8px 0 20px; }
.note p { font-size: 16px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { font-size: 14px; font-weight: 600; color: var(--graphite); border-bottom: 2px solid var(--ink); }
td:first-child { font-weight: 600; white-space: nowrap; padding-right: 20px; }
@media (max-width: 560px) {
  td:first-child { white-space: normal; }
  table { display: block; overflow-x: auto; }
}

footer { background: var(--ink); color: var(--night-muted); }
footer .row { max-width: 1400px; margin: 0 auto; padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: center; justify-content: space-between; font-size: 14px; line-height: 1.5; }
footer img { height: 20px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer a { color: var(--night-muted); text-decoration: none; }
footer a:hover { color: var(--paper); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
