/* Libre Franklin (SIL OFL, assets/fonts/OFL.txt): free stand-in for Unia's
   licensed Franklin Gothic. Self-hosted, so no request goes to Google. */
@font-face { font-family: "Libre Franklin"; font-weight: 400; font-display: swap; src: url(assets/fonts/libre-franklin-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 600; font-display: swap; src: url(assets/fonts/libre-franklin-600.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 800; font-display: swap; src: url(assets/fonts/libre-franklin-800.woff2) format("woff2"); }

:root {
  /* Shared red between Unia (#e72b37) and VPOD (#cc0000): neither house color wins. */
  --accent: #d81e2c;
  --accent-dark: #a8141f;
  --bg: #f6f6f6;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #656565;
  --line: #d9d9d9;
  --error: #a8141f;
  --radius: 4px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Libre Franklin", Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand img { display: block; height: 44px; width: auto; }

.hero {
  color: #fff;
  background: var(--accent);
  /* Diagonal stripes as a quiet strike motif. */
  background-image: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.06) 0 18px, transparent 18px 36px);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 56px;
}

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.sub { margin: 12px 0 0; font-size: 1.2rem; font-weight: 600; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.intro { margin-top: 32px; }

.lead { font-size: 1.2rem; font-weight: 600; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  border-top: 6px solid var(--accent);
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.06);
}

.card h1, .card h2 { margin-top: 0; font-weight: 800; }

label { display: block; margin-bottom: 16px; font-weight: 600; }

.opt { font-weight: 400; color: var(--muted); }

input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid #bdbdbd;
  border-radius: var(--radius);
}

input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.row { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .brand { gap: 24px; }
  .brand img { height: 36px; }
}

fieldset { border: 0; padding: 0; margin: 8px 0 16px; }
legend { font-weight: 600; margin-bottom: 8px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin-bottom: 10px;
}

.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }

.consent { font-size: 0.95rem; color: var(--muted); }

.invalid input:not([type="checkbox"]) { border-color: var(--error); }
fieldset.invalid legend, .invalid.check, label.invalid { color: var(--error); }

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

.error { color: var(--error); font-weight: 600; }

button {
  width: 100%;
  padding: 14px;
  font: inherit;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

button:hover { background: var(--accent-dark); }
button:disabled { opacity: 0.6; cursor: wait; }

a { color: var(--accent-dark); }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 24px 16px 40px;
}
