:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-subtle: #fbfbfd;
  --surface-tint: #f2f2f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --tertiary: #86868b;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --indigo: #5856d6;
  --teal: #00c7be;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: #d2d2d7;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 28px;
  --pill: 980px;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", "Consolas", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input {
  font: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

button {
  color: inherit;
  border: 0;
}

button:disabled {
  cursor: default;
}

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

img {
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.45);
  outline-offset: 3px;
}

.shell {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  padding: 10px 18px;
  border-radius: var(--pill);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.section {
  padding-block: 88px;
}

.section-index {
  font: 600 11px var(--mono);
  color: var(--blue);
  margin-right: 2px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.heading-dot {
  color: var(--blue);
}

.section-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.22s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.22s;
  border: 1px solid transparent;
}

.button > span {
  font-size: 16px;
  line-height: 1;
}

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

.button-dark {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.24);
}

.button-dark:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.34);
}

.button-light {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-light:hover {
  background: #ffffff;
  border-color: #b8b8bf;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--link);
  padding-block: 8px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link > span {
  font-size: 16px;
  transition: transform 0.22s var(--ease);
}

.text-link:hover > span {
  transform: translateY(2px);
}

/* Apple Glassmorphic Navigation */
.topbar {
  height: 58px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-inner {
  width: min(1200px, calc(100% - 80px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #2c2c2e 0%, #141416 100%);
  color: #f5f5f7;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark > span {
  color: #38bdf8;
  font-size: 11px;
  align-self: center;
  margin: 0 0.5px;
}

.brand-name {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-name small {
  display: block;
  color: var(--tertiary);
  font: 500 8px/1.3 var(--mono);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a {
  font-size: 13px;
  font-weight: 400;
  color: #424245;
  transition: color 0.2s;
  position: relative;
  padding: 8px 0;
}

.nav-links > a:hover {
  color: var(--ink);
}

.nav-links > a > span {
  font: 600 9px var(--mono);
  vertical-align: super;
  margin-left: 4px;
  color: var(--blue);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-action {
  font-size: 12px;
  font-weight: 500;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--pill);
  padding: 6px 14px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-action:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-action span {
  font-size: 13px;
}

.menu-button,
.nav-links .mobile-latest {
  display: none;
}

/* Apple Keynote Hero Section */
.hero {
  padding-top: 64px;
  padding-bottom: 52px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  padding-block: 16px;
}

.hero .eyebrow {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-sm);
  padding: 6px 14px;
  border-radius: var(--pill);
  color: var(--ink);
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: none;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
  flex-shrink: 0;
}

.hero h1 {
  position: relative;
  font-weight: 700;
  font-size: clamp(48px, 5.6vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(95deg, #0071e3 0%, #00a2ff 48%, #5856d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-period {
  display: none;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 500px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0 36px;
}

.hero-footnote {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.045);
  color: #515154;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-visual {
  min-width: 0;
  position: relative;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.hero-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.18), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%);
  border-radius: inherit;
  z-index: 2;
}

.atlas-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1.15;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.visual-head {
  display: flex;
  justify-content: space-between;
  font: 500 10px var(--mono);
  letter-spacing: 0.12em;
  color: rgba(248, 250, 252, 0.72);
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  z-index: 3;
}

.visual-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.8);
  margin: 0 26px 22px;
  padding-top: 15px;
  position: relative;
  z-index: 3;
}

.visual-bottom > span {
  font: 500 9px var(--mono);
  opacity: 0.65;
  white-space: nowrap;
}

.visual-bottom > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-dot {
  background: #38bdf8;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

/* Overview Bento Spec Strip */
.overview {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 34px;
  gap: 28px;
}

.overview-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overview-intro .eyebrow {
  font: 600 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--blue);
}

.overview-intro p {
  font-size: 17px;
  line-height: 1.45;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.overview-stat {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.22s var(--ease);
}

.overview-stat:hover {
  transform: translateY(-2px);
}

.overview-stat > strong {
  font-family: var(--sans);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.overview-stat > strong > span {
  font-size: 12px;
  font-weight: 500;
  margin-left: 6px;
  color: var(--muted);
  letter-spacing: 0;
}

.overview-stat > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.overview-stat i {
  font-style: normal;
  color: var(--blue);
  font-size: 15px;
  transition: transform 0.2s var(--ease);
}

.overview-stat:hover > span {
  color: var(--ink);
}

.overview-stat:hover i {
  transform: translate(2px, -2px);
}

/* Collection & Apple Segmented Toolbar */
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-row {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
  background: rgba(118, 118, 128, 0.12);
  padding: 4px;
  border-radius: var(--pill);
}

.filter-chip {
  min-height: 34px;
  padding: 6px 16px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--pill);
  color: var(--muted);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.filter-chip > span {
  font: 500 10px var(--mono);
  margin-left: 5px;
  opacity: 0.65;
}

.filter-chip.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-chip:not(.active):hover {
  color: var(--ink);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  min-width: 240px;
  max-width: 310px;
  flex: 1;
  padding: 0 15px;
  height: 42px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
}

.search-box > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--tertiary);
}

.search-box input {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
  color: var(--ink);
  height: 100%;
  -webkit-appearance: none;
}

.search-box input:focus-visible {
  outline: 0;
}

.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-box input::placeholder {
  color: var(--tertiary);
}

.search-box kbd {
  font: 500 10px var(--mono);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--tertiary);
}

.search-box button {
  font-size: 19px;
  color: var(--tertiary);
  background: none;
  padding: 0 4px;
}

.library-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--tertiary);
  margin-block: 16px 24px;
  gap: 16px;
}

.library-caption > span:last-child > span {
  margin-left: 4px;
  color: var(--blue);
}

/* Apple Bento Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s;
  min-width: 0;
}

.page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 113, 227, 0.22);
}

.card-cover {
  aspect-ratio: 1.95;
  position: relative;
  overflow: hidden;
  background: var(--surface-tint);
  min-width: 0;
}

.card-cover > svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.65s var(--ease);
}

.page-card:hover .card-cover > svg {
  transform: scale(1.04);
}

.cover-index {
  position: absolute;
  z-index: 2;
  font: 600 9px var(--mono);
  letter-spacing: 0.1em;
  top: 16px;
  left: 20px;
  opacity: 0.72;
}

.cover-type {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  font: 600 8px var(--mono);
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.card-info {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.card-group {
  font-size: 11px;
  font-weight: 500;
  color: var(--tertiary);
}

.card-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 10px;
  border-radius: var(--pill);
  white-space: nowrap;
}

.page-card h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.card-summary {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-bottom > strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--link);
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.page-card:hover .card-arrow {
  background: var(--blue);
  color: #ffffff;
  transform: scale(1.06);
}

/* Featured Flagship Bento Card */
.page-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 380px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.page-card--featured .card-cover {
  order: 2;
  aspect-ratio: auto;
  background: #0b1220;
  height: 100%;
  color: #94a3b8;
}

.page-card--featured .card-cover > svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.page-card--featured .card-info {
  padding: 34px;
  order: 1;
}

.page-card--featured h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-top: 12px;
  margin-bottom: 12px;
}

.page-card--featured .card-tag {
  background: var(--blue);
  color: #ffffff;
}

.featured-subtitle {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-card--featured .card-summary {
  font-size: 13.5px;
}

.featured-version {
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}

.card-grid[data-mode="核心汇报"] {
  grid-template-columns: 1fr;
}

.card-grid[data-mode="核心汇报"] .page-card--featured {
  grid-column: auto;
  min-height: 350px;
}

.card-grid[data-mode="专题汇报"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid[data-mode="专题汇报"] .card-cover {
  aspect-ratio: 2.4;
}

/* Archive Accordion Tray */
.archive {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.archive > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  transition: background 0.2s;
}

.archive > summary:hover {
  background: var(--surface-subtle);
}

.archive > summary::-webkit-details-marker,
.evidence-note > summary::-webkit-details-marker {
  display: none;
}

.archive-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg);
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.archive-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.archive-label strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.archive-label strong > span {
  font: 600 10px var(--mono);
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 2px 7px;
  border-radius: var(--pill);
  margin-left: 8px;
}

.archive-label small {
  font-size: 12px;
  color: var(--muted);
}

.archive-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--link);
  white-space: nowrap;
}

.plus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font: 400 19px/1 var(--mono);
  transition: transform 0.25s var(--ease), background 0.2s;
}

.archive-collapse {
  display: none;
}

.archive[open] .archive-expand {
  display: none;
}

.archive[open] .archive-collapse {
  display: inline;
}

.archive[open] .plus {
  transform: rotate(45deg);
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
}

.archive-list {
  border-top: 1px solid var(--line);
  padding-inline: 28px;
}

.archive-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, transform 0.2s var(--ease);
}

.archive-row:last-child {
  border: 0;
}

.archive-row:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.archive-version {
  font: 600 11px var(--mono);
  color: var(--tertiary);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 8px;
  min-width: 48px;
  text-align: center;
}

.archive-row-main {
  min-width: 0;
}

.archive-row h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.archive-row p {
  font-size: 12px;
  color: var(--muted);
}

.archive-row > span:last-child {
  margin-left: auto;
  font-size: 18px;
  color: var(--tertiary);
}

.empty-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.empty-state > span {
  font-size: 40px;
  line-height: 1.2;
  color: var(--blue);
}

.empty-state h3 {
  font-weight: 600;
  font-size: 22px;
  margin: 12px 0 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

.noscript {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.noscript a {
  color: var(--link);
  text-decoration: underline;
}

/* Reading Route — Apple 4-Step Bento Workflow */
.route-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.route-step {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  position: relative;
  transition: background 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}

.route-step:hover {
  background: var(--surface);
  border-color: rgba(0, 113, 227, 0.24);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-top {
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  color: var(--tertiary);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.step-top > span:last-child {
  font: 16px var(--sans);
  color: var(--blue);
  transition: transform 0.2s var(--ease);
}

.route-step:hover .step-top > span:last-child {
  transform: translate(2px, -2px);
}

.step-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  font: 600 24px/1 var(--sans);
  margin: 28px 0 20px;
}

.route-step:hover .step-symbol {
  background: var(--blue);
  color: #ffffff;
}

.symbol-question {
  font-style: normal;
}

.route-step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}

.route-step p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}

.step-destination {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
  color: var(--link);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Context & Governance Bento Panel */
.notes-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.notes-heading .eyebrow {
  margin-bottom: 16px;
}

.notes-heading h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.notes-heading h2 em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

.notes-content > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.notes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.notes-tags > span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  background: var(--bg);
  border-radius: var(--pill);
  color: var(--ink);
}

.evidence-note {
  border-top: 1px solid var(--line);
  margin-top: 22px;
}

.evidence-note > summary {
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  padding-block: 16px;
  gap: 10px;
  color: var(--ink);
}

.evidence-note > summary > span:last-child {
  margin-left: auto;
  font-size: 18px;
  color: var(--tertiary);
  transition: transform 0.2s var(--ease);
}

.evidence-note[open] > summary > span:last-child {
  transform: rotate(45deg);
  color: var(--blue);
}

.evidence-note > div {
  padding-bottom: 8px;
}

.evidence-note p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
  margin-bottom: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* Apple Footer */
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
  margin-top: 8px;
}

.footer .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-radius: 8px;
}

.footer .brand-mark > span {
  font-size: 10px;
}

.footer .brand-name {
  font-size: 13px;
}

.footer .brand-name > small {
  font-size: 7.5px;
}

.footer-context {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.footer-context > small {
  font: 500 10px var(--mono);
  color: var(--tertiary);
}

.back-top {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.back-top:hover {
  color: var(--ink);
}

.back-top > span {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.back-top:hover > span {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* Page Introduction (intro.html) */
.intro-main {
  padding-bottom: 72px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--tertiary);
  padding-block: 24px;
}

.breadcrumb > a {
  color: var(--muted);
  font-weight: 500;
}

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

.intro-hero {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.intro-copy {
  padding: 46px;
  min-width: 0;
}

.intro-copy .eyebrow {
  display: flex;
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  color: var(--tertiary);
}

.intro-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 4px 11px;
  border-radius: var(--pill);
  margin: 14px 0 12px;
}

.intro-copy h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.intro-subtitle {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 14px;
}

.intro-lede {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 580px;
}

.intro-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 12px;
  flex-wrap: wrap;
}

.open-hint {
  font-size: 11px;
  line-height: 1.5;
  color: var(--tertiary);
}

.intro-preview {
  position: relative;
  min-width: 0;
  min-height: 360px;
  background: #0b1220;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.intro-preview > svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  object-fit: contain;
}

.intro-art-label {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font: 600 9px var(--mono);
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.intro-art-footer {
  position: absolute;
  bottom: 22px;
  left: 26px;
  right: 26px;
  font: 500 9px var(--mono);
  letter-spacing: 0.1em;
  border-top: 1px solid currentColor;
  padding-top: 14px;
  opacity: 0.55;
}

.intro-details {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  padding-block: 64px;
}

.intro-detail-main > .eyebrow {
  margin-bottom: 12px;
}

.intro-detail-main h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.detail-summary {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: focus;
}

.focus-list > li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 500;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: focus;
}

.focus-list > li::before {
  content: "0" counter(focus);
  font: 600 11px var(--mono);
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 4px 9px;
  border-radius: 8px;
}

.focus-list > li:last-child {
  border-bottom: 1px solid var(--line);
}

.intro-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: start;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.aside-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.intro-aside p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.aside-source {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}

.aside-source p {
  font: 500 11px/1.8 var(--mono);
  color: var(--ink);
}

.aside-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aside-bottom .aside-label {
  display: inline;
  margin: 0;
}

.aside-bottom strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 10px;
  border-radius: var(--pill);
}

.related-section {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.related-section .section-heading h2 {
  font-size: 26px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 113, 227, 0.24);
}

.related-number {
  font: 700 24px var(--mono);
  letter-spacing: -0.04em;
  color: var(--blue);
}

.related-copy {
  min-width: 0;
}

.related-copy > span {
  font-size: 11px;
  font-weight: 500;
  color: var(--tertiary);
}

.related-copy > h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 3px;
  line-height: 1.4;
}

.related-copy > p {
  font-size: 12px;
  color: var(--muted);
}

.related-card > span:last-child {
  font-size: 20px;
  margin-left: auto;
  color: var(--blue);
}

.not-found {
  padding: 90px 20px;
  text-align: center;
}

.not-found h1 {
  font-size: 34px;
  margin: 20px 0 10px;
}

.not-found p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 25px;
}

.intro-title-secondary {
  display: inline-block;
  white-space: nowrap;
}

/* Responsive Breakpoints */
@media (min-width: 1600px) {
  .hero {
    padding-top: 76px;
    padding-bottom: 64px;
  }
}

@media (max-width: 1100px) {
  .shell,
  .topbar-inner {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 36px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .desktop-break {
    display: none;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-card--featured {
    min-height: 340px;
  }
  .notes-card {
    padding: 38px;
    gap: 40px;
  }
  .intro-copy {
    padding: 36px;
  }
  .intro-details {
    gap: 40px;
    grid-template-columns: 1fr 290px;
  }
}

@media (max-width: 850px) {
  .nav-links {
    gap: 22px;
  }
  .hero {
    gap: 28px;
    padding-top: 44px;
  }
  .hero h1 {
    font-size: clamp(42px, 6.8vw, 56px);
  }
  .hero-lede {
    font-size: 15px;
  }
  .overview {
    padding: 22px 24px;
    gap: 18px;
  }
  .overview-stat {
    padding-left: 18px;
  }
  .overview-stat > strong {
    font-size: 32px;
  }
  .library-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .filter-row {
    justify-content: space-between;
  }
  .search-box {
    max-width: none;
    width: 100%;
  }
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notes-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro-hero {
    grid-template-columns: 1.15fr 1fr;
  }
  .intro-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section {
    padding-block: 64px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }
  .shell,
  .topbar-inner {
    width: calc(100% - 36px);
  }
  .topbar {
    height: 54px;
  }
  .nav-action {
    display: none;
  }
  .menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
  }
  .menu-lines {
    width: 17px;
    height: 11px;
    border-top: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    position: relative;
  }
  .menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 3.5px;
    border-top: 1.5px solid var(--ink);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  }
  .nav-links > a {
    padding: 13px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .mobile-latest {
    display: block;
    color: var(--blue);
    font-weight: 600;
    border: 0;
  }
  .topbar.menu-open .nav-links {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 20px;
  }
  .overview-intro {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .overview-intro p {
    font-size: 13px;
    margin: 0;
    text-align: right;
  }
  .overview-intro p > br {
    display: none;
  }
  .overview-stat {
    padding-left: 12px;
  }
  .overview-stat:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
  .overview-stat > strong {
    font-size: 28px;
  }
  .overview-stat > span {
    font-size: 11px;
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-description {
    text-align: left;
    margin-top: 10px;
  }
  .section-description br {
    display: none;
  }
  .filter-chip {
    padding: 6px 10px;
    font-size: 12px;
  }
  .search-box kbd {
    display: none;
  }
  .card-grid,
  .card-grid[data-mode="专题汇报"] {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-card--featured {
    grid-column: auto;
    display: flex;
    min-height: 0;
  }
  .page-card--featured .card-cover {
    order: 0;
    aspect-ratio: 1.85;
    height: auto;
  }
  .page-card--featured .card-cover > svg {
    position: static;
  }
  .page-card--featured .card-info {
    padding: 24px;
  }
  .page-card--featured h3 {
    font-size: 25px;
  }
  .route-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .notes-card {
    padding: 28px 22px;
  }
  .footer {
    flex-wrap: wrap;
    padding-block: 24px;
  }
  .footer-context {
    order: 3;
    width: 100%;
    text-align: left;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .intro-hero {
    grid-template-columns: 1fr;
  }
  .intro-copy {
    padding: 28px 22px;
  }
  .intro-actions {
    flex-direction: column;
  }
  .intro-actions .button {
    width: 100%;
  }
  .intro-preview {
    min-height: 0;
    max-height: 260px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .intro-title-secondary {
    display: block;
  }
  .intro-title-separator {
    display: none;
  }
}

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

@media print {
  .topbar,
  .hero-actions,
  .library-toolbar,
  .menu-button,
  .back-top {
    display: none;
  }
  .shell {
    width: 100%;
  }
  .hero-visual,
  .page-card,
  .overview,
  .notes-card {
    box-shadow: none;
  }
  .page-card,
  .route-step {
    break-inside: avoid;
  }
  .section {
    padding-block: 28px;
  }
  .archive:not([open]) .archive-list {
    display: block;
  }
  body {
    background: #ffffff;
  }
}

/* =========================================================================
   3D SPATIAL × APPLE CUPERTINO FLAGSHIP EXTENSIONS
   ========================================================================= */

.nav-links > a b,
.nav-action b,
.menu-button b,
.hero-actions b,
.filter-chip b,
.library-caption b,
.archive-label b,
.empty-state b,
.overview-stat b,
.evidence-note b,
.footer-context b,
.back-top b,
.intro-actions b,
.text-link b {
  font-weight: inherit;
}

.hero h1 {
  font-size: clamp(40px, 4.3vw, 60px);
  line-height: 1.12;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px 18px;
}

.button,
.text-link {
  white-space: nowrap;
}

/* Language Switcher Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: var(--pill);
  background: rgba(118, 118, 128, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border-radius: var(--pill);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1.2;
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* 3D Spatial Interactive Stage (Hero Right Column) */
.spatial-stage {
  background: radial-gradient(circle at 50% 36%, #132544 0%, #091122 58%, #050913 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 32px 72px rgba(5, 10, 24, 0.28),
    0 8px 24px rgba(0, 113, 227, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
}

.spatial-stage .visual-head {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  padding: 20px 24px 0;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stage-modes {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px;
  border-radius: var(--pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stage-mode-btn {
  padding: 4px 10px;
  border-radius: var(--pill);
  font: 600 10px var(--mono);
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.72);
  background: transparent;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.stage-mode-btn:hover {
  color: #ffffff;
}

.stage-mode-btn.active {
  background: linear-gradient(135deg, #0071e3 0%, #38bdf8 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

.spatial-stage-canvas {
  width: 100%;
  height: 330px;
  display: block;
  cursor: grab;
  position: relative;
  z-index: 1;
}

.spatial-stage-canvas:active {
  cursor: grabbing;
}

/* Floating VisionOS 3D Glass HUD Card inside Hero Stage */
.stage-hud {
  position: relative;
  z-index: 3;
  margin: 0 22px 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.stage-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.stage-hud-badge {
  font: 600 9.5px var(--mono);
  letter-spacing: 0.1em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 9px;
  border-radius: var(--pill);
}

.stage-hud-cta {
  font-size: 11.5px;
  font-weight: 600;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 11px;
  border-radius: var(--pill);
  transition: background 0.2s, transform 0.2s;
}

.stage-hud-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.stage-hud-title {
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 4px;
}

.stage-hud-metrics {
  font: 500 11px var(--mono);
  color: rgba(203, 213, 225, 0.8);
}

/* 3D Spatial Pillars Trio */
.spatial-hub {
  margin-bottom: 28px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bento-pillar {
  position: relative;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.bento-pillar.pillar-dark {
  background: linear-gradient(155deg, #0f172a 0%, #090f1d 100%);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
}

.bento-pillar.pillar-indigo {
  background: linear-gradient(155deg, #ffffff 0%, #f3f4ff 100%);
}

.bento-pillar.pillar-teal {
  background: linear-gradient(155deg, #ffffff 0%, #effcf9 100%);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.pillar-badge {
  font: 600 9.5px var(--mono);
  letter-spacing: 0.1em;
  color: var(--blue);
}

.pillar-dark .pillar-badge {
  color: #38bdf8;
}

.pillar-count {
  font: 600 9.5px var(--mono);
  padding: 3px 9px;
  border-radius: var(--pill);
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
}

.pillar-dark .pillar-count {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.bento-pillar h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.bento-pillar p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 22px;
}

.pillar-dark p {
  color: rgba(203, 213, 225, 0.82);
}

.pillar-links {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--link);
}

.pillar-dark .pillar-links {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #38bdf8;
}

.pillar-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Section 02: Selected Engineering & Case Studies Bento Grid */
.eng-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.eng-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.eng-visual {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.eng-card--indigo .eng-visual {
  background: linear-gradient(140deg, #1e1b4b 0%, #0f172a 100%);
}

.eng-card--teal .eng-visual {
  background: linear-gradient(140deg, #0f292e 0%, #091526 100%);
}

.eng-card--cyan .eng-visual {
  background: linear-gradient(140deg, #0c2d48 0%, #091326 100%);
}

.eng-card--purple .eng-visual {
  background: linear-gradient(140deg, #2e1065 0%, #0f172a 100%);
}

.eng-hud {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
  color: #f8fafc;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.eng-hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font: 600 11px var(--mono);
  color: #cbd5e1;
}

.eng-hud-pill {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.32);
  padding: 2px 9px;
  border-radius: var(--pill);
  font-size: 10px;
}

.eng-hud-rows {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.eng-hud-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(226, 232, 240, 0.76);
}

.eng-hud-rows b {
  font: 600 11.5px var(--mono);
  color: #ffffff;
}

.eng-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eng-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: var(--tertiary);
}

.eng-badge {
  font: 600 10px var(--mono);
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  padding: 3px 9px;
  border-radius: var(--pill);
}

.eng-body h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}

.eng-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
}

.eng-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eng-footer strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--link);
}

.eng-card:hover .card-arrow {
  background: var(--blue);
  color: #ffffff;
  transform: scale(1.06);
}

/* Open-Source Archive Matrix Card */
.repo-matrix-card {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 34px;
}

.repo-matrix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.repo-matrix-head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 6px;
}

.repo-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.repo-pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid transparent;
  transition: background 0.22s, border-color 0.22s, transform 0.22s var(--ease), box-shadow 0.22s;
  position: relative;
}

.repo-pill:hover {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.24);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.repo-pill b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}

.repo-pill small {
  font-size: 12px;
  color: var(--muted);
}

.repo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-ai { background: #6366f1; }
.dot-sci { background: #0d9488; }
.dot-dev { background: #0071e3; }
.dot-exp { background: #f59e0b; }

/* 4 Focus Pillars Grid */
.focus-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.focus-pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.focus-num {
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}

.focus-pillar h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}

.focus-pillar p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Apple VisionOS 3D Perspective Tilt & Specular Reflection */
.spatial-tilt-surface {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.spatial-tilt-surface.is-tilting {
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, -5px, 0) !important;
  transition: transform 0.08s linear, box-shadow 0.25s var(--ease), border-color 0.25s !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.11), 0 6px 16px rgba(0, 113, 227, 0.08) !important;
}

.spatial-tilt-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.36),
    rgba(56, 189, 248, 0.08) 38%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.spatial-tilt-surface.is-tilting::before {
  opacity: 1;
}

@media (max-width: 1100px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .focus-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .eng-bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .focus-pillars-grid {
    grid-template-columns: 1fr;
  }
  .spatial-stage {
    min-height: 460px;
  }
  .spatial-stage-canvas {
    height: 260px;
  }
  .repo-matrix-card {
    padding: 22px 20px;
  }
}

