:root {
  --bg: #09090B;
  --surface: #18181B;
  --text: #FAFAFA;
  --muted: #71717A;
  --primary: #22C55E;
  --secondary: #27272A;
  --accent: #4ADE80;
  --border: rgba(34, 197, 94, 0.3);
  --bauhaus-red: #E53935;
  --bauhaus-yellow: #FDD835;
  --bauhaus-blue: #1E88E5;
  --black-line: #FAFAFA;
  --hero-light: #E8E8EC;
  --design-theory-spacing: 24px;
  --geometric-unit: 8px;
  --abstract-opacity: 0.25;
  --primary-colors-triad: var(--bauhaus-red), var(--bauhaus-yellow), var(--bauhaus-blue);
  --bauhaus-heritage: 1;
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 197, 94, 0.06) 0%, transparent 45%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(34, 197, 94, 0.03) 119px, rgba(34, 197, 94, 0.03) 120px),
    repeating-linear-gradient(0deg, transparent, transparent 119px, rgba(34, 197, 94, 0.03) 119px, rgba(34, 197, 94, 0.03) 120px);
  pointer-events: none;
  z-index: 0;
}

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

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

.disclosure-bar {
  width: 100%;
  height: 28px;
  background: var(--black-line);
  overflow: hidden;
  padding: 4px 0;
  position: relative;
  z-index: 100;
}

.disclosure-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}

.disclosure-text {
  font-size: 11px;
  color: var(--text);
  padding-right: 80px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(90deg, #121214 0%, #1f1f23 100%);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  text-transform: lowercase;
}

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

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

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

.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #121214 0%, #1f1f23 100%);
  z-index: 200;
  padding: 80px 32px 32px;
  transition: right 0.3s ease;
}

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

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-drawer a {
  color: var(--text);
  font-size: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-transform: lowercase;
}

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

.mobile-drawer a:hover::after {
  width: 100%;
  left: 0;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
}

.drawer-overlay.open {
  display: block;
}

.site-footer {
  background: var(--surface);
  border-top: 4px solid var(--black-line);
  padding: 48px 24px 32px;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bauhaus-red);
  opacity: 0.15;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

.footer-badge img {
  max-height: 48px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

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

.footer-nz-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

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

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

.modal-box {
  background: var(--surface);
  border: 4px solid var(--black-line);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
}

.modal-box::before {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--bauhaus-yellow);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.modal-box h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: lowercase;
}

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

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 3px solid var(--black-line);
  cursor: pointer;
  text-align: center;
  text-transform: lowercase;
}

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

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

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

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

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

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 1;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-transform: lowercase;
  border-bottom: 4px solid var(--black-line);
  padding-bottom: 12px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  text-transform: lowercase;
}

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

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

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

.contact-form {
  margin-top: 32px;
  padding: 24px;
  background: var(--secondary);
  border: 3px solid var(--black-line);
}

.contact-form.hidden {
  display: none;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--bauhaus-red);
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  padding: 24px;
  background: var(--secondary);
  border: 3px solid var(--primary);
  text-align: center;
}

.form-success.hidden {
  display: none;
}

.hidden {
  display: none;
}

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

  .burger {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }
}
