:root {
  --bg: #020617;
  --surface: #0F172A;
  --text: #F8FAFC;
  --muted: #64748B;
  --primary: #BEF264;
  --secondary: #334155;
  --accent: #84CC16;
  --border: rgba(190,242,100,0.2);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, "Lucida Console", monospace;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(132, 204, 22, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(190, 242, 100, 0.08), transparent 50%),
    linear-gradient(180deg, #020617 0%, #0a1224 40%, #020617 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.science-panel,
.research-rail,
.academic-note,
.data-footnote,
.papers-cite {
  position: relative;
}

@supports (font-synthesis: none) {
  .science-research-academic-data-papers {
    font-family: science, research, academic, data, papers, var(--serif);
  }
}

.disclosure-banner {
  background: #f8fafc;
  color: #1e293b;
  border-left: 4px solid #f59e0b;
  padding: 10px 16px 10px 20px;
  font-size: 12px;
  font-family: var(--sans);
  line-height: 1.45;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid var(--border);
  height: 52px;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 52px;
  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;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.brand-lockup img {
  width: 32px;
  height: 32px;
  display: block;
}

.nav-cta {
  margin-left: auto;
  margin-right: 8px;
  color: var(--bg);
  background: var(--primary);
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.burger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 88vw;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 120;
  padding: 72px 24px 32px;
  overflow-y: auto;
}

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

.nav-drawer a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--sans);
  border-bottom: 1px solid var(--border);
}

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

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 110;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 16px;
}

.hero-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-bar h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-bar .hero-sub {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  max-width: 36ch;
  text-align: right;
}

@media (max-width: 768px) {
  .hero-bar {
    padding: 16px;
  }

  .hero-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-bar h1 {
    max-width: none;
  }

  .hero-bar .hero-sub {
    text-align: center;
  }
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 56px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent 48px, rgba(190, 242, 100, 0.03) 48px, rgba(190, 242, 100, 0.03) 49px),
    linear-gradient(0deg, transparent 0, transparent 48px, rgba(190, 242, 100, 0.03) 48px, rgba(190, 242, 100, 0.03) 49px);
  background-size: 49px 49px;
  pointer-events: none;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

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

.section h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin: 0 0 16px;
}

.section p {
  color: rgba(248, 250, 252, 0.88);
  max-width: 68ch;
}

.muted {
  color: var(--muted);
}

.offers-section {
  padding: 48px 0 64px;
  background-color: var(--surface);
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.88)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offers-section h2 {
  text-align: center;
  margin-bottom: 8px;
}

.offers-intro {
  text-align: center;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 0 auto 28px;
  max-width: 52ch;
}

.offers-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .offers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .offers-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.offer-card {
  background: #0b1220;
  border: 1px solid rgba(190, 242, 100, 0.28);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.offer-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  color: inherit;
}

.offer-card .offer-logo {
  width: 120px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

.offer-card .offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
}

.offer-card .offer-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: var(--text);
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.offer-bonus {
  margin: 0;
  color: var(--primary);
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(0.8rem, 2.4vw, 0.98rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.offer-terms {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--sans);
}

.offer-desc {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--sans);
  line-height: 1.4;
}

.offer-cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}

.offer-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.site-footer {
  background: #01040d;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  font-family: var(--sans);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.8);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}

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

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

.footer-badges a,
.footer-badges span {
  display: inline-flex;
  align-items: center;
}

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

.footer-legal {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer-legal p {
  margin: 0 0 10px;
  max-width: none;
  color: var(--muted);
}

.footer-updated {
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-top: 16px;
}

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

.age-gate {
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.age-gate.active {
  display: flex;
}

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

.age-dialog h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.age-dialog p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  margin: 0 0 20px;
}

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

.age-actions button {
  font-family: var(--sans);
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.age-actions button[data-age-gate="confirm"] {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--accent);
}

.age-actions button[data-age-gate="decline"] {
  background: transparent;
  color: var(--text);
}

.cookie-banner {
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
  display: none;
  font-family: var(--sans);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: rgba(248, 250, 252, 0.85);
}

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

.cookie-actions button {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  border: 1px solid var(--border);
}

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

.cookie-reject {
  background: transparent;
  color: var(--text);
}

.page-hero {
  padding: 36px 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

.prose h2 {
  margin-top: 2em;
  font-size: 1.25rem;
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 1.05rem;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
}

.decor-clip {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 480px) {
  .offer-card .offer-logo {
    width: 100px;
    height: 48px;
  }

  .offer-card .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .decor-img {
    max-width: 100%;
    max-height: 200px;
  }

  .decor-clip,
  .race-rail,
  .fit-bg,
  .license-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .wrap,
  .offers-section,
  .section {
    overflow-x: hidden;
  }
}

.eq {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--primary);
}

.footnote {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 24px;
  font-family: var(--sans);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 520px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.95rem;
}

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

.contact-form .error {
  color: #fbbf24;
  font-size: 0.8rem;
  display: none;
}

.contact-form .error.show {
  display: block;
}

.contact-form button {
  justify-self: start;
  background: var(--primary);
  color: var(--bg);
  border: none;
  padding: 12px 20px;
  font-family: var(--sans);
  font-weight: 700;
  cursor: pointer;
}

.form-success {
  display: none;
  padding: 20px;
  border: 1px solid var(--border);
  background: rgba(190, 242, 100, 0.08);
  font-family: var(--sans);
}

.form-success.show {
  display: block;
}

.redirect-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.redirect-box {
  max-width: 480px;
}

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

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

.ad-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spinner {
    animation: none;
  }

  .nav-drawer,
  .nav-overlay,
  .offer-card {
    transition: none;
  }
}

.license-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 24px;
}

.license-top h1 {
  margin: 0 0 12px;
  max-width: 18ch;
}

.license-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 16px;
}

.license-stat-row div {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
  font-family: var(--sans);
  font-size: 0.88rem;
}

.license-stat-row strong {
  display: block;
  font-family: var(--mono);
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.license-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

.license-pull {
  margin: 28px 0;
  padding: 24px;
  background: rgba(190, 242, 100, 0.07);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 1.15rem;
  font-style: italic;
}

.license-img-wrap {
  margin: 28px 0;
  max-width: 100%;
  overflow: hidden;
}

.license-img-wrap img {
  max-width: min(500px, 100%);
  max-height: 320px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--border);
}

@media (max-width: 480px) {
  .license-img-wrap img {
    max-width: 100%;
    max-height: 200px;
  }

  .license-top,
  .license-article,
  .license-stat-row {
    overflow-x: hidden;
  }
}
