/* Dedicated production styles for /ai-agents. */
.agents-preview-page {
  --preview-ink: #13213a;
  --preview-muted: #60718a;
  --preview-line: rgba(26, 39, 68, 0.14);
  --preview-panel: #ffffff;
  --preview-wash: #f4f6f7;
  background: var(--off-white);
  color: var(--preview-ink);
  overflow-x: clip;
}

.agents-preview-page main {
  overflow: clip;
}

.agents-preview-hero {
  position: relative;
  min-height: 760px;
  padding: 168px 6% 108px;
  background: linear-gradient(126deg, #0b1527 0%, #172a49 62%, #24445b 100%);
  color: #fff;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.agents-preview-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.72) 55%, transparent 100%);
}

.agents-preview-glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -100px;
  top: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 127, 138, 0.3), rgba(61, 127, 138, 0) 70%);
}

.agents-preview-hero-inner,
.agents-preview-inner,
.agents-preview-final-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.agents-preview-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.agents-preview-eyebrow,
.audience-kicker,
.suite-number {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: var(--sand);
}

.agents-preview-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.35rem, 6.7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}

.agents-preview-lede {
  max-width: 720px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
}

.agents-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.agents-preview-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.agents-preview-actions .btn-outline:hover {
  border-color: var(--sand);
  color: var(--sand);
}

.agents-preview-hero-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 127, 138, 0.18), rgba(10, 19, 34, 0.42) 66%, rgba(10, 19, 34, 0) 67%);
}

.hero-orbit {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(200, 184, 154, 0.28);
  border-radius: 50%;
}

.hero-orbit-two {
  inset: 29%;
  border-color: rgba(89, 178, 191, 0.35);
}

.hero-agent-node,
.hero-human-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-align: center;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.hero-agent-node {
  width: 104px;
  aspect-ratio: 1;
  color: #fff;
  background: #203a55;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-node-connect { left: 4%; top: 22%; }
.hero-node-work { right: 3%; top: 19%; }
.hero-node-guard { right: 14%; bottom: 7%; }

.hero-human-node {
  width: 132px;
  aspect-ratio: 1;
  left: calc(50% - 66px);
  top: calc(50% - 66px);
  color: var(--navy);
  background: var(--sand);
  border: 7px solid rgba(200, 184, 154, 0.18);
  background-clip: padding-box;
}

.agents-preview-section {
  padding: clamp(5.5rem, 9vw, 8rem) 6%;
  position: relative;
}

.agents-preview-heading {
  max-width: 760px;
  margin-bottom: 3.2rem;
}

.agents-preview-heading .section-label,
.control-copy .section-label,
.workflow-copy .section-label,
.attribution-section .section-label,
.agents-preview-final .section-label {
  display: block;
  margin-bottom: 0.85rem;
}

.agents-preview-heading h2,
.workflow-copy h2,
.control-copy h2,
.attribution-layout h2,
.agents-preview-final h2 {
  margin: 0;
  color: var(--preview-ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.65rem, 5vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.agents-preview-heading > p:last-child,
.workflow-copy > p:last-child,
.agents-preview-final p,
.deployment-heading > p:last-child {
  margin: 1.15rem 0 0;
  color: var(--preview-muted);
  line-height: 1.8;
}

.suite-section {
  background: var(--preview-wash);
}

.suite-section .section-label,
.deployment-section .section-label,
.process-section .section-label {
  color: #2f6f78;
}

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

.suite-card {
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 2.15rem);
  border: 1px solid var(--preview-line);
  border-radius: 8px;
  background: var(--preview-panel);
  box-shadow: 0 18px 55px rgba(26, 39, 68, 0.07);
}

.suite-visual {
  position: relative;
  width: 100%;
  height: 176px;
  margin-bottom: 1.6rem;
  border-radius: 6px;
  background: linear-gradient(145deg, #0f1c31, #213d59);
  overflow: hidden;
}

.suite-visual svg {
  position: relative;
  z-index: 2;
}

.suite-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
}

.suite-card h3 {
  margin: 0 0 0.85rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--preview-ink);
  font-size: 2rem;
}

.suite-card > p:not(.suite-number) {
  color: var(--preview-muted);
  line-height: 1.72;
}

.suite-card .suite-descriptor {
  margin: -0.25rem 0 0.65rem;
  color: var(--teal);
  font-weight: 700;
}

.suite-card ul,
.control-list {
  margin: 1.25rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--preview-line);
  list-style: none;
}

.suite-card li,
.control-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  color: var(--preview-muted);
  line-height: 1.55;
}

.suite-card li::before,
.control-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.suite-product-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1.35rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid currentColor;
  color: #236a74;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.suite-product-link span {
  margin-left: 0.4rem;
  transition: transform 180ms ease;
}

.suite-product-link:hover {
  color: #173f5d;
  border-color: var(--sand);
}

.suite-product-link:hover span {
  transform: translateX(0.25rem);
}

.suite-product-link:focus-visible {
  color: #173f5d;
  border-color: var(--sand);
}

.audience-section {
  background: var(--preview-panel);
}

.audience-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.audience-heading {
  position: sticky;
  top: 120px;
  margin: 0;
}

.audience-columns {
  border-top: 1px solid var(--preview-line);
}

.audience-column {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--preview-line);
}

.audience-kicker {
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.audience-column h3 {
  margin: 0 0 1rem;
  color: var(--preview-ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.audience-column p {
  color: var(--preview-muted);
  line-height: 1.78;
}

.workflow-section {
  color: #fff;
  background: linear-gradient(135deg, #0c1729, #1a3150);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.workflow-copy {
  align-self: center;
}

.workflow-copy h2 {
  color: #fff;
}

.workflow-copy > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.workflow-steps,
.process-line {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps {
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(var(--sand), var(--teal));
}

.workflow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.2rem;
  padding: 0 0 2rem;
}

.workflow-steps li:last-child {
  padding-bottom: 0;
}

.workflow-steps li > span {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy);
  font-weight: 700;
}

.workflow-steps strong {
  display: block;
  margin-top: 0.15rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
}

.workflow-steps p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.65;
}

.deployment-section {
  background: var(--preview-wash);
}

.deployment-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.deployment-heading {
  margin: 0;
}

.deployment-list {
  margin: 0;
  border-top: 1px solid var(--preview-line);
}

.deployment-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--preview-line);
}

.deployment-row dt {
  color: var(--preview-ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.deployment-row dd {
  margin: 0;
  color: var(--preview-muted);
  line-height: 1.72;
}

.control-section {
  background: var(--preview-panel);
}

.control-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.control-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 10px 10px;
  background: linear-gradient(160deg, #0c1729, #24465e);
  overflow: hidden;
}

.control-boundary {
  width: min(78%, 330px);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.control-boundary span {
  display: block;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.control-gate {
  position: absolute;
  bottom: 44px;
  padding: 0.8rem 1.2rem;
  border-radius: 3px;
  background: var(--sand);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-copy h2 {
  margin-bottom: 1.25rem;
}

.control-copy > p {
  color: var(--preview-muted);
  line-height: 1.78;
}

.control-list {
  padding-top: 1rem;
}

.control-list strong {
  color: var(--preview-ink);
}

.control-note {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--sand);
  background: var(--preview-wash);
  font-size: 0.88rem;
}

.process-section {
  background: var(--preview-wash);
}

.process-heading {
  margin-bottom: 3rem;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--preview-line);
}

.process-line li {
  min-width: 0;
  padding: 2rem 1.5rem 0 0;
  border-right: 1px solid var(--preview-line);
}

.process-line li:not(:first-child) {
  padding-left: 1.5rem;
}

.process-line li:last-child {
  border-right: 0;
}

.process-line span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.process-line h3 {
  margin: 1rem 0 0.65rem;
  color: var(--preview-ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
}

.process-line p {
  color: var(--preview-muted);
  line-height: 1.65;
}

.attribution-section {
  background: var(--preview-panel);
}

.attribution-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.attribution-copy {
  padding-left: 2rem;
  border-left: 1px solid var(--preview-line);
}

.attribution-copy p {
  margin: 0 0 1rem;
  color: var(--preview-muted);
  line-height: 1.7;
}

.attribution-copy strong {
  color: var(--preview-ink);
}

.attribution-copy .attribution-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--preview-line);
  font-size: 0.88rem;
}

.agents-preview-final {
  padding: clamp(5.5rem, 9vw, 8rem) 6%;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0b1527, #203e59);
}

.agents-preview-final-inner {
  max-width: 820px;
}

.agents-preview-final h2 {
  color: #fff;
}

.agents-preview-final p {
  color: rgba(255, 255, 255, 0.7);
}

.agents-preview-final .btn-primary {
  margin-top: 1.7rem;
}

.agents-preview-page :is(a, button):focus-visible {
  outline: 3px solid #f1d896;
  outline-offset: 4px;
  border-radius: 2px;
}

[data-theme="dark"] .agents-preview-page {
  --preview-ink: #f0f4f8;
  --preview-muted: #afbccb;
  --preview-line: rgba(255, 255, 255, 0.14);
  --preview-panel: #111b2b;
  --preview-wash: #0b1422;
  background: #0b1422;
}

[data-theme="dark"] .suite-card {
  box-shadow: none;
}

[data-theme="dark"] .suite-product-link {
  color: #8edbe0;
}

[data-theme="dark"] .suite-product-link:is(:hover, :focus-visible) {
  color: #f1d896;
}

[data-theme="dark"] .control-note {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .suite-section .section-label,
[data-theme="dark"] .deployment-section .section-label,
[data-theme="dark"] .process-section .section-label {
  color: #8edbe0;
}

@media (max-width: 980px) {
  .agents-preview-hero-inner,
  .audience-layout,
  .workflow-layout,
  .deployment-layout,
  .control-layout,
  .attribution-layout {
    grid-template-columns: 1fr;
  }

  .agents-preview-hero {
    padding-top: 148px;
  }

  .agents-preview-hero-visual {
    width: min(500px, 100%);
    min-height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
  }

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

  .suite-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    column-gap: 1.7rem;
  }

  .suite-visual {
    grid-row: 1 / span 5;
    height: 190px;
  }

  .suite-product-link {
    grid-column: 2;
  }

  .audience-heading {
    position: static;
  }

  .control-visual {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .attribution-copy {
    padding: 2rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--preview-line);
  }
}

@media (max-width: 720px) {
  .agents-preview-hero {
    min-height: auto;
    padding: 124px 5% 76px;
  }

  .agents-preview-hero-inner {
    gap: 3rem;
  }

  .agents-preview-hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

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

  .agents-preview-actions a {
    width: 100%;
    text-align: center;
  }

  .agents-preview-hero-visual {
    width: 100%;
  }

  .hero-agent-node {
    width: 76px;
    font-size: 0.57rem;
  }

  .hero-human-node {
    width: 104px;
    left: calc(50% - 52px);
    top: calc(50% - 52px);
    font-size: 0.57rem;
  }

  .agents-preview-section,
  .agents-preview-final {
    padding: 4.5rem 5%;
  }

  .suite-card {
    display: block;
  }

  .suite-visual {
    width: 100%;
    height: 164px;
  }

  .suite-product-link {
    grid-column: auto;
  }

  .deployment-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .control-visual {
    min-height: 420px;
  }

  .process-line {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .process-line li,
  .process-line li:not(:first-child) {
    padding: 1.5rem 0;
    border-top: 1px solid var(--preview-line);
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agents-preview-page *,
  .agents-preview-page *::before,
  .agents-preview-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .agents-preview-page .animate,
  .agents-preview-page .animate-left,
  .agents-preview-page .animate-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
