:root {
  color-scheme: dark;
  --ink: #050911;
  --paper: #f4efe5;
  --muted: #aeb8c4;
  --gold: #d9ad59;
  --gold-bright: #f3d58c;
  --line: rgba(203, 216, 229, 0.18);
  --blue: #57b8ed;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.94), rgba(2, 5, 10, 0.72)),
    url("/assets/generated/gothic-cathedral-background.png") center / cover fixed;
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a,
button,
input {
  cursor: pointer;
}

a {
  color: var(--gold-bright);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 44px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  margin: 0 0 22px;
  color: #fff5dc;
  font-size: clamp(2.8rem, 8vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

h2 {
  margin: 38px 0 8px;
  color: var(--gold-bright);
  font-size: 1.45rem;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
}

.effective-date {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  color: #7d8997;
  font-size: 0.78rem;
}

.legal-form {
  margin-top: 28px;
}

.legal-form label {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-form input[type="email"] {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 7px;
  border: 1px solid rgba(203, 216, 229, 0.28);
  border-radius: 2px;
  background: rgba(5, 10, 17, 0.86);
  color: white;
  font: inherit;
  padding: 0 13px;
}

.legal-form button {
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 10px 0;
  text-transform: uppercase;
}

.legal-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.legal-status {
  min-height: 1.6em;
  color: #f0c887;
  font-size: 0.8rem;
}

.honeypot {
  position: fixed !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.confirm-panel {
  border-block: 1px solid var(--line);
  margin-top: 30px;
  padding: 24px 0;
}

[hidden] {
  display: none !important;
}
