:root {
  --bg: #000814;
  --surface: #001D3D;
  --text: #EDF2FB;
  --muted: #ABC4FF;
  --primary: #003566;
  --secondary: #FFC300;
  --accent: #FFD60A;
  --border: rgba(0,53,102,0.3);
  --startup: #FFC300;
  --pitch: #FFD60A;
  --investors: rgba(171, 196, 255, 0.12);
  --vision: rgba(255, 214, 10, 0.1);
  --growth: rgba(0, 53, 102, 0.55);
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-w: 1200px;
  --nav-h: 60px;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--investors), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, var(--vision), transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, var(--surface) 42%, var(--bg) 100%);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 22px,
      rgba(0, 53, 102, 0.14) 22px,
      rgba(0, 53, 102, 0.14) 23px
    );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 8, 20, 0.7) 100%);
}

body.nav-open,
body.age-locked {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

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

#offers .logo-placeholder img,
#offers .offer-logo {
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

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

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

.hidden {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.disclosure-banner {
  width: 100%;
  background: rgba(237, 242, 251, 0.94);
  color: rgba(0, 53, 102, 0.78);
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  border: none;
  position: relative;
  z-index: 50;
  line-height: 1.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: linear-gradient(90deg, #000814 0%, #001D3D 55%, #00264d 100%);
  border: none;
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

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

.brand-lockup img {
  width: 28px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 2px;
  display: inline-block;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

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

.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 {
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 20, 0.55);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100vh;
  z-index: 960;
  background: linear-gradient(180deg, #000814 0%, #001D3D 55%, #00264d 100%);
  padding: 80px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

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

.mobile-nav .nav-link {
  display: block;
  font-size: 1rem;
  padding: 12px 0;
  color: var(--muted);
}

.mobile-nav .nav-link:hover {
  color: var(--text);
}

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

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--growth), transparent 40%, var(--vision));
  opacity: 0.35;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.footer-legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: var(--muted);
}

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

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

.footer-badges img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-company {
  margin-bottom: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-disclosure {
  font-size: 12px;
  color: rgba(171, 196, 255, 0.75);
  line-height: 1.55;
  max-width: 920px;
  margin-bottom: 12px;
}

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

.footer-updated {
  font-size: 11px;
  color: rgba(171, 196, 255, 0.65);
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--secondary);
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text);
}

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

.legal-page ul,
.legal-page ol {
  padding-left: 1.25rem;
  margin-bottom: 12px;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 0.85rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  color: var(--muted);
}

.legal-page th {
  background: var(--surface);
  color: var(--text);
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

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

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

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

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

.form-submit {
  align-self: flex-start;
  padding: 12px 22px;
  background: var(--secondary);
  color: var(--bg);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

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

.form-success p {
  color: var(--text);
  margin: 0;
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 8, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.age-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

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

.age-btn {
  padding: 12px 16px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.age-btn-confirm {
  background: var(--secondary);
  color: var(--bg);
}

.age-btn-confirm:hover {
  background: var(--accent);
}

.age-btn-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
}

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

.cookie-text {
  flex: 1 1 280px;
  font-size: 0.875rem;
  color: var(--muted);
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}

.cookie-btn-accept {
  background: var(--secondary);
  color: var(--bg);
  border-color: var(--secondary);
}

.cookie-btn-accept:hover {
  background: var(--accent);
}

.page-404 {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.page-404 h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--secondary);
}

.page-404 p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 420px;
}

.btn-home {
  display: inline-block;
  padding: 12px 22px;
  background: var(--secondary);
  color: var(--bg);
  font-weight: 700;
}

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

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.is-shown {
  opacity: 1;
  transform: translateY(0);
}

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

  .burger-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .disclosure-banner {
    font-size: 11px;
  }

  .footer-top {
    flex-direction: column;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .age-actions {
    gap: 8px;
  }
}
