/* Neubad's shared print-inspired palette and type. Used by every public surface. */
@font-face {
  font-family: 'Neubad Bodoni';
  src: url('/branding/bodoni-moda-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Neubad Jost';
  src: url('/branding/jost-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Neubad Jost';
  src: url('/branding/jost-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
html:root {
  --cream: #f4eedf;
  --paper: #fbf7ed;
  --green: #173f35;
  --ink: #173f35;
  --muted: #5e685b;
  --accent: #173f35;
  --accent-soft: #e6e7d9;
  --gold: #cfaf67;
  --gold-dark: #806024;
  --line: #cbbd9b;
  --terracotta: #806024;
  --orange: #806024;
  --serif: 'Neubad Bodoni', 'Bodoni MT', 'Didot', Georgia, serif;
  --sans: 'Neubad Jost', 'Trebuchet MS', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body { font-family: var(--sans); }
button, input, select, textarea { font-family: inherit; }
::selection { color: var(--paper); background: var(--green); }

/* The self-declaration is independent of account and identity verification. */
html.nb-age-open, html.nb-age-open body { overflow: hidden; }
.nb-age-dialog {
  position: fixed;
  inset: 0;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 12px;
  border: 1px solid var(--gold);
  color: var(--cream);
  background: var(--green);
  font: 400 15px/1.6 var(--sans);
  box-shadow: 0 20px 80px #0c20194d;
}
.nb-age-dialog::backdrop { background: #102b24d9; backdrop-filter: blur(5px); }
.nb-age-content { padding: 28px; border: 1px solid #cfaf6770; text-align: center; }
.nb-age-brand { display: block; width: 250px; max-width: 100%; height: auto; margin: 0 auto 26px; }
.nb-age-kicker { margin: 0 0 8px; color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.nb-age-title { margin: 0 0 18px; font: 500 42px/1.1 var(--serif); letter-spacing: -.025em; }
.nb-age-copy { margin: 0 0 22px; color: #e0e3d3; font-size: 15px; line-height: 1.65; }
.nb-age-seal { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border: 1px solid var(--gold); border-radius: 50%; outline: 1px solid #cfaf6750; outline-offset: 5px; color: var(--gold); font: 500 30px/1 var(--serif); }
.nb-age-actions { display: grid; gap: 10px; }
.nb-age-button { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 0; background: var(--gold); color: var(--green); font: 600 14px/1.5 var(--sans); cursor: pointer; }
.nb-age-button:hover { background: #e1c589; }
.nb-age-secondary { background: transparent; color: var(--cream); border-color: #cfaf6770; }
.nb-age-secondary:hover { color: var(--cream); background: #ffffff0d; }
.nb-age-button:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.nb-age-note { margin: 18px 0 0; color: #cbd2bd; font-size: 11px; line-height: 1.6; }
.nb-age-dialog [hidden] { display: none; }
@media (max-width: 400px) {
  .nb-age-content { padding: 24px 18px; }
  .nb-age-title { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .nb-age-dialog::backdrop { backdrop-filter: none; } }
@media print { .nb-age-dialog { display: none !important; } }
