:root {
  /* Color Palette - Premium Light Space Theme */
  --bg-primary: #fbfbfe;
  --bg-secondary: #f4f1fa;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --color-accent: #800060;        /* Deep Plum Purple (Brand Logo Color) */
  --color-accent-dark: #5c0045;   /* Darker Plum */
  --color-accent-light: rgba(128, 0, 96, 0.08);
  --color-secondary: #c0007a;     /* Brand Magenta */
  --color-cyan: #0d9488;          /* Premium Teal/Cyan for Light contrast */
  --color-cyan-glow: rgba(13, 148, 136, 0.08);
  
  --border-color: rgba(128, 0, 96, 0.12);
  --border-hover: rgba(128, 0, 96, 0.35);
  
  --text-primary: #0f172a;        /* Slate-900 (Highly readable and elegant) */
  --text-secondary: #4b5563;      /* Slate-600 */
  --text-muted: #6b7280;          /* Slate-500 */
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(128, 0, 96, 0.03);
  --shadow-md: 0 12px 40px rgba(128, 0, 96, 0.05);
  --shadow-glow: 0 0 20px rgba(128, 0, 96, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets and styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(128, 0, 96, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(192, 0, 122, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(13, 148, 136, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #e5def0;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Layout */
main {
  width: 100%;
  margin: 0 auto;
}

section {
  position: relative;
  border-bottom: 1px solid rgba(128, 0, 96, 0.05);
  overflow: hidden;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 0, 96, 0.1), transparent);
}

section:nth-of-type(even) {
  background: rgba(244, 241, 250, 0.35);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  position: relative;
  z-index: 1;
}

/* Sticky Header styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 251, 254, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(128, 0, 96, 0.08);
  transition: var(--transition);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

header .logo {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(128, 0, 96, 0.15));
  transition: var(--transition);
}

header .logo-container:hover .logo {
  transform: rotate(5deg) scale(1.05);
}

header .site-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #7A004B;
  letter-spacing: -0.02em;
}

header .site-name span {
  color: #737373;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--color-accent);
  background: rgba(128, 0, 96, 0.05);
  border-color: rgba(128, 0, 96, 0.15);
}

/* Typography elements */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  background: rgba(128, 0, 96, 0.05);
  border: 1px solid rgba(128, 0, 96, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
}

.section-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-secondary);
}

.section-heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #7A004B;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-heading-lg .gradient-text {
  background: none;
  -webkit-text-fill-color: #737373;
  color: #737373;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 650px;
  margin-bottom: 50px;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 30%, rgba(128, 0, 96, 0.04) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-eyebrow-container .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(128, 0, 96, 0.05);
  border: 1px solid rgba(128, 0, 96, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero-eyebrow-container .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 6px var(--color-accent);
}

.hero-eyebrow-container .hero-eyebrow:nth-child(even) {
  color: var(--color-cyan);
  background: var(--color-cyan-glow);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.hero-eyebrow-container .hero-eyebrow:nth-child(even)::before {
  background: var(--color-cyan);
  box-shadow: 0 0 6px var(--color-cyan);
}

.hero-section h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-line-grey {
  color: var(--text-primary);   /* Logo grey */
}

.hero-line-purple {
  color: var(--color-accent);   /* Logo purple */
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Interactive Multi-Agent Visualizer */
.visualizer-container {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(128, 0, 96, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 480px;
  overflow: hidden;
}

.visualizer-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(128, 0, 96, 0.15) 0%, transparent 40%, rgba(13, 148, 136, 0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.agent-network {
  position: relative;
  width: 100%;
  height: 100%;
}

/* On desktop the branch group is layout-transparent: the service nodes keep
   their absolute positions against .agent-network. It only becomes a real
   container in the mobile reflow, where it renders the routing fork. */
.agent-branches {
  display: contents;
}

.agent-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.agent-node .node-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(128, 0, 96, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(128, 0, 96, 0.08);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.agent-node .node-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(128, 0, 96, 0.15);
  animation: rotate-dashed 12s linear infinite;
  pointer-events: none;
}

.agent-node:hover .node-circle {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(128, 0, 96, 0.25);
  transform: scale(1.08);
}

.agent-node .node-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agent-node .node-sublabel {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Custom positioning of agent nodes */
.node-user { top: 40%; left: 1%; }
.node-router { top: 40%; left: 22%; }
.node-arch { top: 6%; left: 41%; }
.node-corp { top: 40%; left: 41%; }
.node-cohort { top: 74%; left: 41%; }
.node-output { top: 40%; right: 1%; }

/* Service / outcome nodes carry longer labels — give them a fixed
   width so the circle stays centered and labels wrap cleanly. */
.node-arch, .node-corp, .node-cohort, .node-output { width: 116px; }

/* Specialized colors for nodes */
.node-user .node-circle { border-color: rgba(75, 85, 99, 0.3); }
.node-user .node-circle::after { border-color: rgba(75, 85, 99, 0.1); }
.node-user:hover .node-circle { border-color: var(--text-primary); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }

.node-arch .node-circle { border-color: rgba(128, 0, 96, 0.35); }
.node-arch .node-circle::after { border-color: rgba(128, 0, 96, 0.15); }
.node-arch:hover .node-circle { border-color: var(--color-accent); box-shadow: 0 0 16px rgba(128, 0, 96, 0.3); }

.node-corp .node-circle { border-color: rgba(13, 148, 136, 0.35); }
.node-corp .node-circle::after { border-color: rgba(13, 148, 136, 0.15); }
.node-corp:hover .node-circle { border-color: var(--color-cyan); box-shadow: 0 0 16px rgba(13, 148, 136, 0.3); }

.node-cohort .node-circle { border-color: rgba(192, 0, 122, 0.35); }
.node-cohort .node-circle::after { border-color: rgba(192, 0, 122, 0.15); }
.node-cohort:hover .node-circle { border-color: var(--color-secondary); box-shadow: 0 0 16px rgba(192, 0, 122, 0.3); }

.node-output .node-circle { border-color: rgba(13, 148, 136, 0.45); }
.node-output .node-circle::after { border-color: rgba(13, 148, 136, 0.2); }
.node-output:hover .node-circle { border-color: var(--color-cyan); box-shadow: 0 0 20px rgba(13, 148, 136, 0.35); }

/* SVG Connectors */
.agent-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.connection-path {
  fill: none;
  stroke: rgba(128, 0, 96, 0.12);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: flow-dash 1.5s linear infinite;
}

.path-arch {
  stroke: rgba(128, 0, 96, 0.15);
  animation-duration: 1.2s;
}

.path-corp {
  stroke: rgba(13, 148, 136, 0.15);
  animation-duration: 1.5s;
}

.path-cohort {
  stroke: rgba(192, 0, 122, 0.15);
  animation-duration: 1.8s;
}

.path-out {
  stroke: rgba(13, 148, 136, 0.15);
  animation-duration: 1.6s;
}

.path-user {
  stroke: rgba(75, 85, 99, 0.15);
  animation-duration: 2s;
}

/* Animations */
@keyframes flow-dash {
  to {
    stroke-dashoffset: -24;
  }
}

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

.agent-node {
  animation: node-float 6s ease-in-out infinite;
}

.node-user { animation-delay: 0s; }
.node-router { animation-delay: 1.5s; }
.node-arch { animation-delay: 0.6s; }
.node-corp { animation-delay: 1.2s; }
.node-cohort { animation-delay: 2.2s; }
.node-output { animation-delay: 3s; }

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

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Cards (Glassmorphism design) */
.dl-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dl-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent, rgba(255, 255, 255, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition);
}

.dl-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.dl-card:hover::before {
  background: linear-gradient(135deg, rgba(128, 0, 96, 0.3), transparent, rgba(13, 148, 136, 0.3));
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(128, 0, 96, 0.05);
  border: 1px solid rgba(128, 0, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 24px;
  transition: var(--transition);
}

.dl-card:hover .card-icon {
  background: rgba(128, 0, 96, 0.08);
  border-color: rgba(128, 0, 96, 0.3);
  color: var(--color-accent);
  transform: scale(1.05) rotate(3deg);
}

.card-eyebrow {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(128, 0, 96, 0.05);
  border: 1px solid rgba(128, 0, 96, 0.15);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.dl-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.dl-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
  flex-grow: 1;
}

/* Cohort highlight card (Deep Purple featured block) */
.cohort-card {
  background: linear-gradient(135deg, var(--color-accent) 0%, #a20072 100%);
  border-color: var(--color-accent-dark);
  box-shadow: 0 12px 32px rgba(128, 0, 96, 0.15);
}

.cohort-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent, rgba(255, 255, 255, 0.1));
}

.cohort-card:hover {
  box-shadow: 0 16px 48px rgba(128, 0, 96, 0.25);
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
}

.cohort-card .card-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.cohort-card .card-eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.cohort-card h3 {
  color: #ffffff;
}

.cohort-card p {
  color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  color: #ffffff;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(128, 0, 96, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(128, 0, 96, 0.35);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: rgba(128, 0, 96, 0.03);
  color: var(--color-accent);
  padding: 13px 26px;
  border: 1.5px solid rgba(128, 0, 96, 0.4);
}

.btn-outline-primary:hover {
  background: rgba(128, 0, 96, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--color-accent);
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Area */
.contact-band {
  background: radial-gradient(circle at 0% 100%, rgba(13, 148, 136, 0.03) 0%, transparent 50%), radial-gradient(circle at 100% 0%, rgba(128, 0, 96, 0.04) 0%, transparent 50%), rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(128, 0, 96, 0.15);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.contact-band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(128, 0, 96, 0.01) 50%, transparent);
  animation: shine 8s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.contact-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-band p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Footer Section */
footer {
  background: #f7f5fa;
  border-top: 1px solid rgba(128, 0, 96, 0.06);
  padding: 48px 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

footer p {
  max-width: 1200px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* Responsive queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-row {
    justify-content: center;
  }
  
  .hero-eyebrow-container {
    justify-content: center;
  }
  
  .visualizer-container {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-inner {
    padding: 72px 24px;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .contact-band {
    padding: 48px 24px;
  }
  
  .header-inner {
    padding: 16px 24px;
  }
}

@media (max-width: 600px) {
  /* The horizontal agent-flow diagram is built for a wide aspect ratio and
     collapses on narrow screens, so reflow it into a clean top-to-bottom
     list of steps and drop the fixed-coordinate SVG connectors. */
  .visualizer-container {
    height: auto;
    padding: 28px 22px;
  }

  .agent-connections {
    display: none;
  }

  .agent-network {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .agent-node {
    position: relative;
    inset: auto;
    width: 100% !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
    padding: 0 0 32px 0;
    animation: none;
  }

  .agent-node:last-child {
    padding-bottom: 0;
  }

  /* Vertical spine connecting the top-level steps (User -> Router -> branch
     group -> Outcome). Scoped to direct children so the branched service
     nodes don't get chained into a misleading straight sequence. */
  .agent-network > .agent-node:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 66px;
    bottom: 2px;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
      rgba(128, 0, 96, 0.35) 0 4px, transparent 4px 10px);
  }

  /* The Router fans out to three parallel service agents that reconverge on
     the Outcome. Render that as a routing fork: a spine carrying the flow down
     past the group, with each service hanging off it on a short branch. */
  .agent-branches {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* Spine: continues the vertical flow line down through the group */
  .agent-branches::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
      rgba(128, 0, 96, 0.35) 0 4px, transparent 4px 10px);
  }

  /* Indent each service node so its circle sits to the right of the spine */
  .agent-branches .agent-node {
    padding-left: 44px;
    padding-bottom: 28px;
  }

  /* Short horizontal branch from the spine into each service circle */
  .agent-branches .agent-node::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 27px;
    width: 18px;
    height: 2px;
    background: repeating-linear-gradient(to right,
      rgba(128, 0, 96, 0.35) 0 4px, transparent 4px 10px);
  }

  .agent-node .node-circle {
    flex-shrink: 0;
  }

  /* Stack label + sublabel vertically beside the circle */
  .agent-node .node-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .agent-node .node-label {
    margin-top: 0;
  }

  .agent-node .node-sublabel {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .agent-node .node-label {
    font-size: 0.68rem;
  }

  .hero-section {
    padding-top: 110px;
  }
}
