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

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

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #F5F0E8;
  background-color: #0B1D3A;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #00E5FF;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

a:hover {
  color: #FF6B35;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Impact, 'Arial Narrow', 'Helvetica Narrow', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #F5F0E8;
}

p {
  color: rgba(245, 240, 232, 0.78);
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #00E5FF;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== CSS Variables ===== */
:root {
  --color-space: #0B1D3A;
  --color-space-deep: #081428;
  --color-accent: #FF6B35;
  --color-electric: #00E5FF;
  --color-rock: #8A8F98;
  --color-moss: #6B8E23;
  --color-clay: #C17A5E;
  --color-cream: #F5F0E8;
  --color-ink: #111827;

  --font-heading: Impact, 'Arial Narrow', 'Helvetica Narrow', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;

  --container-max: 1320px;
  --container-pad: 1.25rem;

  --header-top-h: 76px;
  --header-quick-h: 38px;

  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-panel: 0 6px 28px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
    --header-top-h: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-top-h: 60px;
    --header-quick-h: 32px;
  }
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-height: 42px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 300ms ease;
}

.btn-accent:hover {
  background: #E8501F;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn-accent:hover::after {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--color-electric);
  border: 1px solid rgba(0, 229, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--color-electric);
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--color-accent);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: top 220ms ease;
  white-space: nowrap;
}

.skip-link:focus-visible {
  top: 0;
  color: #fff;
}

/* ===== Scroll Progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 999;
  pointer-events: none;
  background: rgba(245, 240, 232, 0.08);
}

.scroll-progress::before {
  content: '';
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-electric));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  transition: width 60ms linear;
}

/* ===== Page Header (shared by pages) ===== */
.page-head {
  background: linear-gradient(135deg, var(--color-space), #142B52 70%, var(--color-space-deep));
  padding: var(--space-xl) 0 var(--space-xl);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.page-head::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 7px,
    rgba(0, 229, 255, 0.035) 7px,
    rgba(0, 229, 255, 0.035) 8px
  );
}

.page-head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-electric), transparent);
}

.page-title {
  font-size: 2.75rem;
  margin-bottom: 0.375rem;
  position: relative;
}

.page-subtitle {
  color: rgba(245, 240, 232, 0.6);
  max-width: 640px;
  position: relative;
  font-size: 1rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.5);
  padding: var(--space-sm) 0 var(--space-xs);
}

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

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

.breadcrumb-sep {
  color: rgba(245, 240, 232, 0.3);
  margin: 0 0.125rem;
}

/* ===== Section ===== */
.section {
  padding: var(--space-2xl) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-md);
}

.section-title {
  font-size: 2rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--color-rock);
  font-size: 0.9375rem;
  max-width: 480px;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: linear-gradient(145deg, rgba(11, 29, 58, 0.92), rgba(17, 45, 84, 0.68));
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -60%;
  width: 120%;
  height: 120%;
  background: linear-gradient(45deg, transparent, rgba(0, 229, 255, 0.04), transparent);
  transform: rotate(12deg);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

/* ===== Cut Corner Panel ===== */
.panel-cut {
  background: linear-gradient(145deg, rgba(11, 29, 58, 0.88), rgba(17, 45, 84, 0.62));
  border: 1px solid rgba(0, 229, 255, 0.14);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: var(--space-lg);
}

/* ===== Figure (responsive image container) ===== */
.figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.85), rgba(17, 45, 84, 0.5));
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0, 229, 255, 0.03) 10px,
    rgba(0, 229, 255, 0.03) 11px
  );
}

.figure::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.08), transparent);
  animation: figure-sweep 3.2s ease-in-out infinite;
}

@keyframes figure-sweep {
  0%,
  55% {
    left: -100%;
  }
  100% {
    left: 220%;
  }
}

.figure img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 22px,
      rgba(0, 229, 255, 0.015) 22px,
      rgba(0, 229, 255, 0.015) 23px
    ),
    var(--color-space);
  border-bottom: 1px solid rgba(0, 229, 255, 0.14);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.header-top {
  position: relative;
  height: var(--header-top-h);
  border-bottom: 1px solid rgba(245, 240, 232, 0.05);
}

.header-top::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-electric));
  z-index: 1;
}

.header-top-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 100%;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  color: var(--color-cream);
}

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

.brand-mark {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(255, 107, 53, 0.2));
  border: 2px solid var(--color-electric);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transition: filter 180ms ease;
}

.brand:hover .brand-mark {
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: translate(-50%, -50%);
  animation: brand-pulse 1.6s ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

@keyframes brand-pulse {
  from {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.brand-name {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--color-cream);
}

.brand-name::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-electric));
  transform: skewX(-20deg);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  position: relative;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.82);
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-electric);
  border-radius: 2px;
  transition: width 220ms ease;
}

.nav-link:hover {
  color: var(--color-electric);
}

.nav-link:hover::after {
  width: 70%;
}

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

.nav-link[aria-current="page"]::after {
  width: 70%;
  background: var(--color-accent);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-cta {
  padding: 0.5rem 1rem;
  min-height: 36px;
  font-size: 0.875rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.14);
  border-radius: var(--radius-sm);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.nav-toggle:hover {
  border-color: var(--color-electric);
  background: rgba(0, 229, 255, 0.05);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-cream);
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Quick access bar */
.header-quick {
  background: linear-gradient(180deg, var(--color-space-deep), rgba(8, 20, 40, 0.92));
  border-bottom: 1px solid rgba(255, 107, 53, 0.12);
}

.header-quick-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-quick-h);
  white-space: nowrap;
  padding-top: 0.1875rem;
  padding-bottom: 0.1875rem;
}

.quick-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-right: 0.375rem;
}

.quick-link {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.62);
  padding: 0.1875rem 0.625rem;
  border-left: 1px solid rgba(245, 240, 232, 0.1);
  transition: color 180ms ease;
}

.quick-link:hover {
  color: var(--color-electric);
}

/* Data stream decoration */
.header-stream {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 8px;
  padding: 0 var(--container-pad);
  background: var(--color-space-deep);
  overflow: hidden;
}

.stream-bar {
  flex: 1;
  max-width: 36px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-electric), var(--color-accent));
  opacity: 0.45;
  transform-origin: bottom;
  animation: stream-bounce 1.4s ease-in-out infinite alternate;
}

.stream-bar:nth-child(1) {
  animation-delay: 0s;
}

.stream-bar:nth-child(2) {
  animation-delay: 0.12s;
}

.stream-bar:nth-child(3) {
  animation-delay: 0.24s;
}

.stream-bar:nth-child(4) {
  animation-delay: 0.36s;
}

.stream-bar:nth-child(5) {
  animation-delay: 0.48s;
}

.stream-bar:nth-child(6) {
  animation-delay: 0.6s;
}

.stream-bar:nth-child(7) {
  animation-delay: 0.2s;
}

.stream-bar:nth-child(8) {
  animation-delay: 0.42s;
}

.stream-bar:nth-child(9) {
  animation-delay: 0.06s;
}

.stream-bar:nth-child(10) {
  animation-delay: 0.54s;
}

.stream-bar:nth-child(11) {
  animation-delay: 0.3s;
}

.stream-bar:nth-child(12) {
  animation-delay: 0.18s;
}

@keyframes stream-bounce {
  from {
    transform: scaleY(0.2);
  }
  to {
    transform: scaleY(0.95);
  }
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  margin-top: auto;
  background: var(--color-ink);
  color: rgba(245, 240, 232, 0.68);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-electric), var(--color-accent));
  z-index: 1;
}

.footer-main {
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: var(--space-2xl);
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: var(--space-md);
  color: var(--color-cream);
}

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

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.footer-brand .brand-mark::before {
  width: 10px;
  height: 10px;
}

.footer-brand .brand-name {
  font-size: 1.25rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.55);
  max-width: 360px;
}

.footer-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  padding-bottom: 0.5rem;
}

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

.footer-nav-list li {
  margin-bottom: 0.625rem;
}

.footer-link {
  display: inline-block;
  position: relative;
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.62);
  transition: color 180ms ease, padding-left 180ms ease;
}

.footer-link::before {
  content: '▸';
  display: inline-block;
  color: var(--color-electric);
  margin-right: 0.375rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-link:hover {
  color: var(--color-electric);
  padding-left: 0.375rem;
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-list li {
  margin-bottom: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.62);
  word-break: break-all;
}

.footer-contact-item::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.footer-note {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.6;
  max-width: 300px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: var(--space-md) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.48);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal-link {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.48);
  transition: color 180ms ease;
}

.footer-legal-link:hover {
  color: var(--color-electric);
}

.footer-icp {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.625rem 0;
}

.footer-icp-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.36);
}

.footer-trust {
  max-width: 520px;
  text-align: right;
  line-height: 1.5;
}

/* ===== Reveal on Scroll ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 300ms ease, transform 300ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-space);
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: var(--shadow-panel);
    max-height: calc(100vh - var(--header-top-h) - 8px);
    overflow-y: auto;
    margin-left: 0;
  }

  .main-nav[data-open] {
    display: block;
  }

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

  .nav-item {
    border-bottom: 1px solid rgba(245, 240, 232, 0.05);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 0.875rem var(--container-pad);
    font-size: 1rem;
  }

  .nav-link::after {
    left: var(--container-pad);
    right: auto;
    transform: none;
    width: 0;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-quick-inner {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .header-quick-inner::-webkit-scrollbar {
    display: none;
  }

  .header-stream {
    height: 5px;
    padding: 0 1rem;
  }

  .header-top::before {
    width: 100px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

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

  .brand-mark::before {
    width: 10px;
    height: 10px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .footer-icp-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-trust {
    text-align: left;
  }

  .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .quick-label {
    font-size: 0.6875rem;
  }

  .quick-link {
    font-size: 0.75rem;
  }
}

/* ===== Focus & Reveal Motion Safety ===== */
@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;
  }

  .scroll-progress::before {
    transition: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .brand-mark::before {
    animation: none;
    box-shadow: none;
  }

  .stream-bar {
    animation: none;
    opacity: 0.3;
  }
}
