:root {
  --bg: #1A0000;
  --surface: #2D0000;
  --text: #FFDADA;
  --muted: #944444;
  --primary: #D4AF37;
  --secondary: #800000;
  --accent: #FF0000;
  --border: rgba(212, 175, 55, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-image: linear-gradient(160deg, var(--bg) 0%, #0d0000 40%, var(--surface) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(128, 0, 0, 0.12) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

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

.disclosure-banner {
  width: 100%;
  background: var(--secondary);
  color: var(--text);
  font-size: 11px;
  text-align: center;
  padding: 10px 16px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  line-height: 1.5;
}

.disclosure-banner p {
  max-width: 960px;
  margin: 0 auto 6px;
}

.disclosure-banner p:last-child {
  margin-bottom: 0;
}

.disclosure-banner strong {
  color: var(--primary);
}

.navbar-wrap {
  padding: 16px 16px 0;
  position: sticky;
  top: 16px;
  z-index: 100;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(26, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

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

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

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 0, 0, 0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-overlay.open {
  display: flex;
}

.mobile-overlay a {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.85;
}

.mobile-overlay a:hover {
  opacity: 1;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 64px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo-lockup {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 280px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links-grid h4 {
  color: var(--primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-links-grid ul {
  list-style: none;
}

.footer-links-grid li {
  margin-bottom: 8px;
}

.footer-links-grid a {
  color: var(--text);
  font-size: 0.875rem;
  opacity: 0.75;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  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;
}

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

.footer-compliance {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-compliance p {
  margin-bottom: 12px;
}

.footer-company {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-ontario {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-last-updated {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

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

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

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

.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 440px;
  text-align: center;
}

.age-gate-box h2 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.age-gate-box p {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--text);
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.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: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.cookie-banner p {
  font-size: 0.875rem;
  flex: 1;
  min-width: 200px;
}

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

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-content h1 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 24px;
}

.page-content h2 {
  color: var(--text);
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.page-content h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin: 20px 0 10px;
}

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

.page-content ul,
.page-content ol {
  margin: 0 0 16px 24px;
}

.page-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: 0.875rem;
  color: var(--text);
}

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

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

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

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

.form-success {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
}

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

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

.go-page .spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
}

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

.go-page h1 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.go-page p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 8px;
}

.go-ad-label {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}

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

.error-page h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

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

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

.startup-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vision-block {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.growth-metric {
  font-weight: 700;
  color: var(--primary);
}

.investors-note {
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .navbar-wrap {
    padding: 0;
    top: 0;
  }

  .navbar {
    border-radius: 0;
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
