@font-face {
  font-family: "Agentbase Sans";
  src: url("assets/fonts/noto-sans-sc-appbase.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue-900: #07357d;
  --blue-800: #0648ad;
  --blue-700: #075ed8;
  --blue-600: #0876f9;
  --blue-500: #1684ff;
  --blue-300: #8bc5ff;
  --blue-200: #c7e2ff;
  --blue-100: #e8f3ff;
  --blue-50: #f4f9ff;
  --ink: #102442;
  --ink-soft: #405574;
  --ink-muted: #62738d;
  --border: #d5e3f2;
  --border-strong: #b7d2ee;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --shadow-sm: 0 14px 38px rgba(16, 62, 116, 0.08);
  --shadow-md: 0 26px 70px rgba(11, 55, 112, 0.14);
  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.45rem;
  --shell: 75rem;
  --header-height: 4.25rem;
  font-family:
    "Agentbase Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-size: 1rem;
  line-break: strict;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid rgba(13, 111, 232, 0.5);
  outline-offset: 3px;
  border-radius: 0.4rem;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.16;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 0.55rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(207, 224, 242, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-right: auto;
}

.primary-nav a,
.footer-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #344966;
  font-size: 0.95rem;
  font-weight: 650;
}

.primary-nav a:hover,
.footer-nav a:hover {
  color: var(--blue-700);
}

.header-console {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  color: #fff;
  background: var(--blue-700);
  border: 1px solid var(--blue-700);
  border-radius: 0.62rem;
  font-size: 0.9rem;
  font-weight: 720;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.header-console:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.header-console-short {
  display: none;
}

.eyebrow,
.stage-order,
.evidence-label,
.boundary-cards article > span,
.brand-map-heading > span {
  margin-bottom: 0.72rem;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(132, 189, 242, 0.26),
      transparent 27rem
    ),
    linear-gradient(180deg, #f5faff 0%, #fff 82%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 92, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 92, 204, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(28rem, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 5.75rem);
  min-height: calc(100vh - var(--header-height));
  padding-block: clamp(4.75rem, 8vw, 7.5rem);
}

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

.hero-copy h1 {
  max-width: 45rem;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, calc(2.2rem + 2.6vw), 5.05rem);
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, calc(0.98rem + 0.28vw), 1.22rem);
  line-height: 1.75;
}

.hero-actions,
.finale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-width: 8.25rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.68rem;
  font-size: 0.94rem;
  font-weight: 740;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: 0 11px 28px rgba(7, 92, 204, 0.2);
}

.button-primary:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.button-secondary {
  color: var(--blue-800);
  background: #fff;
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  display: grid;
  min-width: 0;
  gap: 0.24rem;
  padding-top: 0.8rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border-strong);
  font-size: 0.83rem;
  font-weight: 680;
}

.hero-signals span {
  color: var(--blue-700);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-map {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(183, 210, 238, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.brand-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.3rem 1rem;
}

.brand-map-heading > span {
  margin: 0;
}

.brand-map-heading strong {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
}

.brand-map-graphic {
  width: 100%;
  height: auto;
}

.brand-map-boundary {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.8rem 0.15rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  text-align: center;
}

.narrative-stage {
  padding-block: clamp(5.25rem, 9vw, 8rem);
  border-bottom: 1px solid var(--border);
}

.narrative-foundation {
  background: #fff;
}

.narrative-governance {
  background:
    radial-gradient(
      circle at 12% 35%,
      rgba(132, 189, 242, 0.16),
      transparent 25rem
    ),
    var(--surface-soft);
}

.narrative-agent {
  color: #e6f0fc;
  background:
    radial-gradient(
      circle at 86% 12%,
      rgba(22, 130, 245, 0.21),
      transparent 25rem
    ),
    linear-gradient(145deg, #092c5a 0%, #061d3c 100%);
  border-bottom-color: #123c6c;
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(30rem, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
}

.stage-layout-reverse .stage-lead {
  order: 2;
}

.stage-layout-reverse .stage-evidence {
  order: 1;
}

.stage-lead h2,
.section-heading h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, calc(1.8rem + 1.35vw), 3.45rem);
  letter-spacing: -0.045em;
}

.stage-lead > p:last-child,
.section-heading > p:last-child {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.78;
}

.narrative-agent .stage-order {
  color: #94c7ff;
}

.narrative-agent .stage-lead h2 {
  color: #fff;
}

.narrative-agent .stage-lead > p:last-child {
  color: #c8daef;
}

.stage-evidence {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.evidence-label {
  margin-bottom: 1rem;
}

.capability-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.capability-labels span,
.governance-flow span {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: 0.52rem 0.78rem;
  color: var(--blue-900);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 0.55rem;
  font-size: 0.84rem;
  font-weight: 720;
}

.evidence-note {
  margin: 1.35rem 0 0;
  padding-top: 1.2rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.governance-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.governance-flow span {
  position: relative;
  grid-column: span 2;
  justify-content: center;
  min-height: 4.25rem;
  text-align: center;
}

.governance-flow span:nth-child(4) {
  grid-column: 2 / span 2;
}

.governance-flow span:nth-child(5) {
  grid-column: 4 / span 2;
}

.boundary-note {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1rem;
  color: var(--blue-900);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-left: 4px solid var(--blue-600);
  border-radius: 0.55rem;
  font-size: 0.88rem;
  font-weight: 680;
}

.agent-evidence {
  background: rgba(8, 39, 80, 0.72);
  border-color: #29598e;
  box-shadow: 0 22px 55px rgba(0, 12, 32, 0.24);
}

.agent-evidence .evidence-label {
  color: #94c7ff;
}

.capability-labels-agent span {
  color: #eaf4ff;
  background: rgba(22, 130, 245, 0.1);
  border-color: #376b9f;
}

.boundary-note-dark {
  color: #fff;
  background: rgba(22, 130, 245, 0.13);
  border-color: #497caf;
  border-left-color: #8fc5ff;
}

.shared-boundary {
  padding-block: clamp(5.25rem, 8vw, 7.5rem);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(32rem, 1.22fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
}

.boundary-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: boundary;
}

.boundary-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 5.7rem;
  padding: 0.85rem 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.boundary-flow li:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.boundary-flow li + li {
  border-top: 0;
}

.boundary-flow li:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.boundary-flow li::after {
  position: absolute;
  bottom: -0.55rem;
  left: 2.37rem;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  background: var(--surface-soft);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  content: "";
  transform: rotate(45deg);
}

.boundary-flow li:last-child::after {
  content: none;
}

.boundary-flow li > span {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.boundary-flow strong {
  font-size: 0.96rem;
  line-height: 1.55;
}

.capability-boundaries {
  padding-block: clamp(5.25rem, 8vw, 7.5rem);
  background:
    linear-gradient(180deg, rgba(231, 242, 253, 0.65), transparent 21rem),
    var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.section-heading-centered {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.boundary-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.boundary-cards article {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(16, 62, 116, 0.055);
}

.boundary-cards article > span {
  display: block;
  margin-bottom: 1.2rem;
}

.boundary-cards h3 {
  margin-bottom: 0.8rem;
  font-size: 1.18rem;
  line-height: 1.45;
}

.boundary-cards p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.platform-finale {
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
  background: #fff;
}

.finale-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  align-items: end;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 0%,
      rgba(142, 198, 255, 0.28),
      transparent 20rem
    ),
    linear-gradient(135deg, #0b65cc 0%, #072f68 100%);
  border: 1px solid #0a55b2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.finale-card .eyebrow {
  color: #c7e3ff;
}

.finale-card h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(2.1rem, calc(1.7rem + 1.2vw), 3.1rem);
  letter-spacing: -0.045em;
}

.finale-card p:last-child {
  max-width: 41rem;
  margin-bottom: 0;
  color: #dbeaff;
}

.finale-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.button-light {
  color: var(--blue-900);
  background: #fff;
  border-color: #fff;
}

.button-light:hover {
  background: var(--blue-100);
}

.button-ghost-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.site-footer {
  padding-block: 2.25rem;
  background: #f7faff;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 3rem;
}

.footer-grid > div > p {
  margin: 0.25rem 0 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

@media (max-width: 64rem) {
  .hero-layout,
  .stage-layout,
  .boundary-layout,
  .finale-card {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .stage-lead,
  .section-heading {
    max-width: 48rem;
  }

  .brand-map {
    width: min(100%, 44rem);
  }

  .stage-layout-reverse .stage-lead,
  .stage-layout-reverse .stage-evidence {
    order: initial;
  }

  .stage-evidence,
  .boundary-flow {
    width: min(100%, 48rem);
  }

  .finale-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4rem;
  }

  .site-shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .header-inner {
    gap: 0.85rem;
  }

  .brand {
    font-size: 1.05rem;
  }

  .primary-nav {
    gap: 0.75rem;
  }

  .header-console {
    min-height: 2.5rem;
    padding-inline: 0.78rem;
  }

  .header-console-full {
    display: none;
  }

  .header-console-short {
    display: inline;
  }

  .hero-layout {
    padding-block: 4rem 4.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 10vw, 4rem);
  }

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

  .governance-flow span,
  .governance-flow span:nth-child(4),
  .governance-flow span:nth-child(5) {
    grid-column: auto;
  }

  .governance-flow span:last-child {
    grid-column: 1 / -1;
  }

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

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

  .footer-nav {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 30rem) {
  .site-shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .header-inner {
    gap: 0.55rem;
  }

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

  .primary-nav {
    gap: 0.55rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12.4vw, 3.25rem);
    letter-spacing: -0.055em;
  }

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

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

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

  .brand-map {
    padding: 0.8rem;
    border-radius: var(--radius-md);
  }

  .brand-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .brand-map-boundary {
    padding-inline: 0.2rem;
    font-size: 0.68rem;
  }

  .narrative-stage,
  .shared-boundary,
  .capability-boundaries {
    padding-block: 4.5rem;
  }

  .stage-lead h2,
  .section-heading h2 {
    font-size: 2.25rem;
  }

  .stage-evidence {
    padding: 1.1rem;
  }

  .capability-labels {
    display: grid;
    grid-template-columns: 1fr;
  }

  .capability-labels span {
    width: 100%;
  }

  .governance-flow {
    grid-template-columns: 1fr;
  }

  .governance-flow span,
  .governance-flow span:last-child {
    grid-column: auto;
  }

  .boundary-flow li {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.65rem;
    padding-inline: 0.75rem;
  }

  .boundary-flow li::after {
    left: 1.82rem;
  }

  .boundary-cards {
    margin-top: 2rem;
  }

  .finale-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

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

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