:root {
  --bg: #12011A;
  --surface: #1F022B;
  --text: #F3E8FF;
  --muted: #A855F7;
  --primary: #D8B4FE;
  --secondary: #7E22CE;
  --accent: #2DD4BF;
  --border: rgba(216, 180, 254, 0.15);
  --warm-beige: rgba(245, 235, 220, 0.08);
  --wool-grey: rgba(200, 190, 180, 0.12);
  --soft-radius: 20px;
  --home-padding: 24px;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(126, 34, 206, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 0%, rgba(45, 212, 191, 0.08) 0%, transparent 60%);
  color: var(--text);
  line-height: 1.65;
  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(
    0deg,
    transparent,
    transparent 2px,
    rgba(216, 180, 254, 0.015) 2px,
    rgba(216, 180, 254, 0.015) 4px
  );
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.4s ease, opacity 0.4s ease;
}

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

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

.disclosure-banner {
  max-width: 800px;
  margin: 10px auto;
  padding: 8px 16px;
  font-size: 11px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  position: relative;
  z-index: 10;
}

.site-header {
  position: static;
  background: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  border-bottom: 2px solid var(--accent);
  z-index: 100;
}

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

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text);
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.5s ease, color 0.4s ease;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.burger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: var(--soft-radius);
  font-size: 20px;
  line-height: 1;
}

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

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

.nav-drawer a {
  display: block;
  color: var(--text);
  padding: 12px 16px;
  margin-bottom: 4px;
  border-radius: var(--soft-radius);
  transition: background 0.4s ease;
}

.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

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

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo img {
  max-height: 36px;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.4s ease;
}

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

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

.footer-badges a {
  display: block;
  transition: opacity 0.4s ease;
}

.footer-badges a:hover {
  opacity: 0.85;
}

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

.footer-nz-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-nz-disclosure p {
  margin-bottom: 8px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 2000;
}

.age-overlay {
  inset: 0;
  background: rgba(18, 1, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

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

.age-modal h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

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

.age-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--text);
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--soft-radius);
  transition: background 0.5s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: var(--muted);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--soft-radius);
  transition: background 0.5s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

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

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

.cookie-banner p {
  font-size: 13px;
  color: var(--text);
  max-width: 600px;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--home-padding);
  position: relative;
  z-index: 1;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--primary);
}

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

.legal-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content ul {
  margin: 0 0 16px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 32px;
  max-width: 560px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  border-radius: var(--soft-radius);
  font-family: inherit;
  transition: border-color 0.4s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-error {
  color: #f87171;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

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

.form-success {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--accent);
  padding: 24px;
  border-radius: var(--soft-radius);
  text-align: center;
}

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

.warm-accent {
  color: var(--primary);
}

.cozy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--soft-radius);
  padding: 24px;
}

.minimal-border {
  border: 1px solid var(--border);
}

.home-feel {
  background: var(--warm-beige);
}

.soft-shadow {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

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

  .burger-btn {
    display: block;
  }
}

@media (max-width: 375px) {
  .layout-split img,
  .start-inline-img img,
  .pay-visual-band img,
  .guide-image-rail img,
  .mosaic-visual,
  .start-split-visual,
  .mobile-hero-img {
    max-width: 100%;
    width: 100%;
  }

  .guide-image-rail,
  .pay-visual-band,
  .start-inline-img {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }

  .guide-band {
    padding: 24px 16px;
    background-size: cover;
    overflow: hidden;
  }
}
