/* The light register for the two legal pages — the terms and the privacy
 * policy that ronner.dev and hosting.ronner.dev serve.
 *
 * They linked assets/site.css, the hub's stylesheet, so the Swedish terms a
 * customer reads before paying came out #15151a under an indigo accent.
 * tokens.css holds the paper and the faces but no layout, so these pages need
 * their own; every colour and face below is a token from it.
 *
 * Quiet on purpose: no sticky header, no CTA. A reader here is checking a
 * term, not deciding whether to write — the two links in the header are there
 * for the ones who are.
 */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover, a:focus-visible {
  color: var(--ink);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  font-weight: 700;
}
.skip:focus {
  left: 0;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1.5rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.brand:hover, .brand:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-left: auto;
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- the document ---------- */

main {
  padding-top: 2.75rem;
  padding-bottom: 3.25rem;
}

.page-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.3rem);
  line-height: 1.15;
}

.updated {
  margin: 0 0 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

h2 {
  margin: 2.25rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}

p {
  margin: 0 0 0.85rem;
}

ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}
li {
  margin-bottom: 0.3rem;
}

strong {
  font-weight: 700;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin: 1.1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}
