:root {
  --ink: #14202b;
  --muted: #657383;
  --line: #dce5ee;
  --paper: #f7f9fc;
  --white: #ffffff;
  --graphite: #101820;
  --graphite-2: #172331;
  --cyan: #19c6d7;
  --cyan-dark: #0a7f91;
  --amber: #f4b544;
  --green: #62c370;
  --coral: #f06f61;
  --indigo: #4657d8;
  --shadow: 0 18px 44px rgba(22, 32, 43, 0.13);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

[id] {
  scroll-margin-top: 112px;
}

.site-shell {
  overflow: hidden;
}

.container-narrow {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 84px 0;
}

.section-pad-sm {
  padding: 58px 0;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--cyan-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.section-title {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-title h2,
.section-title h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  pointer-events: none;
  transition: transform 260ms ease, background 260ms ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-105%);
}

.navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-brand {
  margin-right: 18px;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
}

.collapse:not(.show) {
  display: none;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-toggler {
  margin-left: auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.g-4 {
  gap: 1.5rem 0;
}

.align-items-center {
  align-items: center;
}

.col-lg-4,
.col-lg-8 {
  width: 100%;
}

.navbar-wrap {
  width: 100%;
  margin-inline: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(16, 24, 32, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px rgba(8, 14, 22, 0.18);
  pointer-events: auto;
  transition: background 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.navbar {
  padding: 20px max(18px, calc((100vw - var(--container)) / 2 + 16px));
  transition: padding 260ms ease, min-height 260ms ease;
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0;
  transition: font-size 260ms ease;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark svg {
  height: 30px;
  width: auto;
  transition: height 260ms ease;
}

.site-header.is-compact .navbar-wrap {
  background: rgba(16, 24, 32, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 34px rgba(8, 14, 22, 0.2);
}

.site-header.is-compact .navbar {
  padding-top: 9px;
  padding-bottom: 9px;
}

.site-header.is-compact .navbar-brand {
  font-size: 1rem;
}

.site-header.is-compact .brand-mark svg {
  height: 24px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: width 260ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--white);
}

.navbar-nav .nav-link.active {
  color: var(--white);
}

.nav-link:not(.active):hover::after,
.nav-link:not(.active):focus::after {
  width: 80%;
}

.nav-link.active::after {
  width: 100%;
  animation: nav-underline-in 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nav-underline-in {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link::after {
    transition: none;
  }
  .nav-link.active::after {
    animation: none;
  }
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(25, 198, 215, 0.25);
}

.btn {
  display: inline-block;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.btn-sm {
  padding: 0.48rem 0.75rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.9rem 1.1rem;
  font-size: 1.03rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-pulse {
  color: var(--graphite);
  background: linear-gradient(135deg, var(--cyan), #7de6ef 52%, var(--amber));
  border: 0;
  box-shadow: 0 12px 24px rgba(25, 198, 215, 0.2);
}

.btn-pulse:hover,
.btn-pulse:focus {
  color: var(--graphite);
  filter: saturate(1.08) brightness(1.02);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.text-lg-end {
  text-align: left;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding: 116px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.96) 0%, rgba(10, 16, 24, 0.84) 42%, rgba(10, 16, 24, 0.54) 100%),
    url("../images/technopulse-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 78px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0), var(--paper));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 52px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-name {
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  max-width: 670px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  min-height: 490px;
}

.pulse-console {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(10, 16, 24, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(98, 195, 112, 0.8);
}

.console-body {
  position: relative;
  height: calc(100% - 58px);
  padding: 18px;
}

.signal-card {
  position: absolute;
  display: grid;
  gap: 8px;
  width: 168px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.signal-card svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.signal-card strong {
  color: var(--white);
  line-height: 1.15;
}

.signal-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.signal-card:nth-child(1) {
  top: 14px;
  left: 16px;
}

.signal-card:nth-child(2) {
  top: 82px;
  right: 18px;
}

.signal-card:nth-child(3) {
  bottom: 86px;
  left: 26px;
}

.signal-card:nth-child(4) {
  bottom: 18px;
  right: 28px;
}

.console-line {
  position: absolute;
  height: 2px;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(25, 198, 215, 0), var(--cyan), var(--amber), rgba(244, 181, 68, 0));
  filter: drop-shadow(0 0 8px rgba(25, 198, 215, 0.55));
  animation: linePulse 2.8s ease-in-out infinite;
}

.console-line.line-1 {
  top: 138px;
  left: 164px;
  width: 180px;
  transform: rotate(15deg);
}

.console-line.line-2 {
  top: 243px;
  left: 122px;
  width: 240px;
  transform: rotate(-18deg);
  animation-delay: 0.35s;
}

.console-line.line-3 {
  bottom: 96px;
  left: 174px;
  width: 170px;
  transform: rotate(14deg);
  animation-delay: 0.7s;
}

.metrics-strip {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  font-weight: 900;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

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

.capability-card,
.service-card,
.engagement-card,
.stack-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.06);
}

.capability-card {
  min-height: 100%;
  padding: 26px;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: linear-gradient(135deg, rgba(25, 198, 215, 0.18), rgba(244, 181, 68, 0.24));
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.capability-card h3,
.service-card h3,
.engagement-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: 0;
}

.capability-card p,
.service-card p,
.engagement-card p {
  margin: 0;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--cyan-dark);
  font-weight: 850;
}

.link-arrow svg {
  width: 17px;
  height: 17px;
}

.dark-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.06)),
    var(--graphite);
}

.dark-band .section-title h2,
.dark-band .section-title h1 {
  color: var(--white);
}

.dark-band .section-title p {
  color: rgba(255, 255, 255, 0.68);
}

.motion-board {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.agent-section {
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.1)),
    var(--paper);
}

.agent-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.agent-focus-grid .section-title {
  margin-bottom: 0;
}

.agent-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.agent-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #344554;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(20, 32, 43, 0.04);
}

.agent-highlights svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--cyan-dark);
}

.ai-lab {
  position: relative;
  border: 1px solid rgba(25, 198, 215, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 22% 24%, rgba(25, 198, 215, 0.18), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(244, 181, 68, 0.14), transparent 38%),
    linear-gradient(145deg, #0f1b24, #121b24 58%, #0d151d);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.ai-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.ai-lab-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-lab-header strong {
  color: var(--white);
  font-size: 1rem;
}

.ai-lab-header span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  font-weight: 700;
}

.ai-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "orbital orbital"
    "workflow dock"
    "output output";
  gap: 14px;
  padding: 18px;
}

.agent-orbital {
  grid-area: orbital;
  position: relative;
  min-height: 292px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(25, 198, 215, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.agent-orbital::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.76), transparent 72%);
  pointer-events: none;
}

.ai-orbit {
  position: absolute;
  border: 1px solid rgba(25, 198, 215, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(25, 198, 215, 0.08);
  pointer-events: none;
  animation: aiOrbitBreath 4.8s ease-in-out infinite;
}

.ai-orbit.orbit-outer {
  inset: 38px;
}

.ai-orbit.orbit-inner {
  inset: 82px;
  border-color: rgba(244, 181, 68, 0.24);
  animation-delay: 0.8s;
}

.agent-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(20, 38, 49, 0.97), rgba(9, 17, 24, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(25, 198, 215, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
  animation: agentCoreFloat 4.4s ease-in-out infinite;
  overflow: visible;
}

.agent-core::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: 0;
  border-radius: inherit;
  background: conic-gradient(from 120deg, rgba(25, 198, 215, 0), rgba(25, 198, 215, 0.42), rgba(244, 181, 68, 0.35), rgba(25, 198, 215, 0));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  opacity: 0.52;
  animation: aiOrbitSweep 9s linear infinite;
  pointer-events: none;
}

.agent-core svg,
.agent-core strong,
.agent-core span {
  position: relative;
  z-index: 1;
}

.agent-core svg {
  width: 34px;
  height: 34px;
  color: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(25, 198, 215, 0.55));
}

.agent-core strong {
  margin-top: 8px;
  color: var(--white);
  line-height: 1.14;
}

.agent-core span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 750;
}

.data-node,
.pulse-dot {
  position: absolute;
  z-index: 5;
}

.data-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(14, 25, 33, 0.86);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 850;
  animation: dataNodeGlow 4.6s ease-in-out infinite;
}

.data-node svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.node-docs {
  top: 34px;
  left: 28px;
}

.node-sql {
  top: 34px;
  right: 28px;
  animation-delay: 0.55s;
}

.node-sharepoint {
  bottom: 34px;
  left: 28px;
  animation-delay: 1.1s;
}

.node-api {
  right: 28px;
  bottom: 34px;
  animation-delay: 1.65s;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(25, 198, 215, 0.12), 0 0 22px rgba(25, 198, 215, 0.7);
  animation: pulseNode 2.8s ease-in-out infinite;
}

.pulse-dot.dot-a {
  top: 52%;
  left: 24%;
}

.pulse-dot.dot-b {
  top: 28%;
  left: 62%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(244, 181, 68, 0.12), 0 0 22px rgba(244, 181, 68, 0.65);
  animation-delay: 0.45s;
}

.pulse-dot.dot-c {
  right: 28%;
  bottom: 24%;
  animation-delay: 0.9s;
}

.agent-workflow,
.tool-dock,
.ai-output-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.agent-workflow {
  grid-area: workflow;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.045);
}

.workflow-step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(25, 198, 215, 0.12);
  font-size: 0.75rem;
  font-weight: 900;
}

.workflow-step strong,
.workflow-step small {
  min-width: 0;
}

.workflow-step strong {
  color: var(--white);
  line-height: 1.2;
}

.workflow-step small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.workflow-step.is-active {
  border-color: rgba(25, 198, 215, 0.34);
  background: linear-gradient(135deg, rgba(25, 198, 215, 0.14), rgba(255, 255, 255, 0.045));
}

.workflow-step.is-active span {
  color: var(--graphite);
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(25, 198, 215, 0.35);
  animation: stepGlow 2.8s ease-in-out infinite;
}

.tool-dock {
  grid-area: dock;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 12px;
}

.dock-label {
  grid-column: 1 / -1;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-tile {
  display: grid;
  min-height: 58px;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.tool-tile svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.ai-output-card {
  grid-area: output;
  display: grid;
  gap: 4px;
  padding: 15px 16px;
}

.ai-output-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--cyan), var(--amber));
}

.ai-output-card span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-output-card strong {
  color: var(--white);
  line-height: 1.24;
}

.diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.diagram-header strong {
  color: var(--white);
  font-size: 1rem;
}

.diagram-header span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 700;
}

.integration-svg,
.auth-svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-node rect {
  fill: rgba(255, 255, 255, 0.09);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.2;
  rx: 8;
}

.svg-node .node-main {
  fill: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.svg-node .node-sub {
  fill: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 650;
}

.motion-path {
  fill: none;
  stroke: var(--flow-stroke, #19c6d7);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 11;
  animation: dashMove 1.6s linear infinite;
}

.motion-path.alt {
  stroke: var(--flow-stroke-alt, #62c370);
}

.path-particle {
  fill: var(--amber);
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(244, 181, 68, 0.9));
}

.motion-ready .path-particle {
  opacity: 1;
}

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

.service-showcase {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 48%, #f7f9fc 100%);
}

.rail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.rail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rail-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #3e4d5d;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 850;
}

.rail-tabs a:hover,
.rail-tabs a:focus {
  color: var(--ink);
  border-color: rgba(25, 198, 215, 0.42);
  box-shadow: 0 8px 18px rgba(25, 198, 215, 0.08);
}

.technology-marquee-shell {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: 8px 0 14px;
}

.technology-marquee-shell::before,
.technology-marquee-shell::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 14px;
  z-index: 4;
  width: min(160px, 18vw);
  pointer-events: none;
  opacity: 0.58;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.technology-marquee-shell::before {
  left: 0;
  background: linear-gradient(90deg, #f7f9fc 0%, rgba(247, 249, 252, 0) 100%);
}

.technology-marquee-shell::after {
  right: 0;
  background: linear-gradient(270deg, #f7f9fc 0%, rgba(247, 249, 252, 0) 100%);
}

.technology-marquee-shell[data-marquee-state="left"]::before,
.technology-marquee-shell[data-marquee-state="right"]::after {
  opacity: 0.9;
}

.technology-marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 24px;
  cursor: ew-resize;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  scrollbar-width: none;
}

.technology-marquee::-webkit-scrollbar {
  display: none;
}

.technology-marquee-shell.is-marquee-ready .technology-marquee {
  overflow: hidden;
}

.technology-marquee:focus {
  outline: 3px solid rgba(25, 198, 215, 0.22);
  outline-offset: 5px;
}

.technology-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline: max(16px, calc((100vw - var(--container)) / 2));
  will-change: transform;
}

.technology-card {
  display: flex;
  flex: 0 0 clamp(260px, 24vw, 315px);
  flex-direction: column;
  min-height: 236px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.technology-card:hover,
.technology-card:focus {
  color: var(--ink);
  transform: translateY(-5px);
  border-color: rgba(25, 198, 215, 0.45);
  box-shadow: 0 20px 42px rgba(20, 32, 43, 0.12);
}

.technology-card.is-featured {
  color: var(--white);
  border-color: rgba(25, 198, 215, 0.28);
  background:
    linear-gradient(145deg, rgba(25, 198, 215, 0.18), rgba(244, 181, 68, 0.13)),
    var(--graphite);
}

.technology-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: linear-gradient(135deg, rgba(25, 198, 215, 0.22), rgba(244, 181, 68, 0.28));
}

.technology-card.is-featured .technology-icon {
  background: linear-gradient(135deg, var(--cyan), var(--amber));
}

.technology-icon svg {
  width: 22px;
  height: 22px;
}

.technology-kicker {
  margin-bottom: 8px;
  color: var(--cyan-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.technology-card.is-featured .technology-kicker {
  color: var(--cyan);
}

.technology-card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
}

.technology-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.technology-card.is-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.technology-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--cyan-dark);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.3;
}

.technology-card.is-featured .technology-cta {
  color: var(--white);
}

.technology-cta svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.stack-details {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 50%, #ffffff 100%);
}

.stack-detail-list {
  counter-reset: stack-card;
  position: relative;
  display: grid;
  gap: 34px;
}

.stack-detail-card {
  --stack-accent: var(--cyan);
  --stack-accent-2: var(--amber);
  counter-increment: stack-card;
  scroll-margin-top: 118px;
  position: relative;
  isolation: isolate;
  width: calc(100% - 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--stack-accent) 4%, transparent), color-mix(in srgb, var(--stack-accent-2) 4%, transparent)),
    var(--white);
  box-shadow: 0 16px 38px rgba(20, 32, 43, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stack-detail-card:hover,
.stack-detail-card:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--stack-accent) 34%, var(--line));
  box-shadow: 0 20px 46px rgba(20, 32, 43, 0.1);
}

.stack-detail-card:nth-child(odd) {
  margin-right: auto;
}

.stack-detail-card:nth-child(even) {
  margin-left: auto;
}

.stack-detail-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 4px;
  background: linear-gradient(180deg, var(--stack-accent), var(--stack-accent-2));
}

.stack-detail-card:nth-child(even)::before {
  inset: 0 0 0 auto;
}

.stack-detail-card:not(:last-child)::after {
  content: "";
  --route-edge: left;
  position: absolute;
  bottom: -35px;
  height: 35px;
  width: min(55%, 520px);
  pointer-events: none;
  opacity: 0.75;
  background:
    linear-gradient(var(--stack-accent), var(--stack-accent)) left top / 2px 100% no-repeat,
    linear-gradient(90deg, transparent, var(--stack-accent), var(--stack-accent-2), transparent) left bottom / 220% 2px no-repeat;
  animation: stackRoute 3.8s linear infinite;
}

.stack-detail-card:nth-child(odd):not(:last-child)::after {
  left: 28px;
  border-bottom-left-radius: var(--radius);
}

.stack-detail-card:nth-child(even):not(:last-child)::after {
  --route-edge: right;
  right: 28px;
  background:
    linear-gradient(var(--stack-accent), var(--stack-accent)) right top / 2px 100% no-repeat,
    linear-gradient(270deg, transparent, var(--stack-accent), var(--stack-accent-2), transparent) right bottom / 220% 2px no-repeat;
  border-bottom-right-radius: var(--radius);
}

.stack-detail-card:nth-child(2) {
  --stack-accent: var(--green);
  --stack-accent-2: var(--cyan);
}

.stack-detail-card:nth-child(3) {
  --stack-accent: var(--indigo);
  --stack-accent-2: var(--cyan);
}

.stack-detail-card:nth-child(4) {
  --stack-accent: var(--cyan);
  --stack-accent-2: var(--green);
}

.stack-detail-card:nth-child(5) {
  --stack-accent: var(--amber);
  --stack-accent-2: var(--coral);
}

.stack-detail-card:nth-child(6) {
  --stack-accent: var(--coral);
  --stack-accent-2: var(--amber);
}

.stack-detail-card:nth-child(7) {
  --stack-accent: var(--green);
  --stack-accent-2: var(--amber);
}

.stack-detail-content {
  position: relative;
  padding: 30px 34px 28px;
}

.stack-detail-content::before {
  content: "0" counter(stack-card);
  position: absolute;
  top: 22px;
  right: 28px;
  color: color-mix(in srgb, var(--stack-accent) 16%, transparent);
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
}

.stack-detail-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
  padding-right: min(120px, 14vw);
}

.stack-detail-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: var(--graphite);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--stack-accent) 26%, transparent), color-mix(in srgb, var(--stack-accent-2) 26%, transparent)),
    var(--white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stack-accent) 18%, transparent);
}

.stack-detail-icon svg {
  width: 24px;
  height: 24px;
}

.stack-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--stack-accent) 76%, var(--ink));
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stack-detail-content h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.48rem, 2.7vw, 2.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.stack-detail-content > p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.stack-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--stack-accent) 20%, var(--line));
  border-radius: var(--radius);
  color: #354757;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--stack-accent) 7%, transparent), color-mix(in srgb, var(--stack-accent-2) 6%, transparent)),
    var(--white);
  font-size: 0.84rem;
  font-weight: 850;
}

.stack-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stack-value-grid > div {
  min-height: 100%;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--stack-accent) 12%, var(--line));
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.stack-value-grid > div + div {
  padding-left: 16px;
}

.stack-value-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.stack-value-grid h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--stack-accent), var(--stack-accent-2));
  vertical-align: 0.08em;
}

.stack-value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

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

.stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 18px;
  font-weight: 800;
}

.stack-item svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--cyan-dark);
}

.page-hero {
  position: relative;
  padding: 132px 0 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.98), rgba(16, 24, 32, 0.86)),
    url("../images/technopulse-hero.png") center / cover no-repeat;
}

.page-hero .section-title {
  margin-bottom: 0;
}

.page-hero .section-title h1 {
  max-width: 920px;
  color: var(--white);
}

.page-hero .section-title p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.72);
}

.weekly-hero {
  min-height: 76svh;
  display: flex;
  align-items: end;
  padding: 220px 0 76px;
  background:
    linear-gradient(180deg, rgba(8, 14, 22, 0.18) 0%, rgba(8, 14, 22, 0.24) 34%, rgba(8, 14, 22, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 14, 22, 0.88) 0%, rgba(10, 16, 24, 0.54) 42%, rgba(10, 16, 24, 0.08) 100%),
    var(--hero-image, url("../images/technopulse-hero.png")) center top / cover no-repeat;
}

.weekly-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 76px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0), var(--paper));
  pointer-events: none;
}

.weekly-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.weekly-hero-copy h1 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.weekly-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
}

.story-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.current-brief-band {
  position: relative;
  z-index: 4;
  margin-top: -44px;
  margin-bottom: -22px;
}

.current-brief-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid rgba(25, 198, 215, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.08)),
    var(--white);
  box-shadow: var(--shadow);
}

.current-brief-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: linear-gradient(135deg, var(--cyan), var(--amber));
}

.current-brief-icon svg {
  width: 25px;
  height: 25px;
}

.current-brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.current-brief-copy .eyebrow {
  flex: 0 0 auto;
  margin: 0;
}

.current-brief-copy h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  line-height: 1.12;
  font-weight: 900;
}

.current-brief-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.current-brief-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.current-brief-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #3e4d5d;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.weekly-post-section {
  padding-top: 76px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.38fr);
  gap: 42px;
  align-items: start;
}

.story-article {
  max-width: 820px;
}

.story-article h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.story-article h2:not(:first-of-type) {
  margin-top: 44px;
}

.story-article p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.story-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  margin: 34px 0;
  padding: 24px;
  border: 1px solid rgba(25, 198, 215, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.08)),
    var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.06);
}

.story-callout > svg {
  width: 28px;
  height: 28px;
  color: var(--cyan-dark);
}

.story-callout h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.story-callout p {
  margin: 0;
}

.story-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.story-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.06);
}

.story-note {
  padding: 22px;
}

.story-note-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: linear-gradient(135deg, rgba(25, 198, 215, 0.2), rgba(244, 181, 68, 0.26));
}

.story-note-icon svg {
  width: 21px;
  height: 21px;
}

.story-note h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.story-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.story-note a {
  display: flex;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--cyan-dark);
  font-weight: 850;
  line-height: 1.3;
}

.story-note a:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.story-note a:hover,
.story-note a:focus {
  color: var(--ink);
}

.weekly-post-section {
  background: var(--paper);
}

.weekly-post-article {
  padding-right: 6px;
}

.post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: #3e4d5d;
}

.post-byline span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
}

.post-byline svg {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  color: var(--cyan-dark);
}

.story-article .article-lead {
  color: #354757;
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  line-height: 1.58;
}

.insight-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 42px;
}

.insight-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.06);
}

.insight-row h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.2;
}

.insight-row p {
  margin: 0;
}

.previous-posts-card {
  padding-bottom: 12px;
}

.previous-post-list {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.story-note .previous-post-link {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  padding-inline: 10px;
  margin-inline: -10px;
  border-top: 1px solid var(--line);
  border-radius: 6px;
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
              background-color 200ms ease;
}

.story-note .previous-post-link:first-child,
.story-note .previous-post-link:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.story-note .previous-post-link:hover {
  transform: scale(1.035);
  transform-origin: left center;
  background-color: rgba(25, 198, 215, 0.06);
}

.story-note .previous-post-link:hover strong {
  color: var(--cyan-dark);
}

.previous-post-link span {
  color: var(--cyan-dark);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.previous-post-link strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.22;
  font-weight: 900;
  transition: color 200ms ease;
}

.previous-post-link small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.story-benefits {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.benefit-narrative {
  max-width: 960px;
  color: var(--muted);
  font-size: 1.05rem;
}

.benefit-narrative p {
  margin: 0 0 20px;
}

.benefit-narrative .benefit-lead {
  color: #354757;
  font-size: clamp(1.14rem, 1.9vw, 1.34rem);
  line-height: 1.58;
}

.benefit-thread {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-thread div {
  position: relative;
  min-height: 126px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.benefit-thread div:last-child {
  border-right: 0;
}

.benefit-thread div::after {
  content: "";
  position: absolute;
  top: 29px;
  right: -7px;
  width: 13px;
  height: 13px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fbfcfe;
  transform: rotate(45deg);
}

.benefit-thread div:last-child::after {
  display: none;
}

.benefit-thread svg {
  display: block;
  width: 23px;
  height: 23px;
  margin-bottom: 14px;
  color: var(--cyan-dark);
}

.benefit-thread strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.benefit-thread span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.pulse-picker-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.pulse-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pulse-type-button {
  display: grid;
  gap: 10px;
  min-height: 166px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.06);
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.pulse-type-button svg {
  width: 27px;
  height: 27px;
  color: var(--cyan-dark);
}

.pulse-type-button span {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.18;
}

.pulse-type-button small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.pulse-type-button:hover,
.pulse-type-button:focus,
.pulse-type-button.is-active {
  border-color: rgba(25, 198, 215, 0.45);
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.08)),
    var(--white);
  box-shadow: 0 18px 42px rgba(20, 32, 43, 0.1);
  transform: translateY(-2px);
}

.pulse-type-button:focus {
  outline: 3px solid rgba(25, 198, 215, 0.25);
  outline-offset: 2px;
}

.source-lab {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.07)),
    var(--graphite);
}

.source-lab .section-title h2 {
  color: var(--white);
}

.source-lab .section-title p {
  color: rgba(255, 255, 255, 0.68);
}

.source-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: start;
}

.source-input-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.source-input-panel label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-input-panel textarea {
  display: block;
  width: 100%;
  min-height: 372px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(8, 14, 22, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  resize: vertical;
}

.source-input-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.source-input-panel textarea:focus {
  border-color: rgba(25, 198, 215, 0.58);
  box-shadow: 0 0 0 3px rgba(25, 198, 215, 0.18);
  outline: 0;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.source-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
}

.source-results {
  display: grid;
  gap: 14px;
}

.parsed-source-card,
.source-data-card,
.source-count {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.parsed-source-card {
  padding: 24px;
}

.parsed-source-card.is-empty {
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.08), rgba(244, 181, 68, 0.08)),
    var(--white);
}

.parsed-source-card.is-error {
  border-color: rgba(240, 111, 97, 0.4);
  background:
    linear-gradient(135deg, rgba(240, 111, 97, 0.12), rgba(244, 181, 68, 0.08)),
    var(--white);
}

.source-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.parsed-source-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.34rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.12;
}

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

.source-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.source-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #354757;
  background: #f8fbfc;
  font-size: 0.82rem;
  font-weight: 850;
}

.source-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.source-facts div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fbfc;
}

.source-facts div:nth-child(2n) {
  border-right: 0;
}

.source-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.source-facts dt {
  color: var(--cyan-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

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

.source-data-card {
  min-height: 100%;
  padding: 18px;
}

.source-data-card h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.source-data-card h4 svg {
  width: 19px;
  height: 19px;
  color: var(--cyan-dark);
}

.source-data-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.source-link-list {
  padding-left: 0 !important;
  list-style: none;
}

.source-link-list li {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.source-link-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.source-link-list a {
  color: var(--cyan-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.source-link-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.source-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.source-count {
  display: grid;
  gap: 6px;
  padding: 15px;
}

.source-count svg {
  width: 19px;
  height: 19px;
  color: var(--cyan-dark);
}

.source-count strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
}

.source-count span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.5fr);
  gap: 42px;
  align-items: start;
}

.service-index {
  position: sticky;
  top: 108px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 32, 43, 0.06);
}

.service-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.service-index a:last-child {
  border-bottom: 0;
}

.service-index a:hover,
.service-index a:focus {
  color: var(--ink);
  background: #f2f7fa;
}

.service-index svg {
  width: 18px;
  height: 18px;
  color: var(--cyan-dark);
}

.deep-service {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.deep-service:first-child {
  padding-top: 0;
  border-top: 0;
}

.deep-service h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 850;
  letter-spacing: 0;
}

.deep-service h2 svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--cyan-dark);
}

.deep-service p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #3e4d5d;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
}

.flow-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

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

.engagement-card {
  padding: 26px;
}

.engagement-step {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  font-weight: 900;
}

.cta-band {
  border-radius: var(--radius);
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(25, 198, 215, 0.23), rgba(244, 181, 68, 0.2)),
    var(--graphite);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.cta-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 64px 0 0;
  color: rgba(255, 255, 255, 0.6);
  background: #0c1218;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(1.8) saturate(0.9);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}

.footer-nav-heading {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 6px;
}

.footer-nav-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-nav-col a:hover,
.footer-nav-col a:focus {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus {
  color: var(--white);
}

@media (max-width: 767px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

.privacy-doc h2 {
  font-size: 1.1rem;
  font-weight: 750;
  margin: 2rem 0 0.5rem;
  color: var(--white);
}

.privacy-doc p,
.privacy-doc ul {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.privacy-doc ul {
  padding-left: 1.25rem;
}

.privacy-doc ul li {
  margin-bottom: 0.4rem;
}

.privacy-doc a {
  color: var(--cyan);
  text-decoration: none;
}

.privacy-doc a:hover,
.privacy-doc a:focus {
  color: var(--white);
  text-decoration: underline;
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.32;
    background-position: 0 0;
  }
  50% {
    opacity: 1;
    background-position: 120px 0;
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -38;
  }
}

@keyframes stackRoute {
  0% {
    background-position: var(--route-edge, left) top, 100% bottom;
  }
  100% {
    background-position: var(--route-edge, left) top, 0 bottom;
  }
}

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

@keyframes aiOrbitBreath {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@keyframes agentCoreFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-6px);
  }
}

@keyframes dataNodeGlow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }
  50% {
    border-color: rgba(25, 198, 215, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 0 24px rgba(25, 198, 215, 0.18);
  }
}

@keyframes pulseNode {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.78);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes stepGlow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(25, 198, 215, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(25, 198, 215, 0.44);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 12px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    padding-left: 14px;
    border-left: 2px solid var(--cyan);
  }

  .hero {
    min-height: auto;
    padding: 108px 0 52px;
  }

  .hero-grid,
  .agent-focus-grid,
  .service-intro-grid,
  .flow-columns,
  .story-layout,
  .source-lab-grid {
    grid-template-columns: 1fr;
  }

  .pulse-type-grid,
  .source-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-input-panel textarea {
    min-height: 290px;
  }

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

  .stack-detail-card {
    width: 100%;
    margin-inline: 0;
  }

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

  .service-index {
    position: static;
  }

  .story-sidebar {
    position: static;
  }

  .current-brief-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

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

  .benefit-thread div:nth-child(2n) {
    border-right: 0;
  }

  .benefit-thread div:nth-child(2n)::after {
    display: none;
  }

  .rail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .stack-value-grid > div {
    padding: 16px;
  }

  .stack-value-grid > div + div {
    padding-left: 16px;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .ms-auto {
    margin-left: auto;
  }

  .ms-lg-2 {
    margin-left: 0.5rem;
  }

  .mb-lg-0 {
    margin-bottom: 0;
  }

  .align-items-lg-center {
    align-items: center;
  }

  .gap-lg-2 {
    gap: 0.5rem;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.6667%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.3333%;
  }

  .text-lg-end {
    text-align: right;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 62px 0;
  }

  .section-pad-sm {
    padding: 44px 0;
  }

  .site-header {
    top: 0;
  }

  .container-narrow {
    width: min(100% - 22px, var(--container));
  }

  .navbar {
    padding-inline: 11px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header.is-compact .navbar {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

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

  .signal-card {
    width: 142px;
    padding: 12px;
  }

  .signal-card span {
    display: none;
  }

  .console-line.line-1 {
    width: 132px;
  }

  .console-line.line-2 {
    width: 170px;
  }

  .console-line.line-3 {
    width: 132px;
  }

  .metrics-strip {
    margin-top: 0;
  }

  .metrics-grid,
  .capability-grid,
  .service-grid,
  .stack-grid,
  .engagement-grid,
  .pulse-type-grid,
  .source-data-grid,
  .source-summary-grid,
  .source-facts {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .weekly-hero {
    min-height: auto;
    padding: 170px 0 58px;
  }

  .weekly-hero-copy h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.8rem);
  }

  .current-brief-band {
    margin-top: -30px;
    margin-bottom: -12px;
  }

  .current-brief-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .current-brief-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .current-brief-tags {
    justify-content: flex-start;
  }

  .current-brief-icon {
    width: 46px;
    height: 46px;
  }

  .weekly-post-section {
    padding-top: 64px;
  }

  .story-callout,
  .insight-row {
    grid-template-columns: 1fr;
  }

  .benefit-thread {
    grid-template-columns: 1fr;
  }

  .benefit-thread div,
  .benefit-thread div:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-thread div:last-child {
    border-bottom: 0;
  }

  .benefit-thread div::after {
    display: none;
  }

  .weekly-post-article {
    padding-right: 0;
  }

  .post-byline span {
    width: 100%;
  }

  .pulse-type-button {
    min-height: auto;
  }

  .source-input-panel {
    padding: 18px;
  }

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

  .source-facts div,
  .source-facts div:nth-child(2n),
  .source-facts div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-facts div:last-child {
    border-bottom: 0;
  }

  .agent-highlights span {
    width: 100%;
  }

  .ai-lab {
    min-height: auto;
  }

  .ai-lab-header {
    display: block;
  }

  .ai-lab-header span {
    display: block;
    margin-top: 4px;
  }

  .ai-stage {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "orbital"
      "workflow"
      "dock"
      "output";
    gap: 14px;
    min-height: auto;
    padding: 14px;
  }

  .agent-orbital {
    min-height: 284px;
  }

  .ai-orbit.orbit-outer {
    inset: 32px;
  }

  .ai-orbit.orbit-inner {
    inset: 76px;
  }

  .agent-core {
    width: 138px;
    height: 138px;
    padding: 15px;
  }

  .agent-core svg {
    width: 29px;
    height: 29px;
  }

  .data-node {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .data-node svg {
    width: 15px;
    height: 15px;
  }

  .node-docs {
    top: 22px;
    left: 16px;
  }

  .node-sql {
    top: 22px;
    right: 16px;
  }

  .node-sharepoint {
    bottom: 22px;
    left: 16px;
  }

  .node-api {
    right: 16px;
    bottom: 22px;
  }

  .workflow-step {
    padding: 9px;
  }

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

  .rail-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .rail-tabs a {
    flex: 0 0 auto;
  }

  .technology-marquee-shell::before,
  .technology-marquee-shell::after {
    width: 70px;
  }

  .technology-marquee {
    padding-bottom: 18px;
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  }

  .technology-track {
    gap: 12px;
    padding-inline: 14px;
  }

  .technology-card {
    flex-basis: min(276px, 82vw);
    min-height: 230px;
    padding: 20px;
  }

  .stack-detail-card {
    width: 100%;
  }

  .stack-detail-content {
    padding: 22px;
  }

  .stack-detail-content::before {
    top: 20px;
    right: 20px;
  }

  .stack-detail-top {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-right: 68px;
  }

  .stack-detail-icon {
    width: 44px;
    height: 44px;
  }

  .diagram-header {
    display: block;
  }

  .diagram-header span {
    display: block;
    margin-top: 4px;
  }

  .svg-node .node-main {
    font-size: 15px;
  }

  .svg-node .node-sub {
    font-size: 11px;
  }

  .page-hero {
    padding-top: 112px;
  }

  .cta-band {
    padding: 28px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

  .story-note .previous-post-link:hover {
    transform: none;
  }
}
