/* Proof Engineering's marketing pages.

   A drawing-office look: a fine grid, schedule-style limit sheets and
   monospace figures, one burnt-orange accent. The palette mirrors the
   PROVISIONAL colours in shared/brand.ts (primary #C2410C, navy #1F2A37), and
   client/src/index.css carries the same values for the app on this host.
   Change them together.

   Fonts are self-hosted (fonts/, OFL): a Google Fonts link would hand every
   visitor's address to Google. */

@font-face {
  font-family: "Archivo";
  src: url("/brands/engineering/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/brands/engineering/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f4f5f3;
  --surface: #ffffff;
  --sheet: #fbfbfa;
  --ink: #1f2a37;
  --ink-soft: #46515f;
  --muted: #5f6977;
  --rule: #d8dce1;
  --grid: rgba(31, 42, 55, 0.055);
  --accent: #c2410c;
  --accent-hover: #a8380a;
  --accent-ink: #ffffff;
  --accent-soft: #fbece4;
  --deep: #1f2a37;
  --deep-ink: #f4f5f3;
  --deep-soft: #b9c2cd;
  --deep-accent: #f08a5d;
  --radius: 6px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12171e;
    --surface: #18202a;
    --sheet: #1b2430;
    --ink: #eceff3;
    --ink-soft: #c3cad4;
    --muted: #9aa4b1;
    --rule: #2d3744;
    --grid: rgba(236, 239, 243, 0.05);
    --accent: #f07b45;
    --accent-hover: #f39466;
    --accent-ink: #12171e;
    --accent-soft: #2a1d17;
    --deep: #0c1016;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-stretch: 105%; letter-spacing: -0.01em; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mono, .figure { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.eyebrow { font: 500 0.78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 18px; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 650 1rem/1 var(--sans); font-stretch: 105%; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* --- header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { font: 800 1.3rem/1 var(--sans); font-stretch: 112%; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark span { color: var(--accent); font-weight: 560; }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a, .login { font-size: 0.97rem; text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover, .login:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
/* "Trade type": a dropdown with no script. It opens on hover and on focus
   (a tap focuses the button), and closes when focus leaves it. */
.nav-drop { position: relative; }
.nav-drop-btn { all: unset; cursor: pointer; font-size: 0.97rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn, .nav-drop:has([aria-current="page"]) .nav-drop-btn { color: var(--ink); }
.nav-drop:has([aria-current="page"]) .nav-drop-btn { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: translateY(1px) rotate(225deg); }
.nav-drop-panel { display: none; position: absolute; left: -14px; top: 100%; padding-top: 14px; min-width: 270px; z-index: 60; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { display: grid; }
.nav-drop-panel::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(18, 23, 30, .35); z-index: -1; }
.nav-drop-panel a { padding: 9px 14px; font-size: 0.95rem; text-decoration: none; color: var(--ink-soft); }
.nav-drop-panel a:first-child { margin-top: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.nav-drop-panel a:last-child { margin-bottom: 8px; }
.nav-drop-panel a:hover, .nav-drop-panel a:focus-visible { color: var(--accent); background: var(--paper); outline: none; }
.nav-drop-panel a[aria-current="page"] { color: var(--accent); }
.menu-sub summary { list-style: none; cursor: pointer; padding: 10px 12px; border-radius: 4px; display: flex; justify-content: space-between; }
.menu-sub summary::-webkit-details-marker { display: none; }
.menu-sub summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.menu-sub[open] summary::after { content: "−"; }
.menu-sub a { display: block; padding: 8px 12px 8px 24px; text-decoration: none; border-radius: 4px; font-size: 0.95rem; }
.menu-sub a:hover { background: var(--paper); }
.menu-sub a[aria-current="page"] { color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); max-height: calc(100dvh - 90px); overflow-y: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px; display: grid; gap: 2px; min-width: 220px; box-shadow: 0 18px 40px -18px rgba(18, 23, 30, .35); }
.menu nav a:not(.btn) { padding: 10px 12px; text-decoration: none; border-radius: 4px; }
.menu nav a:not(.btn):hover { background: var(--paper); }
.menu nav .btn { margin-top: 6px; }
@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .menu { display: block; }
}

/* --- hero ---------------------------------------------------------------- */
.grid-bg {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 10vw, 140px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 36em; margin-top: 22px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Photographs: each crops with --focus (object-position) set where it is
   used, and a missing file leaves a tinted panel rather than a broken image. */
.frame { position: relative; overflow: hidden; background: color-mix(in srgb, var(--ink) 12%, var(--paper)); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.hero-frame { aspect-ratio: 4 / 5; border-radius: var(--radius); max-height: 640px; width: 100%; }
@media (max-width: 900px) { .hero-frame { aspect-ratio: 4 / 3; } }

/* The limits, as a strip pulled up over the foot of the hero. */
.limits-band { margin-top: clamp(-96px, -7vw, -64px); position: relative; z-index: 2; padding-bottom: 8px; }
.sheet.strip .sheet-rows { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; }
.sheet.strip .sheet-rows li { grid-template-columns: 1fr; align-content: start; gap: 6px; padding: 18px 20px; border-bottom: 0; border-left: 1px dashed var(--rule); }
.sheet.strip .sheet-rows li:first-child { border-left: 0; }
.sheet.strip .figure { text-align: left; font-size: 1.05rem; color: var(--accent); }
.sheet.strip .figure--words { color: var(--ink); }
.sheet.strip .note { grid-column: auto; }
@media (max-width: 1060px) {
  .sheet.strip .sheet-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet.strip .sheet-rows li { border-left: 0; border-top: 1px dashed var(--rule); }
}
@media (max-width: 560px) { .sheet.strip .sheet-rows { grid-template-columns: 1fr; } }

/* Photo and text side by side, bleeding to the edge of the page. */
.features { padding: clamp(56px, 8vw, 96px) 0 0; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.feature-row .frame { min-height: clamp(320px, 38vw, 520px); }
.feature-copy { align-self: center; padding: clamp(32px, 6vw, 88px) var(--gutter); max-width: 620px; }
.feature-copy p:not(.eyebrow) { color: var(--ink-soft); margin-top: 18px; }
.feature-row--flip .frame { order: 2; }
.feature-row--flip .feature-copy { justify-self: end; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .frame { order: 0; }
  .feature-row .frame { min-height: 280px; }
  .feature-copy { padding: 32px var(--gutter) 48px; }
}

/* Working at height: a dark band with the photo beside it. */
.statement { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--deep); color: var(--deep-ink); }
.statement .frame { min-height: clamp(320px, 40vw, 560px); }
.statement-copy { align-self: center; padding: clamp(40px, 7vw, 96px) var(--gutter); max-width: 640px; }
.statement-copy h2 { color: var(--deep-ink); }
.statement-copy .eyebrow { color: var(--deep-accent); }
.statement-copy p:not(.eyebrow) { color: var(--deep-soft); margin-top: 18px; font-size: 1.08rem; }
@media (max-width: 820px) { .statement { grid-template-columns: 1fr; } .statement .frame { min-height: 300px; } }

/* The limits laid out the way the quote schedule states them. */
.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 28px 60px -36px rgba(31, 42, 55, .45); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--rule); }
.sheet-head strong { font-stretch: 108%; }
.sheet-head span { font: 500 0.75rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.sheet-rows { list-style: none; margin: 0; padding: 6px 22px; }
.sheet-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 13px 0; border-bottom: 1px dashed var(--rule); }
.sheet-rows li:last-child { border-bottom: 0; }
.sheet-rows .label { font-weight: 600; }
.sheet-rows .figure { text-align: right; white-space: nowrap; }
.figure--words { font-family: var(--sans); font-weight: 600; }
.sheet-rows .note { grid-column: 1 / -1; font-size: 0.86rem; color: var(--muted); }
.sheet-foot { padding: 12px 22px 16px; border-top: 1px solid var(--rule); font-size: 0.86rem; color: var(--muted); }
@media (max-width: 480px) {
  .sheet-rows li { grid-template-columns: 1fr; }
  .sheet-rows .figure { text-align: left; }
}

/* --- trades -------------------------------------------------------------- */
.trades { padding: 40px 0; border-bottom: 1px solid var(--rule); background: var(--surface); }
.trades .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.trades h2 { font-size: 1.25rem; font-stretch: 108%; }
.trades p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.trade-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trade-list li { padding: 8px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); font-size: 0.95rem; }
@media (max-width: 760px) { .trades .wrap { grid-template-columns: 1fr; } }

/* --- sections ------------------------------------------------------------ */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); margin: 0; max-width: 34em; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Each section of cover: what it does, its limits, its excesses. */
.covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.cover { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.cover:nth-child(odd) { padding-right: clamp(20px, 4vw, 48px); border-right: 1px solid var(--rule); }
.cover:nth-child(even) { padding-left: clamp(20px, 4vw, 48px); }
.cover-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tag { font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.tag--core { background: var(--ink); color: var(--paper); }
.tag--option { background: var(--accent-soft); color: var(--accent); }
.cover > p { color: var(--ink-soft); }
.limits { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px dashed var(--rule); }
.limits li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--rule); font-size: 0.95rem; }
.limits .figure { text-align: right; }
.cover .fine { font-size: 0.86rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 820px) {
  .covers { grid-template-columns: 1fr; }
  .cover:nth-child(odd), .cover:nth-child(even) { padding: 26px 0; border-right: 0; }
}

/* --- the product page --------------------------------------------------- */
.trade-table { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.trade-table li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.trade-table li:nth-child(odd) { padding-right: 24px; }
.trade-table li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.trade-table span { font-weight: 600; }
.trade-table small { color: var(--muted); font-size: 0.86rem; }
.factors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); counter-reset: factor; }
.factors li { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--rule); counter-increment: factor; }
.factors li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.factors li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.factors h3::before { content: counter(factor, decimal-leading-zero); display: block; font: 500 0.85rem/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.factors p { color: var(--ink-soft); margin: 8px 0 0; }
@media (max-width: 820px) {
  .trade-table { grid-template-columns: 1fr; }
  .trade-table li:nth-child(n) { padding: 14px 0; border-left: 0; }
  .factors { grid-template-columns: 1fr; }
  .factors li, .factors li + li { padding: 20px 0; border-left: 0; }
}

/* --- trade pages and trade links ---------------------------------------- */
.eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.trade-table a, .trade-list a { color: inherit; text-decoration: none; }
.trade-table a:hover, .trade-list a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.trade-list li:has(a:hover) { border-color: var(--accent); }
.trade-links a { font-weight: 600; display: inline-flex; gap: 8px; }
.trade-links a::after { content: "→"; color: var(--accent); }
.factors.examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.factors.examples li:nth-child(n) { padding-left: 24px; border-left: 1px solid var(--rule); }
.factors.examples li:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
.covered-by { display: flex; align-items: center; gap: 10px; margin-top: 16px !important; font-size: 0.9rem; font-weight: 600; color: var(--ink) !important; }
.sheet-foot a { color: inherit; }
@media (max-width: 820px) {
  .factors.examples { grid-template-columns: 1fr; }
  .factors.examples li:nth-child(n) { padding: 20px 0; border-left: 0; }
}

/* --- how it works -------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { padding: 0 clamp(16px, 3vw, 36px) 0 0; border-left: 1px solid var(--rule); padding-left: clamp(16px, 2.4vw, 28px); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .num { display: block; font: 500 0.9rem/1 var(--mono); color: var(--accent); margin-bottom: 20px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); }
.refer-note { margin-top: 44px; padding: 18px 22px; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--paper); color: var(--ink-soft); font-size: 0.95rem; }
.refer-note strong { color: var(--ink); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li, .steps li:first-child { border-left: 0; padding: 0; border-top: 1px solid var(--rule); padding-top: 22px; }
}

/* --- questions ----------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 24px 48px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--ink); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 650; font-stretch: 104%; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--ink-soft); padding-right: 32px; }
.faq-foot { margin-top: 24px; font-size: 0.95rem; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* --- closer -------------------------------------------------------------- */
.closer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); background: var(--deep); color: var(--deep-ink); }
.closer-copy { align-self: center; padding: clamp(48px, 8vw, 104px) var(--gutter); max-width: 680px; justify-self: end; }
.closer h2 { color: var(--deep-ink); max-width: 16em; }
.closer h2 span { color: var(--deep-accent); }
.closer p { color: var(--deep-soft); margin: 14px 0 28px; max-width: 34em; }
.closer .btn-primary { background: var(--deep-accent); color: #12171e; }
.closer .btn-primary:hover { background: #f39d78; }
.closer .frame { min-height: clamp(300px, 34vw, 480px); }
@media (max-width: 820px) { .closer { grid-template-columns: 1fr; } .closer-copy { justify-self: start; } .closer .frame { min-height: 280px; } }

/* --- inner pages --------------------------------------------------------- */
.intro { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--rule); }
.intro .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38em; margin-top: 18px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.panel h2 { font-size: 1.35rem; margin-bottom: 10px; }
.panel p { color: var(--ink-soft); }
.contact-lines { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px dashed var(--rule); }
.contact-lines li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 11px 0; border-bottom: 1px dashed var(--rule); }
.contact-lines a { font-family: var(--mono); font-weight: 500; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.35rem; margin: 2em 0 0.6em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }

/* The privacy notice, as supplied. */
.legal-text { padding: clamp(48px, 7vw, 80px) 0; }
.legal-text .wrap > * { max-width: 780px; }
.legal-text h2 { font-size: 1.45rem; margin: 44px 0 12px; }
.legal-text .wrap > h2:first-of-type { margin-top: 0; }
.legal-text h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal-text p, .legal-text ul { color: var(--ink-soft); }
.legal-text ul { margin: 0 0 16px; padding-left: 22px; }
.legal-text li { margin: 0 0 8px; }
.legal-text a { color: var(--accent); text-underline-offset: 3px; }
.legal-text .table-scroll { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--rule); border-radius: var(--radius); }
.legal-text table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; }
.legal-text th, .legal-text td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.legal-text th { background: var(--surface); }

/* --- footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font: 500 0.76rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; margin: 12px 0 0; max-width: 26em; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 0.82rem; color: var(--muted); }
.legal p { margin: 0 0 6px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* --- arrival ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .rise-2 { animation-delay: .08s; }
  .rise-3 { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}
