:root {
  --bg: #0A0E1A;
  --surface: #131A2A;
  --surface-2: #1F2A44;
  --line: rgba(0, 217, 255, 0.2);
  --cyan: #00D9FF;
  --cyan-soft: rgba(0, 217, 255, 0.12);
  --orange: #FF6B35;
  --orange-soft: rgba(255, 107, 53, 0.14);
  --text: #E0E6F0;
  --text-soft: #B0B8CC;
  --yellow: #F5A623;
  --grad-start: #004CFF;
  --grad-end: #00FFD1;
  --display-font: "Orbitron", "DIN Alternate", "Bahnschrift", "Arial Narrow", sans-serif;
  --body-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1360px;
  --radius: 24px;
  --radius-s: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 84px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 40px rgba(0, 217, 255, 0.18);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(720px 480px at 12% 8%, rgba(0, 76, 255, 0.22), transparent 70%),
    radial-gradient(520px 380px at 88% 88%, rgba(0, 217, 255, 0.12), transparent 70%),
    radial-gradient(320px 240px at 72% 16%, rgba(0, 255, 209, 0.07), transparent 80%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: #F4F7FF;
  font-family: var(--display-font);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--cyan);
  text-decoration-color: rgba(0, 217, 255, 0.4);
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: #fff;
  text-decoration-color: var(--orange);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

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

::selection {
  background: rgba(0, 217, 255, 0.3);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  background: var(--cyan);
  color: #001;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.4);
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: #001;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reading-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 3px;
  pointer-events: none;
}

.reading-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--grad-start), var(--cyan), var(--grad-end));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.header-shell {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  order: 1;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--grad-start), var(--cyan) 55%, var(--grad-end));
  color: #071021;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 22px rgba(0, 217, 255, 0.45), inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--display-font);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}

.brand-tagline {
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  order: 2;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nav;
}

.nav-list li {
  counter-increment: nav;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-link::before {
  content: counter(nav, decimal-leading-zero) "·";
  font-family: var(--display-font);
  font-size: 0.62em;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0.8;
}

.nav-link:hover {
  color: #fff;
  background: var(--cyan-soft);
  border-color: rgba(0, 217, 255, 0.3);
}

.nav-link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.18), rgba(0, 76, 255, 0.08));
  border-color: rgba(0, 217, 255, 0.5);
  box-shadow: inset 0 -2px 0 var(--cyan), 0 0 18px rgba(0, 217, 255, 0.15);
}

.nav-link[aria-current="page"]::before {
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.7rem 0.45rem 0.6rem;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 217, 255, 0.08);
  color: var(--cyan);
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  order: 3;
}

.nav-toggle-box {
  display: grid;
  gap: 4px;
  width: 22px;
}

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

.nav-toggle-text {
  letter-spacing: 0.08em;
}

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

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

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0) 0%, rgba(13, 21, 38, 0.72) 30%, #090C16 100%);
  border-top: 1px solid rgba(0, 217, 255, 0.22);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.5), var(--orange), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 76, 255, 0.24), transparent 65%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 40px;
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) 1fr 1fr minmax(220px, 1fr);
  gap: 40px;
}

.footer-panel {
  min-width: 0;
}

.footer-about {
  max-width: 46em;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  text-decoration: none;
}

.footer-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #071021;
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 0.9rem;
}

.footer-brand-name {
  font-family: var(--display-font);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-statement {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 34em;
  margin-bottom: 12px;
}

.footer-support {
  display: inline-block;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border-left: 2px solid var(--orange);
  border-radius: 6px;
  background: rgba(255, 107, 53, 0.08);
  color: var(--orange);
  font-size: 0.85rem;
}

.footer-title {
  margin-bottom: 16px;
  font-family: var(--display-font);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  border-bottom-color: var(--cyan);
  color: #fff;
}

.footer-contact {
  border-left: 1px solid rgba(0, 217, 255, 0.12);
  padding-left: 20px;
}

.footer-contact-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.footer-legal {
  letter-spacing: 0.1em;
}

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

.container--narrow {
  max-width: 880px;
}

.container--wide {
  max-width: 1600px;
}

#main-content {
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--body-font);
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #FF8B5C);
  color: #0A0E1A;
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FF7A45, #FF9A6E);
  color: #0A0E1A;
  box-shadow: 0 12px 36px rgba(255, 107, 53, 0.34);
}

.btn-secondary {
  background: rgba(0, 217, 255, 0.1);
  border-color: rgba(0, 217, 255, 0.35);
  color: var(--cyan);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(0, 217, 255, 0.18);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  background: rgba(0, 217, 255, 0.1);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.badge--orange {
  background: rgba(255, 107, 53, 0.14);
  color: var(--orange);
}

.badge--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-soft);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: rgba(255, 255, 255, 0.3);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 8vw, 96px) 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
}

.hero-display {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-summary {
  align-self: center;
  margin: 0;
  padding-left: clamp(16px, 3vw, 32px);
  border-left: 1px solid rgba(0, 217, 255, 0.2);
  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.section-block {
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-index {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--display-font);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  color: var(--cyan);
  text-transform: uppercase;
}

.stack-panel {
  position: relative;
  margin: 28px 0;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(19, 26, 42, 0.88), rgba(13, 20, 34, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stack-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 0 0, rgba(0, 217, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.stack-panel--narrow {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.stack-panel--offset {
  margin-left: clamp(24px, 6vw, 96px);
}

.stack-panel--offset-left {
  margin-right: clamp(24px, 6vw, 96px);
}

.surface-elevated {
  background: linear-gradient(180deg, rgba(19, 26, 42, 0.72), rgba(19, 26, 42, 0.3));
  border-top: 1px solid rgba(0, 217, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin: 32px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 32px 0;
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-s);
  background: var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 60%);
  opacity: 0.4;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 217, 255, 0.4);
  background: var(--surface-2);
}

.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 14px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(19, 26, 42, 0.6);
}

.data-table th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 217, 255, 0.25);
  background: rgba(0, 76, 255, 0.12);
  text-align: left;
  font-family: var(--display-font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
}

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

.data-table tbody tr:hover td {
  background: rgba(0, 217, 255, 0.04);
  color: #fff;
}

.callout {
  margin: 24px 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 107, 53, 0.18);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--text);
  font-size: 0.95rem;
}

.callout--neutral {
  border-color: rgba(0, 217, 255, 0.18);
  border-left-color: var(--cyan);
  background: rgba(0, 217, 255, 0.07);
}

.editor-note {
  margin: 24px 0;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.archive-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.archive-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(19, 26, 42, 0.6);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.archive-list a:hover {
  transform: translateX(4px);
  border-color: rgba(0, 217, 255, 0.4);
  background: var(--surface-2);
  color: #fff;
}

.media-frame {
  position: relative;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(135deg, #10162A, #1A2440);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 76, 255, 0.28), transparent 55%),
    linear-gradient(120deg, rgba(0, 217, 255, 0.08), transparent 70%);
}

.media-frame[data-caption]::after {
  content: attr(data-caption);
  position: absolute;
  left: 12px;
  bottom: 10px;
  max-width: calc(100% - 24px);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.68);
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-visual {
  position: relative;
  min-height: 180px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 76, 255, 0.3), rgba(0, 217, 255, 0.12));
}

.data-visual::before {
  content: "";
  position: absolute;
  inset: 22% 8% 22% 8%;
  opacity: 0.5;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 24px);
}

.version-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: 8px;
  background: rgba(0, 217, 255, 0.08);
  color: var(--cyan);
  font-family: var(--display-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.version-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(56px);
  opacity: 0.55;
}

.glow-orb--cyan {
  background: rgba(0, 217, 255, 0.55);
}

.glow-orb--orange {
  background: rgba(255, 107, 53, 0.45);
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .header-shell {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
  }

  .brand {
    order: 1;
  }

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

  .site-nav {
    order: 3;
    flex: 1 0 100%;
  }

  .site-nav[data-nav] {
    display: none;
    margin-top: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow);
  }

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

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

  .nav-link {
    border-radius: 14px;
    padding: 0.85rem 1rem;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-summary {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    padding-top: 20px;
  }

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

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

@media (max-width: 620px) {
  :root {
    --header-h: 60px;
  }

  .header-shell {
    padding: 8px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.9rem;
  }

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

  .brand-tagline {
    font-size: 0.62rem;
  }

  .container {
    padding: 0 18px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 18px 24px;
  }

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .content-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .stack-panel--offset,
  .stack-panel--offset-left {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-summary {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-ghost:hover,
  .info-card:hover,
  .archive-list a:hover {
    transform: none;
  }

  .reading-progress-bar {
    will-change: auto;
  }
}
