/* ============ Reset & Base ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #141419;
  --bg-panel: #1E1E26;
  --bg-elevated: #24242E;
  --neon-green: #39FF14;
  --electric-blue: #00E5FF;
  --silver-gray: #A8B0B8;
  --white: #FFFFFF;
  --border-dark: #2A2A35;
  --text-light: #E0E0E0;
  --title-font: Impact, "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container-max: 1280px;
  --header-topbar-height: 64px;
  --nav-height: 48px;
  --glow-green: 0 0 24px rgba(57, 255, 20, 0.25);
  --glow-blue: 0 0 24px rgba(0, 229, 255, 0.18);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

ul, ol {
  list-style: none;
}

a {
  color: var(--electric-blue);
  text-decoration: none;
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--silver-gray);
}

/* ============ Utilities ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ============ Skip Link ============ */
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 999;
  background: var(--neon-green);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top 0.25s ease;
  box-shadow: var(--glow-green);
}
.skip-link:focus {
  top: 0;
}

/* ============ Scroll Progress ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 300;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--electric-blue) 100%);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
  pointer-events: none;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--electric-blue) 35%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.site-header[data-scrolled="true"] {
  background: rgba(10, 10, 15, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.header-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  min-height: var(--header-topbar-height);
  transition: padding 0.3s ease, min-height 0.3s ease;
}
.site-header[data-scrolled="true"] .header-topbar {
  padding: 6px 0;
  min-height: 52px;
}

/* Brand */
.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-mark {
  font-family: var(--title-font);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.35), 0 0 60px rgba(57, 255, 20, 0.15);
  text-transform: uppercase;
  transition: font-size 0.3s ease;
}
.site-header[data-scrolled="true"] .brand-mark {
  font-size: 20px;
}
.brand-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--silver-gray);
  padding-left: 14px;
  border-left: 1px solid var(--border-dark);
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

/* Search */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 340px;
  background: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, flex 0.3s ease;
}
.header-search:focus-within {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), var(--glow-blue);
}
.site-header[data-scrolled="true"] .header-search {
  flex-basis: 280px;
}
.search-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid var(--silver-gray);
  border-radius: 50%;
  flex-shrink: 0;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: var(--silver-gray);
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 2px;
}
.search-input {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  color: var(--text-light);
  font-family: var(--body-font);
  font-size: 14px;
}
.search-input::placeholder {
  color: var(--silver-gray);
  opacity: 0.7;
}

/* Header end & badge */
.header-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.12), rgba(0, 229, 255, 0.1));
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: var(--neon-green);
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

/* Nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav-toggle:hover {
  border-color: var(--neon-green);
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--silver-gray);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--neon-green);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--neon-green);
}

/* ============ Site Navigation ============ */
.site-nav {
  border-top: 1px solid var(--border-dark);
  background: rgba(20, 20, 25, 0.92);
  transition: border-color 0.3s ease;
}
.site-header[data-scrolled="true"] .site-nav {
  border-top-color: rgba(42, 42, 53, 0.7);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: var(--nav-height);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  transition: min-height 0.3s ease;
}
.nav-list::-webkit-scrollbar {
  display: none;
}
.site-header[data-scrolled="true"] .nav-list {
  min-height: 40px;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--silver-gray);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-list a:hover {
  color: var(--white);
  background: rgba(57, 255, 20, 0.08);
}
.nav-list a:hover::before {
  opacity: 1;
  background: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
}
.nav-list a[aria-current="page"] {
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.1);
  font-weight: 700;
}
.nav-list a[aria-current="page"]::before {
  opacity: 1;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.9);
}
.nav-list a[aria-current="page"]::after,
.nav-list a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-dark);
  margin-top: 80px;
}
.footer-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-topline {
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--electric-blue) 45%, transparent 100%);
  border-radius: 0 0 4px 4px;
  margin-bottom: 44px;
  opacity: 0.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}
.footer-logo-mark {
  font-family: var(--title-font);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  text-transform: uppercase;
}
.footer-logo-name {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--silver-gray);
}
.footer-trust {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}
.footer-note {
  color: var(--silver-gray);
  font-size: 13px;
  opacity: 0.8;
}
.footer-col {
  min-width: 0;
}
.footer-heading {
  font-family: var(--title-font);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-left: 16px;
  position: relative;
}
.footer-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--electric-blue);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a,
.footer-contact-item {
  color: var(--silver-gray);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-list a:hover {
  color: var(--neon-green);
  padding-left: 4px;
}
.footer-contact .footer-list {
  gap: 8px;
}
.footer-contact-item {
  display: inline-block;
  word-break: break-all;
}
.footer-contact-link {
  color: var(--electric-blue) !important;
  font-weight: 500;
}
.footer-contact-link:hover {
  color: var(--neon-green) !important;
}
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  background: var(--bg-primary);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer-copy,
.footer-icp {
  color: var(--silver-gray);
  font-size: 13px;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-legal a {
  color: var(--silver-gray);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-legal a:hover {
  color: var(--electric-blue);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--neon-green);
  color: var(--bg-primary);
  box-shadow: var(--glow-green);
}
.btn-primary:hover {
  background: #52FF33;
  box-shadow: 0 0 32px rgba(57, 255, 20, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--electric-blue);
  border: 1px solid rgba(0, 229, 255, 0.4);
}
.btn-secondary:hover {
  border-color: var(--electric-blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

/* ============ Breadcrumbs ============ */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--silver-gray);
}
.breadcrumbs li::after {
  content: "/";
  color: var(--silver-gray);
  opacity: 0.4;
}
.breadcrumbs li:last-child::after {
  display: none;
}
.breadcrumbs a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: var(--neon-green);
}
.breadcrumbs [aria-current="page"] {
  color: var(--white);
  font-weight: 500;
}

/* ============ Page Hero (base) ============ */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border-dark);
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.06) 0%, rgba(0, 229, 255, 0.02) 40%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 12px;
}
.page-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--neon-green);
  border-radius: 2px;
}
.page-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  max-width: 14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-subtitle {
  max-width: 640px;
  color: var(--silver-gray);
  font-size: 17px;
  line-height: 1.7;
}

/* ============ Sections ============ */
.section {
  position: relative;
  padding: 72px 0;
}
.section + .section {
  border-top: 1px solid var(--border-dark);
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 8px;
}
.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-desc {
  max-width: 680px;
  color: var(--silver-gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ============ Cards & Grid ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.panel-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.panel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), transparent 80%);
  border-radius: 0 0 2px 2px;
  opacity: 0.7;
}
.panel-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent 0%, transparent 50%, rgba(0, 229, 255, 0.12) 50%, rgba(0, 229, 255, 0.12) 100%);
  border-radius: 0 0 0 20px;
}
.panel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), var(--glow-green);
}
.panel-card-title {
  font-size: 20px;
  margin-bottom: 10px;
}
.panel-card-text {
  color: var(--silver-gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ Image Placeholder ============ */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-secondary) 100%);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--silver-gray);
  font-size: 14px;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 180%;
  background: linear-gradient(115deg, transparent 40%, rgba(57, 255, 20, 0.06) 50%, transparent 60%);
  transform: rotate(8deg);
  pointer-events: none;
}

/* ============ Tabs ============ */
[role="tablist"] {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-dark);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
}
[role="tablist"]::-webkit-scrollbar {
  display: none;
}
[role="tab"] {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  color: var(--silver-gray);
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
[role="tab"]:hover {
  color: var(--white);
}
[role="tab"][aria-selected="true"] {
  color: var(--neon-green);
  background: var(--bg-panel);
  border-color: var(--border-dark);
  box-shadow: 0 -4px 16px rgba(57, 255, 20, 0.06) inset;
}
[role="tab"][aria-selected="true"]::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neon-green);
  border-radius: 2px;
  margin-top: 4px;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}
[role="tabpanel"] {
  padding: 32px 0;
}
[role="tabpanel"][hidden] {
  display: none;
}

/* ============ Reveal ============ */
.js-enabled [data-reveal]:not([data-revealed]) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-enabled [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header-shell {
    padding: 0 16px;
  }
  .header-search {
    display: none;
  }
  .brand-badge {
    display: none;
  }
  .js-enabled .nav-toggle {
    display: flex;
  }

  .js-enabled .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 25, 0.98);
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 24px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }
  .js-enabled .site-nav[data-open="true"] {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav {
    border-top: 1px solid var(--border-dark);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px;
    min-height: 0;
    white-space: normal;
  }
  .nav-list a {
    justify-content: flex-start;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
  }
  .nav-list a::after {
    display: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .header-shell,
  .footer-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-mark {
    font-size: 20px;
  }
  .brand-name {
    font-size: 12px;
    padding-left: 10px;
  }
  .header-topbar {
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .page-hero {
    padding: 40px 0 32px;
  }
  .section {
    padding: 48px 0;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js-enabled [data-reveal]:not([data-revealed]) {
    opacity: 1;
    transform: none;
  }
}
