:root {
  color-scheme: dark;
  --background: #090d14;
  --surface: #121a28;
  --surface-raised: #1b2638;
  --ink: #f7f2e7;
  --muted: #aab5c7;
  --blue: #0877f9;
  --blue-bright: #18a8ff;
  --gold: #f5a524;
  --gold-light: #ffd166;
  --line: #31425c;
  --danger: #ff5d4a;
}

* {
  box-sizing: border-box;
}

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

body {
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 26px;
  color: var(--ink);
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 18% 12%, rgb(8 119 249 / 24%), transparent 30rem),
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--gold-light);
  font-weight: 750;
  text-underline-offset: 4px;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
.button:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 2px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  display: block;
  border: 2px solid var(--gold);
  border-radius: 15px;
  box-shadow: 0 0 24px rgb(8 119 249 / 40%);
  object-fit: contain;
}

nav,
footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
}

main {
  padding: 66px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 6vw, 76px);
  border: 2px solid #3f5574;
  background:
    linear-gradient(135deg, rgb(8 119 249 / 95%), rgb(8 50 122 / 96%) 58%, rgb(9 13 20 / 98%));
  box-shadow: 12px 12px 0 var(--gold);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    transparent 0 28px,
    rgb(255 255 255 / 5%) 29px 31px
  );
  content: "";
  pointer-events: none;
}

.hero-copy,
.hero-mark {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  color: #16120b;
  background: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

h1,
h2 {
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.15rem, 8vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--gold-light);
  text-shadow: 4px 4px 0 #09101d;
  -webkit-text-stroke: 1px #09101d;
}

.lede {
  max-width: 720px;
  margin: 28px 0;
  color: #e3edf9;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 650;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  color: #17120a;
  background: var(--gold);
  box-shadow: 6px 6px 0 #09101d;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  color: #06152b;
  background: #ffffff;
}

.hero-mark {
  display: grid;
  min-height: 280px;
  place-items: center;
}

.shield-mark {
  display: grid;
  width: clamp(170px, 22vw, 245px);
  aspect-ratio: 0.88;
  place-items: center;
  border: 8px solid var(--gold-light);
  border-radius: 36% 36% 48% 48% / 22% 22% 65% 65%;
  color: var(--gold-light);
  background: rgb(9 13 20 / 75%);
  box-shadow:
    inset 0 0 0 7px rgb(24 168 255 / 65%),
    0 0 36px rgb(24 168 255 / 45%);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.cross-line {
  position: absolute;
  width: 260px;
  height: 16px;
  border: 3px solid #09101d;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--gold);
}

.cross-line-one {
  rotate: 45deg;
}

.cross-line-two {
  rotate: -45deg;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 58px;
}

.feature-grid article,
.notice {
  padding: 26px;
  border: 2px solid var(--line);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.feature-grid article:nth-child(1) {
  box-shadow: 7px 7px 0 var(--blue-bright);
}

.feature-grid article:nth-child(2) {
  box-shadow: 7px 7px 0 var(--gold);
}

.feature-grid article:nth-child(3) {
  box-shadow: 7px 7px 0 var(--danger);
}

.feature-grid span {
  color: var(--gold-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.feature-grid h2,
.notice h2 {
  margin: 18px 0 9px;
}

.feature-grid p,
.notice p {
  color: var(--muted);
}

.notice {
  margin-top: 50px;
  border-left: 8px solid var(--gold);
}

.notice .eyebrow {
  margin-bottom: 4px;
}

.legal {
  max-width: 840px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 76px;
}

.legal h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.7rem);
}

.legal h2 {
  margin-top: 42px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  color: var(--gold-light);
  font-size: 1.4rem;
}

.legal p,
.legal li {
  color: #d5deeb;
  font-size: 1.04rem;
}

.legal li + li {
  margin-top: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 48px;
  border-top: 2px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding: 0 16px;
  }

  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 38px;
  }

  .hero {
    box-shadow: 7px 7px 0 var(--gold);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: translate 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
  }

  .button:hover {
    translate: 2px 2px;
    box-shadow: 4px 4px 0 #09101d;
  }
}
