:root {
  --navy-950: #071a2b;
  --navy-900: #0b2238;
  --navy-800: #123450;
  --blue-600: #1677ff;
  --blue-500: #3187ff;
  --cyan-500: #23c7b7;
  --cyan-300: #76e1d7;
  --mist-100: #f4f8fb;
  --mist-200: #e8f0f5;
  --mist-300: #d3e0e8;
  --graphite: #263746;
  --slate: #627485;
  --white: #ffffff;
  --danger: #ed6a5e;
  --warning: #f0b64a;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --content-width: 1180px;
  --section-space: clamp(5.5rem, 9vw, 8.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--mist-100);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body:has(dialog[open]) {
  overflow: hidden;
}

button,
textarea {
  font: inherit;
}

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

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

button {
  color: inherit;
}

svg {
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 0.35rem;
  transform: translateY(-150%);
}

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

.section-shell,
.header-inner,
.hero-inner {
  width: min(calc(100% - 3rem), var(--content-width));
  margin-inline: auto;
}

.section-shell {
  padding-block: var(--section-space);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 26, 43, 0.88);
  border-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
  align-items: end;
  width: 20px;
  height: 20px;
  padding: 2px;
  border: 1px solid rgba(118, 225, 215, 0.55);
}

.brand-mark span {
  display: block;
  background: var(--cyan-500);
}

.brand-mark span:nth-child(1) { height: 5px; }
.brand-mark span:nth-child(2) { height: 12px; }
.brand-mark span:nth-child(3) { height: 8px; }

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.875rem;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav .nav-contact {
  padding: 0.55rem 0.95rem;
  color: var(--cyan-300);
  border: 1px solid rgba(118, 225, 215, 0.36);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 7px auto;
  background: var(--white);
  transition: transform 200ms ease;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 46%, rgba(22, 119, 255, 0.2), transparent 25%),
    linear-gradient(123deg, var(--navy-950) 0%, #081e32 54%, #092943 100%);
}

.hero-grid,
.security-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(120, 175, 206, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 175, 206, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 0%, black 52%, black 100%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(64, 149, 255, 0.15);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 9%;
  right: -15%;
  width: 690px;
  height: 690px;
}

.hero-orbit-two {
  top: 25%;
  right: -2%;
  width: 440px;
  height: 440px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
  min-height: 780px;
  padding-block: 9.5rem 6rem;
}

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

.hero-kicker,
.section-index,
.dialog-kicker {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--blue-600);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero-kicker {
  color: var(--cyan-300);
  letter-spacing: 0.08em;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(35, 199, 183, 0.12);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 1.75rem;
  color: var(--white);
  font-size: clamp(2.75rem, 4.5vw, 4.25rem);
  font-weight: 640;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 2.4rem;
  color: rgba(230, 242, 250, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.9;
}

.hero-security-callout {
  display: inline-flex;
  max-width: 590px;
  margin: -0.5rem 0 2rem;
  padding: 0.7rem 0.85rem;
  gap: 0.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(35, 199, 183, 0.08);
  border: 1px solid rgba(118, 225, 215, 0.3);
}

.security-callout-icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--cyan-300);
  background: rgba(35, 199, 183, 0.12);
  border: 1px solid rgba(118, 225, 215, 0.35);
}

.security-callout-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.hero-security-callout strong,
.hero-security-callout small {
  display: block;
}

.hero-security-callout strong {
  color: var(--cyan-300);
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-security-callout small {
  margin-top: 0.08rem;
  color: rgba(230, 242, 250, 0.6);
  font-size: 0.72rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.75rem 1.4rem;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 650;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button-primary {
  color: var(--white);
  background: var(--blue-600);
}

.button-primary:hover {
  background: var(--blue-500);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3.8rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-assurances dt {
  color: rgba(225, 239, 248, 0.45);
  font-size: 0.76rem;
}

.hero-assurances dd {
  margin: 0.18rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 550;
}

.hero-system {
  position: relative;
  min-height: 535px;
  padding: 1.5rem;
  background: rgba(8, 34, 54, 0.7);
  border: 1px solid rgba(109, 182, 225, 0.22);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.system-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.72rem;
}

.system-status {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--cyan-300);
}

.system-status i {
  width: 5px;
  height: 5px;
  background: var(--cyan-500);
  border-radius: 50%;
}

.message-stack {
  position: absolute;
  top: 92px;
  left: -32px;
  width: 230px;
}

.message-bubble {
  position: relative;
  padding: 0.85rem 1rem;
  background: rgba(15, 49, 75, 0.96);
  border: 1px solid rgba(105, 179, 222, 0.2);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.16);
}

.message-bubble + .message-bubble {
  margin-top: 0.75rem;
}

.message-bubble::after {
  position: absolute;
  top: 50%;
  right: -66px;
  width: 65px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(49, 135, 255, 0.55), var(--blue-500));
  transform-origin: right;
  animation: line-arrive 1.1s var(--ease-out) both;
}

.message-b {
  margin-left: 18px;
}

.message-b::after { animation-delay: 180ms; }
.message-c::after { animation-delay: 360ms; }

.message-source {
  display: block;
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
}

.message-bubble strong {
  font-size: 0.78rem;
  font-weight: 550;
}

.trust-boundary {
  position: absolute;
  top: 69px;
  bottom: 24px;
  left: 46%;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(118, 225, 215, 0.6) 0 6px, transparent 6px 13px);
}

.trust-boundary span {
  position: absolute;
  top: 50%;
  left: 0;
  padding: 0.4rem 0;
  color: rgba(118, 225, 215, 0.62);
  background: #0b2a44;
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  transform: translate(-50%, -50%);
}

.processing-core {
  position: absolute;
  top: 105px;
  right: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42%;
  aspect-ratio: 1;
  overflow: hidden;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.23), rgba(8, 34, 54, 0.2) 64%);
  border: 1px solid rgba(49, 135, 255, 0.28);
  border-radius: 50%;
}

.processing-core::before,
.processing-core::after {
  position: absolute;
  width: 78%;
  height: 78%;
  content: "";
  border: 1px solid rgba(35, 199, 183, 0.12);
  border-radius: 50%;
}

.processing-core::after {
  width: 54%;
  height: 54%;
}

.core-scan {
  position: absolute;
  inset: 50% 0 auto 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-500), transparent);
  transform-origin: left;
  animation: scan 4.5s linear infinite;
}

.core-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  margin-bottom: 0.8rem;
  color: var(--cyan-300);
}

.core-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.processing-core > span,
.processing-core > strong,
.core-steps {
  position: relative;
  z-index: 1;
}

.processing-core > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
}

.processing-core > strong {
  font-size: 0.82rem;
}

.core-steps {
  display: flex;
  gap: 5px;
  margin-top: 0.9rem;
}

.core-steps i {
  width: 17px;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.core-steps .is-complete { background: var(--cyan-500); }
.core-steps .is-active { background: var(--blue-500); animation: soft-pulse 1.3s infinite; }

.system-result {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  background: rgba(35, 199, 183, 0.08);
  border: 1px solid rgba(35, 199, 183, 0.25);
  animation: result-arrive 700ms 900ms var(--ease-out) both;
}

.result-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--navy-950);
  background: var(--cyan-500);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.system-result span:not(.result-icon),
.system-result strong {
  display: block;
}

.system-result span:not(.result-icon) {
  color: var(--cyan-300);
  font-size: 0.7rem;
}

.system-result strong {
  font-size: 0.8rem;
}

.system-result time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.section-intro {
  max-width: 750px;
  margin-bottom: clamp(3rem, 6vw, 5.25rem);
}

.section-intro-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.55fr);
  gap: 0 6rem;
  max-width: none;
}

.section-intro-wide .section-index {
  grid-column: 1 / -1;
}

.section-intro-wide h2,
.section-intro-wide p:last-child {
  margin-bottom: 0;
}

.section-intro > p:last-child {
  color: var(--slate);
  line-height: 1.9;
}

.problem-ledger {
  border-top: 1px solid var(--mist-300);
}

.ledger-heading,
.ledger-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.75fr;
  gap: 2.5rem;
}

.ledger-heading {
  padding: 0.8rem 0;
  color: #82919e;
  border-bottom: 1px solid var(--mist-300);
  font-size: 0.72rem;
}

.ledger-row {
  align-items: center;
  min-height: 104px;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--mist-300);
}

.ledger-row p,
.ledger-row strong {
  margin: 0;
  font-size: 0.93rem;
}

.ledger-row p {
  color: var(--slate);
}

.ledger-row strong {
  color: var(--blue-600);
  font-weight: 600;
}

.ledger-event {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--navy-950);
  font-weight: 650;
}

.pulse-ring {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1px solid var(--danger);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--mist-100);
  background: var(--danger);
}

.workflow-section {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.section-intro-light h2 {
  color: var(--white);
}

.section-intro-light > p:last-child {
  color: rgba(224, 239, 248, 0.6);
}

.result-console {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 510px;
  border: 1px solid rgba(125, 181, 214, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.console-sidebar {
  padding: 1.2rem;
  background: #091e31;
  border-right: 1px solid rgba(125, 181, 214, 0.14);
}

.console-tab {
  display: flex;
  width: 100%;
  padding: 1rem;
  gap: 0.8rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
}

.console-tab + .console-tab {
  margin-top: 0.55rem;
}

.console-tab:hover,
.console-tab.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.console-tab.is-active {
  border-left-color: var(--cyan-500);
}

.tab-symbol {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.tab-approved { color: var(--cyan-500); }
.tab-duplicate { color: var(--danger); }
.tab-review { color: var(--warning); }

.console-tab strong,
.console-tab small {
  display: block;
}

.console-tab strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.console-tab small {
  margin-top: 0.05rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.console-stage {
  padding: 1.6rem clamp(1.5rem, 4vw, 4rem) 3rem;
  background:
    linear-gradient(rgba(9, 31, 51, 0.92), rgba(9, 31, 51, 0.92)),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.console-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
}

.result-panel {
  max-width: 720px;
  margin: 2.2rem auto 0;
  animation: panel-enter 360ms var(--ease-out) both;
}

.chat-message {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.7rem;
}

.chat-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy-950);
  background: #bfd7e7;
  font-size: 0.75rem;
  font-weight: 700;
}

.chat-message strong {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 500;
}

.chat-message p {
  margin: 0.3rem 0 0;
  padding: 0.65rem 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.processing-line {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 1.7rem 48px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.66rem;
}

.processing-line i {
  width: 5px;
  height: 5px;
  background: var(--cyan-500);
  border-radius: 50%;
}

.bot-reply {
  position: relative;
  margin-left: 48px;
  padding: 1.5rem 1.7rem;
  border-left: 3px solid;
}

.reply-approved {
  background: rgba(35, 199, 183, 0.08);
  border-color: var(--cyan-500);
}

.reply-duplicate {
  background: rgba(237, 106, 94, 0.08);
  border-color: var(--danger);
}

.reply-review {
  background: rgba(240, 182, 74, 0.08);
  border-color: var(--warning);
}

.reply-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
}

.bot-reply h3 {
  margin: 0.55rem 0 0.65rem;
  color: var(--white);
  font-size: 1.25rem;
}

.bot-reply p {
  max-width: 510px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.bot-reply time {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.62rem;
}

.evidence-strip {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.6rem 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.66rem;
}

.noscript-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
}

.capability-section .section-intro {
  position: sticky;
  top: 120px;
}

.capability-track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-track::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--blue-600), var(--cyan-500));
}

.capability-track li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 112px;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--mist-300);
}

.track-node {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--blue-600);
  background: var(--mist-100);
  border: 1px solid var(--blue-600);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
}

.track-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 650;
}

.track-copy p {
  margin: 0;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.75;
}

.track-meta {
  padding-left: 1.3rem;
  color: var(--blue-600);
  border-left: 1px solid var(--mist-300);
  font-size: 0.73rem;
  font-weight: 650;
  white-space: nowrap;
}

.integration-section {
  background: #e9f1f6;
}

.integration-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(4rem, 7vw, 7.5rem);
  align-items: center;
}

.integration-copy > p:not(.section-index) {
  color: var(--slate);
}

.integration-points {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cbdbe4;
}

.integration-points li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #cbdbe4;
  font-size: 0.84rem;
}

.integration-points span {
  color: var(--blue-600);
  font-size: 0.7rem;
  font-weight: 700;
}

.boundary-diagram {
  display: grid;
  grid-template-columns: 0.82fr 105px 1fr;
  min-height: 460px;
  padding: 2rem;
  background: var(--white);
  border: 1px solid #d3e1e9;
  box-shadow: 0 25px 60px rgba(20, 55, 78, 0.08);
}

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

.diagram-label {
  margin-bottom: 1.2rem;
  color: #8b9aa5;
  font-size: 0.68rem;
}

.channel-item,
.hospital-item {
  display: flex;
  min-height: 54px;
  padding: 0.7rem 0.9rem;
  gap: 0.7rem;
  align-items: center;
  background: var(--mist-100);
  border: 1px solid var(--mist-300);
  font-size: 0.76rem;
  font-weight: 600;
}

.channel-item + .channel-item,
.hospital-item + .hospital-item {
  margin-top: 0.65rem;
}

.channel-item i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--blue-600);
  background: #dceaff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-style: normal;
}

.hospital-item {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.hospital-console {
  margin-top: 1.4rem;
  padding: 1rem;
  color: var(--navy-950);
  background: rgba(35, 199, 183, 0.13);
  border: 1px solid rgba(35, 199, 183, 0.45);
}

.hospital-console span,
.hospital-console strong {
  display: block;
}

.hospital-console span { color: #368a82; font-size: 0.64rem; }
.hospital-console strong { margin-top: 0.2rem; font-size: 0.73rem; }

.diagram-bridge {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 17px;
}

.diagram-bridge > span {
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
}

.bridge-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border: 6px solid var(--white);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transform: translate(-50%, -50%);
}

.security-section {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
  background: #071826;
  border-top: 1px solid rgba(118, 225, 215, 0.2);
  border-bottom: 1px solid rgba(118, 225, 215, 0.14);
}

.security-grid {
  opacity: 0.3;
  mask-image: radial-gradient(circle at 15% 50%, black, transparent 57%);
}

.security-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(4rem, 9vw, 9rem);
}

.security-copy h2 {
  color: var(--white);
}

.security-copy .section-index {
  color: var(--cyan-300);
}

.security-copy > p:not(.section-index) {
  max-width: 540px;
}

.security-seal {
  display: flex;
  width: 150px;
  height: 150px;
  margin-top: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cyan-300);
  border: 1px solid rgba(35, 199, 183, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 55px rgba(35, 199, 183, 0.08);
}

.security-seal svg {
  width: 64px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.security-seal span {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.security-list {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.security-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.25rem;
  width: 2px;
  content: "";
  background: linear-gradient(var(--cyan-500), transparent 85%);
}

.security-list article {
  display: grid;
  grid-template-columns: 52px minmax(150px, 0.7fr) 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.security-list article > span {
  color: var(--cyan-300);
  font-size: 0.68rem;
}

.security-list h3 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

.security-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.delivery-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-timeline::before {
  position: absolute;
  top: 23px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--mist-300);
}

.delivery-timeline li {
  position: relative;
  padding-right: 2rem;
}

.phase-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--blue-600);
  background: var(--mist-100);
  border: 1px solid var(--blue-600);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.delivery-timeline h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.delivery-timeline p {
  margin: 0;
  color: var(--slate);
  font-size: 0.8rem;
}

.contact-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-600);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 7rem;
  align-items: center;
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
}

.contact-section .section-index {
  color: rgba(255, 255, 255, 0.64);
}

.contact-section h2 {
  margin: 0;
  color: var(--white);
}

.contact-action p {
  color: rgba(255, 255, 255, 0.76);
}

.button-light {
  margin-top: 0.6rem;
  color: var(--blue-600);
  background: var(--white);
}

.contact-radar {
  position: absolute;
  top: 50%;
  left: 12%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-radar span {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.contact-radar span:nth-child(2) { inset: 34%; }
.contact-radar span:nth-child(3) { inset: 48%; background: rgba(255, 255, 255, 0.09); }

.site-footer {
  color: rgba(255, 255, 255, 0.45);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding-block: 2.2rem;
  font-size: 0.72rem;
}

.footer-inner span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.footer-inner p {
  margin: 0;
}

.contact-dialog {
  width: min(calc(100% - 2rem), 760px);
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: var(--graphite);
  background: var(--white);
  border: 0;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.contact-dialog::backdrop {
  background: rgba(3, 15, 25, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem);
}

.dialog-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: var(--mist-100);
  border: 1px solid var(--mist-300);
  cursor: pointer;
}

.dialog-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.dialog-shell h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.dialog-lead {
  color: var(--slate);
}

.contact-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mist-300);
  border-left: 1px solid var(--mist-300);
}

.contact-checklist li {
  display: flex;
  min-height: 130px;
  padding: 1rem;
  gap: 0.8rem;
  border-right: 1px solid var(--mist-300);
  border-bottom: 1px solid var(--mist-300);
}

.contact-checklist li > span {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 50%;
  font-size: 0.65rem;
}

.contact-checklist strong {
  color: var(--navy-950);
  font-size: 0.88rem;
}

.contact-checklist p {
  margin: 0.25rem 0 0;
  color: var(--slate);
  font-size: 0.75rem;
  line-height: 1.6;
}

.request-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--navy-950);
  font-size: 0.76rem;
  font-weight: 650;
}

.request-summary {
  width: 100%;
  padding: 1rem;
  color: var(--graphite);
  background: var(--mist-100);
  border: 1px solid var(--mist-300);
  border-radius: 0;
  resize: vertical;
  font-size: 0.78rem;
  line-height: 1.75;
}

.dialog-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.copy-status {
  margin: 0;
  color: #287c72;
  font-size: 0.78rem;
}

@keyframes line-arrive {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes scan {
  to { transform: rotate(360deg); }
}

@keyframes soft-pulse {
  50% { opacity: 0.35; }
}

@keyframes result-arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 9rem;
  }

  .hero-system {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .capability-section,
  .integration-layout,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .capability-section .section-intro {
    position: static;
  }

  .integration-copy,
  .security-copy {
    max-width: 720px;
  }

  .security-seal {
    display: none;
  }

  .contact-inner {
    gap: 4rem;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

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

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    padding: 7rem 1.5rem 2rem;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    color: var(--white);
    background: rgba(7, 26, 43, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

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

  .site-nav a,
  .site-nav .nav-contact {
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.15rem;
  }

  .hero {
    min-height: auto;
  }

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

  .section-intro-wide,
  .ledger-heading,
  .ledger-row,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-intro-wide {
    gap: 1.5rem;
  }

  .ledger-heading {
    display: none;
  }

  .ledger-row {
    gap: 0.6rem;
    align-items: start;
    padding: 1.4rem 0;
  }

  .ledger-row p,
  .ledger-row strong {
    margin-left: 29px;
  }

  .result-console {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(125, 181, 214, 0.14);
  }

  .console-tab {
    padding: 0.8rem;
  }

  .console-tab + .console-tab {
    margin: 0;
  }

  .console-tab small {
    display: none;
  }

  .delivery-timeline {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .delivery-timeline::before {
    top: 0;
    bottom: 0;
    left: 22px;
    width: 1px;
    height: auto;
  }

  .delivery-timeline li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 1.3rem;
    padding: 0 0 2.3rem;
  }

  .phase-number {
    margin: 0;
  }

  .contact-inner {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  :root {
    --section-space: 4.5rem;
  }

  body {
    font-size: 15px;
  }

  .hero-inner {
    gap: 3.5rem;
    padding-block: 7.5rem 4rem;
  }

  .hero h1 br {
    display: none;
  }

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

  .hero-assurances {
    gap: 0.7rem;
  }

  .hero-assurances dd {
    font-size: 0.77rem;
  }

  .hero-security-callout {
    align-items: flex-start;
  }

  .hero-system {
    min-height: 500px;
    padding: 1rem;
  }

  .message-stack {
    top: 78px;
    left: 12px;
    width: 52%;
  }

  .message-bubble {
    padding: 0.7rem;
  }

  .message-bubble strong {
    font-size: 0.68rem;
  }

  .message-bubble::after {
    right: -32px;
    width: 31px;
  }

  .trust-boundary {
    top: 62px;
    bottom: 16px;
    left: 56%;
  }

  .processing-core {
    top: 126px;
    right: 5px;
    width: 39%;
  }

  .core-icon {
    width: 36px;
    margin-bottom: 0.3rem;
  }

  .processing-core > strong {
    font-size: 0.65rem;
  }

  .system-result {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .system-result time {
    display: none;
  }

  .console-sidebar {
    grid-template-columns: 1fr;
  }

  .console-tab small {
    display: block;
  }

  .console-stage {
    padding-inline: 1rem;
  }

  .console-meta span:last-child,
  .processing-line {
    display: none;
  }

  .bot-reply {
    margin-left: 0;
  }

  .capability-track li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
    padding-block: 1.35rem;
  }

  .capability-track::before {
    left: 20px;
  }

  .track-node {
    width: 42px;
    height: 42px;
  }

  .track-meta {
    grid-column: 2;
    justify-self: start;
    padding: 0.25rem 0.5rem;
    background: #e5f0ff;
    border: 0;
  }

  .boundary-diagram {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .diagram-bridge {
    min-height: 90px;
    flex-direction: row;
    align-items: center;
  }

  .diagram-bridge > span {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .diagram-bridge > span:not(:first-child) {
    display: none;
  }

  .security-list article {
    grid-template-columns: 45px 1fr;
    gap: 0.6rem 1rem;
  }

  .security-list::before {
    left: -0.55rem;
  }

  .security-list p {
    grid-column: 2;
  }

  .contact-checklist {
    grid-template-columns: 1fr;
  }

  .dialog-shell {
    padding-top: 4rem;
  }

  .dialog-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    gap: 0.55rem;
  }
}

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

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