/* Shared by the static screening pages and the Next.js pages. */
:root {
  --bh-display: var(--font-bebas, "Bebas Neue"), Impact, sans-serif;
  --bh-special: var(--font-special, "Special Elite"), "Courier New", monospace;
  --bh-body: "Trebuchet MS", Verdana, sans-serif;
  --bh-accent: #ffd400;
  --bh-ink: #f7f4ea;
  --bh-copy: #c4c1b9;
  --bh-muted: #aaa69d;
  --bh-border: rgba(247, 244, 234, .2);
  --bh-gutter: 16px;
  --bh-max-width: 1280px;
  --bh-header-height: 80px;
  color-scheme: dark;
}

@media (min-width: 640px) { :root { --bh-gutter: 24px; } }
@media (min-width: 1024px) { :root { --bh-gutter: 32px; } }

html { scroll-padding-top: calc(var(--bh-header-height) + 24px); }
body.bh-site::after { opacity: .2; }
::selection { color: #000; background: var(--bh-accent); }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--bh-accent);
  outline-offset: 4px;
}
:where(input, select, textarea) { accent-color: var(--bh-accent); }

.bh-container {
  width: 100%;
  max-width: var(--bh-max-width);
  margin-inline: auto;
  padding-inline: var(--bh-gutter);
}
.bh-page { padding-block: clamp(40px, 5vw, 64px) clamp(64px, 7vw, 96px); }
.bh-page-title, .bh-section-title {
  margin: 0;
  color: var(--bh-ink);
  font-family: var(--bh-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.bh-page-title { font-size: clamp(44px, 5.2vw, 72px); }
.bh-section-title { font-size: clamp(34px, 3.5vw, 48px); }
.bh-eyebrow, .bh-field-label {
  color: var(--bh-accent);
  font-family: var(--bh-special);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.bh-eyebrow { margin: 0 0 12px; }
.bh-intro {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--bh-copy);
  font-family: var(--bh-body);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}

.bh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 28px;
  border: 1px solid var(--bh-accent);
  border-radius: 3px;
  background: var(--bh-accent);
  color: #000;
  font-family: var(--bh-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .045em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -8px 18px rgba(83,51,0,.12), 0 6px 20px rgba(0,0,0,.3);
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.bh-button svg { flex-shrink: 0; }
.bh-button--secondary { background: rgba(0,0,0,.4); color: var(--bh-accent); border-color: rgba(255,212,0,.5); }
.bh-button--text {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--bh-copy);
  box-shadow: none;
  font-family: var(--bh-special);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .bh-button:hover { color: #000; background: #ffe15a; transform: translateY(-2px); }
  .bh-button--secondary:hover { background: var(--bh-accent); }
  .bh-button--text:hover { background: transparent; color: var(--bh-accent); transform: none; }
}
.bh-button:active { transform: translateY(0); }
.bh-button:disabled { opacity: .55; cursor: wait; transform: none; }
.bh-button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.bh-field { display: grid; min-width: 0; gap: 8px; }
.bh-field-label { display: block; color: var(--bh-ink); }
.bh-field-label small { color: var(--bh-muted); font: inherit; text-transform: none; letter-spacing: 0; }
.bh-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(247,244,234,.28);
  border-radius: 3px;
  background: #080808;
  color: var(--bh-ink);
  font-family: var(--bh-body);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .18s, background-color .18s;
}
.bh-input::placeholder { color: #8f8c85; opacity: 1; }
.bh-input:hover { border-color: rgba(247,244,234,.5); }
.bh-input:focus { border-color: var(--bh-accent); background: #0c0c0b; }
.bh-input[aria-invalid="true"] { border-color: #ff9c88; }
.bh-input:disabled { opacity: .65; cursor: wait; }
.bh-panel, .bh-state {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--bh-border);
  border-radius: 3px;
  background: #080807;
}
.bh-state { border-left: 3px solid var(--bh-accent); }
.bh-state > p { max-width: 60ch; color: var(--bh-copy); line-height: 1.75; }
.bh-state[role="alert"] { border-left-color: #ff9c88; }
.bh-skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: var(--bh-gutter);
  padding: 12px 20px;
  background: var(--bh-accent);
  color: #000;
  transform: translateY(-150%);
}
.bh-skip-link:focus { transform: none; }
.bh-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bh-stamp { max-width: 100%; font-family: var(--bh-display); overflow-wrap: anywhere; }
.bh-verdict { max-width: 900px; }
.bh-verdict .bh-page-title { margin-top: 32px; }
.bh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  .bh-button, .bh-input, .bh-skip-link { transition: none; }
  .bh-button:hover { transform: none; }
}
