/* Shared shell for RollCall's content pages (about, privacy, terms, vat-billing).
   Same brand tokens as the landing, deliberately without the Three.js hero and
   GSAP: these are prose pages, so they should paint instantly and read well.
   Dark only, matching the rest of rollcallhq.xyz. */

:root {
  --bg: #110f0d;
  --bg2: #17130f;
  --panel: #1a1613;
  --line: #302a24;
  --text: #eee9e3;
  --muted: #a49a8f;
  --accent: #e23b3b;
  --accent-strong: #c62828;
  --accent2: #ff7a59;
  --maxw: 760px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent2);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header */
.phead {
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.phead__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.plogo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.plogo .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.phead__nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14.5px;
}

.phead__nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.phead__nav a:hover {
  color: var(--text);
}

/* Prose */
.pwrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.pwrap h1 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.pwrap h2 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: clamp(21px, 4.6vw, 26px);
  line-height: 1.2;
  margin: 34px 0 10px;
  scroll-margin-top: 20px;
}

.pwrap h3 {
  font-size: 17px;
  margin: 22px 0 6px;
}

.pwrap p,
.pwrap li {
  color: var(--text);
  max-width: 68ch;
}

.pwrap ul {
  padding-left: 20px;
}

.pwrap li {
  margin: 6px 0;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 26px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 62ch;
}

/* An honest callout, used where a page must not overclaim. */
.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent2);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 22px 0;
}

.note p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.pwrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}

.pwrap th,
.pwrap td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pwrap th {
  color: var(--muted);
  font-weight: 600;
}

/* Footer, mirroring the landing so the site feels like one place. */
.pfoot {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  padding: 40px 0 32px;
}

.pfoot__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.pfoot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 640px) {
  .pfoot__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pfoot h3 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 10px;
}

.pfoot a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  min-height: 34px;
  line-height: 34px;
}

.pfoot a:hover {
  color: var(--accent2);
}

.pfoot__bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
