:root {
  --nx-ink: #172033;
  --nx-muted: #5f697a;
  --nx-bg: #f7f3eb;
  --nx-panel: #fffdf8;
  --nx-panel-2: #f1fbf7;
  --nx-line: #ded8cc;
  --nx-blue: #235a7c;
  --nx-blue-soft: #d9ecf6;
  --nx-green: #28745f;
  --nx-green-soft: #dff3ea;
  --nx-coral: #c95645;
  --nx-coral-soft: #fde4dd;
  --nx-gold: #bd8019;
  --nx-gold-soft: #faedc9;
  --nx-shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

* {
  letter-spacing: 0;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 236, 246, 0.85), transparent 32rem),
    linear-gradient(180deg, #fffdf8 0%, var(--nx-bg) 55%, #f4f7fb 100%);
  color: var(--nx-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--nx-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--nx-coral);
}

.nx-skip {
  background: var(--nx-ink);
  color: #fff;
  left: 1rem;
  padding: 0.6rem 0.9rem;
  position: fixed;
  top: 0.8rem;
  z-index: 1100;
}

.nx-site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(222, 216, 204, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nx-logo {
  align-items: center;
  color: var(--nx-ink);
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 800;
  gap: 0.6rem;
  text-decoration: none;
}

.nx-logo-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--nx-green), var(--nx-blue));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.nx-nav-link {
  border-radius: 8px;
  color: var(--nx-muted);
  font-weight: 650;
  padding: 0.55rem 0.8rem !important;
}

.nx-nav-link:hover,
.nx-nav-link:focus,
.nx-nav-link.active {
  background: var(--nx-green-soft);
  color: var(--nx-green) !important;
}

.nx-menu-symbol {
  color: var(--nx-ink);
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 850;
  line-height: 1;
}

.nx-main {
  overflow: hidden;
}

.nx-top-note {
  background: var(--nx-ink);
  color: #fff;
  font-size: 0.95rem;
  padding: 0.65rem 0;
}

.nx-hero {
  padding: 4.25rem 0 3rem;
}

.nx-kicker {
  color: var(--nx-green);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.nx-hero-title,
.nx-page-title {
  font-size: 3.8rem;
  font-weight: 850;
  line-height: 1.03;
  margin-bottom: 1rem;
}

.nx-page-title {
  font-size: 3rem;
}

.nx-lead {
  color: var(--nx-muted);
  font-size: 1.16rem;
  max-width: 42rem;
}

.nx-hero-panel {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(223, 243, 234, 0.95));
  border: 1px solid var(--nx-line);
  border-radius: 8px;
  box-shadow: var(--nx-shadow);
  padding: 1rem;
}

.nx-hero-panel img,
.nx-visual-card img,
.nx-side-image img {
  border-radius: 8px;
  display: block;
  width: 100%;
}

.nx-btn-primary {
  background: var(--nx-green);
  border-color: var(--nx-green);
  color: #fff;
  font-weight: 750;
}

.nx-btn-primary:hover,
.nx-btn-primary:focus {
  background: #1f5f4d;
  border-color: #1f5f4d;
  color: #fff;
  transform: translateY(-1px);
}

.nx-btn-soft {
  background: var(--nx-blue-soft);
  border-color: #bdddec;
  color: var(--nx-blue);
  font-weight: 750;
}

.nx-btn-soft:hover,
.nx-btn-soft:focus {
  background: #c7e5f2;
  border-color: #a9d2e4;
  color: #174763;
}

.nx-section {
  padding: 3.5rem 0;
}

.nx-section-tight {
  padding: 2.35rem 0;
}

.nx-section-title {
  font-size: 2.1rem;
  font-weight: 820;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.nx-section-copy {
  color: var(--nx-muted);
  max-width: 48rem;
}

.nx-band {
  background: rgba(255, 253, 248, 0.7);
  border-bottom: 1px solid rgba(222, 216, 204, 0.72);
  border-top: 1px solid rgba(222, 216, 204, 0.72);
}

.nx-card,
.nx-game-card,
.nx-advice-card,
.nx-path-panel,
.nx-note,
.nx-stat,
.nx-faq-item,
.nx-contact-panel,
.nx-policy-panel,
.nx-cookie-inner {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--nx-line);
  border-radius: 8px;
}

.nx-card,
.nx-game-card,
.nx-advice-card,
.nx-path-panel,
.nx-note,
.nx-stat,
.nx-faq-item,
.nx-contact-panel,
.nx-policy-panel {
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.nx-card {
  height: 100%;
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nx-card:hover {
  border-color: rgba(40, 116, 95, 0.42);
  box-shadow: 0 18px 34px rgba(23, 32, 51, 0.12);
  transform: translateY(-3px);
}

.nx-session-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 850;
  height: 2.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2.5rem;
}

.nx-icon-coral {
  background: var(--nx-coral-soft);
  color: var(--nx-coral);
}

.nx-icon-green {
  background: var(--nx-green-soft);
  color: var(--nx-green);
}

.nx-icon-blue {
  background: var(--nx-blue-soft);
  color: var(--nx-blue);
}

.nx-icon-gold {
  background: var(--nx-gold-soft);
  color: var(--nx-gold);
}

.nx-basics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nx-basic-cell {
  border-left: 4px solid var(--nx-green);
  padding: 1rem 1rem 1rem 1.2rem;
}

.nx-basic-cell:nth-child(2) {
  border-left-color: var(--nx-gold);
}

.nx-basic-cell:nth-child(3) {
  border-left-color: var(--nx-blue);
}

.nx-basic-cell:nth-child(4) {
  border-left-color: var(--nx-coral);
}

.nx-note {
  height: 100%;
  padding: 1.2rem;
}

.nx-note-name {
  color: var(--nx-green);
  font-weight: 800;
  margin-top: 1rem;
}

.nx-stats-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nx-stat {
  padding: 1.4rem;
  text-align: center;
}

.nx-stat strong {
  color: var(--nx-blue);
  display: block;
  font-size: 2.25rem;
  line-height: 1;
}

.nx-stat span {
  color: var(--nx-muted);
  display: block;
  font-weight: 700;
  margin-top: 0.45rem;
}

.nx-faq-item {
  padding: 1.25rem;
}

.nx-faq-item h3,
.nx-card h3,
.nx-game-card h3,
.nx-advice-card h3,
.nx-path-panel h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.nx-final-cta {
  background:
    linear-gradient(135deg, rgba(35, 90, 124, 0.94), rgba(40, 116, 95, 0.94)),
    url("../img/nx-hero-board.svg") center / cover no-repeat;
  color: #fff;
  padding: 3rem 0;
}

.nx-final-cta .nx-section-copy {
  color: rgba(255, 255, 255, 0.86);
}

.nx-filter-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nx-filter-btn {
  background: var(--nx-panel);
  border: 1px solid var(--nx-line);
  border-radius: 8px;
  color: var(--nx-muted);
  font-weight: 750;
  padding: 0.55rem 0.85rem;
}

.nx-filter-btn:hover,
.nx-filter-btn:focus,
.nx-filter-btn[aria-pressed="true"] {
  background: var(--nx-ink);
  border-color: var(--nx-ink);
  color: #fff;
}

.nx-game-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nx-game-card:hover {
  box-shadow: 0 18px 34px rgba(23, 32, 51, 0.13);
  transform: translateY(-3px);
}

.nx-game-art {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    var(--nx-art-bg, var(--nx-blue));
  color: #fff;
  display: flex;
  min-height: 8rem;
  padding: 1rem;
}

.nx-game-art span {
  background: rgba(23, 32, 51, 0.7);
  border-radius: 8px;
  font-weight: 800;
  padding: 0.35rem 0.55rem;
}

.nx-game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.nx-tag {
  align-self: flex-start;
  background: var(--nx-green-soft);
  border-radius: 8px;
  color: var(--nx-green);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
}

.nx-preview-note {
  color: var(--nx-blue);
  font-weight: 750;
  margin-top: 0.8rem;
  min-height: 1.6rem;
}

.nx-path-shell {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 0.95fr 1.25fr;
}

.nx-path-index {
  background: var(--nx-ink);
  border-radius: 8px;
  color: #fff;
  padding: 1.5rem;
}

.nx-path-index ol {
  margin: 0;
  padding-left: 1.25rem;
}

.nx-path-index li + li {
  margin-top: 1rem;
}

.nx-path-panel {
  padding: 1.3rem;
}

.nx-time-pill {
  background: var(--nx-gold-soft);
  border-radius: 8px;
  color: #7d520f;
  display: inline-block;
  font-weight: 800;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.55rem;
}

.nx-checklist {
  display: grid;
  gap: 1rem;
}

.nx-check-block {
  align-items: start;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--nx-line);
  border-radius: 8px;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 2.3rem 1fr;
  padding: 1.1rem;
}

.nx-check-mark {
  align-items: center;
  background: var(--nx-green);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-weight: 900;
  height: 2.2rem;
  justify-content: center;
  width: 2.2rem;
}

.nx-advice-card {
  height: 100%;
  padding: 1.2rem;
}

.nx-contact-panel,
.nx-policy-panel {
  padding: 1.4rem;
}

.nx-form-label {
  color: var(--nx-ink);
  font-weight: 750;
}

.nx-form-control,
.nx-form-select {
  border-color: #cfc7ba;
  border-radius: 8px;
  padding: 0.72rem 0.85rem;
}

.nx-form-control:focus,
.nx-form-select:focus {
  border-color: var(--nx-green);
  box-shadow: 0 0 0 0.22rem rgba(40, 116, 95, 0.18);
}

.nx-form-result {
  color: var(--nx-green);
  font-weight: 800;
  min-height: 1.8rem;
}

.nx-policy-panel h2 {
  font-size: 1.35rem;
  font-weight: 820;
  margin-top: 1.8rem;
}

.nx-policy-panel h2:first-child {
  margin-top: 0;
}

.nx-policy-panel li + li {
  margin-top: 0.45rem;
}

.nx-footer {
  background: #121827;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
}

.nx-footer a {
  color: #fff;
}

.nx-footer a:hover,
.nx-footer a:focus {
  color: #f6d37b;
}

.nx-footer-title {
  color: #fff;
  font-weight: 850;
  margin-bottom: 0.8rem;
}

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

.nx-footer-list li + li {
  margin-top: 0.45rem;
}

.nx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2rem;
  padding-top: 1rem;
}

.nx-cookie-shelf {
  bottom: 1rem;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  z-index: 1080;
}

.nx-cookie-shelf[hidden] {
  display: none;
}

.nx-cookie-inner {
  box-shadow: var(--nx-shadow);
  margin-left: auto;
  max-width: 58rem;
  padding: 1rem;
  pointer-events: auto;
}

.nx-cookie-title {
  font-size: 1rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
}

.nx-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nx-cookie-options {
  background: #f7f3eb;
  border: 1px solid var(--nx-line);
  border-radius: 8px;
  margin-top: 0.75rem;
  padding: 0.8rem;
}

.nx-cookie-options[hidden] {
  display: none;
}

@media (max-width: 991.98px) {
  .nx-hero-title,
  .nx-page-title {
    font-size: 2.55rem;
  }

  .nx-basics-grid,
  .nx-stats-strip,
  .nx-path-shell {
    grid-template-columns: 1fr;
  }

  .nx-cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .nx-hero {
    padding: 2.65rem 0 2rem;
  }

  .nx-section {
    padding: 2.5rem 0;
  }

  .nx-hero-title,
  .nx-page-title {
    font-size: 2.15rem;
  }

  .nx-cookie-shelf {
    bottom: 0;
  }

  .nx-cookie-inner {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .nx-cookie-actions .btn {
    flex: 1 1 100%;
  }
}
