:root {
  --black: #06070b;
  --panel: #0f1117;
  --white: #f7f8fc;
  --muted: #a3a7b3;
  --red: #c8372d;
  --line: rgba(247, 248, 252, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.anton {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: 32px 24px 0;
}

.site-header img { width: 140px; height: auto; display: block; }

main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.headline {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 1;
  text-align: center;
  margin-top: 16px;
  text-wrap: balance;
}

.subheadline {
  color: var(--white);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  max-width: 680px;
  text-align: center;
  margin-top: 24px;
  text-wrap: pretty;
}

.form-wrap {
  width: 100%;
  max-width: 720px;
  margin-top: 56px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 6px;
  padding: 32px 24px;
}

.form-wrap h2 {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}

.form-wrap > p { color: var(--muted); font-size: 15px; margin-top: 8px; }

#guild-form {
  margin-top: 24px;
  }

#guild-form iframe { display: block; width: 100%; border: 0; min-height: 940px; }

.center-page { justify-content: center; text-align: center; }

.button {
  display: inline-block;
  margin-top: 40px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.button:hover { opacity: 0.88; }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.legal { align-items: stretch; max-width: 760px; }
.legal .headline { font-size: clamp(40px, 7vw, 72px); }
.legal .updated { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
.legal section { margin-top: 40px; }
.legal h2 {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.legal p, .legal li { color: #d7d9e0; font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

@media (min-width: 768px) {
  .form-wrap { padding: 40px; }
  main { padding-top: 64px; }
}
