:root {
  --ink: #071425;
  --navy: #061a32;
  --navy-2: #0a2546;
  --blue: #1677ff;
  --blue-2: #53a4ff;
  --cyan: #7de7ff;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dce3ec;
  --muted: #5f6f82;
  --muted-light: #9eb0c4;
  --green: #16a77c;
  --red: #e95757;
  --max: 1240px;
  --font: "Inter Tight", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-header .nav {
  position: relative;
  gap: 20px;
}

.product-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #34465b;
  font-size: 13px;
  font-weight: 650;
}

.product-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 0;
  transition: color .2s ease;
}

.product-nav > a:hover,
.product-nav > a[aria-current="page"] {
  color: var(--blue);
}

.nav-badge {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(22, 119, 255, .1);
  color: var(--blue);
  font: 700 8px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #c7d2df;
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
  color: var(--navy);
  font-size: 13px;
  font-weight: 720;
  transition: border-color .2s ease, background .2s ease;
}

.nav-login:hover {
  border-color: #8ca0b7;
  background: var(--white);
}

.nav-buy.button {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid #c7d2df;
  border-radius: 8px;
  background: rgba(255, 255, 255, .75);
  color: var(--navy);
  cursor: pointer;
  font: 700 12px/1 var(--font);
}

.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 4px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle i {
  position: relative;
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle i::before { top: -6px; }
.nav-toggle i::after { top: 6px; }

.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  z-index: 80;
  padding: 10px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: rgba(246, 248, 251, .98);
  box-shadow: 0 22px 46px rgba(6, 26, 50, .16);
  backdrop-filter: blur(18px);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 0 13px;
  border-radius: 8px;
  color: #263b52;
  font-size: 14px;
  font-weight: 680;
}

.mobile-menu a:hover { background: var(--white); }
.mobile-menu a span { color: var(--blue); font: 700 9px/1 var(--mono); text-transform: uppercase; }
.mobile-menu .mobile-menu-buy { justify-content: center; margin-top: 7px; background: var(--blue); color: var(--white); }
.mobile-menu .mobile-menu-buy:hover { background: #0869ed; }

@media (max-width: 1040px) {
  .product-nav { gap: 15px; }
  .site-header .nav { gap: 14px; }
}

@media (max-width: 860px) {
  .product-nav,
  .product-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Shared styles for the product pages. */
body.product-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body.product-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(10, 37, 70, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 37, 70, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.product-page * { box-sizing: border-box; }
.product-page a { color: inherit; text-decoration: none; }
.product-page button,
.product-page input,
.product-page textarea,
.product-page select { font: inherit; }
.product-page button,
.product-page a { -webkit-tap-highlight-color: transparent; }
.product-page .shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.product-page .market-bar {
  height: 34px;
  overflow: hidden;
  background: var(--navy);
  color: #d9e8f8;
  font: 10px/34px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-page .market-track { width: max-content; display: flex; animation: marketTicker 28s linear infinite; }
.product-page .market-group { display: flex; align-items: center; gap: 38px; padding-right: 38px; }
.product-page .market-item { display: inline-flex; gap: 9px; white-space: nowrap; }
.product-page .market-item b { color: #fff; font-weight: 600; }
.product-page .market-item .up { color: #5be1b7; }
.product-page .market-item .down { color: #ff8585; }

@keyframes marketTicker { to { transform: translateX(-50%); } }

.product-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 236, .82);
  background: rgba(246, 248, 251, .92);
  backdrop-filter: blur(18px);
}

.product-page .nav { min-height: 74px; display: flex; align-items: center; }
.product-page .brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; font-size: 21px; font-weight: 760; letter-spacing: -.045em; }
.product-page .brand-mark { width: 27px; height: 27px; position: relative; display: inline-block; }
.product-page .brand-mark::before,
.product-page .brand-mark::after { content: ""; position: absolute; bottom: 3px; width: 8px; background: var(--blue); transform: skewY(-24deg); }
.product-page .brand-mark::before { left: 3px; height: 14px; }
.product-page .brand-mark::after { right: 3px; height: 23px; background: var(--navy); }

.product-page .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.product-page .button:hover { transform: translateY(-2px); }
.product-page .button-blue { background: var(--blue); color: var(--white); box-shadow: 0 12px 28px rgba(22, 119, 255, .22); }
.product-page .button-blue:hover { background: #0869ed; box-shadow: 0 16px 34px rgba(22, 119, 255, .3); }
.product-page .button-dark { background: var(--navy); color: var(--white); }
.product-page .button-line { border-color: #bfcbd9; color: var(--ink); background: rgba(255, 255, 255, .4); }
.product-page .button-arrow::after { content: "→"; font-size: 18px; transition: transform .2s ease; }
.product-page .button-arrow:hover::after { transform: translateX(4px); }

.page-main { min-height: calc(100vh - 108px); }
.page-hero { position: relative; overflow: clip; padding: 82px 0 38px; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; top: -220px; right: -130px; border: 96px solid rgba(22, 119, 255, .065); border-radius: 50%; }
.page-eyebrow { margin: 0 0 18px; color: var(--blue); font: 700 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.page-title { max-width: 900px; margin: 0; font-size: clamp(48px, 6.5vw, 86px); line-height: .96; letter-spacing: -.066em; font-weight: 510; }
.page-title strong { color: var(--blue); font-weight: 760; }
.page-lead { max-width: 720px; margin: 28px 0 0; color: #475a6f; font-size: 18px; line-height: 1.6; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.page-section { padding: 38px 0 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: 70px; align-items: start; }
.page-copy { padding-top: 16px; }
.page-copy h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.02; letter-spacing: -.05em; font-weight: 540; }
.page-copy h2 strong { color: var(--blue); font-weight: 760; }
.page-copy > p { margin: 23px 0 0; color: #53667a; font-size: 16px; line-height: 1.65; }

.benefit-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid #cdd7e2; }
.benefit-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #cdd7e2; }
.benefit-item b { color: var(--blue); font: 700 11px/1.6 var(--mono); }
.benefit-item span { color: #2e4359; font-size: 14px; line-height: 1.55; }

.form-card,
.feature-card {
  border: 1px solid #cdd7e2;
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 22px 64px rgba(6, 26, 50, .09);
}

.form-card { padding: 30px; }
.form-card h2,
.form-card h3 { margin: 0; font-size: 28px; line-height: 1.1; letter-spacing: -.035em; }
.form-card > p { margin: 10px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: #32485f; font-size: 11px; font-weight: 720; letter-spacing: .02em; }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  border: 1px solid #c7d2df;
  border-radius: 7px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 119, 255, .12); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--red); }
.field-help { min-height: 15px; color: var(--red); font-size: 10px; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: #617286; font-size: 11px; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--blue); }
.form-submit { grid-column: 1 / -1; width: 100%; margin-top: 3px; }
.form-submit[disabled] { opacity: .62; cursor: wait; transform: none; }
.form-note { grid-column: 1 / -1; color: #7a8999; font: 9px/1.5 var(--mono); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.form-success-panel { display: none; min-height: 330px; align-items: center; justify-content: center; text-align: center; }
.form-success-panel.visible { display: flex; }
.success-mark { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: rgba(22, 167, 124, .12); color: var(--green); font-size: 27px; font-weight: 800; }
.form-success-panel h3 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.form-success-panel p { max-width: 420px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-success-panel .button { margin-top: 23px; }

.game-stage { display: grid; grid-template-columns: 1.04fr .96fr; overflow: hidden; border: 1px solid #cdd7e2; border-radius: 16px; background: var(--navy); box-shadow: 0 25px 70px rgba(6, 26, 50, .18); }
.game-copy { padding: clamp(32px, 5vw, 64px); color: #fff; }
.game-copy .page-eyebrow { color: var(--cyan); }
.game-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: .98; letter-spacing: -.055em; font-weight: 520; }
.game-copy h2 strong { color: var(--cyan); }
.game-copy p { max-width: 600px; margin: 22px 0 0; color: #b8c9db; font-size: 16px; line-height: 1.6; }
.game-copy .button { margin-top: 28px; background: #fff; color: var(--navy); }
.game-board { position: relative; min-height: 500px; padding: 34px; background: linear-gradient(145deg, rgba(22,119,255,.22), rgba(125,231,255,.05)); }
.game-board::before { content: ""; position: absolute; inset: 0; opacity: .28; background: linear-gradient(rgba(125,231,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(125,231,255,.12) 1px, transparent 1px); background-size: 42px 42px; }
.game-panel { position: relative; z-index: 1; height: 100%; display: grid; align-content: center; gap: 14px; }
.game-card { padding: 19px; border: 1px solid rgba(174, 205, 234, .22); border-radius: 10px; background: rgba(5, 26, 51, .78); color: #d8e8f8; backdrop-filter: blur(12px); }
.game-card small { color: var(--cyan); font: 700 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.game-card h3 { margin: 9px 0 4px; font-size: 18px; }
.game-card p { margin: 0; color: #9fb2c7; font-size: 12px; }
.game-card.locked { opacity: .58; transform: translateX(28px); }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(1, 13, 26, .72); backdrop-filter: blur(10px); }
.modal-card { width: min(100%, 520px); padding: 34px; border: 1px solid rgba(174,205,234,.22); border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.modal-card small { color: var(--cyan); font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.modal-card h2 { margin: 14px 0 0; font-size: 34px; line-height: 1.05; letter-spacing: -.04em; }
.modal-card p { margin: 16px 0 0; color: #b5c7d8; font-size: 14px; line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }
.modal-actions .button-line { color: #fff; border-color: rgba(255,255,255,.28); background: transparent; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr); gap: 38px; align-items: start; }
.offer-card { overflow: hidden; border: 1px solid #c9d5e2; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 24px 70px rgba(6,26,50,.18); }
.offer-card-top { padding: 34px; border-bottom: 1px solid rgba(158,176,196,.18); }
.offer-card-top small { color: var(--cyan); font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.offer-card-top h2 { margin: 16px 0 0; font-size: 40px; line-height: 1; letter-spacing: -.045em; }
.offer-price { display: flex; align-items: end; gap: 11px; margin-top: 24px; }
.offer-price strong { font-size: 32px; letter-spacing: -.04em; }
.offer-price span { padding-bottom: 5px; color: #a9bdd1; font-size: 12px; }
.offer-list { display: grid; gap: 0; padding: 10px 34px 28px; }
.offer-list span { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(158,176,196,.12); color: #d7e4f0; font-size: 13px; }
.offer-list span::before { content: "✓"; color: #5be1b7; font-weight: 800; }
.checkout-note { margin-top: 14px; color: #78899b; font: 9px/1.55 var(--mono); }

.steps-band { padding: 34px 0 14px; }
.steps-line { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #cdd7e2; border-radius: 12px; background: rgba(255,255,255,.68); }
.step-item { padding: 23px; border-right: 1px solid #cdd7e2; }
.step-item:last-child { border-right: 0; }
.step-item b { color: var(--blue); font: 700 10px/1 var(--mono); }
.step-item h3 { margin: 11px 0 5px; font-size: 16px; }
.step-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.product-footer { padding: 44px 0 25px; background: var(--navy); color: #8fa5ba; }
.product-footer-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.product-footer .brand { color: #fff; }
.product-footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; }
.product-footer-nav a:hover { color: #fff; }
.product-footer-note { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(158,176,196,.14); font: 9px/1.5 var(--mono); }

@media (max-width: 980px) {
  .page-grid,
  .checkout-layout,
  .game-stage { grid-template-columns: 1fr; }
  .page-grid { gap: 44px; }
  .game-board { min-height: 410px; }
}

@media (max-width: 700px) {
  .product-page .shell { width: min(calc(100% - 32px), var(--max)); }
  .product-page .market-bar { height: 28px; line-height: 28px; }
  .product-page .nav { min-height: 64px; }
  .page-hero { padding-top: 54px; }
  .page-title { font-size: clamp(44px, 13vw, 64px); }
  .page-lead { font-size: 16px; }
  .page-actions { align-items: stretch; flex-direction: column; }
  .page-actions .button { width: 100%; }
  .page-section { padding-bottom: 70px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full,
  .consent,
  .form-submit,
  .form-note { grid-column: 1; }
  .game-copy { padding: 34px 24px; }
  .game-board { min-height: 380px; padding: 22px; }
  .steps-line { grid-template-columns: 1fr; }
  .step-item { border-right: 0; border-bottom: 1px solid #cdd7e2; }
  .step-item:last-child { border-bottom: 0; }
  .product-footer-line,
  .product-footer-note { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .product-page *,
  .product-page *::before,
  .product-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
