:root {
  --gold: #e0a92e;
  --gold-bright: #f2c14e;
  --ink: #0d0d0d;
  --panel: #171717;
  --paper: #f4efe4;
  --muted: #bdb7aa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 16px 104px;
  text-align: center;
  background:
    linear-gradient(rgb(0 0 0 / .45), rgb(0 0 0 / .65)),
    url(assets/hero-empty.jpg) center / cover no-repeat var(--ink);
}

.brand { margin: 0; }
.brand img { display: block; width: min(72vw, 52vh, 460px); height: auto; }

.actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.cta {
  min-height: 48px;
  padding: 0 40px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cta:hover { background: var(--gold-bright); }
.cta:disabled { opacity: .6; cursor: wait; }

.socials { display: flex; gap: 12px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(0 0 0 / .55);
  color: var(--paper);
}
.socials a:hover { color: var(--gold-bright); }
.socials svg { width: 22px; height: 22px; }

.legal { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); }
.legal img { display: block; width: auto; height: 48px; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

dialog {
  width: min(100% - 32px, 420px);
  padding: 32px 24px 24px;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  background: var(--panel);
  color: var(--paper);
}
dialog::backdrop { background: rgb(0 0 0 / .75); }
dialog h2 { margin: 0 0 16px; }

.close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--paper);
  font-size: 1.5rem;
  cursor: pointer;
}

label { display: block; margin-bottom: 6px; }
input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 0 12px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
}

#turnstile-widget { min-height: 65px; }
.note { color: var(--muted); font-size: .85rem; }
#fields .cta { width: 100%; }
#message { margin: 12px 0 0; }
