/* =====================================================================
   faq, about, operations, contact, login, 404, safety and the legal pages, 23 Oct 2026.
   The same black room as css/netpages.css (capabilities + technology), its own class names
   so either file can change without breaking the other. Needs main.css (tokens, nav, footer,
   buttons, .form) and pop.css.
   Type: h1, h2, h3, body (18px, 16px on phones), small (14px).
   ===================================================================== */
.pg {
  --pg-ink: #f5f5f5;
  --pg-muted: #a8a8a8;                 /* 8:1 on black */
  --pg-h1: clamp(34px, 4.9vw, 84px);
  --pg-h2: clamp(30px, 3.6vw, 58px);
  --pg-h3: clamp(20px, 1.6vw, 24px);
  --pg-body: 18px;
  --pg-small: 14px;
  --pg-gap: clamp(104px, 11vw, 176px);
  --pg-gutter: max(32px, calc((100vw - 1440px) / 2 + 32px));
  background: #000; color: var(--pg-ink);
}
.pg p, .pg li, .pg dd { font-size: var(--pg-body); line-height: 1.6; }
.pg-h1, .pg-h2, .pg-name {
  margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.02em; color: var(--text-pure);
}
.pg-h1 { font-size: var(--pg-h1); line-height: 0.95; }
.pg-h2 { font-size: var(--pg-h2); line-height: 1; max-width: 18ch; text-wrap: balance; }
.pg-h3 { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: var(--pg-h3); line-height: 1.3; letter-spacing: -0.01em; color: var(--text-pure); text-wrap: balance; }
.pg-tag { display: block; margin: 0 0 18px; font-size: var(--pg-small) !important; font-weight: 600; color: var(--accent); }
.pg-lead { margin: 28px 0 0; max-width: 34em; }
.pg-small { font-size: var(--pg-small) !important; line-height: 1.55 !important; color: var(--pg-muted); }
.pg-muted { color: var(--pg-muted); }
.pg a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pg a:not(.btn):hover { color: var(--accent); }
.pg .pg-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.pg .pg-link:hover { text-decoration: underline; color: var(--text-pure); }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.pg section { padding: 0 var(--pg-gutter); }
.pg section + section { margin-top: var(--pg-gap); }
.pg figure { margin: 0; }
.pg img { display: block; max-width: 100%; }
.pg-cap { margin: 10px 0 0; font-size: 13px !important; line-height: 1.5 !important; color: var(--pg-muted); }

/* ---------- hero: headline left, one picture right ---------- */
.pg-hero {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px);
  align-items: end; padding-top: clamp(120px, 14vh, 170px) !important; min-height: min(84svh, 900px);
}
.pg-hero__text { padding-bottom: 8px; }
.pg-hero__pic { align-self: stretch; position: relative; min-height: 420px; overflow: hidden; background: #070707; }
.pg-hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-hero__pic img { animation: pg-settle 1.4s cubic-bezier(0.22, 0.8, 0.24, 1) both; }
@keyframes pg-settle { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }

/* text-only top (legal pages, 404) */
.pg-top { padding-top: clamp(132px, 17vh, 190px) !important; }
.pg-top .pg-lead { color: var(--pg-ink); }
.pg-band { margin-top: clamp(40px, 5vw, 64px); aspect-ratio: 1920 / 640; overflow: hidden; background: #070707; }
.pg-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- two columns: a sticky title on the left, the content on the right ---------- */
.pg-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 120px); align-items: start; }
.pg-split__head { position: sticky; top: 110px; }
.pg-split__head p { margin: 20px 0 0; max-width: 26em; color: var(--pg-muted); }
.pg-split__head .pg-actions { margin-top: 28px; }

/* FAQ: questions and answers, no boxes, no lines */
.pg-qa { margin: 0; padding: 0; }
.pg-qa > div + div { margin-top: 44px; }
.pg-qa h3 { margin: 0; }
.pg-qa p { margin: 12px 0 0; max-width: 38em; }
.pg-qa p + p { margin-top: 10px; }

/* plain rule lists: a small red square, a bold line, a sentence */
.pg-rules { list-style: none; margin: 0; padding: 0; }
.pg-rules li { position: relative; padding: 0 0 0 28px; max-width: 40em; }
.pg-rules li + li { margin-top: 26px; }
.pg-rules li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--accent); }
.pg-rules b { display: block; font-weight: 600; color: var(--text-pure); }
.pg-rules span { display: block; margin-top: 4px; }
.pg-rules + .pg-h3, .pg-rules + .pg-sub { margin-top: 64px; }
.pg-sub { margin: 0 0 26px !important; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(22px, 2vw, 30px) !important; line-height: 1.05 !important; color: var(--text-pure); }
.pg-sub:not(:first-child) { margin-top: 72px !important; }

/* now / from 2027: two columns of plain text */
.pg-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); margin-top: 48px; }
.pg-two p { margin: 16px 0 0; max-width: 34em; }
.pg-two .pg-actions { margin-top: 28px; }
.pg-when { display: block; font-size: var(--pg-small); font-weight: 600; color: var(--accent); margin: 0 0 10px; }

/* founders: names in the display face, no pictures */
.pg-people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); margin-top: 48px; }
.pg-name { font-size: clamp(30px, 3vw, 46px); line-height: 1; }
.pg-person .pg-when { margin: 0 0 12px; }
.pg-person p { margin: 16px 0 0; max-width: 30em; }

/* a wide picture across the page with a caption */
.pg-wide { margin-left: calc(var(--pg-gutter) * -1); margin-right: calc(var(--pg-gutter) * -1); }
.pg-wide img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.pg-wide .pg-cap { padding: 0 var(--pg-gutter); }

/* ---------- the close: a plain sentence and the actions ---------- */
.pg-cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 96px); align-items: end; padding-bottom: 14vh !important; }
.pg-cta__h { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -0.01em; color: var(--text-pure); }
.pg-cta__h + p { margin: 10px 0 0; max-width: 32em; }
.pg-cta .pg-actions { margin-top: 0; }

/* ---------- legal text: one readable column ---------- */
.pg-doc { max-width: 46em; }
.pg-doc h2 { margin: 64px 0 16px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; color: var(--text-pure); }
.pg-doc h2:first-child { margin-top: 0; }
.pg-doc h3 { margin: 28px 0 8px; font-weight: 600; font-size: 18px; color: var(--text-pure); }
.pg-doc p + p, .pg-doc p + ul, .pg-doc ul + p { margin-top: 14px; }
.pg-doc ul { list-style: none; margin: 0; padding: 0; }
.pg-doc ul li { position: relative; padding-left: 22px; }
.pg-doc ul li + li { margin-top: 8px; }
.pg-doc ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; background: var(--accent); }
.pg-doc strong { color: var(--text-pure); font-weight: 600; }
.pg-doc .pg-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; line-height: 1.5; }
.pg-doc .pg-table th, .pg-doc .pg-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; }
.pg-doc .pg-table th { font-size: var(--pg-small); font-weight: 600; color: var(--pg-muted); }
.pg-doc .pg-table td { color: var(--pg-ink); }
.pg-doc .pg-table td:first-child { color: var(--text-pure); font-weight: 600; white-space: nowrap; }
.pg-doc .pg-table tr + tr td { padding-top: 14px; }
.pg-toc { margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pg-toc a { display: inline-block; padding: 10px 16px; border-radius: 32px; background: #161616; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.pg-toc a:hover { background: #242424; color: var(--text-pure) !important; }

/* ---------- contact ---------- */
.pg-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px clamp(40px, 6vw, 120px); align-items: start; }
.pg-contact .form { gap: 22px; }
.pg-contact .form label, .pg-login label { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; opacity: 1; color: var(--pg-ink); margin-bottom: 8px; }
.pg-contact .form input, .pg-contact .form select, .pg-contact .form textarea { font-size: 16px; padding: 14px 16px; }   /* 16px: no zoom on iPhone */
.pg-contact .form select { background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; }
.pg-contact .form__error { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.pg-contact .form__submit { justify-self: start; }
.pg-contact .pg-opt { font-weight: 400; color: var(--pg-muted); }
.pg-form-note { margin: 4px 0 0; font-size: var(--pg-small) !important; color: var(--pg-muted); }
.pg-direct { margin: 0; }
.pg-direct > div + div { margin-top: 22px; }
.pg-direct dt { font-size: var(--pg-small); font-weight: 600; color: var(--pg-muted); }
.pg-direct dd { margin: 4px 0 0; color: var(--text-pure); }
.pg-aside__pic { margin-bottom: 36px !important; aspect-ratio: 4 / 5; overflow: hidden; background: #070707; }
.pg-aside__pic img { width: 100%; height: 100%; object-fit: cover; }
.pg-contact .form-success h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; color: var(--text-pure); margin: 8px 0 12px; }
.pg-contact .form-success__tag { font-size: var(--pg-small) !important; color: var(--accent); font-weight: 600; }

/* ---------- phone ---------- */
@media (max-width: 999px) {
  .pg-split { grid-template-columns: 1fr; }
  .pg-split__head { position: static; }
  .pg-contact { grid-template-columns: 1fr; }
  .pg-aside__pic { display: none; }
}
@media (max-width: 800px) {
  .pg { --pg-body: 16px; --pg-gap: 96px; --pg-gutter: 20px; --pg-h1: 9.4vw; --pg-h2: 8.4vw; }
  .pg-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 108px !important; gap: 36px; }
  .pg-hero__pic { margin: 0 calc(var(--pg-gutter) * -1); min-height: 0; aspect-ratio: 4 / 3; }
  .pg-top { padding-top: 112px !important; }
  .pg-band { margin-left: calc(var(--pg-gutter) * -1); margin-right: calc(var(--pg-gutter) * -1); aspect-ratio: 16 / 9; }
  .pg-two, .pg-people, .pg-cta { grid-template-columns: 1fr; }
  .pg-wide img { aspect-ratio: 4 / 3; }
  .pg-qa > div + div { margin-top: 36px; }
  .pg-doc h2 { margin-top: 52px; }
  .pg-doc .pg-table, .pg-doc .pg-table tbody, .pg-doc .pg-table tr, .pg-doc .pg-table td { display: block; width: 100%; }
  .pg-doc .pg-table thead { display: none; }
  .pg-doc .pg-table td { padding: 2px 0; }
  .pg-doc .pg-table td:first-child { white-space: normal; }
  .pg-doc .pg-table tr + tr td:first-child { padding-top: 18px; }
  .pg-doc .pg-table td[data-th]::before { content: attr(data-th) ': '; color: var(--pg-muted); font-size: var(--pg-small); }
  .pg-cta { padding-bottom: 10vh !important; }
}
@media (prefers-reduced-motion: reduce) { .pg-hero__pic img { animation: none; } }

/* ---------- login: the existing split, a still picture instead of the video ---------- */
.pg-login .login-brand__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-login .login-brand__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.8) 100%); }
.pg-login .login-brand { border-right: 0; }
.pg-login .login-card { max-width: 420px; }
.pg-login .login-card h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(34px, 3.2vw, 48px); line-height: 0.98; margin-bottom: 20px; }
.pg-login .login-card p { font-size: 17px; line-height: 1.6; color: var(--pg-ink); }
.pg-login .login-card p + p { margin-top: 12px; }
.pg-login .pg-actions { margin-top: 32px; gap: 14px; }
.pg-login .pg-actions .btn { justify-content: center; }
@media (max-width: 800px) {
  .pg-login .login-card p { font-size: 16px; }
}

/* ---------- 404 + credits ---------- */
.pg-404 { min-height: 72svh; }
.pg .cr li { font-size: 16px; line-height: 1.55; }
.pg .cr { margin-top: 0; }

/* ---------- fixes after the first look (23 Oct) ---------- */
.pg .pg-band { margin: clamp(40px, 5vw, 64px) 0 0; }
.pg .section__inner { max-width: none; margin: 0; padding: 0; }
.pg-rules b { font-size: 19px; line-height: 1.4; }
.pg-two .pg-h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; }
.pg-direct--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; margin-top: 44px; }
.pg-direct--grid > div + div { margin-top: 0; }
.pg-hero--short { min-height: min(70svh, 720px); }
.pg-404 { display: flex; flex-direction: column; justify-content: center; padding-bottom: 6vh !important; }
.pg-login a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; color: var(--text-pure); }
.pg-login a:not(.btn):hover { color: var(--accent); }
@media (max-width: 800px) {
  .pg .pg-band { margin: 36px calc(var(--pg-gutter) * -1) 0; }
  .pg-rules b { font-size: 17px; }
  .pg-direct--grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
}
.pg-contact { padding-bottom: 12vh !important; }

/* 24 Oct 2026 (Henry: more colour): one section on FAQ, About and Operations on the off-white field, like the
   network sub-pages and the inspection page. Black ink; the red tag a shade darker so small text keeps 4.5:1. */
.pg-field { background: var(--text-spectral); color: #0a0a0a; padding-top: clamp(80px, 9vw, 140px) !important; padding-bottom: clamp(80px, 9vw, 140px) !important; }
.pg-field .pg-h2, .pg-field .pg-h3, .pg-field p, .pg-field li, .pg-field .pg-rules b, .pg-field .pg-direct dd, .pg-field .pg-sub { color: #0a0a0a; }
.pg-field .pg-split__head p, .pg-field .pg-direct dt, .pg-field .pg-small, .pg-field .pg-muted { color: #4a4a4a; }
.pg-field .pg-tag, .pg-field .pg-when { color: #c4221a; }
.pg-field a:not(.btn), .pg-field .pg-link { color: #0a0a0a; }
.pg-field a:not(.btn):hover, .pg-field .pg-link:hover { color: #c4221a; }
.pg-field .btn--solid { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.pg-field .btn--solid:hover, .pg-field .btn--solid:focus-visible { background: #2a2a2a; color: #fff; }
.pg-field + section { margin-top: clamp(80px, 9vw, 140px); }
.pg-field .btn--ghost { background: transparent; border-color: #0a0a0a; color: #0a0a0a; }
.pg-field .btn--ghost:hover, .pg-field .btn--ghost:focus-visible { background: #0a0a0a; color: #fff; }
