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

:root {
  --bg: #071b1a;
  --surface: #0c2a28;
  --text: #ecfeff;
  --muted: #99f6e4;
  --primary: #2dd4bf;
  --secondary: #22c55e;
  --accent: #60a5fa;
  --border: rgba(236, 254, 255, 0.12);
  --newsprint: #f2ede3;
  --newsprint-dark: #e8e2d4;
  --ink: #1a1a1a;
  --ink-muted: #4a4a4a;
  --breaking: #c41e1e;
  --rule: #1a1a1a;
  --max-width: 1200px;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-condensed: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--newsprint);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  hyphens: auto;
  -webkit-hyphens: auto;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--breaking);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

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

.disclosure-banner {
  display: block;
  max-width: fit-content;
  margin: 6px auto;
  padding: 6px 20px;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--ink-muted);
  border: 1px solid rgba(26, 26, 26, 0.25);
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
}

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

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

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

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

.site-nav li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 10px;
  vertical-align: middle;
}

.site-nav a {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

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

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 6px;
}

.burger-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

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

.nav-overlay.is-open {
  display: block;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--bg);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.3s;
  padding: 24px 20px;
  overflow-y: auto;
}

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

.nav-drawer ul {
  list-style: none;
  margin-top: 48px;
}

.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.1);
  transition: color 0.2s;
}

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

.page-hero {
  background: var(--bg);
  color: var(--text);
  padding: 32px 24px;
  border-bottom: 3px solid var(--rule);
}

.page-hero h1 {
  font-family: var(--font-condensed);
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero p {
  max-width: var(--max-width);
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  text-align: justify;
}

.content-page h2 {
  font-family: var(--font-condensed);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--rule);
  color: var(--ink);
}

.content-page h3 {
  font-family: var(--font-condensed);
  font-size: 1rem;
  margin: 20px 0 8px;
  color: var(--ink);
}

.content-page p {
  margin-bottom: 14px;
  color: var(--ink-muted);
}

.content-page ul,
.content-page ol {
  margin: 0 0 14px 24px;
  color: var(--ink-muted);
}

.content-page li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 24px;
  padding: 24px;
  border: 2px solid var(--rule);
  background: var(--newsprint-dark);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-serif);
  font-size: 1rem;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--breaking);
  margin-top: 6px;
}

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

.contact-success {
  padding: 24px;
  border: 2px solid var(--secondary);
  background: rgba(34, 197, 94, 0.08);
  text-align: center;
}

.contact-success h2 {
  font-family: var(--font-condensed);
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-success p {
  color: var(--ink-muted);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--rule);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

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

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

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

.btn-outline:hover {
  background: var(--rule);
  color: var(--text);
}

.site-footer {
  flex-shrink: 0;
  background: var(--bg);
  color: var(--text);
  border-top: 3px solid var(--rule);
  padding: 48px 24px 24px;
}

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: 8px;
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

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

.footer-dgoj {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(153, 246, 228, 0.7);
  margin-bottom: 16px;
}

.footer-bottom {
  font-size: 0.75rem;
  color: rgba(153, 246, 228, 0.5);
  text-align: center;
}

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

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

.modal-box {
  background: var(--newsprint);
  border: 3px solid var(--rule);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

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

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

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--border);
  padding: 16px 24px;
  z-index: 400;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

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

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

.cookie-inner a {
  color: var(--primary);
}

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

.go-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  background: var(--newsprint);
}

.go-ad {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--breaking);
  margin-bottom: 24px;
}

.go-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--newsprint-dark);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.go-page h1 {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.go-page p {
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.go-compliance {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  max-width: 480px;
  text-align: left;
}

.go-compliance p {
  font-size: 0.8125rem;
  margin-bottom: 8px;
}

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-condensed);
  font-size: 4rem;
  color: var(--breaking);
  margin-bottom: 8px;
}

.error-page p {
  color: var(--ink-muted);
  margin-bottom: 24px;
}

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

  .burger-btn {
    display: flex;
  }
}
