:root {
  --bg: #0B0B0B;
  --surface: #151515;
  --text: #FAFAFA;
  --muted: #A3A3A3;
  --primary: #DC2626;
  --secondary: #FACC15;
  --accent: #16A34A;
  --border: rgba(250, 250, 250, 0.12);
  --nav-top: #0B0B0B;
  --nav-bottom: #121212;
  --max-w: 1200px;
  --nav-top-h: 50px;
  --nav-bottom-h: 36px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pill: 9999px;
  --rounded: 16px;
  --soft-curves: 24px;
  --friendly: 1.75;
  --smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --glow-accents: 0 0 24px rgba(220, 38, 38, 0.35);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  background-image:
    linear-gradient(165deg, var(--bg) 0%, rgba(220, 38, 38, 0.04) 40%, var(--bg) 100%),
    radial-gradient(ellipse at 80% 10%, rgba(250, 204, 21, 0.03) 0%, transparent 50%);
  color: var(--text);
  line-height: var(--friendly);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(22, 163, 74, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--smooth);
}

a:hover {
  color: var(--secondary);
}

.compliance-banner {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-size: 11px;
  text-align: center;
  padding: 10px 16px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  flex-shrink: 0;
}

.nav-top {
  background: var(--nav-top);
  height: var(--nav-top-h);
  border-bottom: 1px solid var(--border);
}

.nav-top-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-top-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo-desktop img {
  height: 38px;
  width: auto;
}

.nav-logo-mobile {
  display: none;
  position: absolute;
  left: 20px;
}

.nav-logo-mobile img {
  height: 32px;
  width: auto;
}

.nav-burger {
  display: none;
  position: absolute;
  right: 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: var(--pill);
  transition: transform 0.3s var(--smooth), opacity 0.3s var(--smooth);
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-bottom {
  background: var(--nav-bottom);
  height: var(--nav-bottom-h);
  border-bottom: 1px solid var(--border);
}

.nav-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--nav-bottom-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-bottom-inner a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color 0.25s var(--smooth), text-shadow 0.25s var(--smooth);
}

.nav-bottom-inner a:hover {
  color: var(--text);
  text-shadow: var(--glow-accents);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.3s var(--smooth);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  z-index: 300;
  padding: 72px 24px 32px;
  transition: right 0.35s var(--smooth);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

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

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto 32px;
}

.footer-brand img {
  max-height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-links h4,
.footer-legal h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 14px;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--text);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.footer-badges img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.25s var(--smooth);
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.footer-cookie-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--secondary);
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--soft-curves);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--glow-accents);
}

.modal-box h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--pill);
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.25s var(--smooth), transform 0.2s var(--smooth);
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  font-weight: 600;
}

.btn-primary:hover {
  background: #b91c1c;
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
  color: var(--text);
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-page p {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--muted);
}

.legal-page ul {
  margin: 0 0 14px 24px;
}

.legal-page li {
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--muted);
}

.legal-page a {
  color: var(--primary);
}

.section-glow-heading {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-glow-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: var(--pill);
  box-shadow: var(--glow-accents);
}

.pill-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--pill);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s var(--smooth), box-shadow 0.25s var(--smooth);
}

.info-cta-link:hover {
  background: rgba(220, 38, 38, 0.2);
  box-shadow: var(--glow-accents);
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-logo-desktop {
    display: none;
  }

  .nav-logo-mobile {
    display: block;
  }

  .nav-top-inner {
    justify-content: flex-start;
  }

  .nav-burger {
    display: flex;
  }

  .nav-bottom {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-page {
    padding: 32px 20px 48px;
  }
}
