/*
 * css/agents.css
 * Agents page — layout and components only.
 * Colors / radius / buttons come from theme.css + styles.css.
 */

:root {
  --agents-section-gap: 80px;
  --agents-section-gap-tight: 40px;
}

@media (max-width: 1024px) {
  :root {
    --agents-section-gap: 64px;
    --agents-section-gap-tight: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --agents-section-gap: 56px;
    --agents-section-gap-tight: 28px;
  }
}

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

/* ── Hero ───────────────────────────────────────────────────── */

.agents-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding:
    48px var(--layout-gutter)
    var(--agents-section-gap-tight);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--border-primary) 40%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--border-primary) 40%, transparent) 1px,
      transparent 1px
    ),
    var(--gradient-hero);
  background-size: 48px 48px, 48px 48px, auto;
}

.agents-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--layout-content);
  margin-inline: auto;
}

.agents-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.agents-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agents-hero__badge-icon-wrap {
  display: inline-flex;
  color: var(--brand-primary);
}

.agents-hero__badge-icon {
  width: 16px;
  height: 16px;
}

.agents-hero__title {
  margin-bottom: 28px;
  font-size: var(--fs-hero-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  text-align: center;
}

.agents-hero__desc {
  max-width: min(100%, 640px);
  margin-inline: auto;
  margin-bottom: 48px;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-secondary);
  text-align: center;
}

.agents-hero__points {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px 16px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 48px;
  margin-inline: auto;
  list-style: none;
}

.agents-hero__point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 0;
  max-width: 200px;
  text-align: left;
}

.agents-hero__point-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.agents-hero__point-icon img {
  width: 18px;
  height: 18px;
}

.agents-hero__point-icon--purple {
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

.agents-hero__point-icon--blue {
  background: color-mix(in srgb, var(--fabric-blue) 12%, transparent);
}

.agents-hero__point-icon--green {
  background: color-mix(in srgb, var(--governance-green) 12%, transparent);
}

.agents-hero__point-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.agents-hero__point-title {
  font-size: var(--fs-caption);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.agents-hero__point-text {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}

.agents-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  width: 100%;
  margin-inline: auto;
}

.agents-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.agents-hero__actions .btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Orbit visual */

.agents-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  width: 100%;
  margin-inline: auto;
}

.agents-orbit {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
}

.agents-orbit__ring {
  position: absolute;
  inset: 12%;
  border: 1.5px dashed color-mix(in srgb, var(--brand-primary) 35%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.agents-orbit__ring--outer {
  inset: 0;
  animation: agents-orbit-spin 48s linear infinite;
}

.agents-orbit__ring--inner {
  inset: 18%;
  animation: agents-orbit-spin 36s linear infinite reverse;
}

.agents-orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.agents-orbit__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.agents-orbit__node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--text-primary) 6%, transparent);
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.agents-orbit__node img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.agents-orbit__node--1 { top: 4%; left: 28%; }
.agents-orbit__node--2 { top: 14%; right: 2%; }
.agents-orbit__node--3 { top: 42%; right: -4%; }
.agents-orbit__node--4 { bottom: 18%; right: 4%; }
.agents-orbit__node--5 { bottom: 2%; left: 34%; }
.agents-orbit__node--6 { bottom: 18%; left: 0; }
.agents-orbit__node--7 { top: 42%; left: -6%; }
.agents-orbit__node--8 { top: 14%; left: 0; }

@keyframes agents-orbit-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .agents-orbit__ring--outer,
  .agents-orbit__ring--inner {
    animation: none;
  }
}

/* ── Intelligent Flow ───────────────────────────────────────── */

.agents-flow {
  width: 100%;
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-primary);
}

.agents-flow__inner {
  max-width: var(--layout-max);
  margin-inline: auto;
  padding: var(--agents-section-gap-tight) var(--layout-gutter);
}

.agents-flow__title {
  margin: 0 auto 32px;
  max-width: 720px;
  text-align: center;
  font-size: var(--fs-section-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.agents-flow__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 8px 4px;
  list-style: none;
  max-width: var(--layout-content);
  margin-inline: auto;
  padding-block: 8px 0;
}

.agents-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 96px;
  text-align: center;
}

.agents-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-glow);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.agents-flow__step:hover .agents-flow__icon,
.agents-flow__step:focus-within .agents-flow__icon {
  border-color: var(--card-hover-border);
  background-color: var(--card-hover-bg);
  box-shadow: var(--card-hover-shadow);
  transform: var(--card-hover-lift);
}

.agents-flow__icon img {
  width: 20px;
  height: 20px;
}

.agents-flow__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-secondary);
}

.agents-flow__connector {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 40px; /* match .agents-flow__icon so arrow sits on icon centerline */
  margin: 0;
  padding: 0;
  opacity: 0.7;
}

.agents-flow__connector img {
  display: block;
  width: 24px;
  height: 10px;
}

/* ── Meet agents (01–10 switcher) ───────────────────────────── */

.agents-meet {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding: var(--agents-section-gap) var(--layout-gutter);
}

.agents-meet__inner {
  max-width: var(--layout-content);
  margin-inline: auto;
}

.agents-meet__header {
  margin-bottom: 40px;
  text-align: center;
}

.agents-meet__title {
  margin-bottom: 12px;
  font-size: var(--fs-section-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.agents-meet__subtitle {
  max-width: 560px;
  margin-inline: auto;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.agents-meet__layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.agents-meet__sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-card);
}

.agents-meet__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-left: 3px solid transparent;
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.agents-meet__tab:hover,
.agents-meet__tab:focus-visible {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  outline: none;
}

.agents-meet__tab.is-active {
  background: color-mix(in srgb, var(--brand-primary) 8%, var(--bg-primary));
  color: var(--text-primary);
  border-left-color: var(--brand-primary);
  font-weight: 600;
}

.agents-meet__tab-step {
  flex-shrink: 0;
  min-width: 22px;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--text-muted);
}

.agents-meet__tab.is-active .agents-meet__tab-step {
  color: var(--brand-primary);
}

.agents-meet__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
}

.agents-meet__tab.is-active .agents-meet__tab-icon {
  border-color: var(--border-highlight);
  background: color-mix(in srgb, var(--brand-primary) 10%, var(--bg-primary));
}

.agents-meet__tab-icon img {
  width: 16px;
  height: 16px;
}

.agents-meet__tab-label {
  flex: 1;
  min-width: 0;
}

.agents-meet__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-card);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--text-primary) 5%, transparent);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.agents-meet__panel.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.agents-meet__panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.agents-meet__panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.agents-meet__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--text-on-brand);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.agents-meet__panel-title {
  margin: 0;
  font-size: var(--fs-detail-title);
  font-weight: 700;
  color: var(--text-primary);
}

.agents-meet__panel-desc {
  margin-bottom: 20px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.agents-meet__capabilities {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  list-style: none;
}

.agents-meet__capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.agents-meet__capabilities img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.agents-meet__panel-copy .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.agents-meet__panel-copy .btn__icon {
  width: 16px;
  height: 16px;
}

.agents-meet__panel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 8px;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
}

.agents-meet__scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.agents-meet__scene-svg,
.agents-meet__scene-fallback {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.agents-meet__scene-svg image {
  transform-box: fill-box;
  transform-origin: center;
}

.agents-meet__delivery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-primary);
}

.agents-meet__delivery-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-card);
}

.agents-meet__delivery-label {
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.agents-meet__delivery-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.agents-meet__delivery-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.agents-meet__delivery-name,
.agents-meet__feeds {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.agents-meet__feeds {
  color: var(--brand-primary);
}

.agents-meet__delivery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--text-muted);
}

/* ── Trust grid ─────────────────────────────────────────────── */

.agents-trust {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding: 0 var(--layout-gutter) var(--agents-section-gap-tight);
}

.agents-trust__inner {
  max-width: var(--layout-content);
  margin-inline: auto;
}

.agents-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.agents-trust__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-card);
}

.agents-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius);
  background: color-mix(in srgb, var(--brand-primary) 8%, var(--bg-secondary));
  border: 1px solid var(--border-highlight);
}

.agents-trust__icon--green {
  background: color-mix(in srgb, var(--governance-green) 10%, var(--bg-secondary));
  border-color: color-mix(in srgb, var(--governance-green) 28%, transparent);
}

.agents-trust__icon--orange {
  background: color-mix(in srgb, var(--wai-gold) 12%, var(--bg-secondary));
  border-color: color-mix(in srgb, var(--wai-gold) 30%, transparent);
}

.agents-trust__icon--blue {
  background: color-mix(in srgb, var(--fabric-blue) 10%, var(--bg-secondary));
  border-color: color-mix(in srgb, var(--fabric-blue) 28%, transparent);
}

.agents-trust__icon--pink {
  background: color-mix(in srgb, var(--brand-light) 12%, var(--bg-secondary));
  border-color: color-mix(in srgb, var(--brand-light) 30%, transparent);
}

.agents-trust__icon img {
  width: 18px;
  height: 18px;
}

.agents-trust__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-top: 2px;
}

.agents-trust__card-title {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.agents-trust__card-text {
  margin: 0;
  font-size: var(--fs-caption);
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── Responsive ─────────────────────────────────────────────── */

/* Desktop two-column hero only above 1300px (Spec Kit pattern) */
@media (min-width: 1301px) {
  .agents-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px 40px;
    align-items: center;
  }

  .agents-hero__content {
    align-items: flex-start;
    max-width: none;
    text-align: left;
  }

  .agents-hero__badge {
    align-self: flex-start;
    justify-content: flex-start;
  }

  .agents-hero__title,
  .agents-hero__desc {
    text-align: left;
  }

  .agents-hero__desc {
    max-width: 540px;
    margin-inline: 0;
  }

  .agents-hero__points {
    justify-content: flex-start;
    margin-inline: 0;
  }

  .agents-hero__actions {
    justify-content: flex-start;
    width: auto;
    margin-inline: 0;
  }

  .agents-hero__visual {
    margin-inline: 0;
  }
}

@media (max-width: 1100px) {
  .agents-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agents-flow__inner {
    padding-block: var(--agents-section-gap-tight);
  }

  .agents-flow__title {
    margin-bottom: 28px;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(22px, 2.4vw, var(--fs-section-title));
  }

  .agents-orbit__node span {
    display: none;
  }

  .agents-orbit__node {
    padding: 8px;
  }
}

/* Laptop: title stays one line */
@media (min-width: 1025px) and (max-width: 1600px) {
  .agents-flow__inner {
    padding-block: var(--agents-section-gap-tight);
  }

  .agents-flow__title {
    margin-bottom: 28px;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(24px, 2.1vw, var(--fs-section-title));
  }
}

@media (max-width: 1024px) {
  .agents-hero__inner {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
  }

  .agents-hero__content {
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }

  .agents-hero__badge {
    align-self: center;
    justify-content: center;
  }

  .agents-hero__title,
  .agents-hero__desc {
    text-align: center;
  }

  .agents-hero__desc {
    max-width: min(100%, 640px);
    margin-inline: auto;
    margin-bottom: 48px;
  }

  .agents-hero__points {
    justify-content: center;
    margin-inline: auto;
    margin-bottom: 48px;
  }

  .agents-hero__actions {
    justify-content: center;
    width: 100%;
    margin-inline: auto;
  }

  .agents-hero__visual {
    order: 1;
    min-height: 320px;
    width: 100%;
    margin-inline: auto;
  }

  .agents-orbit {
    width: min(100%, 340px);
  }

  /* Left column first, panel below — sequential reveal via data-reveal-delay */
  .agents-meet__layout {
    grid-template-columns: 1fr;
  }

  .agents-meet__sidebar {
    order: 1;
    max-height: none;
  }

  .agents-meet__panel {
    order: 2;
  }

  .agents-meet__panel-top {
    grid-template-columns: 1fr;
  }

  .agents-meet__panel-visual {
    min-height: 220px;
  }

  .agents-meet__delivery {
    grid-template-columns: 1fr;
  }

  .agents-meet__delivery-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}

@media (max-width: 768px) {
  .agents-hero {
    padding-top: 32px;
    padding-bottom: var(--agents-section-gap-tight);
  }

  .agents-hero__badge {
    margin-bottom: 32px;
  }

  .agents-hero__title {
    margin-bottom: 24px;
  }

  .agents-hero__desc {
    margin-bottom: 40px;
  }

  .agents-hero__points {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    margin-inline: auto;
  }

  .agents-hero__point {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    gap: 6px;
    justify-content: flex-start;
    text-align: left;
  }

  .agents-hero__point:nth-child(3) {
    grid-column: auto;
    justify-self: auto;
    max-width: none;
  }

  .agents-hero__point-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .agents-hero__point-icon img {
    width: 14px;
    height: 14px;
  }

  .agents-hero__point-title {
    font-size: 11px;
  }

  .agents-hero__point-text {
    font-size: 10px;
    line-height: 1.3;
  }

  .agents-hero__actions {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }

  .agents-hero__actions .btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .agents-hero__actions .btn__icon {
    width: 12px;
    height: 12px;
  }

  .agents-flow__inner {
    padding-block: var(--agents-section-gap-tight);
  }

  .agents-flow__title {
    margin-bottom: 24px;
    white-space: normal;
    font-size: var(--fs-section-title);
  }

  .agents-flow__list {
    flex-wrap: nowrap;
    gap: 4px 2px;
    padding-block: 4px 0;
  }

  .agents-flow__connector {
    display: none;
  }

  .agents-flow__step {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    gap: 6px;
  }

  .agents-flow__icon {
    width: 36px;
    height: 36px;
  }

  .agents-flow__icon img {
    width: 18px;
    height: 18px;
  }

  .agents-flow__label {
    font-size: 9px;
    line-height: 1.25;
  }

  .agents-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .agents-trust__card {
    gap: 10px;
    padding: 14px;
  }

  .agents-trust__icon {
    width: 28px;
    height: 28px;
  }

  .agents-trust__icon img {
    width: 16px;
    height: 16px;
  }

  .agents-trust__card-title {
    font-size: var(--fs-caption);
  }

  .agents-trust__card-text {
    font-size: 11px;
    line-height: 1.45;
  }

  .agents-meet__panel {
    padding: 22px 18px;
  }

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

  .agents-orbit__node--7,
  .agents-orbit__node--3 {
    display: none;
  }
}

@media (max-width: 480px) {
  .agents-hero {
    padding-inline: 16px;
  }

  .agents-hero__inner,
  .agents-hero__content {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .agents-hero__badge {
    margin-bottom: 28px;
    max-width: 100%;
  }

  .agents-hero__title {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(22px, 7vw, 28px);
    text-align: center;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .agents-hero__desc {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 36px;
    padding-inline: 0;
    font-size: var(--fs-sm);
    line-height: 1.55;
    text-align: center;
    overflow-wrap: break-word;
  }

  .agents-hero__points {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 36px;
  }

  .agents-hero__point {
    display: flex;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
    gap: 5px;
    justify-content: flex-start;
    text-align: left;
  }

  .agents-hero__point:nth-child(3) {
    grid-column: auto;
    justify-self: auto;
    max-width: none;
  }

  .agents-hero__point-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .agents-hero__point-icon img {
    width: 12px;
    height: 12px;
  }

  .agents-hero__point-copy {
    min-width: 0;
  }

  .agents-hero__point-title {
    font-size: 10px;
    line-height: 1.25;
  }

  .agents-hero__point-text {
    font-size: 9px;
    line-height: 1.25;
  }

  .agents-trust__grid {
    gap: 10px;
  }

  .agents-trust__card {
    gap: 8px;
    padding: 12px;
  }

  .agents-trust__icon {
    width: 24px;
    height: 24px;
  }

  .agents-trust__icon img {
    width: 14px;
    height: 14px;
  }

  .agents-trust__card-title {
    font-size: 11px;
  }

  .agents-trust__card-text {
    font-size: 10px;
    line-height: 1.4;
  }

  .agents-hero__actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .agents-hero__actions .btn {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    padding: 8px 12px;
    font-size: 11px;
    gap: 4px;
  }

  .agents-hero__actions .btn__icon {
    width: 11px;
    height: 11px;
  }

  .agents-hero__visual {
    min-height: 240px;
    width: 100%;
    max-width: 100%;
  }

  .agents-orbit {
    width: min(100%, 260px);
  }

  .agents-orbit__center {
    width: 72px;
    height: 72px;
  }

  .agents-orbit__logo {
    width: 42px;
    height: 42px;
  }

  .agents-orbit__node {
    padding: 4px;
    gap: 0;
  }

  .agents-orbit__node img {
    width: 16px;
    height: 16px;
  }

  .agents-flow__step {
    width: auto;
  }

  .agents-flow__icon {
    width: 32px;
    height: 32px;
  }

  .agents-flow__icon img {
    width: 16px;
    height: 16px;
  }

  .agents-flow__label {
    font-size: 8px;
  }

  .agents-meet__sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .agents-hero__visual {
    min-height: 210px;
  }

  .agents-orbit {
    width: min(100%, 220px);
  }

  .agents-orbit__center {
    width: 64px;
    height: 64px;
  }

  .agents-orbit__logo {
    width: 36px;
    height: 36px;
  }

  .agents-hero__title {
    font-size: 22px;
  }

  .agents-hero__desc {
    font-size: 13px;
    text-align: center;
  }

  .agents-hero__points {
    gap: 4px;
  }

  .agents-hero__point {
    gap: 4px;
  }

  .agents-hero__point-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
  }

  .agents-hero__point-icon img {
    width: 10px;
    height: 10px;
  }

  .agents-hero__point-title {
    font-size: 9px;
  }

  .agents-hero__point-text {
    font-size: 8px;
    line-height: 1.2;
  }
}

/* Large / 4K */
@media (min-width: 1920px) {
  .agents-hero {
    min-height: min(70vh, 920px);
    display: flex;
    align-items: center;
    padding-bottom: var(--agents-section-gap);
  }

  .agents-hero__inner {
    width: 100%;
  }

  .agents-flow__inner {
    padding-block: var(--agents-section-gap);
  }

  .agents-flow__title {
    margin-bottom: 40px;
  }
}

@media (min-width: 2560px) {
  .agents-hero {
    min-height: min(72vh, 1100px);
    padding-bottom: var(--agents-section-gap);
  }

  .agents-flow__inner {
    padding-block: var(--agents-section-gap);
  }

  .agents-flow__title {
    margin-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agents-meet__panel.is-switching {
    opacity: 1;
    transform: none;
  }
}
