*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

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

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

:root {
  --bg-deep: #0B0F1A;
  --bg-raised: #131A2B;
  --line: #1F2A3D;
  --line-cyan: rgba(0, 240, 255, 0.45);
  --line-orange: rgba(255, 102, 0, 0.5);
  --cyan: #00F0FF;
  --orange: #FF6600;
  --text: #E8F2FF;
  --text-dim: #A0B0CC;
  --success: #00C48C;
  --danger: #FF3B6B;
  --font-display: 'Orbitron', 'Rajdhani', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Roboto', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-sticky-h: 110px;
  --table-sticky-top: calc(var(--header-sticky-h) + 1px);
  --chapter-sticky-top: calc(var(--header-sticky-h) + 24px);
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.10), transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255, 102, 0, 0.08), transparent 1px);
  background-size: 140px 140px, 180px 180px;
  background-position: 0 0, 40px 60px;
  animation: bgDrift 60s linear infinite alternate;
}

@keyframes bgDrift {
  from {
    background-position: 0 0, 40px 60px;
  }
  to {
    background-position: 140px 120px, 220px 240px;
  }
}

::selection {
  background: rgba(0, 240, 255, 0.22);
  color: #fff;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--orange);
  color: #0B0F1A;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.text-strong {
  color: var(--text);
  font-weight: 500;
}

.text-muted {
  color: var(--text-dim);
  font-size: 14px;
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line) 0%, transparent 100%);
  margin: 48px 0;
}

.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);
}

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

.grid-side > :first-child {
  grid-column: span 5;
}

.grid-side > :last-child {
  grid-column: span 7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.25s, border-color 0.25s, color 0.25s, filter 0.3s, transform 0.2s;
}

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

.btn:active {
  transform: none;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B0F1A;
  filter: drop-shadow(0 6px 18px rgba(255, 102, 0, 0.30));
}

.btn-primary:hover {
  background: #ff7a26;
  filter: drop-shadow(0 10px 28px rgba(255, 102, 0, 0.45));
}

.btn-ghost {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.25));
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.breadcrumbs a + a::before {
  content: " / ";
  color: var(--line-cyan);
  margin-right: 6px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--cyan);
}

.site-header {
  position: relative;
  background: var(--bg-deep);
  z-index: 200;
}

.header-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.03), transparent);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.header-topline-text {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.header-topline-text::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}

.header-topline-meta {
  color: var(--text-dim);
  white-space: nowrap;
}

.header-sticky {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 26, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}

.header-sticky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 100%);
  opacity: 0.5;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  clip-path: polygon(0 0, 70% 0, 100% 100%, 30% 100%);
  filter: drop-shadow(0 2px 8px rgba(0, 240, 255, 0.30));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.brand-name-en {
  color: var(--cyan);
}

.brand-name-cn {
  color: var(--text);
}

.brand-slogan {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-main-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-raised);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.nav-toggle:hover {
  border-color: var(--line-cyan);
}

.nav-toggle.is-active {
  border-color: var(--cyan);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.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);
}

.header-nav-row {
  border-top: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 46px;
}

.site-nav a {
  position: relative;
  padding: 14px 2px 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: right 0.35s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::before {
  right: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--cyan);
}

.site-nav a[aria-current="page"]::before {
  right: 0;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  transition: transform 0.1s linear;
  pointer-events: none;
}

.site-footer {
  position: relative;
  margin-top: 96px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #070A12 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 1fr;
  gap: 48px;
  padding: 56px 0 44px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brief {
  max-width: 400px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-dim);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--line);
  transition: color 0.25s, border-color 0.25s, padding-left 0.25s;
}

.footer-nav a:hover {
  color: var(--cyan);
  border-left-color: var(--orange);
  padding-left: 18px;
}

.footer-nav a[aria-current="page"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal-links a {
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

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

.footer-contact {
  line-height: 1.8;
  font-size: 13px;
}

.footer-note {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
}

.footer-trust {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.75;
}

.footer-icp {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.section-index {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
  color: rgba(0, 240, 255, 0.16);
  -webkit-text-stroke: 1px rgba(0, 240, 255, 0.6);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 560px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line-cyan);
  border-radius: 2px 12px 2px 12px;
  background: rgba(0, 240, 255, 0.06);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}

.panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.card {
  background: linear-gradient(160deg, var(--bg-raised), rgba(11, 15, 26, 0.9));
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--line-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--text);
}

.card-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-raised);
}

.table-sticky {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  min-width: 720px;
}

.table-sticky th,
.table-sticky td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.table-sticky th {
  position: sticky;
  top: var(--table-sticky-top);
  background: var(--bg-raised);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
}

.table-sticky tr:last-child td {
  border-bottom: 0;
}

.table-sticky tbody tr {
  transition: background 0.2s;
}

.table-sticky tbody tr:hover {
  background: rgba(0, 240, 255, 0.04);
}

.timeline {
  position: relative;
  margin: 24px 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 18px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: var(--bg-deep);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.08);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.chapter-nav {
  position: sticky;
  top: var(--chapter-sticky-top);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}

.chapter-nav a {
  position: relative;
  display: block;
  padding: 9px 14px 9px 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-dim);
  border-left: 2px solid var(--line);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.chapter-nav a::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--bg-deep);
  border: 1px solid var(--line);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.chapter-nav a:hover {
  color: var(--text);
  border-left-color: var(--line-cyan);
}

.chapter-nav a.is-active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(0, 240, 255, 0.05);
}

.chapter-nav a.is-active::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.image-frame,
.image-frame-wide,
.image-frame-portrait {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.image-frame {
  aspect-ratio: 16 / 10;
}

.image-frame-wide {
  aspect-ratio: 21 / 9;
}

.image-frame-portrait {
  aspect-ratio: 3 / 4;
}

.image-frame img,
.image-frame-wide img,
.image-frame-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame::after,
.image-frame-wide::after,
.image-frame-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 55%, rgba(0, 240, 255, 0.08) 100%);
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 18, 31, 0.9);
  border: 1px solid var(--line-cyan);
  border-radius: 4px;
  color: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s;
}

.back-to-top::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(3px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--cyan);
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.35));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (max-width: 1179px) {
  :root {
    --header-sticky-h: 110px;
  }

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

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

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 959px) {
  :root {
    --header-sticky-h: 56px;
  }

  .header-topline {
    display: none;
  }

  .header-main {
    padding: 12px 0;
    gap: 12px;
  }

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

  .brand-name {
    font-size: 20px;
  }

  .brand-slogan,
  .header-cta {
    display: none;
  }

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

  .header-nav-row {
    border-top: 0;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    background: rgba(19, 26, 43, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    animation: navOpen 0.28s var(--ease);
  }

  .site-nav[data-open] {
    display: flex;
  }

  @keyframes navOpen {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav a::before {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    background: rgba(0, 240, 255, 0.06);
  }

  .grid-side {
    grid-template-columns: 1fr;
  }

  .grid-side > :first-child,
  .grid-side > :last-child {
    grid-column: 1 / -1;
  }

  .chapter-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .chapter-nav a {
    border-left: 0;
    border-bottom: 2px solid var(--line);
  }

  .chapter-nav a::before {
    display: none;
  }

  .chapter-nav a.is-active {
    border-bottom-color: var(--cyan);
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .footer-legal {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-icp {
    white-space: normal;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@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-behavior: auto !important;
  }

  body::before {
    animation: none;
  }

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

  .scroll-progress {
    transition: none;
  }
}
