@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --gold: #f5b82e;
  --text: #ffffff;
  --text-soft: #dce3f5;
  --card: #1c2852;
  --border: #3a4a8a;
  --bg-deep: #101a33;
  --f-head: "Anton", Impact, "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg-deep); }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 30%, #24306b 0%, #101a33 66%) var(--bg-deep);
  background-attachment: fixed;
  color: var(--text-soft);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.55;
  padding-inline: 1.25rem;
}

.confetti {
  height: 30px;
  margin-inline: -1.25rem;
  background: url("/assets/confetti.svg") repeat-x left top / auto 30px;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding-block: 1.5rem 3rem;
}

.mark {
  font-family: var(--f-head);
  color: var(--gold);
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0;
}
.sub {
  font-family: var(--f-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0.2rem 0 2rem;
}

.kicker {
  font-family: var(--f-label);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

h1 {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--text);
  font-size: clamp(1.9rem, 8vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}
h1 .gold, .gold { color: var(--gold); }

h2 {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--text);
  font-size: 1.4rem;
  margin: 2rem 0 0.5rem;
}

p { margin: 0 0 1rem; }
.lead { color: var(--text); }

ul.points { list-style: none; padding: 0; margin: 0 0 1.75rem; }
ul.points li { padding-left: 1.5rem; position: relative; margin-bottom: 0.35rem; }
ul.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.7rem;
  height: 0.45rem;
  background: var(--gold);
  transform: rotate(-12deg);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

label.field { display: block; font-family: var(--f-label); font-weight: 800; letter-spacing: 0.08em; color: var(--text); margin-bottom: 0.3rem; }

input[type="email"], input[type="text"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 1rem;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.25rem 0 1.1rem; font-size: 0.95rem; }
.consent input { flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0.2rem; accent-color: var(--gold); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

button.go {
  width: 100%;
  font-family: var(--f-label);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: #101a33;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  cursor: pointer;
}
button.go[disabled] { opacity: 0.6; cursor: progress; }

.status { min-height: 1.5rem; margin: 0.9rem 0 0; }
.status.err { color: #ffb4b4; }
.status.ok { color: var(--text); font-size: 1.15rem; }

.hint { background: var(--card); border: 1px solid var(--gold); border-radius: 8px; padding: 0.8rem 1rem; color: var(--text); }
.draft { background: #5a2330; border: 1px solid #e2457b; color: #fff; border-radius: 8px; padding: 0.6rem 0.9rem; font-family: var(--f-label); font-weight: 800; letter-spacing: 0.06em; margin: 0 0 1.5rem; }

a { color: var(--gold); }

footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
footer a { margin-right: 1.2rem; }

address { font-style: normal; }
