:root {
  --bg: #f6fbfd;
  --bg-deep: #dff3f8;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #113042;
  --muted: #4d6a78;
  --primary: #0e7a9f;
  --primary-strong: #0a5e7c;
  --accent: #ff9340;
  --border: rgba(25, 84, 106, 0.16);
  --shadow: 0 28px 70px -36px rgba(13, 58, 76, 0.5);
  color-scheme: light;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  background: radial-gradient(circle at 8% -6%, #eaf9f9 0, transparent 32%),
    radial-gradient(circle at 96% 4%, #ffe3d2 0, transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, #eef8fb 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

.background-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(18, 64, 81, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 64, 81, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black 0 52%, transparent 100%);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 251, 253, 0.78);
  border-bottom: 1px solid rgba(22, 95, 123, 0.16);
  box-shadow: 0 14px 30px -28px rgba(10, 58, 80, 0.75);
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.44rem 0.62rem;
  border: 1px solid rgba(17, 71, 95, 0.14);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 12px 28px -24px rgba(8, 73, 101, 0.85);
}

.brand-mark {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.98rem;
  color: var(--text);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.topbar-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.theme-toggle,
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(17, 71, 95, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.theme-toggle {
  display: inline-flex;
  font-size: 1rem;
  line-height: 1;
}

.nav-toggle {
  flex-direction: column;
  gap: 0.24rem;
}

.theme-toggle-icon {
  transform: translateY(-1px);
}

.nav-toggle span {
  width: 0.94rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.theme-toggle:hover,
.nav-toggle:hover {
  border-color: rgba(14, 122, 159, 0.42);
  background: rgba(230, 247, 252, 0.86);
}

.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid rgba(14, 122, 159, 0.56);
  outline-offset: 1px;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.24rem;
  min-width: 0;
}

.nav a,
.nav-group > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  padding: 0.54rem 0.7rem;
  border-radius: 0.72rem;
  border: 1px solid transparent;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-group {
  position: relative;
}

.nav-group > summary {
  list-style: none;
  cursor: pointer;
}

.nav-group > summary::marker {
  content: "";
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-right: 2px solid rgba(17, 48, 66, 0.72);
  border-bottom: 2px solid rgba(17, 48, 66, 0.72);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.nav-group[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav a:hover,
.nav-group > summary:hover,
.nav-group[open] > summary {
  color: var(--primary);
  border-color: rgba(14, 122, 159, 0.22);
  background: rgba(14, 122, 159, 0.11);
  transform: translateY(-1px);
}

.nav a:focus-visible,
.nav-group > summary:focus-visible,
.nav-dropdown a:focus-visible {
  outline: 2px solid rgba(14, 122, 159, 0.56);
  outline-offset: 1px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  min-width: 220px;
  display: grid;
  gap: 0.2rem;
  padding: 0.35rem;
  border: 1px solid rgba(17, 70, 93, 0.16);
  border-radius: 0.88rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px -26px rgba(12, 66, 88, 0.85);
  backdrop-filter: blur(8px);
  transform: translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 30;
}

.nav-group[open] .nav-dropdown {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: 0.62rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.58rem;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav-dropdown a:hover {
  color: var(--primary);
  border-color: rgba(14, 122, 159, 0.22);
  background: rgba(14, 122, 159, 0.1);
}

.hero {
  padding: 4.8rem 0 3rem;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.workflow-card,
.cta {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  border-radius: 1.25rem;
}

.hero-copy {
  padding: clamp(1.45rem, 2.8vw, 2.2rem);
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.71rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin-bottom: 0;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}

.hero-text {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.hero-mantra {
  margin: 0 0 0.9rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-strong);
}

.hero-thesis {
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-thesis span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 122, 159, 0.2);
  background: rgba(14, 122, 159, 0.09);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2199c2 100%);
  color: #f4fcff;
  box-shadow: 0 16px 38px -22px rgba(14, 122, 159, 0.9);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-strong) 0%, #1189b4 100%);
}

.btn-ghost {
  color: var(--primary-strong);
  background: rgba(14, 122, 159, 0.1);
  border: 1px solid rgba(14, 122, 159, 0.22);
}

.hero-panel {
  padding: 1.2rem;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.88) 0%, rgba(227, 247, 253, 0.84) 100%);
}

.panel-label {
  margin: 0 0 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-metric {
  border-top: 1px solid rgba(17, 48, 66, 0.12);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

.panel-metric span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-strong);
  margin-bottom: 0.28rem;
}

.panel-metric strong {
  font-size: 0.95rem;
}

.section {
  padding: 3.1rem 0;
}

.section-heading {
  margin-bottom: 1.2rem;
}

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

.card {
  padding: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.workflow-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-card {
  padding: 1.2rem;
}

.workflow-card ol {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.48rem;
  color: var(--muted);
}

#workflow .section-heading {
  margin-bottom: 1.45rem;
}

.scenario-shell {
  position: relative;
  margin-bottom: 1rem;
  border: 1px solid rgba(122, 183, 209, 0.38);
  border-radius: 1.55rem;
  background: linear-gradient(180deg, rgba(219, 237, 246, 0.68), rgba(232, 246, 252, 0.78));
  box-shadow: 0 24px 44px -36px rgba(17, 85, 112, 0.68);
  padding: 0.82rem;
}

.scenario-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.scenario-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.scenario-stage {
  position: relative;
  border: 1px solid rgba(143, 183, 203, 0.5);
  border-radius: 1.1rem;
  background: rgba(248, 251, 253, 0.9);
  min-height: 132px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.72rem;
  text-align: center;
  padding: 0.7rem 0.66rem;
}

.scenario-stage::before {
  content: "";
  position: absolute;
  left: -0.72rem;
  top: 50%;
  width: 0.72rem;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(124, 186, 212, 0.58);
}

.scenario-stage:first-child::before {
  display: none;
}

.scenario-stage::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 47%;
  height: 3px;
  border-radius: 999px;
  background: rgba(177, 203, 216, 0.2);
}

.scenario-stage-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  border: 2px solid rgba(108, 176, 206, 0.5);
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(220, 241, 250, 0.9));
  color: #1e6c8f;
}

.scenario-stage-icon svg {
  width: 1.36rem;
  height: 1.36rem;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scenario-stage p {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #225e7a;
  font-weight: 700;
}

.scenario-stage.is-current {
  border-color: rgba(116, 182, 210, 0.8);
  background: linear-gradient(180deg, rgba(212, 230, 240, 0.9), rgba(223, 240, 247, 0.88));
  box-shadow: 0 22px 36px -30px rgba(29, 108, 142, 0.85);
}

.scenario-stage.is-current .scenario-stage-icon {
  border-color: rgba(77, 160, 198, 0.62);
  background: linear-gradient(180deg, rgba(235, 247, 253, 1), rgba(193, 227, 244, 0.96));
}

.scenario-stage.is-current p {
  color: #1f5f7e;
}

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

#workflow .scenario-grid {
  margin-top: 0.95rem;
}

.scenario-card {
  border-color: rgba(152, 189, 208, 0.44);
  background: linear-gradient(180deg, rgba(249, 251, 253, 0.92), rgba(240, 248, 252, 0.88));
}

.integration-carousel {
  position: relative;
  border: 1px solid rgba(14, 122, 159, 0.24);
  border-radius: 1.25rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(230, 247, 253, 0.84));
  box-shadow: var(--shadow);
  padding: 1rem 0.9rem 0.85rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.72rem;
  overflow: hidden;
}

.integration-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 5%, rgba(20, 158, 210, 0.14), transparent 34%),
    radial-gradient(circle at 92% 16%, rgba(255, 147, 64, 0.13), transparent 36%);
  pointer-events: none;
}

.integration-viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 1rem;
}

.integration-viewport::-webkit-scrollbar {
  display: none;
}

.integration-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.4rem) / 3);
  gap: 0.7rem;
}

.integration-card {
  position: relative;
  border: 1px solid rgba(17, 83, 109, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px -28px rgba(9, 81, 107, 0.95);
  padding: 0.86rem 0.8rem;
  min-height: 170px;
}

.integration-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, rgba(17, 150, 200, 0.86), rgba(69, 173, 127, 0.75), rgba(235, 148, 74, 0.86));
}

.integration-card-meta {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #216886;
}

.integration-card h3 {
  margin: 0.42rem 0 0.44rem;
  font-size: 1rem;
  line-height: 1.25;
}

.integration-card p:last-child {
  margin: 0;
  color: #3f6374;
  font-size: 0.86rem;
}

.carousel-btn {
  position: relative;
  z-index: 1;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 122, 159, 0.26);
  background: rgba(255, 255, 255, 0.88);
  color: #1a647f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  background: rgba(231, 247, 252, 0.95);
  border-color: rgba(14, 122, 159, 0.44);
}

.carousel-dots {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.carousel-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  border: 0;
  background: rgba(17, 97, 130, 0.26);
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.carousel-dot.is-active {
  width: 1.1rem;
  background: linear-gradient(90deg, #1988b4, #3bb293);
}

.value-flow-shell {
  position: relative;
  border: 1px solid rgba(14, 122, 159, 0.24);
  border-radius: 1.3rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(230, 247, 253, 0.84));
  box-shadow: var(--shadow);
  padding: 1.3rem;
  overflow: hidden;
}

.value-flow-shell::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -140px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 151, 197, 0.2), rgba(17, 151, 197, 0));
  pointer-events: none;
}

.value-flow-shell::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -170px;
  bottom: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 147, 64, 0.22), rgba(255, 147, 64, 0));
  pointer-events: none;
}

.value-flow-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 0.95rem;
}

.value-flow-copy p {
  margin: 0;
  color: #1c4a61;
  font-weight: 600;
}

.value-pill-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(14, 122, 159, 0.24);
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  background: rgba(255, 255, 255, 0.8);
  color: #0f5a76;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.value-flow-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.value-flow-track::before,
.value-flow-track::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.value-flow-track::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(54, 139, 179, 0.2), rgba(66, 157, 122, 0.28), rgba(222, 141, 69, 0.2));
}

.value-flow-track::after {
  height: 3px;
  background: linear-gradient(90deg, transparent 8%, rgba(59, 148, 190, 0.92) 34%, transparent 62%);
  background-size: 210px 100%;
  animation: value-flow-stream 4.6s linear infinite;
  opacity: 0.72;
}

.value-step {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(17, 83, 109, 0.2);
  border-radius: 0.95rem;
  padding: 0.74rem 0.68rem 0.7rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px -30px rgba(11, 74, 98, 0.92);
  min-height: 172px;
}

.value-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.44rem;
  top: 50%;
  width: 0.62rem;
  height: 0.62rem;
  border-top: 2px solid rgba(53, 128, 166, 0.64);
  border-right: 2px solid rgba(53, 128, 166, 0.64);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.value-step-meta {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2e6882;
}

.value-step h3 {
  margin: 0.38rem 0 0.45rem;
  font-size: 0.93rem;
  line-height: 1.25;
}

.value-step p:last-child {
  margin: 0;
  color: #3f6172;
  font-size: 0.82rem;
  line-height: 1.4;
}

.value-step-channel {
  border-color: rgba(54, 146, 190, 0.36);
  background: linear-gradient(170deg, rgba(232, 247, 255, 0.95), rgba(243, 251, 255, 0.9));
}

.value-step-control {
  border-color: rgba(66, 159, 120, 0.36);
  background: linear-gradient(170deg, rgba(232, 250, 241, 0.95), rgba(244, 253, 248, 0.9));
}

.value-step-loop {
  border-color: rgba(111, 117, 193, 0.38);
  background: linear-gradient(170deg, rgba(239, 237, 255, 0.95), rgba(247, 247, 255, 0.9));
}

.value-step-value {
  border-color: rgba(220, 133, 68, 0.38);
  background: linear-gradient(170deg, rgba(255, 241, 227, 0.95), rgba(255, 248, 240, 0.9));
}

.value-loop-strip {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px dashed rgba(102, 112, 190, 0.38);
  border-radius: 0.92rem;
  background: linear-gradient(130deg, rgba(242, 238, 255, 0.88), rgba(255, 255, 255, 0.82));
  padding: 0.62rem 0.72rem;
}

.value-loop-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.22rem 0.58rem;
  border: 1px solid rgba(96, 106, 184, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4d579c;
  font-weight: 700;
  white-space: nowrap;
}

.value-loop-strip p {
  margin: 0;
  color: #3e4973;
  font-size: 0.84rem;
  font-weight: 600;
}

.value-impact-grid {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-impact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 122, 159, 0.18);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.8rem;
}

.value-impact-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(36, 146, 193, 0.8), rgba(65, 170, 124, 0.75), rgba(232, 145, 73, 0.8));
}

.value-impact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.value-impact-card p {
  margin: 0;
  color: #3f6374;
  font-size: 0.86rem;
}

.day-life {
  position: relative;
  border: 1px solid rgba(14, 122, 159, 0.22);
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(227, 247, 253, 0.8));
  box-shadow: var(--shadow);
  padding: 1.3rem;
  overflow: hidden;
}

.day-life::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 4% 12%, rgba(255, 155, 81, 0.22), transparent 35%),
    radial-gradient(circle at 94% 20%, rgba(14, 122, 159, 0.2), transparent 36%);
  pointer-events: none;
}

.day-now {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(14, 122, 159, 0.18);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.7rem 0.8rem;
  margin-bottom: 1rem;
}

.day-now span {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.day-now strong {
  font-size: 0.9rem;
  color: #14384a;
}

.day-rail {
  position: relative;
  z-index: 1;
  height: 28px;
  margin-bottom: 1rem;
}

.day-rail-track,
.day-rail-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.day-rail-track {
  background: rgba(26, 103, 132, 0.16);
}

.day-rail-fill {
  right: auto;
  width: 0;
  background: linear-gradient(90deg, #0e7a9f 0%, #27a8cf 68%, #ff9340 100%);
  animation: day-progress 18s linear infinite;
}

.day-rail-runner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #effbff;
  background: radial-gradient(circle at 30% 25%, #fff5ec, #ff9340 82%);
  box-shadow: 0 0 0 1px rgba(255, 147, 64, 0.4), 0 10px 20px -12px rgba(255, 147, 64, 0.95);
  transform: translate(-50%, -50%);
  animation: day-runner 18s linear infinite;
}

.day-rail-runner::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  border: 1px solid rgba(255, 147, 64, 0.52);
  animation: day-pulse 1.4s ease-out infinite;
}

.day-story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.teams-chat {
  border: 1px solid rgba(89, 108, 221, 0.26);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(243, 246, 255, 0.95), rgba(232, 238, 255, 0.85));
  box-shadow: 0 18px 44px -30px rgba(43, 66, 146, 0.55);
  padding: 0.95rem;
}

.teams-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(85, 107, 221, 0.18);
}

.teams-chat-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4e5fb5;
}

.teams-chat-head h3 {
  margin: 0.22rem 0 0;
  font-size: 1rem;
  color: #253158;
}

.teams-chat-presence {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(73, 168, 99, 0.35);
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #20703e;
  background: rgba(104, 220, 139, 0.14);
}

.teams-chat-presence::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39c66d;
  box-shadow: 0 0 0 4px rgba(57, 198, 109, 0.2);
}

.teams-thread {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.66rem;
}

.teams-msg {
  max-width: 92%;
  border-radius: 0.9rem;
  border: 1px solid rgba(30, 70, 107, 0.14);
  padding: 0.62rem 0.72rem 0.68rem;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.teams-msg-user {
  justify-self: end;
  background: linear-gradient(160deg, rgba(14, 122, 159, 0.14), rgba(14, 122, 159, 0.06));
}

.teams-msg-agent {
  justify-self: start;
  background: rgba(255, 255, 255, 0.88);
}

.teams-author {
  margin: 0 0 0.26rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #39547f;
}

.teams-msg-body {
  margin: 0;
  color: #22384d;
  font-size: 0.9rem;
}

.teams-typing {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  border: 1px solid rgba(36, 71, 109, 0.2);
  border-radius: 999px;
  padding: 0.38rem 0.55rem;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.teams-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4669b4;
  animation: teams-typing-dot 1.45s ease-in-out infinite;
}

.teams-typing span:nth-child(2) {
  animation-delay: 0.14s;
}

.teams-typing span:nth-child(3) {
  animation-delay: 0.28s;
}

.agent-exec {
  margin-top: 0.88rem;
  border-top: 1px solid rgba(85, 107, 221, 0.18);
  padding-top: 0.8rem;
}

.agent-exec-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5265bf;
}

.agent-exec-status {
  margin: 0.32rem 0 0.7rem;
  font-size: 0.86rem;
  color: #253b5e;
}

.agent-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.38rem;
}

.agent-flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(82, 101, 191, 0.3), rgba(53, 159, 205, 0.35), rgba(73, 168, 99, 0.3));
  z-index: 0;
}

.agent-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(67, 93, 166, 0.2);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.44rem 0.2rem 0.42rem;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.agent-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(70, 95, 168, 0.28);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(227, 235, 255, 0.95));
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #344c9e;
}

.agent-node-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.57rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3b5281;
}

.agent-node.is-active {
  border-color: rgba(49, 132, 193, 0.48);
  background: linear-gradient(160deg, rgba(227, 244, 255, 0.95), rgba(231, 250, 241, 0.92));
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -24px rgba(39, 109, 161, 0.9);
}

.agent-node.is-active .agent-node-icon {
  border-color: rgba(38, 131, 201, 0.5);
  background: linear-gradient(180deg, rgba(237, 248, 255, 1), rgba(204, 231, 253, 0.96));
  color: #12668f;
}

.agent-node.is-burst::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 0.82rem;
  border: 1px solid rgba(40, 144, 208, 0.45);
  pointer-events: none;
  animation: agent-node-burst 760ms ease-out;
}

.day-stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.day-stage {
  border: 1px solid rgba(17, 82, 106, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.85rem;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.day-stage h3 {
  margin: 0.3rem 0 0.45rem;
  font-size: 1rem;
}

.day-stage p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.day-time {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--primary-strong);
}

.day-stage.is-active {
  transform: translateY(-4px);
  border-color: rgba(14, 122, 159, 0.55);
  box-shadow: 0 14px 30px -22px rgba(13, 82, 109, 0.9);
}

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

.skill-grid .workflow-card p {
  margin: 0;
  color: var(--muted);
}

.stack-visual {
  position: relative;
  margin-top: 0.5rem;
  padding: 0.35rem 0 0.2rem;
}

@keyframes day-progress {
  0%,
  8% {
    width: 0%;
  }

  20%,
  28% {
    width: 25%;
  }

  40%,
  48% {
    width: 50%;
  }

  60%,
  68% {
    width: 75%;
  }

  80%,
  100% {
    width: 100%;
  }
}

@keyframes day-runner {
  0%,
  8% {
    left: 0%;
  }

  20%,
  28% {
    left: 25%;
  }

  40%,
  48% {
    left: 50%;
  }

  60%,
  68% {
    left: 75%;
  }

  80%,
  100% {
    left: 100%;
  }
}

@keyframes day-pulse {
  0% {
    opacity: 0.65;
    transform: scale(0.72);
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes teams-typing-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes agent-node-burst {
  0% {
    opacity: 0.75;
    transform: scale(0.85);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes value-flow-stream {
  0% {
    background-position: -210px 0;
  }

  100% {
    background-position: 210px 0;
  }
}

.stack-center-line {
  position: absolute;
  left: 50%;
  top: 2.8rem;
  bottom: 1rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(102, 190, 234, 0.8), rgba(102, 190, 234, 0.2));
}

.stack-level {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  margin-bottom: 1.35rem;
}

.level-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(28, 122, 160, 0.25);
  border-radius: 999px;
  background: rgba(246, 251, 253, 0.9);
  padding: 0.42rem 0.85rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #32586b;
  font-weight: 600;
}

.stack-row {
  width: min(980px, 100%);
  display: grid;
  gap: 1rem;
}

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

.stack-row-one {
  grid-template-columns: minmax(0, 1fr);
}

.stack-row-one .stack-card {
  width: min(760px, 100%);
  margin-inline: auto;
}

.stack-card {
  border-radius: 1.35rem;
  border: 1.5px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 247, 252, 0.9));
  box-shadow: 0 22px 60px -40px rgba(12, 79, 105, 0.55);
  padding: 1.2rem 1.25rem;
}

.stack-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.stack-card-head h3 {
  margin: 0;
}

.stack-sub {
  margin: 0.22rem 0 0;
  color: #34586d;
  font-weight: 600;
}

.stack-desc {
  margin: 0.52rem 0 0;
  color: #486878;
  max-width: 62ch;
}

.expand-chip {
  border: 1px solid rgba(65, 168, 215, 0.75);
  border-radius: 999px;
  padding: 0.36rem 0.75rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #1b6181;
  background: rgba(149, 220, 248, 0.2);
  font-weight: 600;
}

.stack-channel {
  border-color: rgba(103, 197, 243, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(226, 246, 255, 0.83));
}

.stack-agent {
  border-color: rgba(95, 191, 236, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(225, 246, 255, 0.8));
}

.stack-skills {
  border-color: rgba(74, 212, 163, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(223, 251, 240, 0.84));
}

.stack-tool {
  border-color: rgba(234, 190, 67, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 243, 213, 0.84));
}

.stack-model {
  border-color: rgba(244, 157, 173, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 232, 237, 0.84));
}

.quality-highlight {
  margin-bottom: 1rem;
  border: 1px solid rgba(14, 122, 159, 0.2);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(14, 122, 159, 0.09), rgba(255, 147, 64, 0.09));
  padding: 1rem 1.1rem;
}

.quality-highlight p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

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

.quality-grid .workflow-card p {
  margin: 0;
  color: var(--muted);
}

.cta {
  text-align: center;
  padding: 2rem 1.2rem;
  background: radial-gradient(circle at 18% 0%, rgba(255, 154, 70, 0.2), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(17, 163, 212, 0.2), transparent 38%), var(--surface-strong);
}

.cta p {
  margin-inline: auto;
  max-width: 63ch;
  color: var(--muted);
}

.footer {
  padding: 1.5rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

@media (max-width: 980px) {
  .topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 0.72rem 0;
    gap: 0.65rem;
  }

  .brand {
    order: 1;
  }

  .topbar-tools {
    order: 2;
    margin-left: auto;
  }

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

  .nav {
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    padding: 0.55rem;
    border: 1px solid rgba(17, 70, 93, 0.15);
    border-radius: 0.92rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 30px -25px rgba(9, 67, 90, 0.72);
    overflow: hidden;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-group > summary {
    width: 100%;
    justify-content: space-between;
    padding: 0.58rem 0.66rem;
  }

  .nav-group {
    position: static;
    width: 100%;
  }

  .nav-group .nav-dropdown {
    position: static;
    margin-top: 0.24rem;
    min-width: 0;
    border-radius: 0.72rem;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }

  .nav-group[open] .nav-dropdown {
    display: grid;
  }

  .section {
    padding: 2.6rem 0;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .workflow-card,
  .cta {
    border-radius: 1.05rem;
  }

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

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

  .workflow-layout {
    grid-template-columns: 1fr;
  }

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

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

  .scenario-shell {
    padding: 0.7rem;
    border-radius: 1.22rem;
  }

  .scenario-stage {
    min-height: 116px;
    border-radius: 0.95rem;
  }

  .scenario-stage-icon {
    width: 2.85rem;
    height: 2.85rem;
  }

  .integration-track {
    grid-auto-columns: calc((100% - 0.7rem) / 2);
  }

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

  .value-flow-track::before,
  .value-flow-track::after {
    display: none;
  }

  .value-step:not(:last-child)::after {
    display: none;
  }

  .value-step {
    min-height: 0;
  }

  .value-loop-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .day-story-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .brand {
    padding: 0.42rem 0.56rem;
  }

  .brand-sub {
    font-size: 0.9rem;
  }

  .topbar-inner {
    gap: 0.48rem;
  }

  .nav {
    padding: 0.45rem;
  }

  .nav a,
  .nav-group > summary {
    font-size: 0.84rem;
    padding: 0.5rem 0.6rem;
  }

  .nav-dropdown a {
    font-size: 0.82rem;
    padding: 0.46rem 0.52rem;
  }

  h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.4rem);
  }

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

  .hero {
    padding-top: 3.4rem;
  }

  .section {
    padding: 2.15rem 0;
  }

  .section-heading {
    margin-bottom: 0.95rem;
  }

  .card,
  .workflow-card {
    padding: 0.95rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .day-life {
    padding: 0.88rem;
  }

  .teams-chat {
    padding: 0.78rem;
  }

  .day-stage {
    padding: 0.72rem;
  }

  .integration-carousel {
    grid-template-columns: 1fr;
    padding: 0.9rem;
    gap: 0.55rem;
  }

  .integration-track {
    grid-auto-columns: 100%;
  }

  .carousel-btn {
    display: none;
  }

  .value-flow-shell {
    padding: 1rem;
  }

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

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

  .day-now {
    flex-direction: column;
    align-items: flex-start;
  }

  .day-rail {
    display: none;
  }

  .day-stage-grid {
    grid-template-columns: 1fr;
  }

  .teams-chat-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .stack-center-line {
    display: none;
  }

  .level-pill {
    font-size: 0.71rem;
  }

  .stack-row-channels {
    grid-template-columns: 1fr;
  }

  .scenario-rail {
    grid-template-columns: 1fr;
    gap: 0.56rem;
  }

  .scenario-stage {
    min-height: 0;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    gap: 0.6rem;
    padding: 0.62rem 0.7rem;
  }

  .scenario-stage::before {
    display: none;
  }

  .scenario-stage::after {
    left: 4rem;
    right: 0.9rem;
    top: 50%;
  }

  .scenario-stage p {
    font-size: 0.68rem;
  }
}

@media (max-width: 560px) {
  h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }

  .hero-thesis span {
    font-size: 0.73rem;
  }

  .panel-metric strong,
  .teams-msg-body {
    font-size: 0.86rem;
  }

  .value-step h3 {
    font-size: 0.9rem;
  }

  .scenario-stage-icon {
    width: 2.55rem;
    height: 2.55rem;
  }

  .scenario-stage-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }

  .nav a,
  .theme-toggle,
  .nav-toggle,
  .nav-group > summary,
  .nav-dropdown,
  .nav-dropdown a {
    transition: none;
  }

  .integration-viewport {
    scroll-behavior: auto;
  }

  .carousel-btn,
  .carousel-dot {
    transition: none;
  }

  .day-rail-fill,
  .day-rail-runner,
  .day-rail-runner::after {
    animation: none;
  }

  .day-stage {
    transition: none;
    transform: none;
  }

  .teams-msg,
  .teams-typing {
    transition: none;
  }

  .teams-typing span {
    animation: none;
  }

  .agent-node {
    transition: none;
  }

  .agent-node.is-burst::after {
    animation: none;
  }

  .value-flow-track::after {
    animation: none;
  }

  .card,
  .workflow-card,
  .quality-highlight,
  .cta {
    transition: none;
  }
}

:root[data-theme="dark"] {
  --bg: #07151d;
  --bg-deep: #122b3a;
  --surface: rgba(10, 25, 36, 0.8);
  --surface-strong: rgba(10, 25, 36, 0.94);
  --text: #deedf5;
  --muted: #98b3c2;
  --primary: #47b8dc;
  --primary-strong: #76d4ef;
  --accent: #ffb374;
  --border: rgba(108, 163, 190, 0.28);
  --shadow: 0 30px 78px -46px rgba(0, 0, 0, 0.95);
  color-scheme: dark;
}

:root[data-theme="dark"] body {
  background: radial-gradient(circle at 8% -10%, rgba(56, 120, 147, 0.3) 0, transparent 34%),
    radial-gradient(circle at 96% 3%, rgba(194, 119, 66, 0.26) 0, transparent 36%),
    linear-gradient(180deg, #07151d 0%, #0b1d28 100%);
}

:root[data-theme="dark"] .background-layer {
  background-image: linear-gradient(rgba(157, 197, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 197, 216, 0.08) 1px, transparent 1px);
}

:root[data-theme="dark"] .topbar {
  background: rgba(7, 19, 28, 0.82);
  border-bottom-color: rgba(107, 166, 196, 0.26);
  box-shadow: 0 16px 34px -30px rgba(0, 0, 0, 0.86);
}

:root[data-theme="dark"] .brand {
  background: rgba(11, 28, 40, 0.9);
  border-color: rgba(108, 166, 195, 0.34);
  box-shadow: 0 14px 30px -25px rgba(0, 0, 0, 0.78);
}

:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .nav-toggle {
  background: rgba(11, 28, 40, 0.92);
  border-color: rgba(107, 166, 195, 0.36);
}

:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .nav-toggle:hover {
  background: rgba(20, 45, 62, 0.96);
  border-color: rgba(116, 202, 235, 0.62);
}

:root[data-theme="dark"] .nav-group > summary::after {
  border-right-color: rgba(222, 237, 245, 0.8);
  border-bottom-color: rgba(222, 237, 245, 0.8);
}

:root[data-theme="dark"] .nav a:hover,
:root[data-theme="dark"] .nav-group > summary:hover,
:root[data-theme="dark"] .nav-group[open] > summary {
  border-color: rgba(95, 188, 222, 0.42);
  background: rgba(72, 177, 216, 0.18);
}

:root[data-theme="dark"] .nav-dropdown {
  background: rgba(8, 22, 32, 0.96);
  border-color: rgba(106, 166, 196, 0.32);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.94);
}

:root[data-theme="dark"] .nav-dropdown a:hover {
  border-color: rgba(97, 190, 224, 0.42);
  background: rgba(72, 177, 216, 0.18);
}

:root[data-theme="dark"] .hero-panel {
  background: linear-gradient(152deg, rgba(13, 32, 45, 0.94) 0%, rgba(17, 45, 62, 0.9) 100%);
}

:root[data-theme="dark"] .hero-thesis span,
:root[data-theme="dark"] .btn-ghost {
  border-color: rgba(86, 188, 223, 0.4);
  background: rgba(72, 177, 216, 0.16);
}

:root[data-theme="dark"] .btn-primary {
  color: #f2fbff;
  box-shadow: 0 16px 38px -22px rgba(8, 86, 120, 0.92);
}

:root[data-theme="dark"] .integration-carousel,
:root[data-theme="dark"] .value-flow-shell,
:root[data-theme="dark"] .day-life {
  border-color: rgba(84, 165, 199, 0.4);
  background: linear-gradient(150deg, rgba(11, 28, 40, 0.96), rgba(17, 44, 61, 0.9));
}

:root[data-theme="dark"] .scenario-shell {
  border-color: rgba(97, 170, 201, 0.48);
  background: linear-gradient(180deg, rgba(16, 39, 55, 0.92), rgba(19, 47, 65, 0.9));
  box-shadow: 0 24px 46px -34px rgba(0, 0, 0, 0.9);
}

:root[data-theme="dark"] .scenario-shell::before {
  background: linear-gradient(180deg, rgba(170, 219, 241, 0.09), rgba(170, 219, 241, 0));
}

:root[data-theme="dark"] .scenario-stage {
  border-color: rgba(105, 173, 204, 0.5);
  background: rgba(13, 34, 49, 0.92);
}

:root[data-theme="dark"] .scenario-stage::before {
  background: rgba(102, 181, 213, 0.64);
}

:root[data-theme="dark"] .scenario-stage::after {
  background: rgba(135, 182, 204, 0.24);
}

:root[data-theme="dark"] .scenario-stage-icon {
  border-color: rgba(102, 178, 210, 0.62);
  background: linear-gradient(180deg, rgba(20, 56, 79, 0.98), rgba(16, 44, 63, 0.95));
  color: #9ddaf1;
}

:root[data-theme="dark"] .scenario-stage.is-current {
  border-color: rgba(116, 201, 233, 0.64);
  background: linear-gradient(180deg, rgba(24, 58, 78, 0.96), rgba(22, 54, 70, 0.92));
  box-shadow: 0 24px 44px -32px rgba(0, 0, 0, 0.92);
}

:root[data-theme="dark"] .scenario-stage.is-current .scenario-stage-icon {
  border-color: rgba(128, 210, 241, 0.74);
  background: linear-gradient(180deg, rgba(24, 66, 90, 0.98), rgba(18, 52, 73, 0.95));
  color: #c4ebfb;
}

:root[data-theme="dark"] .scenario-card {
  border-color: rgba(106, 172, 200, 0.44);
  background: linear-gradient(180deg, rgba(12, 34, 49, 0.93), rgba(16, 42, 58, 0.9));
}

:root[data-theme="dark"] .value-pill {
  border-color: rgba(95, 187, 221, 0.46);
  background: rgba(17, 47, 64, 0.9);
  color: #9ed9ee;
}

:root[data-theme="dark"] .integration-card,
:root[data-theme="dark"] .value-step,
:root[data-theme="dark"] .value-impact-card,
:root[data-theme="dark"] .day-now,
:root[data-theme="dark"] .teams-msg,
:root[data-theme="dark"] .teams-typing,
:root[data-theme="dark"] .agent-node,
:root[data-theme="dark"] .day-stage,
:root[data-theme="dark"] .stack-card {
  background: rgba(10, 27, 39, 0.9);
  border-color: rgba(105, 165, 195, 0.32);
  box-shadow: 0 16px 38px -30px rgba(0, 0, 0, 0.9);
}

:root[data-theme="dark"] .value-step-channel {
  border-color: rgba(96, 170, 215, 0.58);
  background: linear-gradient(170deg, rgba(18, 43, 61, 0.96), rgba(15, 36, 51, 0.92));
}

:root[data-theme="dark"] .value-step-control {
  border-color: rgba(88, 173, 145, 0.56);
  background: linear-gradient(170deg, rgba(16, 46, 42, 0.96), rgba(14, 36, 37, 0.92));
}

:root[data-theme="dark"] .value-step-loop {
  border-color: rgba(130, 135, 210, 0.58);
  background: linear-gradient(170deg, rgba(32, 36, 64, 0.96), rgba(24, 29, 54, 0.92));
}

:root[data-theme="dark"] .value-step-value {
  border-color: rgba(225, 154, 96, 0.58);
  background: linear-gradient(170deg, rgba(60, 37, 27, 0.96), rgba(46, 28, 21, 0.92));
}

:root[data-theme="dark"] .value-step:not(:last-child)::after {
  border-top-color: rgba(111, 183, 218, 0.72);
  border-right-color: rgba(111, 183, 218, 0.72);
}

:root[data-theme="dark"] .value-loop-strip {
  border-color: rgba(136, 143, 218, 0.56);
  background: linear-gradient(130deg, rgba(30, 33, 63, 0.9), rgba(12, 25, 36, 0.9));
}

:root[data-theme="dark"] .value-loop-chip {
  border-color: rgba(125, 132, 210, 0.62);
  background: rgba(16, 27, 49, 0.9);
  color: #c4ccff;
}

:root[data-theme="dark"] .teams-chat {
  border-color: rgba(107, 122, 218, 0.42);
  background: linear-gradient(180deg, rgba(26, 33, 70, 0.94), rgba(18, 28, 60, 0.9));
  box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 0.88);
}

:root[data-theme="dark"] .teams-chat-head,
:root[data-theme="dark"] .agent-exec {
  border-color: rgba(116, 131, 219, 0.32);
}

:root[data-theme="dark"] .teams-chat-presence {
  color: #8be0aa;
  border-color: rgba(108, 209, 140, 0.58);
  background: rgba(53, 130, 78, 0.22);
}

:root[data-theme="dark"] .teams-chat-presence::before {
  box-shadow: 0 0 0 4px rgba(57, 198, 109, 0.28);
}

:root[data-theme="dark"] .teams-typing span {
  background: #99b3ff;
}

:root[data-theme="dark"] .agent-flow::before {
  background: linear-gradient(90deg, rgba(120, 132, 216, 0.42), rgba(86, 174, 215, 0.45), rgba(85, 189, 121, 0.4));
}

:root[data-theme="dark"] .agent-node-icon {
  border-color: rgba(121, 132, 220, 0.5);
  background: linear-gradient(180deg, rgba(23, 31, 74, 0.94), rgba(19, 29, 66, 0.9));
  color: #c6d1ff;
}

:root[data-theme="dark"] .agent-node.is-active {
  border-color: rgba(86, 169, 210, 0.56);
  background: linear-gradient(160deg, rgba(17, 42, 61, 0.95), rgba(20, 48, 44, 0.92));
}

:root[data-theme="dark"] .agent-node.is-active .agent-node-icon {
  border-color: rgba(97, 177, 214, 0.62);
  background: linear-gradient(180deg, rgba(20, 46, 66, 0.98), rgba(15, 39, 56, 0.95));
  color: #8ad0ef;
}

:root[data-theme="dark"] .day-rail-track {
  background: rgba(111, 167, 196, 0.26);
}

:root[data-theme="dark"] .day-rail-runner {
  border-color: #1e3545;
  box-shadow: 0 0 0 1px rgba(255, 177, 116, 0.56), 0 10px 20px -12px rgba(255, 177, 116, 0.95);
}

:root[data-theme="dark"] .stack-center-line {
  background: linear-gradient(180deg, rgba(130, 201, 235, 0.8), rgba(130, 201, 235, 0.2));
}

:root[data-theme="dark"] .level-pill,
:root[data-theme="dark"] .expand-chip {
  border-color: rgba(99, 184, 222, 0.52);
  background: rgba(15, 37, 52, 0.9);
}

:root[data-theme="dark"] .quality-highlight,
:root[data-theme="dark"] .cta {
  border-color: rgba(92, 173, 206, 0.4);
  background: linear-gradient(135deg, rgba(71, 164, 202, 0.2), rgba(208, 129, 74, 0.16));
}

:root[data-theme="dark"] .integration-card-meta,
:root[data-theme="dark"] .integration-card p:last-child,
:root[data-theme="dark"] .value-flow-copy p,
:root[data-theme="dark"] .value-step-meta,
:root[data-theme="dark"] .value-step p:last-child,
:root[data-theme="dark"] .value-loop-strip p,
:root[data-theme="dark"] .value-impact-card p,
:root[data-theme="dark"] .day-now strong,
:root[data-theme="dark"] .teams-chat-label,
:root[data-theme="dark"] .teams-chat-head h3,
:root[data-theme="dark"] .teams-author,
:root[data-theme="dark"] .teams-msg-body,
:root[data-theme="dark"] .agent-exec-label,
:root[data-theme="dark"] .agent-exec-status,
:root[data-theme="dark"] .agent-node-name,
:root[data-theme="dark"] .level-pill,
:root[data-theme="dark"] .stack-sub,
:root[data-theme="dark"] .stack-desc {
  color: var(--text);
}

:root[data-theme="dark"] .day-time,
:root[data-theme="dark"] .panel-metric span,
:root[data-theme="dark"] .day-now span,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .carousel-btn {
  color: #9ed9ee;
}

:root[data-theme="dark"] .carousel-btn {
  border-color: rgba(86, 181, 217, 0.42);
  background: rgba(14, 35, 49, 0.9);
}

:root[data-theme="dark"] .carousel-btn:hover {
  border-color: rgba(111, 206, 239, 0.66);
  background: rgba(20, 45, 61, 0.96);
}

:root[data-theme="dark"] .carousel-dot {
  background: rgba(144, 197, 221, 0.36);
}

:root[data-theme="dark"] .footer {
  color: #a2becc;
}

@media (max-width: 980px) {
  :root[data-theme="dark"] .nav {
    border-color: rgba(104, 165, 194, 0.35);
    background: rgba(9, 24, 35, 0.92);
    box-shadow: 0 16px 34px -28px rgba(0, 0, 0, 0.9);
  }
}
