:root {
  --ink: #10213f;
  --ink-2: #30425f;
  --muted: #68788d;
  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --blue: #007aff;
  --blue-dark: #0759c7;
  --blue-soft: #eaf3ff;
  --blue-soft-2: #d9e9ff;
  --teal: #0b9b83;
  --teal-dark: #087462;
  --teal-soft: #e2f4ef;
  --slate-soft: #eef2f6;
  --mist: #f4f8fb;
  --white: #ffffff;
  --line: rgba(16, 33, 63, 0.14);
  --line-soft: rgba(16, 33, 63, 0.075);
  --shadow: 0 30px 80px rgba(28, 58, 96, 0.14);
  --hero-surface: #f4f7f9;
  --panel-surface: #fbfcfd;
  --panel-border: rgba(16, 33, 63, 0.13);
  --panel-rule: rgba(16, 33, 63, 0.095);
  --panel-ink: #263a57;
  --panel-muted: #718093;
  --panel-accent: #087462;
  --panel-shadow:
    0 20px 48px rgba(16, 33, 63, 0.075),
    0 2px 6px rgba(16, 33, 63, 0.025);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

section[id],
article[id] {
  scroll-margin-top: 105px;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

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

button {
  border: 0;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px 24px;
  background: #dcebe9;
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}

.announcement a {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-weight: 650;
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 22px;
  font-weight: 740;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-page-link,
.nav-direct {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.nav-page-link {
  padding-right: 3px;
}

.nav-trigger {
  width: 31px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px 0 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.nav-trigger .chevron {
  font-size: 12px;
  line-height: 1;
  transition: transform 160ms ease;
}

.nav-item:hover,
.nav-item.is-active,
.nav-item.current,
.nav-direct:hover,
.nav-direct[aria-current="page"] {
  background: var(--slate-soft);
  color: var(--blue-dark);
}

.nav-page-link[aria-current="page"],
.mobile-group-head > a[aria-current="page"],
.mobile-top-link[aria-current="page"] {
  color: var(--blue-dark);
}

.nav-item.is-active .chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  z-index: 62;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 26px 60px rgba(20, 47, 84, 0.12);
}

.mega-menu[hidden] {
  display: none;
}

.mega-menu:not([hidden]) {
  animation: mega-panel-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mega-menu:not([hidden]) .mega-column,
.mega-menu:not([hidden]) .mega-promo {
  animation: mega-content-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mega-menu:not([hidden]) .mega-column:nth-child(2) {
  animation-delay: 35ms;
}

.mega-menu:not([hidden]) .mega-column:nth-child(3) {
  animation-delay: 70ms;
}

.mega-menu:not([hidden]) .mega-column:nth-child(4) {
  animation-delay: 105ms;
}

.mega-menu:not([hidden]) .mega-promo {
  animation-delay: 125ms;
}

@keyframes mega-panel-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mega-content-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-inner {
  width: min(1320px, calc(100% - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: clamp(36px, 5vw, 72px);
  margin: 0 auto;
  padding: 34px 0 38px;
}

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

.mega-column h3 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.mega-column a {
  display: block;
  padding: 7px 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 530;
  line-height: 1.35;
  transition: color 150ms ease, transform 150ms ease;
}

.mega-column a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.mega-promo {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(7, 116, 98, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.86), transparent 31%),
    linear-gradient(145deg, var(--teal-soft), #edf6fb);
  transition: border-color 160ms ease, transform 160ms ease;
}

.mega-promo:hover {
  border-color: rgba(7, 116, 98, 0.34);
  transform: translateY(-2px);
}

.mega-promo small {
  margin-bottom: auto;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.mega-promo strong {
  display: block;
  max-width: 220px;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.mega-promo span {
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 720;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.pill-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.pill-button.light {
  background: var(--slate-soft);
}

.pill-button.light:hover {
  background: #e2e8ef;
}

.pill-button.dark {
  background: var(--ink);
  color: var(--white);
}

.pill-button.dark:hover {
  background: var(--blue);
}

.pill-button.outline {
  border-color: rgba(16, 33, 63, 0.17);
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-lines {
  display: grid;
  gap: 4px;
}

.menu-toggle-lines i {
  width: 16px;
  height: 1px;
  display: block;
  background: var(--ink);
  transition: transform 160ms ease;
}

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

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

.mobile-nav {
  position: absolute;
  z-index: 55;
  top: 100%;
  right: 0;
  left: 0;
  height: calc(100vh - 124px);
  height: calc(100dvh - 124px);
  overflow: auto;
  display: none;
  padding: 14px 24px 40px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-group {
  border-bottom: 1px solid var(--line);
}

.mobile-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-group-head > a,
.mobile-top-link {
  min-height: 68px;
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 4px;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.mobile-group-trigger {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.mobile-top-link {
  width: 100%;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mobile-group-trigger span,
.mobile-top-link::after {
  color: var(--blue);
  font-size: 18px;
  font-weight: 450;
}

.mobile-group-trigger span {
  transition: transform 160ms ease;
}

.mobile-group-trigger[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.mobile-top-link::after {
  content: "↗";
}

.mobile-submenu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
  padding: 0 4px 20px;
}

.mobile-submenu:not([hidden]) {
  animation: mobile-submenu-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-submenu[hidden] {
  display: none;
}

@keyframes mobile-submenu-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-submenu a {
  padding: 9px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 24px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 24px 96px;
  border-bottom: 1px solid rgba(16, 33, 63, 0.055);
  background: var(--hero-surface);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(58px, 8vw, 120px);
  align-items: center;
  margin: 0 auto;
}

.page-eyebrow,
.section-eyebrow {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.page-hero h1 {
  max-width: 880px;
  margin: 24px 0 0;
  font-size: clamp(54px, 6.1vw, 82px);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}

.page-hero h1 strong {
  color: var(--blue);
  font-weight: inherit;
}

.page-hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .pill-button {
  min-height: 50px;
  padding: 0 24px;
  font-size: 13px;
}

.hero-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: var(--panel-surface);
  box-shadow: var(--panel-shadow);
}

.hero-panel::before,
.hero-panel::after {
  display: none;
  content: none;
}

.hero-panel > small {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 25px 28px 18px;
  border-bottom: 1px solid var(--panel-rule);
  color: var(--panel-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.hero-panel > small::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--panel-accent);
  content: "";
}

.hero-panel > small::after {
  height: 1px;
  flex: 1;
  background: var(--panel-rule);
  content: "";
}

.hero-panel-list {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 32px 28px 28px;
}

.hero-panel-list > span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--panel-ink);
  cursor: default;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  backdrop-filter: none;
}

.hero-panel-marker {
  flex: 0 0 auto;
  min-width: 42px;
  height: auto;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--panel-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.08em;
}

/* 四页共用同一种“科研索引板”材质。 */
.hero-panel--roles,
.hero-panel--phases,
.hero-panel--principles,
.hero-panel--build {
  border-color: var(--panel-border);
  background: var(--panel-surface);
}

/* 解决方案：共享规则线组成角色矩阵，不再使用四张小卡片。 */
.hero-panel-list--roles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-panel-list--roles > span {
  min-height: 92px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--panel-rule);
  border-left: 1px solid var(--panel-rule);
}

.hero-panel-list--roles > span:nth-child(even) {
  border-right: 1px solid var(--panel-rule);
}

.hero-panel-list--roles > span:nth-child(n + 3) {
  border-bottom: 1px solid var(--panel-rule);
}

.hero-panel-list--roles .hero-panel-marker {
  min-width: 0;
}

/* 科研全流程：编号列与内容列组成阶段日志。 */
.hero-panel-list--phases {
  gap: 0;
}

.hero-panel-list--phases::before {
  display: none;
  content: none;
}

.hero-panel-list--phases > span {
  min-height: 60px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--panel-rule);
}

.hero-panel-list--phases > span:not(:last-child) {
  border-bottom: 0;
}

.hero-panel-list--phases > span:last-child {
  border-bottom: 1px solid var(--panel-rule);
}

.hero-panel-list--phases .hero-panel-marker {
  align-self: stretch;
  min-width: 0;
  height: auto;
  display: grid;
  place-items: center start;
  padding: 0;
  padding-right: 14px;
  border-right: 1px solid var(--panel-rule);
  color: var(--blue-dark);
}

/* 为什么是柏研：四行产品准则，和角色矩阵明确区分。 */
.hero-panel-list--principles {
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
}

.hero-panel-list--principles > span {
  min-height: 60px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--panel-rule);
}

.hero-panel-list--principles > span:last-child {
  border-bottom: 1px solid var(--panel-rule);
}

.hero-panel-list--principles .hero-panel-marker {
  min-width: 64px;
  height: auto;
  color: var(--panel-accent);
  letter-spacing: 0.1em;
}

/* 关于团队：只用层级刻度表达逐层建设，不再堆彩色横条。 */
.hero-panel-list--build {
  gap: 0;
  justify-items: end;
}

.hero-panel-list--build > span {
  min-height: 54px;
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid var(--panel-rule);
  border-left: 2px solid rgba(8, 116, 98, 0.62);
}

.hero-panel-list--build > span:nth-child(1) {
  width: 82%;
}

.hero-panel-list--build > span:nth-child(2) {
  width: 88%;
}

.hero-panel-list--build > span:nth-child(3) {
  width: 94%;
}

.hero-panel-list--build > span:nth-child(4) {
  width: 100%;
  border-bottom: 1px solid var(--panel-rule);
}

.hero-panel-list--build .hero-panel-marker {
  min-width: 30px;
  height: auto;
  color: var(--panel-accent);
}

.page-section {
  padding: 112px 24px;
  background: var(--white);
}

.page-section.alt {
  background: var(--paper-2);
}

.page-section.dark {
  background: var(--ink);
  color: var(--white);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 62px;
}

.section-head h2 {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-head > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.dark .section-eyebrow {
  color: #b9dcff;
}

.dark .section-head > p {
  color: rgba(255, 255, 255, 0.62);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(54px, 7vw, 102px);
  align-items: center;
  padding: 66px 0;
}

.split-feature + .split-feature {
  border-top: 1px solid var(--line-soft);
}

.split-feature.reverse .feature-copy {
  order: 2;
}

.split-feature.reverse .feature-visual {
  order: 1;
}

.role-label {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 760;
}

.feature-copy h2,
.feature-copy h3 {
  margin: 18px 0 0;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 440;
  letter-spacing: -0.052em;
  line-height: 1.08;
  text-wrap: balance;
}

.feature-copy > p {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  content: "→";
  font-size: 17px;
}

.feature-visual {
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 54px 0 0 48px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.88), transparent 34%),
    var(--teal-soft);
}

.feature-visual.blue {
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, 0.88), transparent 34%),
    var(--blue-soft);
}

.feature-visual.slate {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.9), transparent 34%),
    #eef2fb;
}

.screen-window {
  width: calc(100% + 72px);
  overflow: hidden;
  border: 1px solid rgba(16, 33, 63, 0.09);
  border-radius: 14px 0 0 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.screen-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
}

.screen-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd4df;
}

.screen-bar i:first-child {
  background: var(--blue);
}

.screen-bar span {
  margin-left: auto;
  color: #8190a4;
  font-size: 9px;
}

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

.info-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.info-card.teal {
  background: var(--teal-soft);
}

.info-card.blue {
  background: var(--blue-soft);
}

.info-card small {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.info-card h3 {
  margin: 52px 0 15px;
  font-size: 25px;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.info-card p {
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.workflow-steps {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-step {
  min-height: 122px;
  padding: 16px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.workflow-step:hover {
  background: rgba(11, 155, 131, 0.15);
  transform: translateY(-3px);
}

.workflow-step small {
  color: #5bb4ff;
  font-size: 9px;
  font-weight: 800;
}

.workflow-step b {
  display: block;
  margin-top: 35px;
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.phase-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.phase-card:nth-child(2),
.phase-card:nth-child(3) {
  background: var(--paper-2);
}

.phase-card small {
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.phase-card h3 {
  margin: 62px 0 16px;
  font-size: 31px;
  font-weight: 520;
  letter-spacing: -0.04em;
}

.phase-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.principle-card {
  min-height: 300px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-card small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.principle-card h3 {
  margin: 68px 0 14px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comparison-card {
  min-height: 390px;
  padding: 34px;
  border-radius: 24px;
}

.comparison-card.before {
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.comparison-card.after {
  background: var(--ink);
  color: var(--white);
}

.comparison-card small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.comparison-card.after small {
  color: #71cdbd;
}

.comparison-card h3 {
  margin: 54px 0 22px;
  font-size: 34px;
  font-weight: 520;
  letter-spacing: -0.045em;
}

.comparison-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.comparison-card.after li {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(60px, 8vw, 110px);
  align-items: start;
}

.story-sticky {
  position: sticky;
  top: 132px;
}

.story-sticky h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.story-sticky p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.story-list {
  display: grid;
}

.story-item {
  min-height: 240px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.story-item:last-child {
  border-bottom: 1px solid var(--line);
}

.story-item small {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
}

.story-item h3 {
  margin: 38px 0 13px;
  font-size: 28px;
  font-weight: 540;
  letter-spacing: -0.04em;
}

.story-item p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.quote-band {
  padding: 110px 24px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.quote-band blockquote {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 1.1;
  text-wrap: balance;
}

.quote-band p {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.page-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 24px;
  background: var(--blue-soft);
  text-align: center;
}

.page-cta::before,
.page-cta::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(11, 155, 131, 0.28);
  border-radius: 50%;
  content: "";
}

.page-cta::before {
  top: -230px;
  left: -110px;
}

.page-cta::after {
  right: -150px;
  bottom: -260px;
}

.page-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-cta h2 {
  margin: 18px 0 0;
  font-size: clamp(46px, 5.8vw, 72px);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.page-cta p {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

footer {
  padding: 46px 24px;
  background: var(--white);
}

.footer-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.footer-brand .brand-logo {
  width: 30px;
  height: 30px;
}

.footer-meta {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .mega-menu,
  .nav-actions .light {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 320px;
  }

  .hero-panel-list {
    padding-top: 30px;
  }

  .split-feature {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse .feature-copy,
  .split-feature.reverse .feature-visual {
    order: initial;
  }

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

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

  .info-card {
    min-height: 250px;
  }

  .workflow-steps {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 760px) {
  .announcement {
    min-height: 38px;
    font-size: 10px;
  }

  .announcement span {
    display: none;
  }

  .nav-shell {
    width: calc(100% - 32px);
    min-height: 70px;
  }

  .nav-actions .dark {
    display: none;
  }

  .mobile-nav {
    height: calc(100vh - 108px);
    height: calc(100dvh - 108px);
  }

  .page-hero {
    padding: 78px 20px 72px;
  }

  .page-hero h1 {
    font-size: clamp(46px, 13vw, 66px);
  }

  .page-hero-copy {
    font-size: 15px;
  }

  .hero-panel {
    min-height: 0;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(16, 33, 63, 0.07);
  }

  .hero-panel > small {
    padding: 20px 20px 15px;
  }

  .hero-panel-list {
    padding: 28px 20px 20px;
  }

  .page-section {
    padding: 82px 20px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 42px;
  }

  .split-feature {
    padding: 52px 0;
  }

  .feature-visual {
    min-height: 390px;
    padding: 42px 0 0 27px;
  }

  .screen-window {
    width: calc(100% + 150px);
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-step {
    min-height: 112px;
  }

  .workflow-step b {
    margin-top: 27px;
  }

  .phase-grid,
  .comparison-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .phase-card {
    min-height: 300px;
  }

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

  .story-sticky {
    position: static;
  }

  .quote-band,
  .page-cta {
    padding: 86px 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .pill-button {
    width: min(100%, 340px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-meta {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .mobile-submenu {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .hero-panel-list {
    padding: 24px 18px 18px;
  }

  .hero-panel-list--roles {
    grid-template-columns: 1fr;
  }

  .hero-panel-list--roles > span {
    min-height: 66px;
    flex-direction: row;
    align-items: center;
    border-right: 1px solid var(--panel-rule);
    border-bottom: 0;
  }

  .hero-panel-list--roles > span:last-child {
    border-bottom: 1px solid var(--panel-rule);
  }

  .hero-panel-list--build > span {
    width: 100% !important;
  }

  .feature-copy h2,
  .feature-copy h3 {
    font-size: 38px;
  }

  .feature-visual {
    min-height: 330px;
  }

  .screen-window {
    width: calc(100% + 210px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
