/* Shared styling for the Korps legal and trust pages. Deliberately plain:
   these documents have to stay readable, printable and screen-reader friendly,
   so nothing here depends on motion, script or a canvas. */
/* The same tokens and the same faces as the rest of korps.ai. These pages used
   a different near-black, a different gold and a serif nobody else on the site
   uses, so the documents a buyer checks before trusting the company looked like
   they belonged to a different one. */
:root {
  --bg: #0B0C0F;
  --ink: #F2EFE8;
  --muted: #B8B4AB;
  --gold: #E2A93B;
  --gold-dim: #8A6420;
  --line: #262B35;
  --card: #161920;
  --warn: #E2A93B;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: var(--gold); }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #14100a;
  padding: .6rem 1rem; z-index: 40; text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }
header.bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 6vw;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
header.bar a.home {
  display: inline-flex; align-items: center; gap: .6rem;
  letter-spacing: .22em; font-size: .72rem; text-decoration: none; color: var(--ink);
  min-height: 44px;
}
header.bar a.home .logo { width: 20px; height: 20px; flex: none; }
header.bar a.signin {
  font-size: .85rem; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
main.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.kicker {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  margin: 0 0 .5rem;
}
h1 { font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 .6rem; }
h2 { font-weight: 500; font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
h3 { font-weight: 500; font-size: 1.08rem; margin: 1.4rem 0 .4rem; }
p, li { color: var(--ink); }
p.lead { color: var(--muted); font-size: 1.1rem; }
.meta {
  font-family: var(--sans);
  font-size: .82rem; color: var(--muted);
  margin: 0 0 1.6rem;
}
.notice {
  border: 1px solid var(--gold-dim);
  background: var(--card);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0 2rem;
}
.notice h2 { margin-top: 0; font-size: 1rem; color: var(--warn); font-family: var(--sans); letter-spacing: .04em; }
.notice p, .notice li { color: var(--muted); font-size: .95rem; }
.card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}
.card p:first-child, .card ul:first-child { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3rem; }
li { margin: .35rem 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em; color: var(--warn);
  background: #14120d; padding: .05rem .3rem; border: 1px solid var(--line);
}
/* A wide table scrolls inside its own box. It used to push the whole document
   sideways at 390 px, so on a phone the Cookie and Subprocessor pages moved
   under the reader's thumb and the right-hand column was off screen. */
.table-scroll { overflow-x: auto; margin: 1rem 0; }
table {
  width: 100%; border-collapse: collapse; margin: 1rem 0;
  font-size: .95rem;
}
.table-scroll table { margin: 0; min-width: 34rem; }
caption { text-align: left; color: var(--muted); font-size: .88rem; padding-bottom: .5rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .7rem; border: 1px solid var(--line); }
th { color: var(--gold); font-weight: 500; font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.tbd { color: var(--warn); }
/* Long unbroken values (hashes, addresses) must wrap rather than widen a cell. */
td, th { overflow-wrap: anywhere; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 2.5rem 6vw 3rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .85rem;
}
footer.site nav ul {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
}
footer.site nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer.site nav a:hover { text-decoration: underline; }
footer.site p { margin: .3rem 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  html, body { background: #fff; color: #000; }
  header.bar, .skip, footer.site nav { display: none; }
  a { color: #000; }
}

/* Headings share the site's display face; the body stays IBM Plex Sans. */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
/* A supplier or a region we will name on request is a fact, not a gap. */
.named-on-request { color: var(--muted); }

/* The same navigation as the rest of the site, in the legal pages' quieter
   bar: a visitor who arrives on Terms from a search can still find the
   product, the price and the way in. */
header.bar { flex-wrap: wrap; row-gap: .4rem; }
header.bar .bar-nav { display: flex; align-items: center; gap: .1rem; flex-wrap: wrap; margin-left: auto; }
header.bar .bar-nav a {
  font-size: .82rem; text-decoration: none; color: var(--muted);
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 .65rem; border-radius: 999px;
}
header.bar .bar-nav a:hover, header.bar .bar-nav a:focus-visible { color: var(--ink); background: rgba(242, 239, 232, 0.06); }
header.bar .bar-nav a.bar-cta {
  margin-left: .35rem; background: var(--gold); color: #14100a; font-weight: 600; padding: 0 1rem; min-height: 40px;
}
header.bar .bar-nav a.bar-cta:hover, header.bar .bar-nav a.bar-cta:focus-visible { background: #F0BC58; color: #14100a; }
@media (max-width: 1100px) {
  header.bar { padding: .8rem 5vw; }
  header.bar .bar-nav { margin-left: 0; width: 100%; }
  header.bar .bar-nav a { padding: 0 .5rem; font-size: .82rem; }
}
.table-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
