:root {
  --navy: #0d1f35;
  --navy-deep: #040b13;
  --navy-soft: #102946;
  --teal: #268573;
  --cyan: #36bdb4;
  --white: #f5f5f5;
  --muted: #aebdca;
  --line: rgba(54, 189, 180, 0.28);
  --line-strong: rgba(54, 189, 180, 0.55);
  --surface: rgba(8, 20, 34, 0.88);
  --surface-solid: #071421;
  --surface-2: #0a1c30;
  --warning: #e5b85c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --max-width: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(4, 11, 19, 0.92), rgba(13, 31, 53, 0.98)),
    var(--navy-deep);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.language-page {
  background:
    linear-gradient(135deg, rgba(245, 245, 245, 0.08), rgba(54, 189, 180, 0.12)),
    linear-gradient(180deg, rgba(7, 20, 33, 0.88), rgba(4, 11, 19, 0.98)),
    var(--navy-deep);
}

body.language-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(54, 189, 180, 0.18) 18% 18.25%, transparent 18.25% 100%),
    linear-gradient(300deg, transparent 0 72%, rgba(245, 245, 245, 0.12) 72% 72.15%, transparent 72.15% 100%);
  opacity: 0.8;
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  max-width: 860px;
  font-size: 4.2rem;
  font-weight: 850;
}

h2 {
  color: var(--white);
  font-size: 2.45rem;
  font-weight: 800;
}

h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--cyan);
  color: #031014;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.language-gate {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
}

.language-gate__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.36;
}

.language-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 11, 19, 0.96), rgba(4, 11, 19, 0.72) 52%, rgba(4, 11, 19, 0.9)),
    linear-gradient(180deg, rgba(245, 245, 245, 0.12), rgba(4, 11, 19, 0.92));
}

.language-gate__content {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
}

.language-gate__logo {
  width: min(360px, 72vw);
  height: auto;
  margin-bottom: 1rem;
}

.language-gate__lead {
  max-width: 620px;
  margin-top: 0.85rem;
  font-size: 1.14rem;
}

.language-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin-top: 2rem;
}

.language-choice-card {
  display: grid;
  gap: 0.35rem;
  min-height: 154px;
  padding: 1.2rem;
  border: 1px solid rgba(54, 189, 180, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.12), rgba(54, 189, 180, 0.06)),
    rgba(8, 20, 34, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.language-choice-card:hover,
.language-choice-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(54, 189, 180, 0.16), rgba(245, 245, 245, 0.08)),
    rgba(8, 20, 34, 0.82);
}

.language-choice-card span {
  width: fit-content;
  padding: 0.24rem 0.46rem;
  border: 1px solid rgba(54, 189, 180, 0.34);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.language-choice-card strong {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.1;
}

.language-choice-card small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 74px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(54, 189, 180, 0.16);
  background: rgba(4, 11, 19, 0.76);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(4, 11, 19, 0.92);
}

.site-header--landing {
  position: fixed;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  font-weight: 850;
  color: var(--white);
}

.brand__mark {
  width: 54px;
  height: 32px;
  object-fit: contain;
}

.brand__text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-link,
.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.55rem 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(54, 189, 180, 0.11);
}

.nav-link.is-active {
  border: 1px solid rgba(54, 189, 180, 0.24);
}

.more-nav {
  position: relative;
}

.more-nav summary {
  list-style: none;
  cursor: pointer;
}

.more-nav summary::-webkit-details-marker {
  display: none;
}

.more-nav__summary::after {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.more-nav[open] .more-nav__summary::after {
  transform: translateY(2px) rotate(225deg);
}

.more-nav__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 220px;
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(54, 189, 180, 0.22);
  border-radius: var(--radius);
  background: rgba(4, 11, 19, 0.96);
  box-shadow: var(--shadow);
}

.more-nav__menu .nav-link {
  justify-content: flex-start;
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.language-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.language-menu select {
  min-height: 38px;
  border: 1px solid rgba(54, 189, 180, 0.3);
  border-radius: var(--radius);
  padding: 0 2rem 0 0.75rem;
  color: var(--white);
  background: rgba(8, 20, 34, 0.88);
  font: inherit;
  cursor: pointer;
}

.header-cta {
  color: #031014;
  background: var(--cyan);
  border: 1px solid var(--cyan);
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 60;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--cyan);
  color: #031014;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (min-width: 1081px) {
  .nav-toggle {
    display: none;
  }
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 68svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem max(1.2rem, calc((100vw - var(--max-width)) / 2)) 5rem;
}

.hero--landing {
  min-height: 86svh;
  padding-top: 9rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(4, 11, 19, 0.86) 0%, rgba(4, 11, 19, 0.54) 42%, rgba(4, 11, 19, 0.14) 100%),
    linear-gradient(180deg, rgba(4, 11, 19, 0.01), rgba(4, 11, 19, 0.62));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 30%;
  background: linear-gradient(180deg, rgba(4, 11, 19, 0), rgba(4, 11, 19, 0.94));
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center right);
}

.hero__content {
  width: min(760px, 100%);
  display: grid;
  gap: 1.35rem;
}

.hero__logo {
  width: 220px;
  height: 110px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.25) saturate(1.15) drop-shadow(0 0 18px rgba(54, 189, 180, 0.26));
}

.hero__lead {
  max-width: 680px;
  color: #d7e4eb;
  font-size: 1.18rem;
}

.hero__actions,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 850;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  font-weight: 850;
  line-height: 1.15;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #031014;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 16px 36px rgba(54, 189, 180, 0.2);
}

.btn--primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.btn--secondary {
  color: var(--white);
  border-color: var(--line-strong);
  background: rgba(38, 133, 115, 0.24);
}

.btn--secondary:hover {
  border-color: var(--cyan);
  background: rgba(54, 189, 180, 0.18);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(245, 245, 245, 0.2);
  background: rgba(245, 245, 245, 0.05);
}

.btn--ghost:hover {
  border-color: rgba(245, 245, 245, 0.46);
  background: rgba(245, 245, 245, 0.11);
}

.btn.is-disabled {
  cursor: not-allowed;
  color: #718291;
  border-color: rgba(245, 245, 245, 0.08);
  background: rgba(245, 245, 245, 0.03);
  box-shadow: none;
}

.btn.is-disabled:hover {
  transform: none;
}

.section {
  padding: 5.5rem 1.2rem;
}

.section--compact {
  padding: 3.5rem 1.2rem;
}

.section--quiet {
  background: rgba(3, 10, 17, 0.42);
  border-block: 1px solid rgba(54, 189, 180, 0.1);
}

.section--clean {
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.045), rgba(245, 245, 245, 0.012)),
    rgba(8, 20, 34, 0.3);
}

.section--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(5, 15, 26, 0.72);
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(4, 11, 19, 0.94), rgba(4, 11, 19, 0.78)),
    linear-gradient(180deg, rgba(4, 11, 19, 0.74), rgba(4, 11, 19, 0.92)),
    var(--section-bg);
  background-position: center, center, var(--section-bg-position, center);
  background-size: cover;
  transform: scale(1.02);
}

.section--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(54, 189, 180, 0.05), rgba(54, 189, 180, 0)),
    radial-gradient(circle at 15% 20%, rgba(54, 189, 180, 0.12), transparent 34%);
  pointer-events: none;
}

.section--image-soft::before {
  background-image:
    linear-gradient(90deg, rgba(4, 11, 19, 0.9), rgba(4, 11, 19, 0.66)),
    linear-gradient(180deg, rgba(4, 11, 19, 0.62), rgba(4, 11, 19, 0.88)),
    var(--section-bg);
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-header p:last-child {
  font-size: 1.05rem;
}

.split,
.two-columns,
.news-layout,
.story-layout,
.rank-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.story-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
}

.split--wide {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
}

.two-columns,
.rank-table,
.news-layout {
  align-items: stretch;
}

.image-panel {
  overflow: hidden;
  border: 1px solid rgba(54, 189, 180, 0.22);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.image-panel--contain {
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 189, 180, 0.13), transparent 58%),
    rgba(4, 11, 19, 0.76);
}

.image-panel--contain img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 320px;
  object-fit: contain;
}

.image-panel--tall img {
  max-height: 720px;
  object-fit: contain;
  background: #02090f;
}

.body-copy {
  margin-top: 1.1rem;
}

.live-status {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid rgba(54, 189, 180, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(54, 189, 180, 0.1), rgba(13, 31, 53, 0.28)),
    rgba(5, 15, 26, 0.72);
}

.live-status__intro {
  display: grid;
  gap: 0.55rem;
}

.live-status__intro h2 {
  font-size: 1.9rem;
}

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

.stat-card {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: var(--radius);
  background: rgba(4, 11, 19, 0.62);
}

.stat-card strong {
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
}

.stat-card--wide strong {
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.16;
}

.stat-card span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.stat-card b {
  color: #d8e8ef;
}

.live-status[data-sync-state="error"] .stat-card,
.live-status[data-sync-state="partial"] .stat-card {
  border-color: rgba(229, 184, 92, 0.38);
}

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

.card,
.panel,
.news-article,
.doc-section,
.rule-detail {
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(54, 189, 180, 0.06), rgba(54, 189, 180, 0)),
    var(--surface);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(54, 189, 180, 0.1), rgba(54, 189, 180, 0.02)),
    var(--surface);
}

.card .btn {
  margin-top: auto;
  width: fit-content;
}

.platform-grid--primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-logo {
  width: 100%;
  min-height: 126px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
  padding: 1rem;
  border: 1px solid rgba(245, 245, 245, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 245, 245, 0.08), rgba(54, 189, 180, 0.05)),
    rgba(3, 10, 17, 0.62);
}

.platform-logo img {
  max-width: min(260px, 100%);
  max-height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.tool-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(54, 189, 180, 0.18);
  border-radius: var(--radius);
  background: rgba(245, 245, 245, 0.04);
  color: #c9d7e0;
  font-weight: 700;
}

.tool-note--with-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tool-logo-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.tool-logo {
  width: 64px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0.35rem;
  border: 1px solid rgba(245, 245, 245, 0.1);
  border-radius: 6px;
  background: rgba(3, 10, 17, 0.72);
}

.tool-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-kicker {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.platform-card:nth-child(3) .card-kicker,
.platform-card:nth-child(4) .card-kicker {
  color: var(--warning);
}

.community-grid {
  display: grid;
  gap: 1rem;
}

.panel {
  padding: 1.4rem;
}

.panel h2 {
  margin: 0.35rem 0 1rem;
  font-size: 1.65rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: #d6e1ea;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--cyan);
  border-radius: 2px;
  background: rgba(54, 189, 180, 0.18);
}

.cta-band {
  padding: 3.2rem 1.2rem;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(38, 133, 115, 0.24), rgba(13, 31, 53, 0.78)),
    var(--surface-solid);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band__inner div {
  max-width: 760px;
}

.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  min-height: 340px;
}

.event-card--empty {
  grid-column: 1 / -1;
  min-height: 220px;
  align-items: flex-start;
}

.event-card--compact {
  min-height: 220px;
}

.section-actions {
  margin: -0.4rem 0 1.35rem;
}

.event-list {
  display: grid;
  gap: 1rem;
}

.event-list--compact {
  grid-template-columns: 1fr;
}

.meta-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.3rem 0 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(245, 245, 245, 0.08);
}

.meta-list dt {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
}

.meta-list dd {
  margin: 0;
  color: #d6e1ea;
}

.news-layout {
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
}

.news-article {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.news-article--compact {
  padding: 1rem;
  gap: 0.65rem;
}

.news-article--compact h2 {
  font-size: 1.08rem;
}

.news-article--compact .article-copy {
  display: none;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-summary {
  color: #d9e7ee;
  font-weight: 700;
}

.article-copy {
  display: grid;
  gap: 0.65rem;
}

.article-copy h3 {
  margin-top: 0.35rem;
  font-size: 1rem;
  color: var(--cyan);
}

.text-link {
  width: fit-content;
  color: var(--cyan);
  font-weight: 850;
  border-bottom: 1px solid rgba(54, 189, 180, 0.5);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-meta span {
  color: var(--muted);
  font-weight: 700;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.45rem;
  max-height: calc(100svh - 120px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(54, 189, 180, 0.16);
  border-radius: var(--radius);
  background: rgba(4, 11, 19, 0.7);
}

.docs-sidebar strong {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.docs-sidebar a {
  color: var(--muted);
  padding: 0.42rem 0;
  font-weight: 700;
}

.docs-sidebar a:hover {
  color: var(--cyan);
}

.docs-content {
  display: grid;
  gap: 1rem;
}

.markdown-doc {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.06), rgba(54, 189, 180, 0.02)),
    rgba(8, 20, 34, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.markdown-doc h2,
.markdown-doc h3,
.markdown-doc h4,
.markdown-doc h5,
.markdown-doc h6 {
  scroll-margin-top: 100px;
}

.markdown-doc h2 {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(54, 189, 180, 0.16);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.markdown-doc h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.markdown-doc h3 {
  margin-top: 0.7rem;
  color: #eaf5f6;
  font-size: 1.35rem;
}

.markdown-doc h4 {
  color: var(--cyan);
  font-size: 1.08rem;
}

.markdown-doc p,
.markdown-doc li {
  color: #d1dee7;
}

.markdown-doc strong {
  color: var(--white);
}

.markdown-doc em {
  color: #dcebf0;
}

.markdown-doc a {
  color: var(--cyan);
  font-weight: 850;
  border-bottom: 1px solid rgba(54, 189, 180, 0.45);
}

.markdown-doc code {
  padding: 0.08rem 0.3rem;
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: 4px;
  background: rgba(4, 11, 19, 0.72);
  color: #eaf5f6;
}

.markdown-doc hr {
  width: 100%;
  height: 1px;
  margin: 0.35rem 0;
  border: 0;
  background: rgba(54, 189, 180, 0.22);
}

.doc-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.1rem 0 0.55rem;
  padding-left: 1.25rem;
}

.doc-list--ordered {
  padding-left: 1.6rem;
}

.task-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  list-style: none;
}

.task-box {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.35rem;
  border: 2px solid var(--cyan);
  border-radius: 3px;
  background: rgba(54, 189, 180, 0.14);
}

.task-box.is-checked {
  background: var(--cyan);
  box-shadow: inset 0 0 0 2px rgba(4, 11, 19, 0.88);
}

.doc-callout {
  padding: 1rem;
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(54, 189, 180, 0.08);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(54, 189, 180, 0.16);
  border-radius: var(--radius);
}

.doc-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.doc-table th,
.doc-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  color: var(--white);
  background: rgba(54, 189, 180, 0.12);
}

.doc-table td {
  color: #d1dee7;
}

.doc-section {
  scroll-margin-top: 100px;
  padding: 1.25rem;
}

.doc-section p {
  margin-top: 0.6rem;
}

.rule-detail {
  scroll-margin-top: 100px;
  padding: 1.1rem 1.25rem;
}

.rule-detail summary {
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.rule-detail p {
  margin-top: 0.75rem;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.swatch {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.25rem 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(54, 189, 180, 0.18);
  border-radius: var(--radius);
  background: rgba(245, 245, 245, 0.04);
}

.swatch__color {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(245, 245, 245, 0.32);
  border-radius: 6px;
  background: var(--swatch);
}

.swatch span:last-child {
  color: var(--muted);
}

.partner-card {
  align-items: flex-start;
}

.partner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(54, 189, 180, 0.1);
  font-weight: 900;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.partner-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(54, 189, 180, 0.18);
  border-radius: var(--radius);
  background: rgba(245, 245, 245, 0.045);
}

.home-updates {
  padding-top: 2.5rem;
}

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

.briefing-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.06), rgba(245, 245, 245, 0.018)),
    rgba(8, 20, 34, 0.76);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.briefing-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.briefing-panel__head h3 {
  margin-top: 0.2rem;
}

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

.process-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.1rem;
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.06), rgba(245, 245, 245, 0.015)),
    rgba(8, 20, 34, 0.78);
}

.process-card__number {
  width: 44px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(54, 189, 180, 0.35);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(54, 189, 180, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.process-grid + .section-actions {
  margin: 1.6rem 0 0;
  align-items: stretch;
}

.process-grid + .section-actions .btn {
  min-width: 190px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(54, 189, 180, 0.2);
  border-radius: var(--radius);
  background: rgba(8, 20, 34, 0.78);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--white);
  font-weight: 850;
}

.faq-item p {
  padding: 0 1.1rem 1.1rem;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  min-height: 270px;
}

.rank-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rank-strip span {
  border: 1px solid rgba(54, 189, 180, 0.22);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  color: #dbe7ee;
  background: rgba(54, 189, 180, 0.08);
  font-weight: 750;
}

.rank-table {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-table > div {
  padding: 1.2rem;
  border: 1px solid rgba(54, 189, 180, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 15, 26, 0.78);
}

.rank-table h3 {
  margin-bottom: 0.9rem;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-bottom: 1rem;
}

.prose p + p {
  margin-top: 1rem;
}

.legal-prose {
  display: grid;
  gap: 1rem;
}

.legal-prose h3 {
  margin-top: 1.2rem;
  color: var(--white);
}

.legal-prose address {
  font-style: normal;
  color: #dbe7ee;
  line-height: 1.75;
  padding: 1rem;
  border: 1px solid rgba(54, 189, 180, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 15, 26, 0.62);
}

.site-footer {
  padding: 3.5rem 1.2rem 2rem;
  border-top: 1px solid rgba(54, 189, 180, 0.14);
  background: #030910;
}

.footer-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer-brand div {
  display: grid;
  gap: 0.15rem;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand span {
  color: var(--muted);
}

.footer-mark {
  width: 62px;
  height: 42px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  max-width: 520px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  font-weight: 700;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@media (max-width: 1180px) {
  .site-nav {
    justify-content: flex-start;
  }

  .nav-link {
    font-size: 0.84rem;
    padding-inline: 0.54rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0.9rem 4.5rem 0.9rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 60;
    background: var(--cyan);
    color: #031014;
    border-color: var(--cyan);
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open {
    align-content: start;
  }

  .site-nav {
    align-items: stretch;
    flex-direction: column;
    max-height: calc(100svh - 150px);
    overflow: auto;
    padding-top: 1rem;
  }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .more-nav {
    width: 100%;
  }

  .more-nav__summary {
    justify-content: flex-start;
  }

  .more-nav__menu {
    position: static;
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
    background: rgba(245, 245, 245, 0.04);
  }

  .header-actions {
    position: fixed;
    right: 4.9rem;
    top: 1rem;
    z-index: 60;
    padding-bottom: 0;
  }

  .header-cta {
    display: none;
  }

  .split,
  .split--wide,
  .two-columns,
  .news-layout,
  .story-layout,
  .rank-table,
  .live-status,
  .docs-layout,
  .briefing-grid,
  .partner-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-sidebar {
    position: static;
  }

  .cta-band__inner,
  .footer-inner,
  .partner-note,
  .tool-note--with-logos {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 2.35rem;
  }

  .language-gate {
    align-items: start;
    padding: 5rem 1rem 2rem;
  }

  .language-choice-grid {
    grid-template-columns: 1fr;
  }

  .language-choice-card {
    min-height: 128px;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.14;
  }

  .brand__text {
    display: none;
  }

  .language-menu span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .header-actions {
    left: min(258px, calc(100vw - 132px));
    right: auto;
  }

  .language-menu select {
    width: 64px;
    padding: 0 1.35rem 0 0.6rem;
  }

  .hero,
  .hero--landing {
    align-items: flex-start;
    min-height: 72svh;
    padding: 7.2rem 1rem 4rem;
  }

  .nav-toggle {
    left: min(332px, calc(100vw - 58px));
    right: auto;
  }

  .hero__logo {
    width: 170px;
    height: 86px;
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .inline-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 4rem 1rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .card-grid,
  .event-grid,
  .contact-grid,
  .color-grid,
  .status-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 116px;
  }

  .card {
    min-height: auto;
  }

  .meta-list div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .swatch {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .swatch__color {
    width: 48px;
    height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
