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

:root {
  --bg: #020617;
  --surface: #020F2F;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #38BDF8;
  --secondary: #A3E635;
  --accent: #F472B6;
  --border: rgba(229, 231, 235, 0.12);
  --shadow: 4px 4px 0 #000;
  --shadow-lg: 6px 6px 0 #000;
  --nav-gradient: linear-gradient(90deg, #020617 0%, #0f172a 100%);
  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

.disclosure {
  background: #0a0f1e;
  width: 100%;
  border-bottom: 2px solid #000;
}

.disclosure__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 16px 8px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.disclosure__icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.disclosure__text {
  font-size: 11px;
  color: #cbd5e1;
  text-align: left;
  line-height: 1.45;
}

@media (min-width: 480px) {
  .disclosure__text {
    font-size: 12px;
  }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-gradient);
  box-shadow: 0 2px 0 #000;
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 4px;
}

.nav-burger__lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.nav-burger__lines span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  position: relative;
  display: inline-block;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease, left 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

@media (max-width: 900px) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--nav-gradient);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 24px 32px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 0 #000;
    overflow-y: auto;
  }

  .nav-links li {
    border-bottom: 2px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 16px 8px;
    font-size: 14px;
  }

  .nav-burger:has(.nav-toggle:checked) ~ .nav-links {
    right: 0;
  }

  .nav-burger:has(.nav-toggle:checked) .nav-burger__lines span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-burger:has(.nav-toggle:checked) .nav-burger__lines span:nth-child(2) {
    opacity: 0;
  }

  .nav-burger:has(.nav-toggle:checked) .nav-burger__lines span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.footer {
  background: var(--surface);
  border-top: 4px solid #000;
  padding: 48px 24px 32px;
  margin-top: 0;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 40px;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__legal a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--primary);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.footer__badges a {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.footer__badges a:hover {
  opacity: 1;
  transform: translate(-2px, -2px);
}

.footer__badges img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer__copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.page-hero {
  background: #f8fafc;
  padding: 48px 24px;
  border-bottom: 4px solid #000;
}

.page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #000;
  border-bottom: 4px solid #000;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--muted);
  font-size: 15px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  margin: 32px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content a {
  text-decoration: underline;
}
