/* ==========================================================================
   BELMOXIS.COM — CORE DESIGN SYSTEM (OPEN SEA DARK SPECIFICATION)
   Theme: Obsidian / Charcoal canvas with Ice Signal (#83c3ff) chromatic switch
   ========================================================================== */

/* Typography: Local Inter WOFF2 definitions */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Chromatic Palette */
  --bx-clr-signal: #83c3ff;
  --bx-clr-signal-hover: #a8d5ff;
  --bx-clr-signal-subtle: rgba(131, 195, 255, 0.12);
  --bx-clr-signal-glow: rgba(131, 195, 255, 0.28);
  
  /* Monochrome Foundation */
  --bx-clr-white: #ffffff;
  --bx-clr-fog: #acadae;
  --bx-clr-iron: #34353c;
  --bx-clr-slate: #3c3d40;
  --bx-clr-graphite: #26272d;
  --bx-clr-charcoal: #1b1d1f;
  --bx-clr-obsidian: #141415;
  --bx-clr-void: #080809;

  /* Card and Border Insets */
  --bx-inset-ring: rgba(255, 255, 255, 0.08) 0px 0px 0px 1px inset;
  --bx-inset-active: rgba(131, 195, 255, 0.3) 0px 0px 0px 1px inset;

  /* Geometry: Pill signature for interactive controls */
  --bx-radius-pill: 999px;
  --bx-radius-card: 10px;
  --bx-radius-inner: 6px;

  /* Typography Stack */
  --bx-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bx-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout Constrains */
  --bx-container-max: 1240px;
  --bx-pad-inline: clamp(16px, 4vw, 32px);
  --bx-section-vpad: clamp(48px, 8vw, 84px);
}

/* Global Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--bx-font-sans);
  background-color: var(--bx-clr-void);
  color: var(--bx-clr-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bx-clr-void);
  color: var(--bx-clr-white);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Accessible Screen Reader Only */
.bx-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip Navigation Link for Keyboard Accessibility */
.bx-skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--bx-clr-signal);
  color: var(--bx-clr-void);
  font-weight: 600;
  border-radius: var(--bx-radius-pill);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
  text-decoration: none;
}
.bx-skip-link:focus {
  transform: translateY(0);
}

/* Focus Visible Styling */
:focus-visible {
  outline: 2px solid var(--bx-clr-signal);
  outline-offset: 3px;
}

/* Container Utility */
.bx-container {
  width: 100%;
  max-width: var(--bx-container-max);
  margin-inline: auto;
  padding-inline: var(--bx-pad-inline);
}

/* Base Headings */
h1, h2, h3, h4 {
  color: var(--bx-clr-white);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Buttons and Capsule Geometry */
.bx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--bx-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 24px;
  border-radius: var(--bx-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  min-height: 48px;
  text-align: center;
}

.bx-btn--primary {
  background: transparent;
  border-color: var(--bx-clr-signal);
  color: var(--bx-clr-white);
  box-shadow: 0 0 16px rgba(131, 195, 255, 0.1);
}
.bx-btn--primary:hover {
  background: var(--bx-clr-signal-subtle);
  border-color: var(--bx-clr-signal-hover);
  color: var(--bx-clr-signal);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(131, 195, 255, 0.2);
}

.bx-btn--secondary {
  background: var(--bx-clr-charcoal);
  /* inset ring handles structure */
  color: var(--bx-clr-white);
}
.bx-btn--secondary:hover {
  background: var(--bx-clr-slate);
  border-color: var(--bx-clr-fog);
  transform: translateY(-1px);
}

.bx-btn--ghost {
  background: transparent;
  color: var(--bx-clr-fog);
  border-color: transparent;
}
.bx-btn--ghost:hover {
  color: var(--bx-clr-white);
  background: var(--bx-clr-charcoal);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.bx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 21, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* background shift creates boundary */
  padding-block: 14px;
}

.bx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bx-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bx-clr-white);
  text-transform: uppercase;
}

.bx-brand__accent {
  color: var(--bx-clr-signal);
}

.bx-brand__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bx-clr-signal);
  display: inline-block;
  margin-left: 2px;
}

.bx-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.bx-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--bx-clr-fog);
  transition: color 0.15s ease;
  position: relative;
  padding-block: 6px;
}

.bx-nav__link:hover {
  color: var(--bx-clr-white);
}

.bx-nav__link--active {
  color: var(--bx-clr-signal);
}

.bx-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.bx-burger {
  display: none;
  background: transparent;
  /* inset ring handles structure */
  border-radius: var(--bx-radius-pill);
  width: 44px;
  height: 44px;
  color: var(--bx-clr-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.bx-burger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.bx-hero {
  position: relative;
  padding-top: clamp(60px, 9vw, 100px);
  padding-bottom: clamp(64px, 10vw, 110px);
  overflow: hidden;
  background-color: var(--bx-clr-charcoal);
  
}

.bx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bx-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
}

.bx-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(131, 195, 255, 0.07) 0%, transparent 65%),
              linear-gradient(to bottom, rgba(8, 8, 9, 0.6) 0%, rgba(8, 8, 9, 0.95) 100%);
}

.bx-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.bx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bx-clr-signal);
  background: rgba(131, 195, 255, 0.08);
  border: 1px solid rgba(131, 195, 255, 0.25);
  border-radius: var(--bx-radius-pill);
  padding: 6px 16px;
  margin-bottom: 24px;
}

.bx-badge__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bx-clr-signal);
  box-shadow: 0 0 8px var(--bx-clr-signal);
}

.bx-hero__title {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.bx-hero__title span {
  color: var(--bx-clr-signal);
}

.bx-hero__lead {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--bx-clr-fog);
  line-height: 1.6;
  max-width: 48em;
  margin-inline: auto;
  margin-bottom: 36px;
}

.bx-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Game Scenery Showcase (Replacing small icon strip) */
.bx-hero__showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  margin-top: 40px;
}

.bx-scene-card {
  position: relative;
  border-radius: var(--bx-radius-card);
  overflow: hidden;
  box-shadow: var(--bx-inset-ring);
  height: 180px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: var(--bx-clr-charcoal);
  text-decoration: none;
}

.bx-scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bx-inset-active), 0 16px 32px rgba(0, 0, 0, 0.5);
}

.bx-scene-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bx-scene-card:hover .bx-scene-card__bg {
  transform: scale(1.06);
}

.bx-scene-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, 0.94) 0%, rgba(8, 8, 9, 0.4) 55%, rgba(8, 8, 9, 0.15) 100%);
}

.bx-scene-card__content {
  position: relative;
  z-index: 2;
}

.bx-scene-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bx-clr-signal);
  margin-bottom: 3px;
}

.bx-scene-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bx-clr-white);
  line-height: 1.25;
}

@media (max-width: 820px) {
  .bx-hero__showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bx-scene-card {
    height: 140px;
  }
}

/* ==========================================================================
   GAMES CATALOG SECTION (SECTION 2)
   ========================================================================== */
.bx-catalog {
  padding-block: var(--bx-section-vpad);
  background-color: var(--bx-clr-void);
}

.bx-head-group {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bx-head-group__text {
  max-width: 640px;
}

.bx-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bx-clr-signal);
  font-weight: 600;
  margin-bottom: 8px;
}

.bx-heading {
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 12px;
}

.bx-subtitle {
  color: var(--bx-clr-fog);
  font-size: 16px;
}

/* Grid layout for cards */
.bx-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.bx-card {
  background-color: var(--bx-clr-charcoal);
  border-radius: var(--bx-radius-card);
  box-shadow: var(--bx-inset-ring);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bx-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bx-inset-active), 0 12px 28px rgba(0, 0, 0, 0.4);
}

.bx-card__media {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: var(--bx-clr-graphite);
  overflow: hidden;
}

.bx-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bx-card:hover .bx-card__media img {
  transform: scale(1.04);
}

.bx-card__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(8, 8, 9, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: var(--bx-inset-ring);
  border-radius: var(--bx-radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bx-clr-white);
}

.bx-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bx-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.bx-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bx-inset-ring);
  flex-shrink: 0;
}

.bx-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bx-card__meta {
  min-width: 0;
}

.bx-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--bx-clr-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.bx-card__dev {
  font-size: 13px;
  color: var(--bx-clr-fog);
}

.bx-card__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 10px;
  
  margin-bottom: 14px;
}

.bx-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bx-rating__star {
  width: 16px;
  height: 16px;
  fill: #f5b942;
  stroke: #f5b942;
}

.bx-rating__val {
  font-size: 13px;
  font-weight: 600;
  color: var(--bx-clr-white);
}

.bx-card__badge {
  font-size: 12px;
  color: var(--bx-clr-signal);
  font-family: var(--bx-font-mono);
}

.bx-card__desc {
  font-size: 14px;
  color: var(--bx-clr-fog);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.bx-card__action {
  margin-top: auto;
}

.bx-card__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--bx-radius-pill);
  background: var(--bx-clr-graphite);
  /* inset ring handles structure */
  color: var(--bx-clr-white);
  transition: all 0.2s ease;
  min-height: 44px;
}

.bx-card__btn:hover {
  background: var(--bx-clr-signal-subtle);
  border-color: var(--bx-clr-signal);
  color: var(--bx-clr-signal);
}

/* ==========================================================================
   COMPARISON MATRIX SECTION (SECTION 3 — P18.3 MANDATORY)
   ========================================================================== */
.bx-matrix-section {
  padding-block: var(--bx-section-vpad);
  background-color: var(--bx-clr-obsidian);
  
}

.bx-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--bx-radius-card);
  box-shadow: var(--bx-inset-ring);
  background: var(--bx-clr-charcoal);
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
}

.bx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 680px;
}

.bx-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--bx-clr-fog);
  padding: 16px 20px 8px;
  font-style: italic;
}

.bx-table thead {
  background-color: var(--bx-clr-graphite);
}

.bx-table th {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 13px;
  color: var(--bx-clr-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--bx-clr-iron);
}

.bx-table th[scope="row"] {
  font-weight: 600;
  color: var(--bx-clr-white);
  white-space: nowrap;
}

.bx-table td {
  padding: 14px 18px;
  color: var(--bx-clr-fog);
  
}

.bx-table tbody tr:last-child td,
.bx-table tbody tr:last-child th {
  border-bottom: none;
}

.bx-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.bx-table-game {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bx-table-game__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.bx-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bx-clr-signal-subtle);
  border: 1px solid rgba(131, 195, 255, 0.25);
  border-radius: var(--bx-radius-pill);
  color: var(--bx-clr-signal);
  font-weight: 600;
  font-size: 12px;
}

.bx-matrix-note {
  font-size: 13px;
  color: var(--bx-clr-fog);
  line-height: 1.6;
  max-width: 820px;
}

/* ==========================================================================
   CONTACT SECTION (SECTION 4 — P3 MANDATORY)
   ========================================================================== */
.bx-touch-section {
  padding-block: var(--bx-section-vpad);
  background-color: var(--bx-clr-void);
}

.bx-touch-card {
  width: 100%;
  background: linear-gradient(145deg, var(--bx-clr-charcoal) 0%, var(--bx-clr-obsidian) 100%);
  border-radius: var(--bx-radius-card);
  box-shadow: var(--bx-inset-ring);
  padding: clamp(32px, 6vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.bx-touch-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bx-clr-signal-subtle);
  border: 1px solid rgba(131, 195, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bx-clr-signal);
}

.bx-touch-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.bx-touch-card__lead {
  max-width: 620px;
  color: var(--bx-clr-fog);
  font-size: 16px;
  line-height: 1.6;
}

.bx-touch-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bx-clr-graphite);
  /* inset ring handles structure */
  border-radius: var(--bx-radius-pill);
  padding: 12px 28px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.bx-touch-box:hover {
  border-color: var(--bx-clr-signal);
  box-shadow: 0 0 20px rgba(131, 195, 255, 0.15);
}

.bx-touch-box svg {
  width: 18px;
  height: 18px;
  stroke: var(--bx-clr-signal);
}

.bx-touch-box a {
  color: var(--bx-clr-white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bx-touch-box a:hover {
  color: var(--bx-clr-signal);
}

/* ==========================================================================
   EDITORIAL & FAQ SECTION (SECTION 5 — P14 FULL WIDTH)
   ========================================================================== */
.bx-faq-section {
  padding-block: var(--bx-section-vpad);
  background-color: var(--bx-clr-charcoal);
  
}

.bx-faq-list {
  width: 100%; /* P14: full container width */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bx-faq-item {
  background-color: var(--bx-clr-obsidian);
  border-radius: var(--bx-radius-card);
  box-shadow: var(--bx-inset-ring);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.bx-faq-item[open] {
  box-shadow: var(--bx-inset-active);
}

.bx-faq-summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--bx-clr-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.bx-faq-summary::-webkit-details-marker {
  display: none;
}

.bx-faq-summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--bx-clr-signal);
  margin-left: 14px;
  transition: transform 0.2s ease;
}

.bx-faq-item[open] .bx-faq-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.bx-faq-content {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bx-clr-fog);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.bx-footer {
  margin-top: auto;
  background-color: var(--bx-clr-obsidian);
  
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: 36px;
}

.bx-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.bx-footer__about p {
  color: var(--bx-clr-fog);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 440px;
}

.bx-footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bx-clr-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.bx-footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bx-footer__link {
  color: var(--bx-clr-fog);
  font-size: 14px;
  transition: color 0.15s ease;
}

.bx-footer__link:hover {
  color: var(--bx-clr-signal);
}

.bx-footer__operator {
  font-size: 13px;
  color: var(--bx-clr-fog);
  line-height: 1.6;
}

.bx-footer__operator strong {
  color: var(--bx-clr-white);
}

.bx-footer__bottom {
  padding-top: 24px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--bx-clr-fog);
}

/* ==========================================================================
   COOKIE BANNER (P2 INFORMATIONAL — ZERO TRACKERS)
   ========================================================================== */
.bx-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 580px;
  margin-left: auto;
  z-index: 1000;
  background: rgba(27, 29, 31, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--bx-inset-ring);
  border-radius: var(--bx-radius-card);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  padding: 20px 24px;
  display: none;
}

.bx-cookie-banner.bx-cookie-banner--show {
  display: block;
}

.bx-cookie-banner__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bx-clr-fog);
  margin-bottom: 16px;
}

.bx-cookie-banner__text a {
  color: var(--bx-clr-signal);
  text-decoration: underline;
}

.bx-cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   LEGAL PAGES STYLING (privacy.html, terms.html, cookies.html)
   ========================================================================== */
.bx-legal-page {
  padding-block: clamp(48px, 7vw, 80px);
  background-color: var(--bx-clr-void);
}

.bx-legal-sheet {
  background-color: var(--bx-clr-charcoal);
  border-radius: var(--bx-radius-card);
  box-shadow: var(--bx-inset-ring);
  padding: clamp(28px, 5vw, 56px);
  max-width: 900px;
  margin-inline: auto;
}

.bx-legal-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bx-legal-header h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 8px;
}

.bx-legal-header p {
  color: var(--bx-clr-fog);
  font-size: 14px;
}

.bx-legal-body {
  font-size: 15px;
  line-height: 1.7;
  color: #d1d2d4;
}

.bx-legal-body h2 {
  font-size: 20px;
  color: var(--bx-clr-white);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  /* background shift creates boundary */
}

.bx-legal-body h3 {
  font-size: 16px;
  color: var(--bx-clr-signal);
  margin-top: 20px;
  margin-bottom: 8px;
}

.bx-legal-body p {
  margin-bottom: 16px;
}

.bx-legal-body ul, .bx-legal-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.bx-legal-body li {
  margin-bottom: 8px;
}

.bx-legal-body a {
  color: var(--bx-clr-signal);
  text-decoration: underline;
}

.bx-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 20px;
  font-size: 13px;
}

.bx-legal-table th, .bx-legal-table td {
  padding: 10px 14px;
  /* inset ring handles structure */
  text-align: left;
}

.bx-legal-table th {
  background: var(--bx-clr-graphite);
  color: var(--bx-clr-white);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .bx-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .bx-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bx-clr-obsidian);
    border-bottom: 1px solid var(--bx-clr-iron);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--bx-pad-inline);
    gap: 16px;
  }

  .bx-nav.bx-nav--open {
    display: flex;
  }

  .bx-burger {
    display: inline-flex;
  }

  .bx-header__actions .bx-btn {
    display: none;
  }

  .bx-deck {
    grid-template-columns: 1fr;
  }
}
