html[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--l4-color-background-canvas); color: var(--l4-color-text-primary); font: 400 16px/1.5 "Source Sans 3", sans-serif; }
a { color: var(--l4-color-text-brand); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--l4-color-focus); outline-offset: 2px; }
header, main, footer { max-width: 780px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
header { padding-top: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--l4-color-border-subtle); }
header img { display: block; width: min(245px, 76vw); height: auto; }
main { padding-top: 48px; padding-bottom: 72px; }
h1 { font: 600 clamp(36px, 7vw, 52px)/1.08 "Cormorant Garamond", serif; margin: 0 0 20px; }
h2 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
p { max-width: 68ch; margin: 0 0 24px; }
form { max-width: 620px; }
.field { margin: 0 0 20px; }
label { display: block; font-weight: 600; margin-bottom: 8px; }
textarea, input[type="email"] { width: 100%; border: 1px solid var(--l4-color-border-control); border-radius: 2px; background: var(--l4-color-background-surface); color: var(--l4-color-text-primary); font: inherit; padding: 10px 12px; }
textarea { min-height: 180px; resize: vertical; }
input[type="email"] { min-height: 48px; }
textarea[aria-invalid="true"], input[aria-invalid="true"] { border: 2px solid var(--l4-color-status-error-foreground); }
.hint { font-size: 14px; color: var(--l4-color-text-muted); margin: 6px 0 0; }
.field-error { color: var(--l4-color-status-error-foreground); font-weight: 600; margin: 6px 0 0; }
.notice { border: 1px solid var(--l4-color-status-error-foreground); background: var(--l4-color-status-error-background); padding: 14px 16px; margin-bottom: 24px; max-width: 620px; }
.notice:focus { outline: none; }
.notice p { margin: 0; }
.success { border-color: var(--l4-color-status-success-foreground); background: var(--l4-color-status-success-background); }
button { min-height: 48px; padding: 8px 24px; border: 1px solid var(--l4-color-action-primary-background); border-radius: 2px; background: var(--l4-color-action-primary-background); color: var(--l4-color-action-primary-foreground); font: 600 16px "Source Sans 3", sans-serif; cursor: pointer; }
button:hover { background: var(--l4-color-action-primary-hover); }
.secondary { background: var(--l4-color-background-surface); color: var(--l4-color-action-secondary-foreground); border-color: var(--l4-color-action-secondary-border); }
.secondary:hover { background: var(--l4-color-background-raised); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.turnstile { margin: 0 0 20px; }
footer {
  align-items: center;
  border-top: 1px solid var(--l4-color-border-subtle);
  color: var(--l4-color-text-subtle);
  display: flex;
  flex-wrap: wrap;
  font: var(--l4-type-caption-font-weight) var(--l4-type-caption-font-size)/var(--l4-type-caption-line-height) var(--l4-type-caption-font-family);
  gap: 12px 24px;
  justify-content: space-between;
  letter-spacing: .06em;
  padding-top: 24px;
  padding-bottom: 28px;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--l4-color-text-brand); text-decoration-color: var(--l4-color-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-label-short { display: none; }
.queue article { border-top: 1px solid var(--l4-color-border-subtle); padding: 20px 0; }
.queue article p { white-space: pre-wrap; overflow-wrap: anywhere; }
.queue small { display: block; color: var(--l4-color-text-muted); margin-bottom: 12px; }
.queue form { display: inline-block; margin: 0 12px 8px 0; }
.queue button { min-height: 40px; }
@media (max-width: 760px) {
  main { padding-top: 36px; }
  footer { flex-wrap: nowrap; gap: 8px; padding-top: 20px; padding-bottom: 24px; }
  footer > span { white-space: nowrap; }
  .footer-links { flex-wrap: nowrap; gap: 8px; justify-content: flex-end; margin-left: auto; white-space: nowrap; }
  .footer-label-full { display: none; }
  .footer-label-short { display: inline; }
}
@media (max-width: 600px) { .queue button { min-height: 48px; } }
