:root {
  --bg-deep: #061214;
  --bg-mid: #0c2a30;
  --ink: #f2efe6;
  --muted: #9aaba8;
  --verity: #f0d61a;
  --prototype: #d43c2c;
  --line: rgba(242, 239, 230, 0.12);
  --font-display: "Bungee", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg-deep);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--verity);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

.site-nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 18, 20, 0.4) 0%,
      rgba(6, 18, 20, 0.12) 38%,
      rgba(6, 18, 20, 0.94) 100%
    ),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(18, 56, 62, 0.55), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 92vw);
  margin: 0 auto 8vh;
  padding: 0 1rem;
  text-align: center;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--verity);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  animation: rise-in 0.9s ease both;
}

.brand .vs {
  color: var(--prototype);
}

.headline {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  animation: rise-in 0.9s ease 0.12s both;
}

.lede {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  animation: rise-in 0.9s ease 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: rise-in 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--ink);
  background: var(--verity);
  color: #141414;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  color: #141414;
  background: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(242, 239, 230, 0.1);
}

.section {
  padding: 4.5rem 1.25rem;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 48%, var(--bg-deep) 100%);
}

.section-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--verity);
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.duo figure {
  margin: 0;
  text-align: center;
}

.duo img {
  width: min(160px, 40vw);
  margin: 0 auto 0.75rem;
  image-rendering: pixelated;
  animation: bob 3.6s ease-in-out infinite;
}

.duo figure:nth-child(2) img {
  animation-delay: 0.45s;
}

.duo figcaption {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.duo figure:first-child figcaption {
  color: var(--verity);
}

.duo figure:last-child figcaption {
  color: var(--prototype);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.25rem 2.5rem;
  text-align: center;
  background: #040d0f;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  color: #6a7a77;
  font-size: 0.8rem;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 40% at 50% -10%, rgba(18, 56, 62, 0.9), transparent 60%),
    linear-gradient(180deg, var(--bg-mid), var(--bg-deep));
}

.legal-page .site-nav {
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.legal-page .brand-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--verity);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.legal-wrap {
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.legal-wrap h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--verity);
  line-height: 1.15;
}

.legal-wrap .updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-wrap h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

.legal-wrap code {
  color: var(--ink);
  font-size: 0.92em;
}

.legal-wrap ul {
  padding-left: 1.2rem;
}

.legal-wrap li {
  margin-bottom: 0.4rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

  .hero-content {
    margin-bottom: 6vh;
  }
}
