:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;
  --primary: #111827;
  --secondary: #374151;
  --accent: #EF4444;
  --border: rgba(17, 24, 39, 0.12);
  --rebellion-offset: 3px;
  --glitch-split: 4px;
  --noisy-opacity: 0.05;
  --digital-punk-skew: -2deg;
  --distorted-scale: 1.02;
  --nav-height: 54px;
  --max-width: 1200px;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(17, 24, 39, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(239, 68, 68, 0.04) 0%, transparent 60%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--noisy-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9998;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02) 0%, transparent 100%);
  z-index: 0;
}

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

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

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

.disclosure-bar {
  width: 100%;
  background: var(--surface);
  padding: 8px 16px 14px;
  position: relative;
  z-index: 100;
}

.disclosure-bar__text {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  line-height: 1.5;
  max-width: var(--max-width);
  margin: 0 auto;
}

.disclosure-bar__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  display: block;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--primary);
  height: var(--nav-height);
}

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

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--surface);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: skewX(var(--digital-punk-skew));
}

.navbar__brand img {
  width: 32px;
  height: 32px;
}

.navbar__brand:hover {
  color: var(--surface);
  filter: brightness(1.2);
}

.navbar__links {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 0;
}

.navbar__links li {
  display: flex;
  align-items: center;
}

.navbar__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 3px;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.navbar__links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface);
}

.navbar__divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  padding: 0 2px;
  user-select: none;
}

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--surface);
  transition: transform 0.3s, opacity 0.3s;
}

.navbar__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--primary);
  z-index: 300;
  padding: 70px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.navbar__drawer.is-open {
  transform: translateX(0);
}

.navbar__drawer ul {
  list-style: none;
}

.navbar__drawer a {
  display: block;
  color: var(--surface);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.navbar__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 250;
}

.navbar__overlay.is-open {
  display: block;
}

.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent, var(--accent));
  opacity: 0.6;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__brand img {
  width: 36px;
  height: 36px;
}

.footer__brand span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--surface);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  align-items: center;
}

.footer__badges a {
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s, filter 0.2s;
}

.footer__badges a:hover {
  opacity: 1;
  filter: invert(1) hue-rotate(180deg);
}

.footer__badges img {
  height: 40px;
  width: auto;
}

.footer__compliance {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__compliance p {
  margin-bottom: 12px;
}

.footer__compliance a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

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

.footer__company {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer__updated {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal {
  background: var(--surface);
  border: 2px solid var(--primary);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  position: relative;
  transform: skewX(var(--digital-punk-skew));
}

.modal__title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal__text {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--primary {
  background: var(--primary);
  color: var(--surface);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: var(--surface);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--surface);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--surface);
  text-decoration: underline;
}

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

.cookie-banner .btn--secondary {
  border-color: var(--surface);
  color: var(--surface);
}

.cookie-banner .btn--secondary:hover {
  background: var(--surface);
  color: var(--primary);
}

.page-hero {
  background: var(--bg);
  padding-bottom: 40px;
}

.page-hero__strip {
  width: 100%;
  height: 120px;
  overflow: hidden;
  position: relative;
}

.page-hero__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.2);
}

.page-hero__strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, transparent 30%, transparent 70%, rgba(59, 130, 246, 0.15) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-hero__content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 0;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  transform: scaleX(1.08);
  margin-bottom: 16px;
}

.page-hero__subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

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

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--secondary);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
  color: var(--secondary);
}

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

.dead-pixel {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: 0.7;
  pointer-events: none;
}

.dead-pixel--1 { top: 12%; left: 8%; }
.dead-pixel--2 { top: 45%; right: 15%; }
.dead-pixel--3 { bottom: 20%; left: 25%; }

@media (max-width: 900px) {
  .navbar__links {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .navbar__drawer {
    display: block;
  }

  .page-hero__strip {
    height: 80px;
  }
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
  }

  .page-hero__strip {
    height: 60px;
  }

  .modal {
    transform: none;
  }
}
