@font-face {
  font-family: GeovoHeading;
  src: url("assets/heading.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #172444;
  --body: #414d63;
  --muted: #68758b;
  --line: #e2e7f0;
  --brand: #315bf3;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--body); font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.document-page { width: min(760px, calc(100% - 48px)); margin-inline: auto; padding-block: 52px 80px; }
.document-header { padding-bottom: 28px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--ink); }
.brand img { border-radius: 10px; }
.brand span { font: 600 26px/1 GeovoHeading, sans-serif; letter-spacing: -.8px; }
h1 { margin: 0 0 12px; color: var(--ink); font: 600 32px/1.3 GeovoHeading, sans-serif; letter-spacing: -.8px; }
.metadata { margin: 0; color: var(--muted); font-size: 12px; }
.metadata > span { padding-inline: 6px; }
.publication-notice { margin: 18px 0 0; padding-left: 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
.publication-notice strong { display: block; font-weight: 600; }
.publication-notice > span { display: block; }
.document { overflow-wrap: anywhere; }
.legal-section { margin-bottom: 34px; }
.legal-section:last-child { margin-bottom: 0; }
h2 { margin: 0 0 18px; color: var(--ink); font: 600 20px/1.5 GeovoHeading, sans-serif; letter-spacing: -.25px; }
.document p { margin: 0 0 18px; }
.document p:last-child { margin-bottom: 0; }
.document strong { color: #26334e; font-weight: 650; }
.document ul { margin: 0 0 20px; padding-left: 23px; }
.document li { padding-left: 3px; margin-bottom: 12px; }
.document li::marker { color: var(--muted); }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.pending-field { color: #795627; background: #fff7e9; border-radius: 3px; padding: 1px 4px; font-size: .9em; }
code { background: #f0f3f8; padding: 2px 4px; border-radius: 3px; font-size: .85em; }

@media (max-width: 600px) {
  body { font-size: 15px; }
  .document-page { width: calc(100% - 36px); padding-block: 26px 48px; }
  .document-header { padding-bottom: 24px; margin-bottom: 28px; }
  .brand { margin-bottom: 24px; }
  h1 { font-size: 28px; }
  h2 { font-size: 19px; }
  .legal-section { margin-bottom: 30px; }
}

@media print {
  @page { size: A4; margin: 18mm; }
  body { color: black; font-size: 10pt; line-height: 1.65; }
  .document-page { width: 100%; padding: 0; }
  .document-header { margin-bottom: 22px; padding-bottom: 20px; }
  .brand { margin-bottom: 20px; }
  h1 { font-size: 24pt; }
  h2 { font-size: 14pt; break-after: avoid; }
  .legal-section { margin-bottom: 24px; }
  .metadata, .publication-notice { color: #444; font-size: 9pt; }
  a { color: inherit; }
  .pending-field { color: black; background: none; border: 1px solid #aaa; }
}
