/* ==========================================================
   体育YUN / 开云竞界 · 全站共享样式
   ========================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--color-card) var(--color-dark);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-deep);
  background-image:
    radial-gradient(ellipse 70% 40% at 12% -10%, rgba(138, 43, 226, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 0%, rgba(0, 229, 255, 0.08), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(5, 10, 31, 0.35) 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 2. Variables ---------- */
:root {
  --color-deep: #0B1B3D;
  --color-dark: #050A1F;
  --color-card: #1F3A5F;
  --color-green: #39FF14;
  --color-purple: #8A2BE2;
  --color-cyan: #00E5FF;
  --color-white: #F5F7FA;
  --color-gray: #B0B8C4;
  --color-warm: #E0E0E0;

  --font-head: 'Anton', 'Impact', 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Playfair Display', 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', Consolas, 'Courier New', monospace;

  --header-h: 72px;
  --container-w: 1200px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-white);
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-green);
}

ul, ol {
  list-style: none;
}

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

::selection {
  background: rgba(57, 255, 20, 0.28);
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.page-main {
  padding-top: var(--header-h);
  min-height: 60vh;
  position: relative;
}

.page-container {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding: 48px 24px 80px;
}

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 24px 52px;
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(0, 229, 255, 0.06), transparent 40%);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  overflow: hidden;
}

.page-hero-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  transform: skewX(-6deg);
}

.page-hero-sub {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 20px);
  color: var(--color-gray);
  letter-spacing: 0.5px;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.86) 0%, rgba(11, 27, 61, 0.45) 55%, rgba(11, 27, 61, 0) 100%);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(5, 10, 31, 0.93);
  box-shadow: 0 8px 32px rgba(5, 10, 31, 0.55);
}

.site-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), rgba(138, 43, 226, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
  height: var(--header-h);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-white);
  z-index: 1002;
  flex-shrink: 0;
}

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

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-green), var(--color-cyan));
  clip-path: polygon(12% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 12%);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.28);
  flex-shrink: 0;
}

.brand-mark-core {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1;
  color: var(--color-dark);
  transform: skewX(-6deg);
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-white);
  line-height: 1;
}

.brand-cn {
  font-weight: 800;
}

.brand-em {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 1px;
  color: var(--color-green);
  margin-left: 2px;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 8px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 1px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(0, 229, 255, 0.05);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--color-green);
}

/* Nav close (mobile) */
.nav-close {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), border-color var(--transition);
}

.nav-close:hover {
  background: rgba(138, 43, 226, 0.2);
  border-color: rgba(138, 43, 226, 0.4);
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1002;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover {
  border-color: var(--color-green);
  background: rgba(57, 255, 20, 0.06);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background var(--transition), border-color var(--transition);
}

.btn:active {
  transform: translateY(0);
}

.btn-green {
  background: linear-gradient(135deg, var(--color-green), #00D42E);
  color: var(--color-dark);
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.22);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(57, 255, 20, 0.32);
  color: var(--color-dark);
}

.btn-purple {
  background: linear-gradient(135deg, var(--color-purple), #6A1CB0);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.25);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.35);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-dark);
  display: inline-block;
  flex-shrink: 0;
}

.btn-header-cta {
  padding: 8px 16px;
  font-size: 14px;
  margin-left: 16px;
}

/* ---------- 7. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-gray);
  padding: 0 0 24px;
}

.breadcrumb a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-green);
}

.breadcrumb-sep {
  color: var(--color-purple);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- 8. Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 9. Components ---------- */
.panel {
  position: relative;
  padding: 32px;
  background: rgba(31, 58, 95, 0.62);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-green), var(--color-cyan), var(--color-purple));
}

.card {
  background: rgba(31, 58, 95, 0.52);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: 0 10px 32px rgba(5, 10, 31, 0.5);
}

.card-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.card-text {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 999px;
  background: rgba(138, 43, 226, 0.14);
  color: #D8B4FF;
  border: 1px solid rgba(138, 43, 226, 0.35);
}

.tag-green {
  background: rgba(57, 255, 20, 0.1);
  color: var(--color-green);
  border-color: rgba(57, 255, 20, 0.32);
}

.tag-purple {
  background: rgba(138, 43, 226, 0.16);
  color: #D8B4FF;
  border-color: rgba(138, 43, 226, 0.4);
}

.score-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(5, 10, 31, 0.62);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.schedule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.3);
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
  transform: skewX(-4deg);
  margin-bottom: 16px;
}

.section-title-accent {
  color: var(--color-green);
}

.deco-text {
  font-family: var(--font-serif);
  font-size: clamp(90px, 16vw, 220px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(57, 255, 20, 0.18);
  pointer-events: none;
  user-select: none;
  position: absolute;
  z-index: 0;
}

/* Image frames */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(5, 10, 31, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.08);
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 27, 61, 0.55) 100%);
  pointer-events: none;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame-16x9 {
  aspect-ratio: 16 / 9;
}

.img-frame-4x3 {
  aspect-ratio: 4 / 3;
}

.img-frame-1x1 {
  aspect-ratio: 1 / 1;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--color-dark);
  border-top: none;
  margin-top: 80px;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-green), var(--color-cyan), var(--color-purple));
  z-index: 1;
}

.site-footer::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.12), transparent 68%);
  pointer-events: none;
}

.footer-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 64px 24px 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.footer-logo-cn {
  font-weight: 800;
}

.footer-logo-accent {
  font-family: var(--font-head);
  font-style: normal;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--color-green);
}

.footer-brand-sub {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  transform: translateY(-2px);
}

.footer-slogan {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--color-cyan);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-purple));
  border-radius: 2px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  color: var(--color-gray);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition), padding-left 0.25s ease;
  display: inline-block;
}

.footer-list a:hover {
  color: var(--color-green);
  padding-left: 4px;
}

.footer-list-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-list-contact li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-purple);
  text-transform: uppercase;
}

.contact-value {
  font-size: 14px;
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copy,
.footer-note,
.footer-icp {
  font-size: 13px;
  color: var(--color-gray);
  margin: 0;
}

.footer-note {
  color: var(--color-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.footer-icp {
  color: var(--color-gray);
}

.footer-icp::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-cyan);
  margin-right: 6px;
  vertical-align: middle;
}

/* ---------- 11. Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 20px;
  background: var(--color-green);
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

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

/* ---------- 12. Motion & Reveal ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.has-js [data-reveal="left"] {
  transform: translateX(-36px);
}

html.has-js [data-reveal="right"] {
  transform: translateX(36px);
}

html.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .header-inner {
    padding-inline: 16px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 10, 31, 0.98);
    border-left: 1px solid rgba(0, 229, 255, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1001;
    padding: 88px 24px 32px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .site-nav[data-open]::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-green), transparent);
    opacity: 0.4;
  }

  .nav-close {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
  }

  .nav-link::after {
    left: 8px;
    right: auto;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-green), var(--color-purple));
    transform: none;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    width: 3px;
    opacity: 1;
  }

  .nav-link[aria-current="page"] {
    color: var(--color-green);
    background: rgba(57, 255, 20, 0.06);
  }

  .btn-header-cta {
    margin-left: 0;
    margin-right: auto;
  }

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

body[data-nav-open]::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 31, 0.65);
  backdrop-filter: blur(2px);
  z-index: 990;
  pointer-events: none;
}

@media (max-width: 600px) {
  .brand-text {
    font-size: 17px;
  }

  .brand-em {
    font-size: 21px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark-core {
    font-size: 20px;
  }

  .btn-header-cta {
    padding: 6px 12px;
    font-size: 13px;
  }

  .btn-dot {
    width: 5px;
    height: 5px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 32px) 16px 36px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 22px;
  }

  .card {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    padding: 48px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
    padding-top: 20px;
  }

  .footer-note {
    order: 3;
  }
}

/* ---------- 14. Accessibility & Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .live-dot {
    animation: none;
  }

  .btn,
  .card,
  .site-header,
  .site-nav,
  .nav-link,
  .footer-list a,
  .skip-link {
    transition: none;
  }
}
