/* Supplied Competitive Dark presentation for every route. */

/* BHARAT ESPORTS HUB — COMPETITIVE DARK
   Presentation layer for the existing 24 routes. Preserve existing HTML content,
   hrefs, form wiring, card filters, guide dialogs and menu JavaScript.
   Load asset-map.css after this stylesheet; it maps the six heroes to packaged files.
   Load after existing presentation CSS, or reconcile as a deliberate replacement.
   1440px / 390px are the rendered artboards. Other breakpoints are suggested integration specifications, not browser-tested results. All layout values are CSS pixels; UI PNG exports are 2×.
*/

@font-face {
  font-family: 'BEH Display';
  src: url('assets/competitive-dark/fonts/BarlowCondensed-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'BEH Display Upright';
  src: url('assets/competitive-dark/fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('assets/competitive-dark/fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('assets/competitive-dark/fonts/OpenSans-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --beh-bg: #050C14;
  --beh-bg-deep: #040A11;
  --beh-surface: #0D1927;
  --beh-surface-raised: #111F30;
  --beh-surface-hover: #192E43;
  --beh-text: #F4F6F8;
  --beh-muted: #B6C1CD;
  --beh-subtle: #8EA2B5;
  --beh-orange: #FF7A00;
  --beh-orange-light: #FFA34E;
  --beh-orange-ink: #08111C;
  --beh-cyan: #46B5F1;
  --beh-line: #2C435A;
  --beh-line-subtle: #23394D;
  --beh-focus: #76D1FF;
  --beh-success: #5ED3A2;
  --beh-error: #FF9D9D;
  --beh-font-body: 'Open Sans', Arial, sans-serif;
  --beh-font-display: 'BEH Display', 'Barlow Condensed', 'Nimbus Sans Narrow', sans-serif;
  --beh-font-label: 'BEH Display Upright', 'Barlow Condensed', 'Open Sans Condensed', sans-serif;
  --beh-container: 1312px;
  --beh-gutter: 64px;
  --beh-gap: 24px;
  --beh-section-space: 80px;
  --beh-nav-height: 96px;
  --beh-cut: 12px;
  --beh-ease: cubic-bezier(.2,.7,.2,1);
  /* Legacy source aliases avoid unintended light surfaces in retained rules. */
  --paper: var(--beh-bg);
  --ink: var(--beh-text);
  --muted: var(--beh-muted);
  --line: var(--beh-line-subtle);
  --orange: var(--beh-orange);
  --radius: 0px;
  --nav-height: var(--beh-nav-height);
}

:root[data-theme="dark"] *,
:root[data-theme="dark"] *::before,
:root[data-theme="dark"] *::after {
  box-sizing: border-box;
}

:root[data-theme="dark"] {
  background: var(--beh-bg);
  scroll-padding-top: calc(var(--beh-nav-height) + 24px);
}

:root[data-theme="dark"] body {
  margin: 0;
  color: var(--beh-text);
  background: var(--beh-bg);
  font-family: var(--beh-font-body);
  font-size: 16px;
  line-height: 1.65;
}

:root[data-theme="dark"] body.menu-open,
:root[data-theme="dark"] body.reading {
  overflow: hidden;
}

:root[data-theme="dark"] [hidden] {
  display: none !important;
}

:root[data-theme="dark"] img,
:root[data-theme="dark"] svg {
  display: block;
  max-width: 100%;
}

:root[data-theme="dark"] img {
  height: auto;
}

:root[data-theme="dark"] a {
  color: inherit;
  text-decoration: none;
}

:root[data-theme="dark"] button,
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  font: inherit;
}

:root[data-theme="dark"] button,
:root[data-theme="dark"] a,
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  -webkit-tap-highlight-color: transparent;
}

:root[data-theme="dark"] button {
  cursor: pointer;
}

:root[data-theme="dark"] :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--beh-focus);
  outline-offset: 5px;
}

:root[data-theme="dark"] :where(input, select, textarea):focus-visible {
  outline-offset: 2px;
}

:root[data-theme="dark"] :where(p, h1, h2, h3, h4) {
  margin-block: 0;
}

:root[data-theme="dark"] p {
  color: var(--beh-muted);
}

:root[data-theme="dark"] p + p {
  margin-top: 16px;
}

:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2 {
  font-family: var(--beh-font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.012em;
  text-wrap: balance;
}

:root[data-theme="dark"] h1 {
  font-size: 76px;
  line-height: 76px;
}

:root[data-theme="dark"] h2 {
  font-size: 46px;
  line-height: 49px;
}

:root[data-theme="dark"] h3 {
  font-family: var(--beh-font-label);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

:root[data-theme="dark"] h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

:root[data-theme="dark"] .container {
  width: min(var(--beh-container), calc(100% - 2 * var(--beh-gutter)));
  margin-inline: auto;
}

:root[data-theme="dark"] .section {
  padding-block: var(--beh-section-space);
}

:root[data-theme="dark"] .section.tinted {
  background: #08121E;
  border-block: 1px solid #14283A;
}

:root[data-theme="dark"] .section.dark {
  background: var(--beh-bg-deep);
}

:root[data-theme="dark"] .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

:root[data-theme="dark"] .section-head > div {
  max-width: 760px;
}

:root[data-theme="dark"] .section-head p {
  margin-top: 14px;
  max-width: 680px;
}

:root[data-theme="dark"] .section-kicker,
:root[data-theme="dark"] .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--beh-orange-light);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
}

:root[data-theme="dark"] .section-kicker::before,
:root[data-theme="dark"] .eyebrow::before {
  content: '';
  flex: 0 0 38px;
  height: 5px;
  background: var(--beh-orange);
  transform: skewX(-24deg);
}

:root[data-theme="dark"] .accent,
:root[data-theme="dark"] .accent-green {
  color: var(--beh-orange-light);
}

:root[data-theme="dark"] .lead {
  font-size: 18px;
  line-height: 1.7;
}

:root[data-theme="dark"] .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
  overflow: hidden;
}

:root[data-theme="dark"] .skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  color: var(--beh-orange-ink);
  background: var(--beh-orange);
}

:root[data-theme="dark"] .skip-link:focus {
  top: 10px;
}

/* Navigation — exact source labels and original logo assets. */

:root[data-theme="dark"] .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5,12,20,.96);
  border-bottom: 1px solid var(--beh-line-subtle);
  backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--beh-nav-height);
}

:root[data-theme="dark"] .brand {
  flex: 0 0 auto;
  width: 190px;
}

:root[data-theme="dark"] .brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

:root[data-theme="dark"] .brand-logo-light {
  display: none !important;
}

:root[data-theme="dark"] .brand-logo-dark {
  display: block !important;
}

:root[data-theme="dark"] .nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

:root[data-theme="dark"] .nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #DAE3ED;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

:root[data-theme="dark"] .nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--beh-orange);
  transform: scaleX(0);
  transition: transform 160ms var(--beh-ease);
}

:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .nav-links a.active,
:root[data-theme="dark"] .nav-links a[aria-current='page'] {
  color: var(--beh-text);
}

:root[data-theme="dark"] .nav-links a.active::after,
:root[data-theme="dark"] .nav-links a[aria-current='page']::after,
:root[data-theme="dark"] .nav-links a:hover::after {
  transform: scaleX(1);
}

:root[data-theme="dark"] .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

:root[data-theme="dark"] .nav-cta {
  white-space: nowrap;
}

:root[data-theme="dark"] .mobile-partner,
:root[data-theme="dark"] .menu-button,
:root[data-theme="dark"] .menu-backdrop {
  display: none;
}

/* Buttons use a decorative clipped pseudo-element: the actual focus outline is not clipped. */

:root[data-theme="dark"] .button,
:root[data-theme="dark"] .nav-cta {
  isolation: isolate;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-radius: 0;
  color: var(--beh-orange-ink);
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

:root[data-theme="dark"] .button::before,
:root[data-theme="dark"] .nav-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(130deg,#FF921F,#FF7200);
  clip-path: polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%);
  transition: filter 160ms var(--beh-ease);
}

:root[data-theme="dark"] .button:hover::before,
:root[data-theme="dark"] .nav-cta:hover::before {
  filter: brightness(1.08);
}

:root[data-theme="dark"] .button.secondary {
  color: var(--beh-text);
}

:root[data-theme="dark"] .button.secondary::before {
  background: var(--beh-line);
}

:root[data-theme="dark"] .button.secondary::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: var(--beh-surface);
  clip-path: polygon(11px 0,100% 0,calc(100% - 11px) 100%,0 100%);
}

:root[data-theme="dark"] .button.green {
  color: var(--beh-orange-ink);
}

:root[data-theme="dark"] .arrow,
:root[data-theme="dark"] [data-icon] svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

:root[data-theme="dark"] .text-link,
:root[data-theme="dark"] .read-guide {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--beh-orange-light);
  font-size: 14px;
  font-weight: 600;
}

:root[data-theme="dark"] .text-link:hover,
:root[data-theme="dark"] .read-guide:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Hero artwork: supply variable from the asset map; text remains DOM content. */

:root[data-theme="dark"] .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 510px;
  background-color: var(--beh-bg);
  background-image: none;
  border-bottom: 1px solid var(--beh-line-subtle);
}

:root[data-theme="dark"] .hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: min(56vw,790px);
  background-image: var(--hero-art);
  background-size: cover;
  background-position: center;
}

:root[data-theme="dark"] .hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,#050C14 0%,#050C14 35%,rgba(5,12,20,.88) 47%,rgba(5,12,20,.04) 76%),linear-gradient(0deg,#050C14 0%,transparent 18%);
}

:root[data-theme="dark"] .hero-inner {
  display: flex;
  align-items: center;
  min-height: 510px;
  padding-block: 56px;
}

:root[data-theme="dark"] .hero-copy {
  width: 55%;
  max-width: 690px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

:root[data-theme="dark"] .hero-copy > p {
  margin-top: 20px;
  max-width: 560px;
  font-size: 18px;
  line-height: 28px;
  color: #D0DAE4;
}

:root[data-theme="dark"] .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

:root[data-theme="dark"] .hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--beh-muted);
}

:root[data-theme="dark"] .hero-note b {
  color: #E6EDF4;
}

:root[data-theme="dark"] .pulse {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--beh-orange);
  box-shadow: 0 0 0 4px rgba(255,122,0,.12);
}

:root[data-theme="dark"] .hero-mobile-art {
  display: none;
}

/* Existing content structures. */

:root[data-theme="dark"] .trust-strip {
  padding-block: 24px;
  background: #091420;
  border-bottom: 1px solid var(--beh-line-subtle);
}

:root[data-theme="dark"] .trust-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

:root[data-theme="dark"] .stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: 24px;
  border-left: 1px solid var(--beh-line-subtle);
}

:root[data-theme="dark"] .stat:first-child {
  border-left: 0;
  padding-left: 0;
}

:root[data-theme="dark"] .stat-mark {
  color: var(--beh-orange);
}

:root[data-theme="dark"] .stat strong {
  display: block;
  color: var(--beh-text);
  font-family: var(--beh-font-label);
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
}

:root[data-theme="dark"] .stat span {
  display: block;
  margin-top: 4px;
  color: var(--beh-muted);
  font-size: 12px;
}

:root[data-theme="dark"] .purpose-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

:root[data-theme="dark"] .purpose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  min-height: 240px;
  padding: 25px;
  color: var(--beh-text);
  background: linear-gradient(140deg,#101F30,#0B1521);
  border: 1px solid var(--beh-line);
  border-radius: 0;
  box-shadow: none;
}

:root[data-theme="dark"] .purpose-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 24px;
  width: 44px;
  height: 3px;
  background: var(--beh-orange);
  transform: skewX(-24deg);
}

:root[data-theme="dark"] .purpose-card:hover {
  border-color: #6C94B0;
  transform: none;
  box-shadow: none;
}

:root[data-theme="dark"] .purpose-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
}

:root[data-theme="dark"] .purpose-card .icon-box {
  margin-bottom: 20px;
}

:root[data-theme="dark"] .icon-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #4F4231;
  border-radius: 0;
  color: var(--beh-orange-light);
  background: #2A211A;
}

:root[data-theme="dark"] .card-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--beh-orange-light);
}

:root[data-theme="dark"] .feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

:root[data-theme="dark"] .feature-copy > p {
  margin-top: 20px;
}

:root[data-theme="dark"] .feature-copy .button {
  margin-top: 24px;
}

:root[data-theme="dark"] .feature-image {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  overflow: hidden;
  background: #0C1724;
  box-shadow: none;
}

:root[data-theme="dark"] .feature-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

:root[data-theme="dark"] .check-list {
  display: grid;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

:root[data-theme="dark"] .check-list li {
  display: flex;
  gap: 13px;
  align-items: start;
}

:root[data-theme="dark"] .check {
  color: var(--beh-orange-light);
}

:root[data-theme="dark"] .check-list strong,
:root[data-theme="dark"] .check-list b {
  color: var(--beh-text);
  font-size: 15px;
}

:root[data-theme="dark"] .check-list p,
:root[data-theme="dark"] .check-list span {
  color: var(--beh-muted);
  font-size: 14px;
}

:root[data-theme="dark"] .card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

:root[data-theme="dark"] .content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  background: linear-gradient(140deg,#112033,#0B1622);
  box-shadow: none;
}

:root[data-theme="dark"] .content-card:hover {
  transform: none;
  border-color: #6C94B0;
  box-shadow: none;
}

:root[data-theme="dark"] .card-media {
  position: relative;
  aspect-ratio: 16/9;
  height: auto;
  overflow: hidden;
  background: #0A1521;
}

:root[data-theme="dark"] .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root[data-theme="dark"] .card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent,#0D1927);
  pointer-events: none;
}

:root[data-theme="dark"] .card-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

:root[data-theme="dark"] .card-body p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
}

:root[data-theme="dark"] .card-body .read-guide {
  align-self: start;
  margin-top: 16px;
}

:root[data-theme="dark"] .tag {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  border: 1px solid #81613D;
  border-radius: 0;
  background: rgba(60,38,19,.92);
  color: #FFE4C8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:root[data-theme="dark"] .meta {
  color: var(--beh-orange-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

:root[data-theme="dark"] .tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin-bottom: 28px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

:root[data-theme="dark"] .tab {
  min-height: 44px;
  padding: 8px 22px;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  background: #0D1927;
  color: var(--beh-muted);
  font-size: 14px;
  font-weight: 600;
}

:root[data-theme="dark"] .tab.active,
:root[data-theme="dark"] .tab[aria-pressed='true'],
:root[data-theme="dark"] .tab[aria-selected='true'] {
  background: var(--beh-orange);
  border-color: var(--beh-orange);
  color: var(--beh-orange-ink);
}

:root[data-theme="dark"] .logo-wall {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  border: 1px solid var(--beh-line);
  border-radius: 0;
  background: #0B1724;
}

:root[data-theme="dark"] .logo-wall > * {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 14px;
  font-family: var(--beh-font-label);
  font-size: 22px;
  color: #D3DDE7;
  border-right: 1px solid var(--beh-line-subtle);
}

:root[data-theme="dark"] .logo-wall > *:last-child {
  border-right: 0;
}

:root[data-theme="dark"] .timeline {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px;
}

:root[data-theme="dark"] .timeline > * {
  padding-top: 20px;
  border-top: 1px solid var(--beh-line);
}

:root[data-theme="dark"] .timeline h3 {
  margin-top: 16px;
}

:root[data-theme="dark"] .timeline p {
  margin-top: 10px;
  font-size: 14px;
}

:root[data-theme="dark"] .timeline [class*='number'],
:root[data-theme="dark"] .timeline .step-number {
  color: var(--beh-orange);
}

:root[data-theme="dark"] .quote-panel {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  background: #0E1D2E;
  color: var(--beh-text);
  overflow: hidden;
}

:root[data-theme="dark"] .quote-copy {
  padding: 42px;
}

:root[data-theme="dark"] .quote-copy p,
:root[data-theme="dark"] .quote-copy blockquote {
  color: var(--beh-text);
}

:root[data-theme="dark"] .quote-mark {
  display: grid;
  place-items: center;
  font-family: var(--beh-font-display);
  font-size: 160px;
  line-height: 1;
  color: var(--beh-orange);
  background: #12283A;
}

:root[data-theme="dark"] .cta-band {
  padding-block: 50px;
  color: var(--beh-text);
  border-block: 1px solid #59412A;
  background: linear-gradient(110deg,#231A16,#101D2B 65%,#0A1521);
}

:root[data-theme="dark"] .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

:root[data-theme="dark"] .cta-inner h2 {
  max-width: 820px;
  font-size: 42px;
}

:root[data-theme="dark"] .cta-inner .button {
  flex: 0 0 auto;
}

/* Contact preserves native controls, readiness state and validation. */

:root[data-theme="dark"] .contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: 64px;
}

:root[data-theme="dark"] .contact-details > p {
  margin-top: 18px;
}

:root[data-theme="dark"] .contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

:root[data-theme="dark"] .contact-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

:root[data-theme="dark"] .contact-form {
  padding: 32px;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  background: #0D1927;
  box-shadow: none;
}

:root[data-theme="dark"] .contact-form fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

:root[data-theme="dark"] .form-note,
:root[data-theme="dark"] .smtp-status {
  color: var(--beh-muted);
  font-size: 13px;
}

:root[data-theme="dark"] .form-note {
  margin-bottom: 24px;
}

:root[data-theme="dark"] .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

:root[data-theme="dark"] .field {
  min-width: 0;
}

:root[data-theme="dark"] .field.full {
  grid-column: 1 / -1;
}

:root[data-theme="dark"] .field label {
  display: block;
  margin-bottom: 8px;
  color: #D3DFEB;
  font-size: 13px;
  font-weight: 600;
}

:root[data-theme="dark"] .field :is(input,select,textarea) {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #52708A;
  border-radius: 0;
  background: #08121E;
  color: var(--beh-text);
  font-size: 16px;
  line-height: 1.5;
}

:root[data-theme="dark"] .field textarea {
  min-height: 150px;
  resize: vertical;
}

:root[data-theme="dark"] .field :is(input,textarea)::placeholder {
  color: #91A5B8;
  opacity: 1;
}

:root[data-theme="dark"] .field :is(input,select,textarea):disabled {
  opacity: .65;
  cursor: not-allowed;
}

:root[data-theme="dark"] .field :is(input,select,textarea)[aria-invalid='true'] {
  border-color: var(--beh-error);
}

:root[data-theme="dark"] .form-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 16px;
  margin-top: 24px;
}

:root[data-theme="dark"] .form-footer .button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

:root[data-theme="dark"] .smtp-status {
  margin-top: 24px;
  overflow-wrap: anywhere;
}

:root[data-theme="dark"] .smtp-status a {
  color: var(--beh-orange-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

:root[data-theme="dark"] .smtp-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Article pages keep the original short guide content, section order and CTAs. */

:root[data-theme="dark"] .guide-article {
  max-width: 1024px;
  padding-block: 40px 80px;
}

:root[data-theme="dark"] .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--beh-muted);
  font-size: 12px;
  margin-bottom: 36px;
}

:root[data-theme="dark"] .breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

:root[data-theme="dark"] .breadcrumbs a:hover {
  color: var(--beh-orange-light);
}

:root[data-theme="dark"] .guide-header {
  padding: 34px 40px 38px;
  border: 1px solid var(--beh-line);
  border-left: 3px solid var(--beh-orange);
  background: linear-gradient(120deg,#112236,#0C1826);
}

:root[data-theme="dark"] .guide-header h1 {
  max-width: 850px;
  font-size: 60px;
}

:root[data-theme="dark"] .guide-header .lead {
  margin-top: 20px;
  max-width: 760px;
}

:root[data-theme="dark"] .guide-body {
  padding: 12px 40px 0;
}

:root[data-theme="dark"] .guide-section {
  padding-block: 28px;
  border-bottom: 1px solid var(--beh-line-subtle);
}

:root[data-theme="dark"] .guide-section h2 {
  font-size: 30px;
  font-family: var(--beh-font-label);
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

:root[data-theme="dark"] .guide-section p {
  margin-top: 14px;
  max-width: 78ch;
  line-height: 1.8;
}

:root[data-theme="dark"] .guide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-inline: 40px;
}

/* Native dialog remains a true modal with keyboard focus and Escape support. */

:root[data-theme="dark"] .reader-dialog {
  width: min(800px,calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: visible;
  border: 1px solid var(--beh-line);
  border-top: 3px solid var(--beh-orange);
  border-radius: 0;
  background: var(--beh-surface);
  color: var(--beh-text);
  box-shadow: 0 30px 90px #0009;
}

:root[data-theme="dark"] .reader-dialog::backdrop {
  background: #02070DC9;
  backdrop-filter: blur(6px);
}

:root[data-theme="dark"] .reader-content {
  padding: 48px;
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

:root[data-theme="dark"] .reader-content h2 {
  margin: 12px 36px 22px 0;
  font-size: 44px;
}

:root[data-theme="dark"] .reader-content h3 {
  margin: 28px 0 12px;
  font-family: var(--beh-font-label);
  font-size: 26px;
  text-transform: none;
}

:root[data-theme="dark"] .reader-content p {
  color: var(--beh-muted);
  font-size: 16px;
  line-height: 1.8;
}

:root[data-theme="dark"] .reader-content .reader-intro {
  color: #D7E1EC;
  font-size: 18px;
}

:root[data-theme="dark"] .reader-content > .button {
  margin-top: 28px;
  margin-right: 18px;
}

:root[data-theme="dark"] .reader-content > .text-link {
  margin-top: 20px;
}

:root[data-theme="dark"] .reader-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  background: #14283A;
  color: var(--beh-text);
}

/* Footer */

:root[data-theme="dark"] .site-footer {
  padding-block: 54px 22px;
  border-top: 1px solid var(--beh-line-subtle);
  background: var(--beh-bg-deep);
}

:root[data-theme="dark"] .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.25fr;
  gap: 40px;
}

:root[data-theme="dark"] .footer-brand > img {
  width: 110px;
  height: auto;
  margin-bottom: 18px;
}

:root[data-theme="dark"] .footer-brand p {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.7;
}

:root[data-theme="dark"] .footer-col {
  display: flex;
  flex-direction: column;
  align-items: start;
}

:root[data-theme="dark"] .footer-col h4 {
  margin-bottom: 14px;
  color: var(--beh-text);
}

:root[data-theme="dark"] .footer-col > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--beh-muted);
  font-size: 13px;
}

:root[data-theme="dark"] .footer-col > a:hover {
  color: var(--beh-orange-light);
}

:root[data-theme="dark"] .footer-email {
  overflow-wrap: anywhere;
}

:root[data-theme="dark"] .socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

:root[data-theme="dark"] .socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--beh-line);
  border-radius: 0;
  color: var(--beh-muted);
}

:root[data-theme="dark"] .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--beh-line-subtle);
  color: #9BAEBF;
  font-size: 11px;
}

:root[data-theme="dark"] .footer-signoff {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Animation is supplementary: content is readable before observers or scripts run. */

:root[data-theme="dark"] .reveal,
:root[data-theme="dark"] .reveal.will-reveal {
  opacity: 1;
  transform: none;
}

@media (min-width: 1440px) {
  :root[data-theme="dark"] {
    --beh-gutter: 64px;
  }
}

@media (max-width: 1199px) {
  :root[data-theme="dark"] {
    --beh-gutter: 32px;
    --beh-section-space: 64px;
  }

  :root[data-theme="dark"] .nav-wrap {
    gap: 20px;
  }

  :root[data-theme="dark"] .brand {
    width: 174px;
  }

  :root[data-theme="dark"] .nav-links {
    gap: 18px;
  }

  :root[data-theme="dark"] .nav-links a {
    font-size: 12px;
  }

  :root[data-theme="dark"] .nav-cta {
    padding-inline: 20px;
    font-size: 13px;
  }

  :root[data-theme="dark"] .feature-split,
  :root[data-theme="dark"] .contact-layout {
    gap: 40px;
  }

  :root[data-theme="dark"] .purpose-card {
    padding: 22px;
  }
}

@media (max-width: 1200px) {
  :root[data-theme="dark"] {
    --beh-nav-height: 76px;
    --beh-gutter: 28px;
  }

  :root[data-theme="dark"] h1 {
    font-size: 66px;
    line-height: 68px;
  }

  :root[data-theme="dark"] h2 {
    font-size: 36px;
    line-height: 40px;
  }

  :root[data-theme="dark"] .nav-wrap {
    min-height: var(--beh-nav-height);
  }

  :root[data-theme="dark"] .menu-button {
    display: block;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--beh-line);
    background: #0D1927;
  }

  :root[data-theme="dark"] .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--beh-text);
    transition: transform 160ms var(--beh-ease);
  }

  :root[data-theme="dark"] .nav-links {
    position: absolute;
    inset: var(--beh-nav-height) 0 auto;
    z-index: 2;
    display: grid;
    gap: 0;
    padding: 12px var(--beh-gutter) 24px;
    max-height: calc(100dvh - var(--beh-nav-height));
    overflow-y: auto;
    border-bottom: 1px solid var(--beh-line);
    background: #091420;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
  }

  :root[data-theme="dark"] body.menu-open .nav-links,
  :root[data-theme="dark"] .nav-links.open,
  :root[data-theme="dark"] .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  :root[data-theme="dark"] .nav-links a {
    min-height: 52px;
    font-size: 15px;
    border-bottom: 1px solid var(--beh-line-subtle);
  }

  :root[data-theme="dark"] .nav-links a::after {
    right: auto;
    width: 36px;
  }

  :root[data-theme="dark"] .nav-links .mobile-partner {
    display: flex;
    color: var(--beh-orange-light);
    gap: 12px;
  }

  :root[data-theme="dark"] .menu-backdrop {
    display: block;
    position: fixed;
    inset: var(--beh-nav-height) 0 0;
    z-index: -1;
    background: #02070DBB;
    visibility: hidden;
    opacity: 0;
  }

  :root[data-theme="dark"] body.menu-open .menu-backdrop {
    visibility: visible;
    opacity: 1;
  }

  :root[data-theme="dark"] .menu-button[aria-expanded='true'] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  :root[data-theme="dark"] .menu-button[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  :root[data-theme="dark"] .menu-button[aria-expanded='true'] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  :root[data-theme="dark"] .hero,
  :root[data-theme="dark"] .hero-inner {
    min-height: 480px;
  }

  :root[data-theme="dark"] .hero-copy {
    width: 60%;
  }

  :root[data-theme="dark"] .hero-copy > p {
    font-size: 16px;
    line-height: 25px;
  }

  :root[data-theme="dark"] .hero-actions {
    gap: 12px;
  }

  :root[data-theme="dark"] .hero-actions .button {
    padding-inline: 21px;
    font-size: 14px;
  }

  :root[data-theme="dark"] .purpose-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  :root[data-theme="dark"] .card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  :root[data-theme="dark"] .feature-split {
    gap: 32px;
  }

  :root[data-theme="dark"] .feature-image {
    min-height: 320px;
  }

  :root[data-theme="dark"] .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  :root[data-theme="dark"] .contact-details {
    max-width: 680px;
  }

  :root[data-theme="dark"] .timeline {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  :root[data-theme="dark"] .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }

  :root[data-theme="dark"] .cta-inner h2 {
    font-size: 36px;
  }

  :root[data-theme="dark"] .guide-header h1 {
    font-size: 54px;
  }
}

@media (max-width: 767px) {
  :root[data-theme="dark"] {
    --beh-gutter: 20px;
    --beh-gap: 18px;
    --beh-section-space: 48px;
    --beh-nav-height: 76px;
  }

  :root[data-theme="dark"] body {
    font-size: 15px;
  }

  :root[data-theme="dark"] h1 {
    font-size: 44px;
    line-height: 45px;
  }

  :root[data-theme="dark"] h2 {
    font-size: 34px;
    line-height: 37px;
  }

  :root[data-theme="dark"] h3 {
    font-size: 26px;
  }

  :root[data-theme="dark"] .brand {
    width: 150px;
  }

  :root[data-theme="dark"] .nav-actions > .nav-cta {
    display: none;
  }

  :root[data-theme="dark"] .hero {
    min-height: 0;
  }

  :root[data-theme="dark"] .hero::before,
  :root[data-theme="dark"] .hero::after {
    display: none;
  }

  :root[data-theme="dark"] .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding-block: 32px 0;
  }

  :root[data-theme="dark"] .hero-copy {
    width: 100%;
    max-width: none;
  }

  :root[data-theme="dark"] .eyebrow {
    font-size: 10px;
    letter-spacing: .17em;
    margin-bottom: 16px;
  }

  :root[data-theme="dark"] .hero-copy > p {
    font-size: 16px;
    line-height: 25px;
    margin-top: 18px;
  }

  :root[data-theme="dark"] .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
  }

  :root[data-theme="dark"] .hero-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 14px;
  }

  :root[data-theme="dark"] .hero-note {
    margin-top: 20px;
    font-size: 11px;
  }

  :root[data-theme="dark"] .hero-mobile-art {
    display: block;
    order: -1;
    width: 100%;
    aspect-ratio: 3/2;
    margin: 0 0 24px;
    background-image: var(--hero-art-mobile,var(--hero-art));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: 1px solid #274258;
  }

  :root[data-theme="dark"] .section-head {
    display: block;
    margin-bottom: 26px;
  }

  :root[data-theme="dark"] .section-head p {
    font-size: 14px;
  }

  :root[data-theme="dark"] .section-head .text-link {
    margin-top: 12px;
  }

  :root[data-theme="dark"] .section-kicker {
    font-size: 10px;
    letter-spacing: .15em;
    margin-bottom: 12px;
  }

  :root[data-theme="dark"] .section-kicker::before,
  :root[data-theme="dark"] .eyebrow::before {
    flex-basis: 28px;
    height: 4px;
  }

  :root[data-theme="dark"] .trust-strip {
    padding-block: 12px;
  }

  :root[data-theme="dark"] .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  :root[data-theme="dark"] .stat,
  :root[data-theme="dark"] .stat:first-child {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--beh-line-subtle);
  }

  :root[data-theme="dark"] .stat:last-child {
    border-bottom: 0;
  }

  :root[data-theme="dark"] .stat strong {
    font-size: 21px;
  }

  :root[data-theme="dark"] .purpose-grid,
  :root[data-theme="dark"] .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  :root[data-theme="dark"] .purpose-card {
    min-height: 0;
    padding: 24px;
  }

  :root[data-theme="dark"] .purpose-card h3 {
    font-size: 27px;
  }

  :root[data-theme="dark"] .purpose-card p {
    margin-top: 10px;
  }

  :root[data-theme="dark"] .purpose-card .icon-box {
    margin-bottom: 18px;
  }

  :root[data-theme="dark"] .feature-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  :root[data-theme="dark"] .feature-image {
    min-height: 0;
    aspect-ratio: 3/2;
  }

  :root[data-theme="dark"] .feature-image img {
    height: 100%;
    min-height: 0;
  }

  :root[data-theme="dark"] .feature-copy .lead {
    font-size: 16px;
  }

  :root[data-theme="dark"] .feature-copy .button {
    width: 100%;
  }

  :root[data-theme="dark"] .card-body {
    padding: 22px;
  }

  :root[data-theme="dark"] .card-media {
    aspect-ratio: 16/9;
  }

  :root[data-theme="dark"] .tab-bar {
    gap: 8px;
    margin-bottom: 22px;
  }

  :root[data-theme="dark"] .tab {
    flex: 1 0 auto;
    padding-inline: 12px;
    font-size: 12px;
  }

  :root[data-theme="dark"] .logo-wall {
    grid-template-columns: 1fr;
  }

  :root[data-theme="dark"] .logo-wall > * {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--beh-line-subtle);
  }

  :root[data-theme="dark"] .logo-wall > *:last-child {
    border-bottom: 0;
  }

  :root[data-theme="dark"] .timeline {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  :root[data-theme="dark"] .quote-panel {
    grid-template-columns: 1fr;
  }

  :root[data-theme="dark"] .quote-copy {
    padding: 26px;
  }

  :root[data-theme="dark"] .quote-mark {
    display: none;
  }

  :root[data-theme="dark"] .cta-band {
    padding-block: 36px;
  }

  :root[data-theme="dark"] .cta-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  :root[data-theme="dark"] .cta-inner h2 {
    font-size: 36px;
  }

  :root[data-theme="dark"] .cta-inner .button {
    width: 100%;
  }

  :root[data-theme="dark"] .contact-form {
    padding: 24px 20px;
  }

  :root[data-theme="dark"] .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  :root[data-theme="dark"] .form-footer {
    display: block;
  }

  :root[data-theme="dark"] .form-footer .button {
    width: 100%;
  }

  :root[data-theme="dark"] .contact-list a {
    font-size: 13px;
  }

  :root[data-theme="dark"] .guide-article {
    padding-block: 22px 48px;
  }

  :root[data-theme="dark"] .breadcrumbs {
    gap: 7px;
    font-size: 11px;
    margin-bottom: 20px;
  }

  :root[data-theme="dark"] .guide-header {
    padding: 24px 22px 28px;
  }

  :root[data-theme="dark"] .guide-header h1 {
    font-size: 42px;
  }

  :root[data-theme="dark"] .guide-header .lead {
    font-size: 15px;
    line-height: 1.7;
  }

  :root[data-theme="dark"] .guide-body {
    padding: 4px 2px 0;
  }

  :root[data-theme="dark"] .guide-section {
    padding-block: 25px;
  }

  :root[data-theme="dark"] .guide-section h2 {
    font-size: 27px;
  }

  :root[data-theme="dark"] .guide-section p {
    font-size: 15px;
    line-height: 1.8;
  }

  :root[data-theme="dark"] .guide-actions {
    padding-inline: 0;
    gap: 14px;
  }

  :root[data-theme="dark"] .guide-actions > .button {
    width: 100%;
  }

  :root[data-theme="dark"] .guide-actions .text-link {
    font-size: 13px;
  }

  :root[data-theme="dark"] .reader-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  :root[data-theme="dark"] .reader-content {
    padding: 64px 22px 28px;
    max-height: calc(100dvh - 28px);
  }

  :root[data-theme="dark"] .reader-content h2 {
    margin-right: 0;
    font-size: 36px;
  }

  :root[data-theme="dark"] .reader-content h3 {
    font-size: 25px;
  }

  :root[data-theme="dark"] .reader-content .reader-intro {
    font-size: 16px;
  }

  :root[data-theme="dark"] .reader-content p {
    font-size: 15px;
  }

  :root[data-theme="dark"] .reader-content > .button {
    display: flex;
    width: 100%;
    margin-right: 0;
  }

  :root[data-theme="dark"] .reader-content > .text-link {
    display: flex;
    margin-top: 12px;
  }

  :root[data-theme="dark"] .site-footer {
    padding-block: 38px 22px;
  }

  :root[data-theme="dark"] .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  :root[data-theme="dark"] .footer-brand,
  :root[data-theme="dark"] .footer-col:last-child {
    grid-column: 1 / -1;
  }

  :root[data-theme="dark"] .footer-brand > img {
    width: 96px;
  }

  :root[data-theme="dark"] .footer-brand p {
    max-width: 340px;
  }

  :root[data-theme="dark"] .footer-bottom {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    font-size: 10px;
  }
}

@media (max-width: 389px) {
  :root[data-theme="dark"] {
    --beh-gutter: 16px;
  }

  :root[data-theme="dark"] h1 {
    font-size: 42px;
    line-height: 44px;
  }

  :root[data-theme="dark"] h2 {
    font-size: 32px;
    line-height: 35px;
  }

  :root[data-theme="dark"] .brand {
    width: 162px;
  }

  :root[data-theme="dark"] .hero-copy > p {
    font-size: 14px;
    line-height: 23px;
  }

  :root[data-theme="dark"] .hero-actions .button {
    font-size: 13px;
  }

  :root[data-theme="dark"] .guide-header h1 {
    font-size: 39px;
  }

  :root[data-theme="dark"] .purpose-card,
  :root[data-theme="dark"] .card-body {
    padding: 20px;
  }

  :root[data-theme="dark"] .tab {
    font-size: 11px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-theme="dark"] {
    scroll-behavior: auto;
  }

  :root[data-theme="dark"] *,
  :root[data-theme="dark"] *::before,
  :root[data-theme="dark"] *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Exact asset filenames resolved from 07_Implementation/graphic-manifest.json.
   This file sits in 06_Design_System beside competitive-dark.css.
   Mobile files retain the full 3:2 composition. */

:root[data-theme="dark"] .hero-home {
  --hero-art: url("assets/competitive-dark/responsive/hero-home-1536.webp");
  --hero-art-mobile: url("assets/competitive-dark/responsive/hero-home-mobile-780.webp");
}

:root[data-theme="dark"] .hero-hub {
  --hero-art: url("assets/competitive-dark/responsive/hero-esports-hub-1536.webp");
  --hero-art-mobile: url("assets/competitive-dark/responsive/hero-esports-hub-mobile-780.webp");
}

:root[data-theme="dark"] .hero-learn {
  --hero-art: url("assets/competitive-dark/responsive/hero-learn-grow-1536.webp");
  --hero-art-mobile: url("assets/competitive-dark/responsive/hero-learn-grow-mobile-780.webp");
}

:root[data-theme="dark"] .hero-community {
  --hero-art: url("assets/competitive-dark/responsive/hero-community-1536.webp");
  --hero-art-mobile: url("assets/competitive-dark/responsive/hero-community-mobile-780.webp");
}

:root[data-theme="dark"] .hero-about {
  --hero-art: url("assets/competitive-dark/responsive/hero-about-1536.webp");
  --hero-art-mobile: url("assets/competitive-dark/responsive/hero-about-mobile-780.webp");
}

:root[data-theme="dark"] .hero-contact {
  --hero-art: url("assets/competitive-dark/responsive/hero-contact-1536.webp");
  --hero-art-mobile: url("assets/competitive-dark/responsive/hero-contact-mobile-780.webp");
}

/* Integration with the retained page templates. */
:root[data-theme="dark"] {
  --orange-soft: #2A211A;
  --green-soft: #142B2C;
  --green: var(--beh-orange-light);
  --wash: #08121E;
}
:root[data-theme="dark"] main {
  overflow: visible;
}
:root[data-theme="dark"] .site-header {
  position: relative;
  height: var(--beh-nav-height);
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
:root[data-theme="dark"] .nav-links a {
  padding: 0;
}
:root[data-theme="dark"] .nav-links {
  border-left: 1px solid var(--beh-line-subtle);
  padding-left: 28px;
}
:root[data-theme="dark"] .nav-links .mobile-partner {
  display: none;
}
:root[data-theme="dark"] .brand img {
  width: 100%;
  height: auto;
}
:root[data-theme="dark"] .hero-inner {
  height: auto;
}
:root[data-theme="dark"] .hero-copy::before {
  content: none;
}
:root[data-theme="dark"] .hero-copy > p {
  margin-bottom: 0;
}
:root[data-theme="dark"] .section {
  background-image: none;
}
:root[data-theme="dark"] .section.dark :is(.section-head p, .lead) {
  color: var(--beh-muted);
}
:root[data-theme="dark"] .button.secondary,
:root[data-theme="dark"] .button.green,
:root[data-theme="dark"] .cta-band .button {
  background: transparent;
  border: 0;
  box-shadow: none;
}
:root[data-theme="dark"] .button.secondary {
  color: var(--beh-text);
}
:root[data-theme="dark"] .button.green,
:root[data-theme="dark"] .cta-band .button {
  color: var(--beh-orange-ink);
}
:root[data-theme="dark"] .trust-grid {
  padding-block: 0;
}
:root[data-theme="dark"] .stat {
  border-right: 0;
}
:root[data-theme="dark"] .purpose-card:nth-child(even) .icon-box {
  border-color: #4F4231;
  background: #2A211A;
  color: var(--beh-orange-light);
}
:root[data-theme="dark"] .purpose-card::after,
:root[data-theme="dark"] .contact-form::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--beh-line);
  transform: translate(8px, 8px) rotate(-45deg);
  pointer-events: none;
}
:root[data-theme="dark"] .contact-form {
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .feature-image picture {
  display: block;
  height: 100%;
}
:root[data-theme="dark"] .feature-image img {
  position: absolute;
  inset: 0;
}
:root[data-theme="dark"] .check {
  color: var(--beh-orange-light);
  background: #2A211A;
}
:root[data-theme="dark"] .timeline article::before {
  color: var(--beh-orange-light);
  background: var(--beh-bg);
  font-family: var(--beh-font-label);
}
:root[data-theme="dark"] .quote-copy blockquote,
:root[data-theme="dark"] .quote-mark {
  font-family: var(--beh-font-display);
  font-weight: 800;
  font-style: italic;
}
:root[data-theme="dark"] .field :is(input, select, textarea):focus-visible {
  outline: 3px solid var(--beh-focus);
  outline-offset: 2px;
  border-color: var(--beh-focus);
  box-shadow: none;
}
:root[data-theme="dark"] .email-draft {
  background: #102B2A;
  border-color: #315D55;
  border-radius: 0;
}
:root[data-theme="dark"] .email-draft :is(h3, p) {
  color: var(--beh-text);
}
@media (min-width: 768px) {
  :root[data-theme="dark"] .hero::before {
    display: block;
  }
}
@media (max-width: 1200px) {
  :root[data-theme="dark"] .nav-links {
    border-left: 0;
    padding: 12px var(--beh-gutter) 24px;
  }
  :root[data-theme="dark"] .nav-links a {
    padding: 12px 0;
  }
  :root[data-theme="dark"] .nav-links.open {
    background: #091420;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  :root[data-theme="dark"] .nav-links .mobile-partner {
    display: flex;
    margin-top: 12px;
    padding: 14px 18px;
    border: 1px solid var(--beh-line);
    border-radius: 0;
    color: var(--beh-orange-light);
    background: var(--beh-surface);
  }
  :root[data-theme="dark"] .menu-button {
    border-radius: 0;
  }
  :root[data-theme="dark"] .menu-button span {
    margin: 4px auto;
  }
}
@media (max-width: 767px) {
  :root[data-theme="dark"] .hero-inner {
    padding-top: 0;
    padding-bottom: 32px;
  }
  :root[data-theme="dark"] .hero-copy {
    padding: 0;
  }
  :root[data-theme="dark"] .hero-mobile-art {
    flex: 0 0 auto;
    width: calc(100% + 2 * var(--beh-gutter));
    margin-inline: calc(-1 * var(--beh-gutter));
  }
  :root[data-theme="dark"] .hero-mobile-art::before {
    content: none;
  }
  :root[data-theme="dark"] .feature-image,
  :root[data-theme="dark"] .feature-copy {
    order: initial;
  }
  :root[data-theme="dark"] .hero-note {
    max-width: none;
  }
}

:root[data-theme="dark"] .nav-wrap {
  gap: 26px;
}
:root[data-theme="dark"] .nav-links {
  padding-left: 46px;
}
:root[data-theme="dark"] .nav-actions {
  margin-left: auto;
}
:root[data-theme="dark"] .guide-section {
  margin-top: 0;
}

/* Useful guide content is shared by direct URLs and the quick reader. */
:root[data-theme="dark"] :is(.guide-article, .reader-content) :is(.guide-list, .guide-links) {
  padding-left: 1.35em;
  color: var(--beh-muted);
  line-height: 1.8;
}
:root[data-theme="dark"] :is(.guide-list, .guide-links) li + li {
  margin-top: 10px;
}
:root[data-theme="dark"] .guide-links a {
  color: var(--beh-orange-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
:root[data-theme="dark"] :is(.guide-header, .reader-content) .guide-updated {
  margin-top: 20px;
  color: var(--beh-muted);
  font-size: 13px;
}
:root[data-theme="dark"] .guide-table {
  max-width: 100%;
  margin-block: 24px;
  overflow-x: auto;
  border: 1px solid var(--beh-line);
  background: #091420;
  scrollbar-color: #526B80 #091420;
}
:root[data-theme="dark"] .guide-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--beh-muted);
  font-size: 14px;
  line-height: 1.65;
}
:root[data-theme="dark"] .guide-table caption {
  padding: 16px;
  color: var(--beh-text);
  font-weight: 700;
  text-align: left;
}
:root[data-theme="dark"] .guide-table :is(th, td) {
  padding: 14px 16px;
  border-top: 1px solid var(--beh-line);
  text-align: left;
  vertical-align: top;
}
:root[data-theme="dark"] .guide-table th {
  color: var(--beh-text);
  background: #102236;
  font-weight: 700;
}
:root[data-theme="dark"] .guide-table td:first-child {
  min-width: 110px;
  color: var(--beh-text);
  font-weight: 600;
}
:root[data-theme="dark"] .guide-related {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--beh-line);
}
:root[data-theme="dark"] .guide-related :is(h2, h3) {
  margin-top: 0;
  font-size: 28px;
}
:root[data-theme="dark"] a.purpose-card:hover h3 {
  color: var(--beh-orange-light);
}
:root[data-theme="dark"] .card-arrow {
  position: static;
  align-self: end;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
}
:root[data-theme="dark"] .footer-brand {
  display: block;
  grid-column: auto;
}
@media (max-width: 1200px) {
  :root[data-theme="dark"] .nav-links {
    padding-left: var(--beh-gutter);
  }
  :root[data-theme="dark"]:not(.js) .site-header {
    height: auto;
  }
  :root[data-theme="dark"]:not(.js) .nav-wrap {
    flex-wrap: wrap;
    padding-block: 16px;
  }
  :root[data-theme="dark"]:not(.js) .nav-links {
    position: static;
    display: flex;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    max-height: none;
    padding: 0;
    border: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: transparent;
  }
  :root[data-theme="dark"]:not(.js) .nav-links a {
    padding: 8px 12px;
  }
  :root[data-theme="dark"]:not(.js) :is(.menu-button, .menu-backdrop, .mobile-partner) {
    display: none;
  }
}
:root[data-theme="dark"]:not(.js) .tab-bar {
  display: none;
}
@media (max-width: 767px) {
  :root[data-theme="dark"] .feature-image {
    order: -1;
  }
  :root[data-theme="dark"] .feature-copy {
    order: 0;
  }
  :root[data-theme="dark"] .footer-brand {
    grid-column: 1 / -1;
  }
}
:root[data-theme="dark"] .field {
  gap: 0;
}


/* Gallery composition details, keeping decorative cuts away from controls. */
:root[data-theme="dark"] :is(.eyebrow, .section-kicker) {
  color: var(--beh-text);
}
:root[data-theme="dark"] .hero h1 {
  text-wrap: wrap;
}
:root[data-theme="dark"] .hero h1 :is(.accent, .accent-green) {
  color: inherit;
}
:root[data-theme="dark"] .nav-links a.active {
  color: var(--beh-orange-light);
}
:root[data-theme="dark"] .button::before,
:root[data-theme="dark"] .nav-cta::before {
  background: var(--beh-orange);
}
:root[data-theme="dark"] .button.secondary::before {
  background: #8EA2B5;
}
:root[data-theme="dark"] .button.secondary::after {
  background: var(--beh-bg);
}
:root[data-theme="dark"] .purpose-card .icon-box {
  width: 32px;
  height: 32px;
  color: var(--beh-orange);
  border: 0;
  background: transparent;
}
:root[data-theme="dark"] .purpose-card .icon-box svg {
  width: 30px;
  height: 30px;
}
:root[data-theme="dark"] .purpose-card::before {
  top: 23px;
  right: 20px;
  left: auto;
  height: 1px;
  background: var(--beh-line);
  transform: none;
}
:root[data-theme="dark"] .stat-mark svg {
  width: 30px;
  height: 30px;
}
:root[data-theme="dark"] .stat strong {
  text-transform: none;
}
:root[data-theme="dark"] .content-card {
  position: relative;
}
:root[data-theme="dark"] .content-card::after {
  content: '';
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 4px;
  background: var(--beh-orange);
  transform: rotate(-55deg);
  pointer-events: none;
}
:root[data-theme="dark"] .card-body .meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--beh-line);
  text-transform: none;
  letter-spacing: 0;
}
:root[data-theme="dark"] .card-body .read-guide {
  margin-top: 0;
  color: var(--beh-text);
}
:root[data-theme="dark"] .cta-band {
  background: none;
  border: 0;
}
:root[data-theme="dark"] .cta-inner {
  padding: 40px;
  border: 1px solid #81613D;
  background: url('assets/competitive-dark/patterns/angular-atmosphere.svg') center / cover, var(--beh-surface-raised);
}
@media (max-width: 767px) {
  :root[data-theme="dark"] .hero-actions .button {
    justify-content: space-between;
    padding-inline: 24px;
  }
  :root[data-theme="dark"] .cta-inner {
    padding: 28px 22px;
  }
}
:root[data-theme="dark"] .purpose-card:nth-child(even) .icon-box {
  border: 0;
  background: transparent;
  color: var(--beh-orange);
}

/* Keep hero copy immediately readable on navigation and slow devices. */
:root[data-theme="dark"] .hero-copy > * {
  animation: none;
  opacity: 1;
  transform: none;
}
