:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #edf2f8;
  --surface-dark: #07111d;
  --surface-dark-2: #0d1828;
  --text: #102033;
  --text-soft: #526173;
  --text-invert: #f5f8fc;
  --line: rgba(16, 32, 51, 0.1);
  --shadow: 0 18px 50px rgba(7, 17, 29, 0.12);
  --shadow-soft: 0 10px 30px rgba(7, 17, 29, 0.08);
  --static: #4caf50;
  --dynamic: #ff9800;
  --mixed: #9c27b0;
  --outside: #607d8b;
  --status-derived: #1e88e5;
  --status-theorem: #00897b;
  --status-derived-scoped: #8e24aa;
  --status-conditional: #fb8c00;
  --status-no-go: #d84315;
  --accent: #7dd3fc;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1240px;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 152, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(243, 246, 251, 0.88);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.site-header.dark {
  background: rgba(7, 17, 29, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-header.dark .brand-kicker {
  color: rgba(245, 248, 252, 0.7);
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header.dark .brand-title {
  color: var(--text-invert);
}

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

.nav-link {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(16, 32, 51, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.site-header.dark .nav-link {
  color: rgba(245, 248, 252, 0.78);
}

.site-header.dark .nav-link:hover,
.site-header.dark .nav-link:focus-visible,
.nav-link.active {
  background: rgba(125, 211, 252, 0.16);
  color: var(--text-invert);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--text-invert);
  background:
    radial-gradient(circle at 12% 18%, rgba(76, 175, 80, 0.24), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255, 152, 0, 0.18), transparent 21%),
    radial-gradient(circle at 50% 0%, rgba(125, 211, 252, 0.11), transparent 38%),
    linear-gradient(145deg, #020912 0%, #09111d 45%, #101b2d 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 64%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 72%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px);
  background-size: 240px 240px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 32px;
  padding: 88px 0 84px;
}

.hero-copy {
  max-width: 760px;
}

.page-hero .hero-copy {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.page-hero .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 252, 0.9);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.page-title {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.hero-subtitle,
.page-intro {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(245, 248, 252, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-hero .hero-actions {
  justify-content: center;
}

.hero-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1040px);
  margin: 32px auto 0;
}

.hero-column {
  min-height: 100%;
  padding: 28px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(1, 8, 16, 0.22);
  backdrop-filter: blur(10px);
}

.hero-column-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-invert);
}

.hero-column-copy {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.76;
  color: rgba(245, 248, 252, 0.84);
}

.hero-column-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
  color: #d7f2ff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-column-link:hover,
.hero-column-link:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #05111a;
  background: linear-gradient(135deg, #d7f2ff 0%, #89d5ff 100%);
  box-shadow: 0 16px 30px rgba(90, 177, 220, 0.24);
}

.button-secondary {
  color: var(--text-invert);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.button-outline {
  color: var(--text);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.12);
}

.content-section {
  padding: 72px 0;
}

.content-section.compact {
  padding: 56px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-summary {
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-soft);
}

.stats-grid,
.channels-grid,
.resources-grid,
.paper-grid {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

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

.card,
.stat-card,
.channel-card,
.resource-card,
.paper-card,
.detail-card,
.lane-card,
.highlight-card {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat-card,
.channel-card,
.resource-card,
.paper-card,
.lane-card,
.detail-card,
.highlight-card {
  padding: 24px;
}

.stat-number {
  font-size: clamp(2.7rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.stat-label {
  margin: 8px 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.card-note,
.muted {
  color: var(--text-soft);
}

.channel-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--channel);
}

.channel-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--channel) 18%, transparent);
}

.channel-card.static {
  --channel: var(--static);
}

.channel-card.dynamic {
  --channel: var(--dynamic);
}

.channel-card.mixed {
  --channel: var(--mixed);
}

.channel-title,
.lane-title,
.paper-title,
.detail-title,
.resource-title {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.channel-summary,
.detail-summary {
  margin: 12px 0 18px;
  color: var(--text-soft);
  line-height: 1.7;
}

.channel-list,
.resource-list,
.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.75;
}

.lifecycle-section {
  position: relative;
  overflow: hidden;
  color: var(--text-invert);
  background:
    radial-gradient(circle at 12% 20%, rgba(125, 211, 252, 0.16), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(255, 152, 0, 0.15), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(156, 39, 176, 0.18), transparent 26%),
    linear-gradient(150deg, #040b14 0%, #0a1523 45%, #111d2d 100%);
}

.lifecycle-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 34%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px),
    radial-gradient(circle at 83% 70%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 74%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 240px 240px;
  opacity: 0.5;
  pointer-events: none;
}

.lifecycle-section .section-inner {
  position: relative;
}

.lifecycle-section .section-kicker,
.lifecycle-section .section-summary {
  color: rgba(245, 248, 252, 0.74);
}

.lifecycle-section .section-title {
  color: var(--text-invert);
}

.lifecycle-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.lifecycle-timeline::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 74px;
  height: 2px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.65), rgba(76, 175, 80, 0.65), rgba(255, 152, 0, 0.72), rgba(156, 39, 176, 0.72));
  opacity: 0.72;
}

.lifecycle-card {
  position: relative;
  min-height: 100%;
  padding: 26px 24px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 46px rgba(1, 8, 16, 0.28);
  backdrop-filter: blur(10px);
}

.lifecycle-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 24px 24px 0 0;
  background: var(--life-accent);
}

.lifecycle-card::after {
  content: "";
  position: absolute;
  top: 65px;
  right: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(214, 226, 244, 0.78));
  border: 5px solid var(--life-accent);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06);
}

.lifecycle-card:last-child::after {
  display: none;
}

.lifecycle-card.birth {
  --life-accent: var(--accent);
}

.lifecycle-card.life {
  --life-accent: var(--static);
}

.lifecycle-card.death {
  --life-accent: var(--dynamic);
}

.lifecycle-card.rebirth {
  --life-accent: var(--mixed);
}

.lifecycle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--life-accent) 24%, rgba(255, 255, 255, 0.06));
  color: var(--text-invert);
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lifecycle-stage {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 248, 252, 0.72);
}

.lifecycle-title {
  margin: 0 0 12px;
  font-size: 1.24rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.lifecycle-copy {
  margin: 0 0 16px;
  color: rgba(245, 248, 252, 0.8);
  line-height: 1.68;
}

.lifecycle-paper {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 248, 252, 0.9);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lifecycle-paper:hover,
.lifecycle-paper:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lifecycle-claim {
  margin: 26px auto 0;
  max-width: 980px;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-invert);
}

.result-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.highlight-card {
  scroll-snap-align: start;
  position: relative;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--channel);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.highlight-card.static {
  --channel: var(--static);
}

.highlight-card.dynamic {
  --channel: var(--dynamic);
}

.highlight-card.mixed {
  --channel: var(--mixed);
}

.highlight-card.outside {
  --channel: var(--outside);
}

.result-name {
  margin: 10px 0 16px;
  font-size: 1.06rem;
  font-weight: 700;
}

.result-row {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.result-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.result-value {
  font-size: 0.98rem;
  line-height: 1.55;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b57d0;
  font-weight: 700;
}

.resource-link:hover,
.resource-link:focus-visible {
  text-decoration: underline;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #0b57d0;
  font-weight: 700;
}

.section-link.centered {
  justify-content: center;
  width: 100%;
}

.page-top {
  padding: 72px 0 34px;
}

.page-top .section-inner {
  display: grid;
  gap: 18px;
}

.filters-bar {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.status-guide {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.status-guide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
}

.status-guide-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.status-guide-summary {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.status-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 16px;
}

.status-guide-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.status-guide-text {
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-label {
  min-width: 92px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.filter-button {
  padding: 10px 14px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--text);
  background: rgba(16, 32, 51, 0.06);
  border-color: rgba(16, 32, 51, 0.18);
}

.filter-search {
  width: min(100%, 420px);
  padding: 13px 16px;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
}

.bridge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.bridge-board {
  display: grid;
  gap: 18px;
}

.lane-card {
  display: grid;
  gap: 16px;
}

.lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lane-kicker,
.badge,
.paper-meta,
.detail-meta {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lane-title-wrap {
  display: grid;
  gap: 6px;
}

.lane-summary {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.lane-count {
  color: var(--text-soft);
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.node {
  text-align: left;
  padding: 18px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.node:hover,
.node:focus-visible,
.node.active {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--channel) 54%, rgba(16, 32, 51, 0.16));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--channel) 18%, rgba(7, 17, 29, 0.05));
}

.node.static {
  --channel: var(--static);
}

.node.dynamic {
  --channel: var(--dynamic);
}

.node.mixed {
  --channel: var(--mixed);
}

.node.outside {
  --channel: var(--outside);
}

.node-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.node-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--channel) 14%, #fff);
  color: color-mix(in srgb, var(--channel) 72%, #1c2733);
}

.badge.static {
  --channel: var(--static);
}

.badge.dynamic {
  --channel: var(--dynamic);
}

.badge.mixed {
  --channel: var(--mixed);
}

.badge.outside {
  --channel: var(--outside);
}

.status-badge {
  background: color-mix(in srgb, var(--status) 14%, #fff);
  color: color-mix(in srgb, var(--status) 76%, #1c2733);
}

.status-derived {
  --status: var(--status-derived);
}

.status-theorem {
  --status: var(--status-theorem);
}

.status-derived-scoped {
  --status: var(--status-derived-scoped);
}

.status-conditional {
  --status: var(--status-conditional);
}

.status-no-go {
  --status: var(--status-no-go);
}

.node-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.meta-chip,
.bridge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.06);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.bridge-chip {
  border: 1px solid rgba(16, 32, 51, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bridge-chip:hover,
.bridge-chip:focus-visible {
  background: rgba(11, 87, 208, 0.08);
  border-color: rgba(11, 87, 208, 0.2);
  color: #0b57d0;
}

.node-summary {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.58;
}

.detail-column {
  position: sticky;
  top: 102px;
}

.detail-card {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.detail-header {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.detail-block {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.detail-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.detail-value {
  font-size: 1rem;
  line-height: 1.7;
}

.detail-note {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.papers-layout {
  display: grid;
  gap: 34px;
}

.era-section {
  display: grid;
  gap: 18px;
}

.era-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.era-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.era-range {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-card {
  display: grid;
  gap: 16px;
}

.paper-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.paper-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0c1726, #11243c);
  color: var(--text-invert);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.paper-number-link:hover,
.paper-number-link:focus-visible {
  filter: brightness(1.08);
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow:
    0 10px 22px rgba(12, 23, 38, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.paper-header {
  display: grid;
  gap: 6px;
}

.paper-summary {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.paper-bridges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.button-disabled {
  color: var(--text-soft);
  background: rgba(16, 32, 51, 0.06);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.08);
  cursor: default;
}

.footer {
  margin-top: 72px;
  padding: 32px 0 40px;
  color: rgba(245, 248, 252, 0.82);
  background:
    radial-gradient(circle at 20% 0%, rgba(76, 175, 80, 0.18), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(255, 152, 0, 0.16), transparent 22%),
    linear-gradient(180deg, #07111d 0%, #050b14 100%);
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
}

.footer-small {
  color: rgba(245, 248, 252, 0.62);
  font-size: 0.93rem;
}

.code,
code {
  font-family: var(--mono);
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(16, 32, 51, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .bridge-layout {
    grid-template-columns: 1fr;
  }

  .detail-column {
    position: static;
  }

  .paper-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .stats-grid,
  .channels-grid,
  .hero-columns,
  .lifecycle-timeline {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 72px;
    padding-bottom: 68px;
  }

  .nav-wrap {
    min-height: 68px;
    flex-direction: column;
    align-items: start;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
  }

  .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .paper-top,
  .era-header,
  .lane-head {
    flex-direction: column;
    align-items: start;
  }

  .lifecycle-timeline::before {
    left: 26px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.65), rgba(76, 175, 80, 0.65), rgba(255, 152, 0, 0.72), rgba(156, 39, 176, 0.72));
  }

  .lifecycle-card::after {
    top: auto;
    bottom: -13px;
    left: 13px;
    right: auto;
  }

  .lifecycle-card:last-child::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .content-section {
    padding: 58px 0;
  }

  .filters-bar,
  .status-guide,
  .paper-card,
  .resource-card,
  .channel-card,
  .stat-card,
  .lane-card,
  .detail-card {
    padding: 20px;
  }

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

  .hero-actions,
  .paper-actions {
    width: 100%;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-column {
    padding: 22px 20px;
  }
}
