:root {
  --bg: #0D1B12;
  --surface: #14261A;
  --text: #ECFDF5;
  --muted: #A7F3D0;
  --primary: #22C55E;
  --secondary: #84CC16;
  --accent: #F59E0B;
  --border: rgba(236, 253, 245, 0.12);
  --max-w: 1280px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --forest-glow: rgba(34, 197, 94, 0.14);
  --forest-depth: rgba(132, 204, 22, 0.08);
  --raw-shadow: 4px 4px 0 #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  background: var(--bg);
  background-image:
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%),
    radial-gradient(ellipse at 20% 0%, var(--forest-glow) 0%, transparent 55%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(135deg, var(--forest-depth) 0, var(--forest-depth) 1px, transparent 1px, transparent 22px),
    radial-gradient(circle at 80% 90%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

.disclosure-banner {
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--muted);
  border-radius: 4px;
  padding: 6px 20px;
  max-width: fit-content;
  margin: 6px auto;
  position: relative;
  z-index: 100;
}

.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: var(--bg);
  border-bottom: 3px solid #000000;
  height: 56px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.site-header .logo-link img {
  max-height: 32px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  transition: background 0.15s, transform 0.15s;
}

.nav-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--accent);
  transform: translate(-1px, -1px);
}

.nav-burger {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid #000000;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text);
  box-shadow: var(--raw-shadow);
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--text);
  margin: 4px 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--bg);
  padding: 80px 24px 40px;
  overflow-y: auto;
}

.nav-overlay.open {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.nav-overlay-grid .nav-chip {
  text-align: center;
  padding: 12px 14px;
  font-size: 13px;
}

.nav-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: transparent;
  border: 2px solid #000000;
  color: var(--text);
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--raw-shadow);
}

.site-footer {
  background: var(--surface);
  border-top: 4px solid #000000;
  padding: 48px 0 32px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 900;
}

.footer-grid a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-badges img {
  max-height: 48px;
  width: auto;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-content {
  padding: 48px 0 64px;
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--accent);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 14px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
  background: var(--surface);
  border: 2px solid #000000;
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  box-shadow: var(--raw-shadow);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  font-size: 12px;
  color: var(--primary);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(34, 197, 94, 0.15);
  border: 3px solid #000000;
  border-radius: 4px;
  color: var(--text);
  font-weight: 700;
  margin-top: 24px;
  box-shadow: var(--raw-shadow);
}

.form-success.visible {
  display: block;
}

.contact-form.is-hidden {
  display: none;
}

.btn-primary {
  background: var(--primary);
  color: #000000;
  border: 3px solid #000000;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--raw-shadow);
  transition: transform 0.15s;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000000;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 2px solid #000000;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border: 4px solid #000000;
  border-radius: 4px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 8px 8px 0 #000000;
}

.modal-box h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 900;
}

.modal-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface);
  border-top: 4px solid #000000;
  padding: 16px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

.cookie-btns button {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  border: 2px solid #000000;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.cookie-btns .btn-accept {
  background: var(--primary);
  border-color: #000000;
  color: #000000;
  box-shadow: var(--raw-shadow);
}

.not-found-wrap {
  text-align: center;
  padding: 80px 24px;
}

.not-found-wrap h1 {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  text-shadow: 4px 4px 0 #000000;
}

.not-found-wrap p {
  color: var(--muted);
  margin-bottom: 32px;
}

.info-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 22px;
  background: var(--primary);
  color: #000000;
  font-weight: 900;
  font-size: 14px;
  border: 3px solid #000000;
  border-radius: 4px;
  box-shadow: var(--raw-shadow);
  transition: transform 0.15s;
}

.info-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000000;
  color: #000000;
}

.bold-heading {
  font-weight: 900;
}

.vibrant-accent {
  color: var(--accent);
}

.high-contrast-border {
  border: 3px solid #000000;
}

.modern-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.raw-shadow-block {
  box-shadow: var(--raw-shadow);
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .nav-burger {
    display: block;
  }
}

.decor-wrap,
.decor-inline,
.decor-side,
.guide-image-rail,
.mosaic-image,
.split-hero-visual,
.decor-band {
  max-width: 100%;
  overflow: hidden;
}

.decor-wrap img,
.decor-inline img,
.decor-side img,
.guide-image-rail img,
.mosaic-image img {
  width: 100%;
  max-width: 500px;
  max-height: 320px;
  height: auto;
  object-fit: cover;
  border: 3px solid #000000;
  box-shadow: var(--raw-shadow);
}

@media (max-width: 375px) {
  .decor-wrap,
  .decor-inline,
  .decor-side,
  .guide-image-mosaic,
  .guide-image-rail,
  .mosaic-image,
  .split-hero-visual,
  .decor-band,
  .live-rail-img {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-wrap img,
  .decor-inline img,
  .decor-side img,
  .guide-image-mosaic img,
  .guide-image-rail img,
  .mosaic-image img,
  .live-rail-img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .decor-band {
    max-height: 180px;
  }
}
