:root {
  --bg: #070b14;
  --bg-elevated: rgba(10, 16, 31, 0.88);
  --surface: rgba(11, 20, 38, 0.72);
  --surface-strong: rgba(15, 26, 48, 0.92);
  --surface-soft: rgba(13, 23, 43, 0.56);
  --border: rgba(129, 168, 255, 0.18);
  --border-strong: rgba(120, 232, 255, 0.3);
  --text: #eff5ff;
  --text-soft: rgba(226, 236, 255, 0.74);
  --text-muted: rgba(209, 223, 249, 0.54);
  --primary: #76b6ff;
  --primary-strong: #4f8cff;
  --accent: #72f3ff;
  --violet: #8c7dff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(114, 243, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #04070f 0%, #070b14 45%, #09111e 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  transition: top 0.2s ease;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
  opacity: 0.34;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
}

.page-glow-left {
  left: -11rem;
  top: 6rem;
  background: rgba(78, 142, 255, 0.34);
}

.page-glow-right {
  right: -10rem;
  top: 24rem;
  background: rgba(114, 243, 255, 0.2);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 100px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.7);
  border-bottom: 1px solid rgba(120, 160, 255, 0.08);
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.84);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.24);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(114, 243, 255, 0.2));
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-nav {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: transform 0.24s ease;
}

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(132, 168, 255, 0.16);
  border-radius: 14px;
  background: rgba(11, 18, 33, 0.84);
  cursor: pointer;
}

.no-js .menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle span + span {
  margin-top: 7px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(132, 168, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

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

.button-primary {
  color: #03101f;
  background: linear-gradient(135deg, var(--accent), #9ec3ff 64%, #e3edff 100%);
  box-shadow: 0 18px 44px rgba(114, 243, 255, 0.22);
}

.button-ghost {
  background: rgba(13, 24, 44, 0.74);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 6px rgba(114, 243, 255, 0.08);
}

.hero-section {
  padding-top: 78px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: #d6e4ff;
  text-shadow: 0 0 28px rgba(118, 182, 255, 0.32);
}

.hero-tagline {
  margin: 20px 0 0;
  max-width: 15.5em;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: #f6fbff;
}

.hero-description,
.section-heading p,
.panel p,
.insight-list,
.footer-text {
  color: var(--text-soft);
}

.hero-description {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-top: 30px;
}

.hero-star-panel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 168, 255, 0.18);
  background: rgba(13, 24, 44, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hero-star-label {
  color: var(--text-soft);
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
}

.github-star-button {
  display: block;
  width: 170px;
  height: 30px;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.metric-card,
.panel,
.hero-frame,
.hero-badge {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.metric-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
}

.metric-value {
  display: block;
  margin-bottom: 6px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding-top: 34px;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(114, 243, 255, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(120, 125, 255, 0.16), transparent 32%),
    rgba(10, 18, 33, 0.84);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(140, 190, 255, 0.12);
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-frame .hero-image {
  min-height: 0;
  aspect-ratio: 1024 / 572;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top, rgba(114, 243, 255, 0.08), transparent 42%),
    rgba(6, 11, 22, 0.86);
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(118, 182, 255, 0.18);
  pointer-events: none;
}

.hero-orbit-large {
  width: 590px;
  height: 590px;
  left: 50%;
  top: -28px;
  transform: translateX(-48%);
  box-shadow: inset 0 0 120px rgba(118, 182, 255, 0.04);
}

.hero-orbit-small {
  width: 320px;
  height: 320px;
  right: -32px;
  bottom: -18px;
}

.hero-badge {
  position: absolute;
  max-width: 270px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 16, 31, 0.84);
}

.hero-badge span,
.panel-kicker,
.stack-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.5;
}

.hero-badge-top {
  top: 0;
  right: 24px;
}

.hero-badge-bottom {
  left: -12px;
  bottom: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 1rem;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(114, 243, 255, 0.08), transparent 32%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.panel:hover::before {
  opacity: 1;
}

.mission-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
}

.panel-large {
  display: flex;
  flex-direction: column;
}

.panel-head h3,
.author-copy h3,
.org-card h3,
.insight-head h3,
.roadmap-card h3,
.project-card h3 {
  margin: 0;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.mission-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.mission-points h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.mission-points p {
  margin: 0;
}

.mission-roadmap {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(132, 168, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(114, 243, 255, 0.1), transparent 26%),
    rgba(8, 15, 29, 0.72);
}

.mission-roadmap figcaption {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission-roadmap-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.mission-roadmap-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.mission-roadmap img,
.mission-roadmap-trigger img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(140, 190, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.mission-roadmap-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #f6fbff;
  background: rgba(5, 10, 20, 0.78);
  border: 1px solid rgba(140, 190, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(132, 168, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(114, 243, 255, 0.12), transparent 24%),
    rgba(6, 11, 22, 0.94);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(132, 168, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 17, 32, 0.82);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.lightbox-title {
  margin: 0 72px 16px 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 20px;
  object-fit: contain;
  background: rgba(3, 7, 16, 0.88);
}

.panel-stack {
  display: grid;
  gap: 18px;
}

.stack-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(132, 168, 255, 0.12);
  background: rgba(10, 17, 32, 0.7);
}

.stack-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.visual-stack {
  padding: 0;
  overflow: hidden;
}

.visual-stack img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.roadmap-grid,
.project-grid {
  display: grid;
  gap: 20px;
}

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

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

.roadmap-card,
.project-card {
  min-height: 100%;
}

.roadmap-stage,
.project-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(114, 243, 255, 0.08);
  border: 1px solid rgba(114, 243, 255, 0.14);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.project-index {
  width: 48px;
  min-width: 48px;
  color: #dce7ff;
  background: rgba(140, 125, 255, 0.12);
  border-color: rgba(140, 125, 255, 0.18);
}

.roadmap-card p,
.project-card p,
.author-copy p,
.org-card p {
  margin: 14px 0 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag,
.org-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(11, 18, 33, 0.84);
  border: 1px solid rgba(130, 168, 255, 0.12);
  font-size: 0.84rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #ddecff;
  font-weight: 600;
}

.card-link::after {
  content: "→";
  transition: transform 0.22s ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

.insights-layout {
  display: block;
}

.section-heading-sticky {
  position: static;
  max-width: none;
  margin-bottom: 28px;
}

.insight-list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.insight-list li + li {
  margin-top: 10px;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.insight-card {
  height: 100%;
}

.insight-card img {
  width: 100%;
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(140, 190, 255, 0.12);
}

.knowledge-section {
  padding-top: 42px;
}

.knowledge-hero {
  display: grid;
  gap: 20px;
  background:
    radial-gradient(circle at top right, rgba(114, 243, 255, 0.16), transparent 26%),
    radial-gradient(circle at left center, rgba(140, 125, 255, 0.14), transparent 28%),
    rgba(8, 15, 29, 0.84);
}

.knowledge-hero-copy {
  max-width: 780px;
}

.knowledge-hero-copy h3,
.knowledge-cta-panel h3,
.knowledge-value-panel h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
}

.knowledge-subtitle {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.knowledge-stat-row,
.knowledge-tag-row,
.knowledge-resource-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.knowledge-stat-pill,
.knowledge-signal-tag,
.knowledge-topic-count,
.knowledge-topic-index,
.knowledge-topic-link,
.knowledge-value-kicker,
.knowledge-topic-icon {
  border: 1px solid transparent;
}

.knowledge-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.knowledge-stat-pill strong {
  font-size: 1rem;
  color: var(--text);
}

.knowledge-stat-pill span {
  color: var(--text-soft);
}

.knowledge-signal-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.knowledge-topic-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.knowledge-topic-card.is-green {
  box-shadow: 0 18px 40px rgba(36, 124, 74, 0.12);
}

.knowledge-topic-card.is-blue {
  box-shadow: 0 18px 40px rgba(79, 140, 255, 0.12);
}

.knowledge-topic-card.is-orange {
  box-shadow: 0 18px 40px rgba(255, 163, 92, 0.12);
}

.knowledge-topic-card.is-violet {
  box-shadow: 0 18px 40px rgba(140, 125, 255, 0.14);
}

.knowledge-topic-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.knowledge-topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #f7fbff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.knowledge-topic-copy h3 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.knowledge-topic-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.knowledge-topic-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.knowledge-topic-items {
  margin-top: 18px;
}

.knowledge-topic-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(132, 168, 255, 0.1);
}

.knowledge-topic-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  color: #f7fbff;
  font-size: 0.78rem;
  font-weight: 800;
}

.knowledge-topic-body h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.knowledge-topic-body p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.knowledge-mark {
  padding: 0 0.28em;
  border-radius: 0.45em;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.knowledge-resource-row {
  margin-top: 12px;
}

.knowledge-resource-link,
.knowledge-topic-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.knowledge-resource-link {
  color: var(--text-soft);
  background: rgba(11, 18, 33, 0.84);
  border: 1px solid rgba(132, 168, 255, 0.12);
}

.knowledge-resource-link:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.knowledge-topic-link {
  white-space: nowrap;
}

.knowledge-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 20px;
  margin-top: 24px;
}

.knowledge-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.knowledge-value-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(132, 168, 255, 0.12);
  background: rgba(9, 16, 30, 0.74);
}

.knowledge-value-item p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.knowledge-value-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(132, 168, 255, 0.12);
  background: rgba(9, 16, 30, 0.74);
  transition: all 0.28s ease;
}

.knowledge-value-card:hover {
  border-color: rgba(114, 243, 255, 0.2);
  box-shadow: 0 8px 24px rgba(114, 243, 255, 0.1);
  transform: translateY(-2px);
}

.knowledge-value-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.knowledge-value-card h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.knowledge-value-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.94rem;
}

.knowledge-value-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.knowledge-cta-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(114, 243, 255, 0.2), transparent 28%),
    radial-gradient(circle at bottom left, rgba(140, 125, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(9, 18, 34, 0.96), rgba(8, 15, 28, 0.94));
}

.knowledge-cta-panel::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 243, 255, 0.18), transparent 62%);
  pointer-events: none;
}

.knowledge-cta-panel p {
  margin: 14px 0 0;
  max-width: 24rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.knowledge-cta-button {
  width: 100%;
  margin-top: 24px;
}

.knowledge-offer {
  margin: 18px 0 0;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(132, 168, 255, 0.14);
  background: rgba(8, 15, 29, 0.72);
}

.knowledge-offer figcaption {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-offer-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.knowledge-offer-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.knowledge-offer img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(140, 190, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.knowledge-offer-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #f6fbff;
  background: rgba(5, 10, 20, 0.8);
  border: 1px solid rgba(140, 190, 255, 0.16);
  font-size: 0.8rem;
  font-weight: 700;
}

.knowledge-cta-meta {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.knowledge-stat-pill.is-green,
.knowledge-signal-tag.is-green,
.knowledge-topic-count.is-green,
.knowledge-value-kicker.is-green {
  background: rgba(68, 201, 120, 0.12);
  border-color: rgba(68, 201, 120, 0.2);
}

.knowledge-topic-index.is-green,
.knowledge-topic-icon.is-green,
.knowledge-topic-link.is-green {
  background: rgba(68, 201, 120, 0.16);
  border-color: rgba(68, 201, 120, 0.24);
  color: #8ff4b4;
}

.knowledge-mark.is-green {
  color: #8ff4b4;
  background: rgba(68, 201, 120, 0.12);
}

.knowledge-stat-pill.is-blue,
.knowledge-signal-tag.is-blue,
.knowledge-topic-count.is-blue,
.knowledge-value-kicker.is-blue {
  background: rgba(79, 140, 255, 0.12);
  border-color: rgba(79, 140, 255, 0.2);
}

.knowledge-topic-index.is-blue,
.knowledge-topic-icon.is-blue,
.knowledge-topic-link.is-blue {
  background: rgba(79, 140, 255, 0.16);
  border-color: rgba(79, 140, 255, 0.24);
  color: #8fbeff;
}

.knowledge-mark.is-blue {
  color: #8fbeff;
  background: rgba(79, 140, 255, 0.12);
}

.knowledge-stat-pill.is-orange,
.knowledge-signal-tag.is-orange,
.knowledge-topic-count.is-orange,
.knowledge-value-kicker.is-orange {
  background: rgba(255, 169, 84, 0.12);
  border-color: rgba(255, 169, 84, 0.2);
}

.knowledge-topic-index.is-orange,
.knowledge-topic-icon.is-orange,
.knowledge-topic-link.is-orange {
  background: rgba(255, 169, 84, 0.16);
  border-color: rgba(255, 169, 84, 0.24);
  color: #ffc98c;
}

.knowledge-mark.is-orange {
  color: #ffc98c;
  background: rgba(255, 169, 84, 0.12);
}

.knowledge-stat-pill.is-violet,
.knowledge-signal-tag.is-violet,
.knowledge-topic-count.is-violet,
.knowledge-value-kicker.is-violet {
  background: rgba(140, 125, 255, 0.14);
  border-color: rgba(140, 125, 255, 0.22);
}

.knowledge-topic-index.is-violet,
.knowledge-topic-icon.is-violet,
.knowledge-topic-link.is-violet {
  background: rgba(140, 125, 255, 0.18);
  border-color: rgba(140, 125, 255, 0.24);
  color: #c4b9ff;
}

.knowledge-mark.is-violet {
  color: #c4b9ff;
  background: rgba(140, 125, 255, 0.12);
}

.about-grid {
  align-items: stretch;
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.author-avatar {
  width: 170px;
  height: 170px;
  padding: 8px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(114, 243, 255, 0.22), rgba(140, 125, 255, 0.18)),
    rgba(10, 16, 30, 0.86);
  border: 1px solid rgba(132, 168, 255, 0.12);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.author-role {
  color: var(--accent);
}

.social-row,
.footer-links,
.org-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-row {
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 168, 255, 0.14);
  background: rgba(11, 18, 33, 0.84);
  color: var(--text-soft);
}

.social-link:hover,
.footer-links a:hover {
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: 0 0 0 6px rgba(114, 243, 255, 0.06);
}

.org-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.org-logo {
  width: min(280px, 100%);
  margin: 8px 0 18px;
}

.org-meta {
  margin-top: 20px;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 28px 0 20px;
  border-top: 1px solid rgba(130, 168, 255, 0.1);
}

.footer-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
}

.footer-text {
  margin: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-soft);
  border: 1px solid rgba(132, 168, 255, 0.12);
  background: rgba(11, 18, 33, 0.68);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

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

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-badge-bottom {
    left: 18px;
  }

  .section-heading-sticky {
    position: static;
  }

  .insight-cards {
    grid-template-columns: 1fr;
  }

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

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

  .mission-points {
    grid-template-columns: 1fr;
  }

  .knowledge-grid,
  .knowledge-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 76px 0;
  }

  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .header-repo {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 12px);
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(132, 168, 255, 0.14);
    background: rgba(7, 11, 20, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .no-js .site-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a::after {
    bottom: -2px;
  }

  .hero-stats,
  .project-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-value-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-topic-head,
  .knowledge-topic-item {
    grid-template-columns: 1fr;
  }

  .knowledge-topic-count,
  .knowledge-topic-link {
    justify-self: start;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-header {
    background: rgba(7, 11, 20, 0.86);
  }

  .hero-section {
    padding-top: 44px;
    min-height: auto;
  }

  .hero-layout {
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .knowledge-hero-copy h3,
  .knowledge-cta-panel h3,
  .knowledge-value-panel h3 {
    font-size: 1.6rem;
  }

  .knowledge-stat-row,
  .knowledge-tag-row {
    gap: 10px;
  }

  .knowledge-stat-pill,
  .knowledge-signal-tag {
    width: 100%;
    justify-content: center;
  }

  .knowledge-topic-card,
  .knowledge-value-item,
  .knowledge-cta-panel {
    padding: 22px;
  }

  .knowledge-offer {
    padding: 12px;
  }

  .knowledge-offer-hint {
    right: 10px;
    bottom: 10px;
  }

  .knowledge-topic-item {
    gap: 12px;
  }

  .knowledge-topic-link {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions > * {
    width: 100%;
  }

  .hero-star-panel {
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 22px;
  }

  .hero-star-label {
    width: 100%;
    text-align: center;
  }

  .github-star-button {
    margin: 0 auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .hero-frame img {
    min-height: 320px;
  }

  .hero-frame .hero-image {
    min-height: 0;
  }

  .hero-orbit-large,
  .hero-orbit-small,
  .hero-badge {
    display: none;
  }

  .mission-roadmap {
    padding: 14px;
  }

  .mission-roadmap-hint {
    right: 12px;
    bottom: 12px;
  }

  .panel {
    padding: 22px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .footer-layout,
  .footer-bottom {
    flex-direction: column;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    width: min(100vw - 20px, 100%);
    padding: 16px;
    border-radius: 22px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-title {
    margin-right: 64px;
    font-size: 0.82rem;
  }

  .lightbox-image {
    max-height: calc(100vh - 104px);
  }
}
