:root {
  --bg: #f1f2f4;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --surface-deep: #111214;
  --surface-deep-2: #18191b;
  --text: #111214;
  --text-soft: #656a72;
  --text-light: rgba(255, 255, 255, 0.88);
  --text-light-soft: rgba(255, 255, 255, 0.66);
  --line: rgba(17, 18, 20, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 42px rgba(17, 18, 20, 0.06);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --page-width: 1680px;
}

/* Final home board override */
body[data-page="home"] .board-month-switch {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
}

body[data-page="home"] .board-month-switch__item {
  min-height: 88px !important;
  padding: 16px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(17, 18, 20, 0.08) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%) !important;
  color: var(--text-soft) !important;
  display: grid !important;
  gap: 8px !important;
  align-content: start !important;
  text-align: left !important;
  cursor: pointer !important;
  transform: scale(0.94) !important;
  opacity: 0.82 !important;
  transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease !important;
}

body[data-page="home"] .board-month-switch__item.is-active {
  background: #111214 !important;
  color: #fff !important;
  border-color: #111214 !important;
  transform: scale(1) !important;
  opacity: 1 !important;
  box-shadow: 0 18px 34px rgba(17, 18, 20, 0.14) !important;
}

body[data-page="home"] .board-month-switch__month {
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

body[data-page="home"] .board-month-switch__desc {
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: inherit !important;
}

body[data-page="home"] .board-shell {
  margin: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 100%) !important;
  overflow: hidden !important;
}

body[data-page="home"] .board-table-wrap {
  overflow-x: auto !important;
}

body[data-page="home"] .board-table {
  width: 100% !important;
  min-width: 980px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body[data-page="home"] .board-table[hidden] {
  display: none !important;
}

body[data-page="home"] .board-table th,
body[data-page="home"] .board-table td {
  padding: 14px 12px !important;
  vertical-align: top !important;
  border-right: 1px solid rgba(17, 18, 20, 0.08) !important;
  border-bottom: 1px solid rgba(17, 18, 20, 0.08) !important;
  text-align: left !important;
}

body[data-page="home"] .board-table thead th {
  background: #111214 !important;
  color: #fff !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

body[data-page="home"] .board-table tbody td {
  background: #fff !important;
  color: var(--text-soft) !important;
  line-height: 1.68 !important;
  font-size: 0.94rem !important;
  font-weight: 400 !important;
}

body[data-page="home"] .board-table tbody td:first-child {
  background: #f5f7fb !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  min-width: 110px !important;
}

body[data-page="home"] .board-table tbody td:nth-child(2) {
  background: #fafbfc !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  min-width: 120px !important;
}

@media (max-width: 980px) {
  body[data-page="home"] .board-month-switch {
    grid-template-columns: 1fr !important;
  }
}

/* Home hero rail + robot final placement */
body[data-page="home"] .hero-home {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr) !important;
}

body[data-page="home"] .hero-content--wide {
  max-width: 760px !important;
}

body[data-page="home"] .hero-product {
  justify-content: center !important;
  transform: translateX(-150px) !important;
}

body[data-page="home"] .hero-product img {
  width: min(33vw, 470px) !important;
}

body[data-page="home"] .hero-module-rail {
  left: auto !important;
  right: 28px !important;
  top: 154px !important;
  width: 160px !important;
  gap: 20px !important;
  padding-left: 22px !important;
  z-index: 4 !important;
}

body[data-page="home"] .hero-module-rail__caption {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="home"] .hero-module-rail__item {
  min-height: 34px !important;
  font-size: 0.96rem !important;
  transition: color 0.22s ease, transform 0.22s ease, font-size 0.22s ease, opacity 0.22s ease !important;
}

body[data-page="home"] .hero-module-rail__item:hover {
  transform: translateX(-6px) scale(1.1) !important;
}

body[data-page="home"] .hero-module-rail__item::before {
  width: 10px !important;
  height: 10px !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

body[data-page="home"] .hero-module-rail__item:hover::before {
  transform: translateY(-50%) scale(1.25) !important;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-product {
    transform: none !important;
  }

  body[data-page="home"] .hero-module-rail {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }
}

/* Home hero module rail */
body[data-page="home"] .hero-module-rail {
  position: absolute;
  top: 154px;
  left: auto;
  right: 28px;
  width: 160px;
  display: grid;
  gap: 20px;
  padding-left: 22px;
  z-index: 4;
}

body[data-page="home"] .hero-module-rail::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.12) 100%);
}

body[data-page="home"] .hero-module-rail__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease, font-size 0.2s ease;
}

body[data-page="home"] .hero-module-rail__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .hero-module-rail__item:hover {
  color: #fff;
  transform: translateX(-4px);
  font-size: 1.06rem;
}

body[data-page="home"] .hero-module-rail__tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translate(-18px, -50%);
  width: 240px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body[data-page="home"] .hero-module-rail__item:hover .hero-module-rail__tooltip {
  opacity: 1;
  transform: translate(-12px, -50%);
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-module-rail {
    position: static;
    width: 100%;
    padding-left: 0;
    margin-top: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body[data-page="home"] .hero-module-rail::before {
    display: none;
  }

  body[data-page="home"] .hero-module-rail__item {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
  }

  body[data-page="home"] .hero-module-rail__item::before {
    display: none;
  }

  body[data-page="home"] .hero-module-rail__tooltip {
    display: none;
  }
}

/* Home board stable overrides */
.board-preview {
  margin: 16px 0 44px;
}

.board-month-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.board-month-switch__item {
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 18, 20, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  color: var(--text-soft);
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
  cursor: pointer;
  transform: scale(0.94);
  opacity: 0.82;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.board-month-switch__item.is-active {
  background: #111214;
  color: #fff;
  border-color: #111214;
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 18px 34px rgba(17, 18, 20, 0.14);
  z-index: 2;
  position: relative;
}

.board-month-switch__month {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.1;
}

.board-month-switch__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: inherit;
}

.board-shell {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 100%);
  overflow: hidden;
}

.board-table-wrap {
  overflow-x: auto;
}

.board-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.board-table[hidden] {
  display: none !important;
}

.board-table--month {
  display: table;
}

.board-table th,
.board-table td {
  padding: 16px 14px;
  vertical-align: top;
  border-right: 1px solid rgba(17, 18, 20, 0.08);
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  text-align: left;
}

.board-table thead th {
  background: #111214;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.board-table tbody td {
  background: #fff;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 400;
}

.board-table tbody td:first-child {
  background: #f5f7fb;
  color: var(--text);
  font-weight: 600;
  min-width: 120px;
}

.board-table tbody td:nth-child(2) {
  background: #fafbfc;
  color: var(--text);
  font-weight: 500;
  min-width: 130px;
}

body.home-board-open .home-summary,
body.home-board-open .home-directory {
  padding-top: 40px;
}

body.home-board-open .hero-section {
  min-height: calc(100vh - 96px);
  padding-bottom: 36px;
}

@media (max-width: 980px) {
  .board-month-switch {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

a {
  color: inherit;
}

.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  background: rgba(0, 0, 0, 0.05);
}

.top-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
  transition: width 0.18s ease-out;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  min-height: 74px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

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

.brand__logo {
  width: 144px;
  height: auto;
}

.brand__meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-soft);
}

.main-nav {
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-light-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.main-nav a:focus-visible,
.header-action:focus-visible,
.button:focus-visible,
.line-card:focus-visible,
.entry-card:focus-visible {
  outline: 2px solid #7db2ff;
  outline-offset: 2px;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.header-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.button--solid {
  background: #fff;
  color: #111214;
}

.button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.section,
.hero-section,
.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.section-light {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-dark {
  background: linear-gradient(180deg, var(--surface-deep) 0%, var(--surface-deep-2) 100%);
  color: #fff;
}

.hero-section {
  min-height: calc(100vh - 92px);
  padding: 96px 42px 42px;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 40px;
}

.hero-media,
.detail-hero__media {
  position: absolute;
  inset: 0;
}

.hero-bg,
.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__media img {
  object-position: 72% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.82) 0%, rgba(10, 10, 11, 0.5) 42%, rgba(10, 10, 11, 0.76) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.18), rgba(10, 10, 11, 0.62));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
}

.hero-content,
.hero-product,
.detail-hero__copy {
  position: relative;
  z-index: 1;
}

.hero-content--wide {
  max-width: 900px;
}

.main-nav--home ul {
  flex-wrap: wrap;
}

.hero-tags--home span:last-child {
  max-width: 100%;
}

.hero-actions--home {
  flex-wrap: wrap;
}

.hero-eyebrow,
.section-kicker,
.panel-label,
.mini-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--text-light-soft);
}

.section-kicker {
  color: #76797d;
}

.panel-label {
  color: #8d9298;
}

.section-dark .section-kicker,
.section-dark .panel-label {
  color: var(--text-light-soft);
}

.hero-title,
.detail-title {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.detail-title {
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.hero-title span {
  display: block;
  margin-top: 14px;
}

.hero-title__line {
  white-space: nowrap;
}

.hero-title__line--compact {
  font-size: 0.88em;
}

.hero-summary,
.detail-summary,
.detail-copy p,
.home-card p,
.entry-card__body p,
.lane-card p,
.line-card p,
.line-purpose,
.channel-card p,
.review-card p,
.risk-card p,
.priority-card p,
.deliverable-card p,
.roadmap-card p,
.lifecycle-card p,
.phase-card p,
.solution-card p,
.asset-card p {
  margin: 0;
  line-height: 1.88;
}

.hero-summary,
.detail-summary {
  margin-top: 30px;
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--text-light-soft);
}

.hero-tags,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 30px;
}

.hero-tags span,
.mini-chip,
.month-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-tags span,
.month-chip {
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.mini-chip {
  border: 1px solid rgba(17, 18, 20, 0.08);
  background: #fff;
  color: #111214;
}

.hero-actions {
  margin-top: 30px;
}

.hero-product {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-product img {
  width: min(30vw, 420px);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.28));
}

.section,
.detail-section {
  padding: 64px 40px;
}

.section-heading {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 52px;
}

.section-index {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
  color: rgba(17, 18, 20, 0.18);
  font-weight: 700;
}

.section-dark .section-index {
  color: rgba(255, 255, 255, 0.18);
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-grid,
.entry-grid,
.framework-grid,
.lane-grid,
.line-list,
.line-showcase,
.channel-cards,
.review-grid,
.roadmap-grid,
.risk-layout,
.risk-cards,
.deliverable-grid,
.lifecycle-grid,
.phase-grid,
.solution-grid,
.asset-grid,
.schedule-months {
  display: grid;
  gap: 24px;
}

.home-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.framework-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.home-grid--wide .home-card {
  min-height: 220px;
}

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

.entry-grid--large {
  gap: 28px;
}

.entry-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-card,
.entry-card,
.framework-card,
.lane-card,
.line-card,
.line-focus,
.channel-card,
.review-card,
.roadmap-card,
.priority-card,
.risk-card,
.deliverable-card,
.matrix-block,
.lifecycle-card,
.phase-card,
.solution-card,
.asset-card,
.schedule-month {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.home-card,
.framework-card,
.lane-card,
.line-card,
.line-focus,
.channel-card,
.review-card,
.roadmap-card,
.priority-card,
.risk-card,
.deliverable-card,
.matrix-block,
.lifecycle-card,
.phase-card,
.solution-card,
.asset-card,
.schedule-month {
  padding: 28px;
}

.entry-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.framework-card h3 {
  margin: 14px 0 0;
  font-size: 1.4rem;
  line-height: 1.25;
}

.framework-card p:last-child {
  margin-top: 12px;
}

.subsection-head {
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.subsection-head h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.15;
}

.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(17, 18, 20, 0.08);
}

.entry-card__media {
  aspect-ratio: 16 / 10;
  background: #0f1012;
}

.entry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-card__body {
  padding: 22px;
}

.entry-grid--compact .entry-card {
  min-height: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.entry-grid--compact .entry-card__body {
  padding: 22px 20px;
}

.entry-grid--compact .entry-card__body h3 {
  margin: 10px 0 8px;
  font-size: 1.26rem;
  line-height: 1.15;
}

.entry-grid--compact .entry-card__body p:last-child {
  color: var(--text-soft);
}

.entry-grid--compact .entry-card::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 18px;
  color: #9aa0a8;
  font-size: 1rem;
  font-weight: 700;
}

.section-index--muted {
  display: none;
}

.board-preview {
  margin: 16px 0 44px;
}

.board-panel {
  border: 0;
  padding: 0;
  margin: 0;
}

.board-panel > summary {
  list-style: none;
}

.board-panel > summary::-webkit-details-marker {
  display: none;
}

.board-strip {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 100%);
  cursor: pointer;
}

.board-strip__meta {
  display: grid;
  gap: 8px;
}

.board-strip__meta strong {
  font-size: 1.18rem;
  line-height: 1.15;
}

.board-strip__meta span:last-child {
  color: var(--text-soft);
  line-height: 1.7;
}

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

.board-month-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px 0;
}

.board-month-switch__item {
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 18, 20, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  color: var(--text-soft);
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
  cursor: pointer;
  transform: scale(0.94);
  opacity: 0.82;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.board-month-switch__item.is-active {
  background: #111214;
  color: #fff;
  border-color: #111214;
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 18px 34px rgba(17, 18, 20, 0.14);
}

.board-month-switch__item:hover {
  opacity: 0.95;
  transform: scale(0.97);
}

.board-month-switch__item.is-active:hover {
  transform: scale(1);
}

.board-month-switch__month {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.1;
}

.board-month-switch__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: inherit;
}

.board-strip__item {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7f8fa;
  border: 1px solid rgba(17, 18, 20, 0.08);
}

.board-strip__label,
.board-strip__desc {
  margin: 0;
}

.board-strip__label {
  color: #7f858d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-strip__title {
  margin: 8px 0 6px;
  font-size: 1rem;
  line-height: 1.2;
}

.board-strip__desc {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.92rem;
}

.board-strip__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.board-strip__action::after {
  content: "↓";
  font-size: 0.9rem;
}

.board-panel[open] .board-strip__action::after {
  content: "↑";
}

body.home-board-open .home-summary,
body.home-board-open .home-directory {
  padding-top: 46px;
}

body.home-board-open .hero-section {
  min-height: calc(100vh - 96px);
  padding-bottom: 40px;
}

.board-shell {
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 100%);
  overflow: hidden;
  transition: box-shadow 0.24s ease;
}

.board-table-wrap {
  overflow-x: auto;
}

.board-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.board-table th,
.board-table td {
  padding: 16px 14px;
  vertical-align: top;
  border-right: 1px solid rgba(17, 18, 20, 0.08);
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  text-align: left;
}

.board-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #111214;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.board-table thead tr:first-child th {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.board-table thead tr:last-child th {
  font-size: 0.88rem;
  color: #fff;
}

.board-table thead th:first-child,
.board-table thead th:nth-child(2) {
  z-index: 3;
}

.board-table tbody td {
  background: #fff;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 400;
}

.board-table tbody td:first-child {
  background: #f5f7fb;
  color: var(--text);
  font-weight: 600;
  min-width: 120px;
}

.board-table tbody td:nth-child(2) {
  background: #fafbfc;
  color: var(--text);
  font-weight: 500;
  min-width: 130px;
}

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

.board-table th:last-child,
.board-table td:last-child {
  border-right: 0;
}

.detail-hero {
  min-height: 70vh;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-hero--robot-right .detail-hero__media {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 78% 48%, rgba(63, 198, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #111214 0%, #0f1420 42%, #0a1020 100%);
}

.detail-hero--robot-right .detail-hero__media img {
  width: auto;
  height: 100%;
  max-width: 48%;
  object-fit: contain;
  object-position: right center;
  margin-right: 5%;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.34));
}

.detail-hero--robot-right .detail-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.78) 34%, rgba(10, 10, 11, 0.3) 60%, rgba(10, 10, 11, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.18), rgba(10, 10, 11, 0.62));
  z-index: 0;
}

.detail-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 11, 0.12), rgba(10, 10, 11, 0.48));
}

.detail-hero__copy {
  padding: 72px 56px;
  display: grid;
  align-content: center;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.96), rgba(24, 25, 27, 0.96));
}

.detail-copy {
  max-width: 1080px;
  margin-bottom: 40px;
  display: grid;
  gap: 16px;
}

.detail-copy p {
  color: var(--text-soft);
}

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

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

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

.line-showcase {
  grid-template-columns: 0.9fr 1.1fr;
}

.line-card {
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.line-card--text {
  cursor: default;
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.line-card--text:hover,
.line-card--text.is-active {
  transform: none;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-color: rgba(17, 18, 20, 0.08);
}

.line-card--text h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.16;
}

.line-card__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 18, 20, 0.08);
}

.line-card__columns ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.76;
}

.line-card:hover,
.line-card.is-active {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(17, 18, 20, 0.16);
}

.line-card__media,
.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  background: #f5f6f8;
}

.line-focus {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.line-focus__image {
  border-radius: 24px;
  background: linear-gradient(180deg, #f7f8fa, #eef1f6);
  padding: 30px;
}

.line-focus__image img {
  width: 100%;
  object-fit: contain;
}

.line-focus__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
}

.mini-title {
  color: #7b8086;
}

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

.channel-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
}

.channel-platform {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-top: 6px;
}

.channel-platform__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, #111214 0%, #1b2431 100%);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 16px 30px rgba(17, 18, 20, 0.12);
}

.channel-platform__name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.channel-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}

.channel-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid rgba(17, 18, 20, 0.08);
  background: #fff;
}

.channel-card__group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 18, 20, 0.08);
}

.matrix-table {
  display: grid;
  gap: 10px;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.matrix-head > div,
.matrix-row > div {
  padding: 18px 20px;
  border-radius: 18px;
}

.matrix-head > div {
  background: #111214;
  color: #fff;
  font-weight: 700;
}

.matrix-row > div {
  background: var(--surface-soft);
  color: var(--text-soft);
  line-height: 1.78;
}

.schedule-months {
  grid-template-columns: 1fr;
}

.schedule-month__head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.schedule-month__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 600;
  width: fit-content;
}

.schedule-month h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.06;
}

.schedule-month__focus {
  color: var(--text-soft);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 18px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  line-height: 1.82;
}

.schedule-table th {
  color: #7a7f85;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.schedule-table td {
  color: var(--text-soft);
}

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

.roadmap-note {
  margin-top: 16px !important;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7f7f8;
}

.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.risk-layout {
  grid-template-columns: 0.8fr 1.2fr;
}

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

.risk-column {
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.risk-column--priority {
  background: linear-gradient(180deg, #13161c 0%, #1d232c 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.risk-column--priority .panel-label,
.risk-column--priority h3,
.risk-column--priority p,
.risk-column--priority li {
  color: rgba(255, 255, 255, 0.9);
}

.risk-column--priority .panel-label {
  color: rgba(255, 255, 255, 0.66);
}

.priority-list,
.risk-cards {
  margin-top: 22px;
}

.priority-list {
  display: grid;
  gap: 16px;
}

.priority-list .priority-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.risk-column--priority .priority-card h3,
.risk-column--priority .priority-card p {
  color: rgba(255, 255, 255, 0.9);
}

.risk-column--contingency .risk-card {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.deliverable-grid,
.lifecycle-grid--wide,
.phase-grid--wide,
.solution-grid--wide,
.asset-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lifecycle-card strong,
.phase-card strong,
.solution-card strong {
  color: #111214;
}

.lifecycle-card p + p,
.phase-card p + ul,
.solution-card h3 + ul {
  margin-top: 12px;
}

.lifecycle-card {
  display: grid;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

@media (max-width: 1440px) {
  .hero-home,
  .detail-hero,
  .home-grid,
  .line-showcase,
  .line-focus,
  .channel-card,
  .risk-layout {
    grid-template-columns: 1fr;
  }

  .entry-grid,
  .framework-grid,
  .entry-grid--compact,
  .board-month-switch,
  .board-strip__items,
  .deliverable-grid,
  .roadmap-grid,
  .lifecycle-grid--wide,
  .phase-grid--wide,
  .solution-grid--wide,
  .asset-grid--wide,
  .lane-grid,
  .line-list,
  .line-list--text,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-product {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 16px 20px;
  }

  .brand__logo {
    width: 126px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
  }

  .main-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .main-nav--home ul {
    flex-wrap: nowrap;
  }

  .page {
    padding: 12px;
  }

  .hero-section,
  .section,
  .detail-section {
    padding: 34px 20px;
  }

  .detail-hero__copy {
    padding: 34px 20px;
  }

  .detail-hero--robot-right .detail-hero__media img {
    max-width: 56%;
    margin-right: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 34px;
  }

  .entry-grid,
  .entry-grid--compact,
  .board-strip,
  .board-strip__items,
  .deliverable-grid,
  .roadmap-grid,
  .lifecycle-grid--wide,
  .phase-grid--wide,
  .solution-grid--wide,
  .asset-grid--wide,
  .lane-grid,
  .line-list,
  .line-list--text,
  .review-grid,
  .line-focus__columns,
  .line-card__columns,
  .matrix-head,
  .matrix-row {
    grid-template-columns: 1fr;
  }

  .board-month-switch {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .detail-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .hero-product img {
    width: min(54vw, 280px);
  }

  .hero-home {
    gap: 24px;
  }

  .hero-content--wide {
    max-width: 100%;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-summary {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-top: 22px;
  }

  .hero-tags--home {
    margin-top: 22px;
    gap: 8px;
  }

  .hero-tags--home span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero-actions--home {
    margin-top: 22px;
    width: 100%;
    gap: 10px;
  }

  .hero-actions--home .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .home-summary {
    padding-top: 28px;
  }

  .home-grid--wide .home-card {
    min-height: auto;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .entry-grid--large {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: auto;
    padding: 78px 18px 20px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.6vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .hero-title span {
    margin-top: 10px;
  }

  .hero-title__line {
    white-space: normal;
  }

  .hero-summary {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .hero-product {
    justify-content: center;
  }

  .hero-product img {
    width: min(46vw, 210px);
  }

  .detail-hero--robot-right .detail-hero__media img {
    max-width: 62%;
  }

  .hero-tags--home span {
    width: fit-content;
  }

  .hero-actions--home {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions--home .button {
    width: 100%;
  }

  .site-header__inner {
    padding: 14px 16px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand__logo {
    width: 110px;
  }

  .brand__meta {
    font-size: 0.66rem;
  }

  .main-nav a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .section,
  .detail-section {
    padding: 28px 16px;
  }

  .home-card,
  .framework-card,
  .lane-card,
  .line-card,
  .line-focus,
  .channel-card,
  .review-card,
  .roadmap-card,
  .priority-card,
  .risk-card,
  .deliverable-card,
  .matrix-block,
  .lifecycle-card,
  .phase-card,
  .solution-card,
  .asset-card,
  .schedule-month {
    padding: 20px;
  }
}
