/* NOTA Union — apex landing. Static, no WP, no trackers. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700.woff2") format("woff2");
}

:root {
  --gold: #fbd00f;
  --gold-hover: #d3ae04;
  --white: #ffffff;
  --ink: #1a1a1a;
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 1000px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  background-color: #111;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    rgba(0, 0, 0, 0.62) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 10px 16px 32px;
}

.logo-wrap {
  text-align: center;
  padding: 10px;
}

.logo {
  display: inline-block;
  width: min(720px, 100%);
  height: auto;
  max-width: 100%;
}

.layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
}

.demands,
.join {
  flex: 1 1 280px;
  min-width: 0;
  padding: 10px;
}

.intro {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff;
  text-shadow: 2px 2px 4px var(--shadow);
}

.intro a,
.preview a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.intro a:hover,
.preview a:hover {
  color: var(--gold-hover);
}

.intro a:focus-visible,
.preview a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1 {
  margin: 0 0 8px;
  padding: 10px 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.demand-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  color: #fff;
}

.demand-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 10px;
  font-size: 16px;
  text-shadow: 1px 1px 3px var(--shadow);
}

.check {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-top: 1px;
}

.join {
  display: flex;
  justify-content: center;
}

.join-form {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 600px;
  border: 0;
  background: #fff;
}

.foot {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.credit {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.preview {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  text-shadow: 1px 1px 3px var(--shadow);
}

@media (max-width: 720px) {
  .page {
    padding: 8px 12px 28px;
  }

  .layout {
    flex-direction: column;
  }

  .join-form {
    max-width: 100%;
    height: 720px;
  }

  .foot {
    align-items: center;
  }

  .credit,
  .preview {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
