.agents-showcase {
  position: relative;
  padding: 110px 0;
  color: #f5f7fb;
  border-top: 1px solid rgba(255, 255, 255, .05);
  background: #000;
}

.agents-showcase-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.agents-showcase h2 {
  max-width: 950px;
  margin: 0 0 20px;
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.agents-showcase .agents-intro {
  max-width: 840px;
  margin: 0 0 42px;
  color: #a8b9cb;
  font-size: 19px;
  line-height: 1.5;
}

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

.agents-showcase .agent-card {
  display: flex;
  min-width: 0;
  min-height: 500px;
  aspect-ratio: 4 / 5;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #484848;
  border-radius: 20px;
  background: #0F0F0F;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.agents-showcase .agent-card:hover {
  transform: translateY(-4px);
  border-color: #666;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .24);
}

.agents-showcase .agent-visual {
  position: relative;
  height: 180px;
  flex: none;
  overflow: hidden;
  border-bottom: 1px solid #484848;
  background: #1B1B1B;
}

.agents-showcase .agent-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.agents-showcase .agent-visual span {
  position: absolute;
  right: 22px;
  bottom: -20px;
  z-index: 1;
  color: #555;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
}

.agents-showcase .agent-visual-image::after {
  display: none;
}

.agents-showcase .agent-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.agents-showcase .agent-visual-geo img {
  object-position: center top;
}

.agents-showcase .agent-visual-outcrop img {
  object-position: center 55%;
}

.agents-showcase .agent-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.agents-showcase .agent-category {
  color: #086ACA;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.agents-showcase .agent-content h3 {
  margin: 16px 0 10px;
  color: #F7F7F7;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.agents-showcase .agent-tagline {
  margin: 0 0 14px;
  color: #E4E4E4;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.agents-showcase .agent-description {
  margin: 0 0 32px;
  color: #BDBDBD;
  font-size: 14px;
  line-height: 1.6;
}

.agents-showcase .agent-action {
  margin-top: auto;
  color: #086ACA;
  font-size: 13px;
  font-weight: 700;
}

.agents-showcase .agent-action:hover,
.agents-showcase .agent-action:focus-visible {
  color: #086ACA;
  text-decoration: underline;
}

.agent-hub-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid #484848;
  border-radius: 20px;
  background: #0F0F0F;
}

.agent-hub-promo-copy h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.agent-hub-promo-copy p {
  margin: 0;
  color: #AABBCB;
  font-size: 16px;
  line-height: 1.5;
}

.agent-hub-promo-link {
  flex: none;
  padding: 18px 24px;
  border: 1px solid #086ACA;
  border-radius: 14px;
  color: #fff;
  background: #086ACA;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.agent-hub-promo-link:hover,
.agent-hub-promo-link:focus-visible {
  color: #086ACA;
  background: transparent;
}

.agents-ecosystem {
  padding: 110px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #F5F7FB;
  background: #000;
}

.agents-ecosystem-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.agents-ecosystem h2 {
  max-width: 1150px;
  margin: 0 0 20px;
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.06;
}

.ecosystem-intro {
  max-width: 850px;
  margin: 0 0 46px;
  color: #B8B8B8;
  font-size: 19px;
  line-height: 1.55;
}

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

.ecosystem-feature {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: #1B1B1B;
}

.ecosystem-feature-number {
  color: #086ACA;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.ecosystem-feature h3 {
  margin: 48px 0 14px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.ecosystem-feature p {
  margin: 0 0 30px;
  color: #B8B8B8;
  font-size: 15px;
  line-height: 1.55;
}

.ecosystem-feature-tag {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 106, 202, .24);
  color: #086ACA;
  font-size: 11px;
  letter-spacing: .14em;
}

.ecosystem-entry > div > span {
  color: #A3A3A3;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
}

.ecosystem-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: #1B1B1B;
}

.ecosystem-entry h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
}

.ecosystem-entry p {
  margin: 0;
  color: #B8B8B8;
  font-size: 15px;
  line-height: 1.5;
}

.ecosystem-entry a {
  flex: none;
  padding: 17px 22px;
  border: 1px solid #086ACA;
  border-radius: 8px;
  color: #fff;
  background: #086ACA;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.ecosystem-entry a:hover,
.ecosystem-entry a:focus-visible {
  color: #086ACA;
  background: transparent;
}

.agents-principles {
  padding: 110px 0;
  color: #F7F7F7;
  background: #000;
}

.agents-principles-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.agents-principles h2 {
  max-width: 1150px;
  margin: 0 0 20px;
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.06;
}

.principles-intro {
  max-width: 900px;
  margin: 0 0 46px;
  color: #B8B8B8;
  font-size: 19px;
  line-height: 1.55;
}

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

.principle-card {
  min-width: 0;
  min-height: 225px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #171717;
}

.principle-number {
  color: #086ACA;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.principle-card h3 {
  margin: 48px 0 12px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.principle-card p {
  margin: 0;
  color: #B8B8B8;
  font-size: 15px;
  line-height: 1.55;
}

.workflow-studio-promo {
  padding: 12px 0 110px;
  color: #F7F7F7;
  background: #000;
}

.workflow-studio-promo-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.workflow-studio-promo-intro {
  max-width: 1060px;
  margin-bottom: 46px;
}

.workflow-studio-promo-eyebrow {
  margin: 0 0 16px;
  color: #086ACA;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.workflow-studio-promo h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.06;
}

.workflow-studio-promo-intro > p:not(.workflow-studio-promo-eyebrow) {
  max-width: 900px;
  margin: 0;
  color: #B8B8B8;
  font-size: 19px;
  line-height: 1.55;
}

.workflow-studio-promo-tagline {
  margin-top: 8px !important;
  color: #B8B8B8 !important;
}

.workflow-studio-promo-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 218px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #171717;
}

.workflow-studio-promo-panel h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.workflow-studio-promo-panel p {
  max-width: 670px;
  margin: 0;
  color: #B8B8B8;
  font-size: 17px;
  line-height: 1.55;
}

.workflow-studio-promo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  flex: none;
  padding: 0 24px;
  border: 1px solid #086ACA;
  border-radius: 8px;
  color: #fff;
  background: #086ACA;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.workflow-studio-promo-link:hover,
.workflow-studio-promo-link:focus-visible {
  border-color: #237fdb;
  color: #fff;
  background: #237fdb;
  transform: translateX(4px);
}

.agents-deployment {
  padding: 110px 0;
  color: #F7F7F7;
  background: #000;
}

.agents-deployment-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.agents-deployment h2 {
  max-width: 1150px;
  margin: 0 0 20px;
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 700;
  line-height: 1.06;
}

.deployment-intro {
  max-width: 900px;
  margin: 0 0 46px;
  color: #B8B8B8;
  font-size: 19px;
  line-height: 1.55;
}

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

.deployment-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  aspect-ratio: 8 / 5;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #1B1B1B;
}

.deployment-card-body {
  margin-top: auto;
  margin-bottom: 28px;
}

.deployment-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.deployment-card p {
  max-width: 600px;
  margin: 0;
  color: #B8B8B8;
  font-size: 17px;
  line-height: 1.55;
}

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

  .agent-hub-promo {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecosystem-features {
    grid-template-columns: 1fr;
  }

  .ecosystem-feature {
    min-height: 0;
  }

  .ecosystem-feature h3 {
    margin-top: 32px;
  }

  .ecosystem-entry {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .agents-showcase {
    padding: 72px 0;
  }

  .agents-showcase-inner {
    padding: 0 16px;
  }

  .agents-showcase .agents-intro {
    margin-bottom: 32px;
    font-size: 16px;
  }

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

  .agents-showcase .agent-card {
    min-height: 0;
    aspect-ratio: auto;
  }

  .agents-showcase .agent-content {
    min-height: 300px;
  }

  .agent-hub-promo {
    padding: 24px;
  }

  .agent-hub-promo-link {
    width: 100%;
    text-align: center;
  }

  .agents-ecosystem {
    padding: 72px 0;
  }

  .agents-ecosystem-inner {
    padding: 0 16px;
  }

  .ecosystem-intro {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .ecosystem-feature,
  .ecosystem-entry {
    padding: 24px;
  }

  .ecosystem-entry a {
    width: 100%;
    text-align: center;
  }

  .agents-principles {
    padding: 72px 0;
  }

  .agents-principles-inner {
    padding: 0 16px;
  }

  .principles-intro {
    margin-bottom: 32px;
    font-size: 16px;
  }

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

  .principle-card {
    min-height: 0;
    padding: 24px;
  }

  .principle-card h3 {
    margin-top: 32px;
  }

  .workflow-studio-promo {
    padding: 0 0 72px;
  }

  .workflow-studio-promo-inner {
    padding: 0 16px;
  }

  .workflow-studio-promo-intro {
    margin-bottom: 32px;
  }

  .workflow-studio-promo-intro > p:not(.workflow-studio-promo-eyebrow) {
    font-size: 16px;
  }

  .workflow-studio-promo-panel {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 28px 24px;
  }

  .workflow-studio-promo-panel p {
    font-size: 15px;
  }

  .workflow-studio-promo-link {
    width: 100%;
  }

  .agents-deployment {
    padding: 72px 0;
  }

  .agents-deployment-inner {
    padding: 0 16px;
  }

  .deployment-intro {
    margin-bottom: 32px;
    font-size: 16px;
  }

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

  .deployment-card {
    min-height: 300px;
    aspect-ratio: auto;
    padding: 24px;
  }

  .deployment-card-body {
    margin-bottom: 0;
  }

  .deployment-card p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agents-showcase .agent-card {
    transition: none;
  }
}

.agent-demo-modal[hidden],
.agent-demo-modal [hidden] {
  display: none !important;
}

.technical-publications {
  padding: 88px 0 120px;
  color: #f4f7fb;
  background: #000;
}

.technical-publications-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.technical-publications h2 {
  margin: 0 0 52px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
}

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

.publication-stat {
  display: flex;
  min-width: 0;
  min-height: 144px;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: #1B1B1B;
}

.publication-stat dd {
  order: -1;
  margin: 0 0 18px;
  color: #f4f7fb;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.publication-stat dt {
  color: #B8B8B8;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}

.publications-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.publications-timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(8, 106, 202, .35);
}

.technical-publications .publication-year {
  position: relative;
  min-width: 0;
  z-index: 1;
  overflow: visible;
}

.publication-year:has(.publication-paper:hover),
.publication-year:has(.publication-paper:focus-visible) {
  z-index: 2;
}

/* Present the newest publication year first while keeping each year grouped. */
.publication-year:nth-child(1) { order: 6; }
.publication-year:nth-child(2) { order: 5; }
.publication-year:nth-child(3) { order: 4; }
.publication-year:nth-child(4) { order: 3; }
.publication-year:nth-child(5) { order: 2; }
.publication-year:nth-child(6) { order: 1; }

.publication-year h3 {
  margin: 0 0 32px;
  color: #086ACA;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.publication-year h3::after {
  content: "";
  position: absolute;
  top: 39px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #086ACA;
}

.publication-year ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.publication-year li {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  color: #F5F7FB;
  background: #1B1B1B;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.publication-paper {
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.publication-paper:hover,
.publication-paper:focus-visible {
  border-color: #086ACA;
  background: #232b34;
  box-shadow: 0 0 0 2px rgba(8, 106, 202, .12);
  outline: none;
}

.publication-paper::after {
  content: attr(data-publication-title);
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 10px);
  width: calc(100% + 64px);
  max-width: min(480px, calc(100vw - 40px));
  padding: 10px 12px;
  border: 1px solid rgba(8, 106, 202, .6);
  border-radius: 8px;
  color: #F5F7FB;
  background: #171717;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease;
}

.publication-paper:hover::after,
.publication-paper:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .technical-publications h2 {
    font-size: 52px;
  }

  .publications-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 16px;
  }

  .publications-timeline::before {
    display: none;
  }

  .publication-year {
    border-top: 1px solid rgba(8, 106, 202, .35);
    padding-top: 14px;
  }

  .publication-year h3::after {
    top: -5px;
  }
}

@media (max-width: 680px) {
  .technical-publications {
    padding: 72px 0 88px;
  }

  .technical-publications-inner {
    padding: 0 20px;
  }

  .technical-publications h2 {
    margin-bottom: 34px;
    font-size: 38px;
  }

  .publications-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 54px;
  }

  .publication-stat {
    min-height: 108px;
    padding: 18px 20px;
  }

  .publication-stat dd {
    margin-bottom: 10px;
    font-size: 22px;
  }

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

  .publication-year h3 {
    margin-bottom: 24px;
  }

  .publication-year li {
    padding: 12px 10px;
    font-size: 12px;
  }

  .publication-paper::after {
    left: 0;
    width: min(360px, calc(100vw - 40px));
    transform: translateY(4px);
  }

  .publication-paper:hover::after,
  .publication-paper:focus-visible::after {
    transform: translateY(0);
  }
}

@media (max-width: 380px) {
  .publications-timeline {
    grid-template-columns: 1fr;
  }
}

.agents-cta {
  padding: 24px 0 120px;
  background: #000;
}

.agents-cta-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.agents-cta-panel {
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  color: #F5F7FB;
  background: #1B1B1B;
}

.agents-cta h2 {
  max-width: 1050px;
  margin: 0 0 28px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.08;
}

.agents-cta p {
  max-width: 1030px;
  margin: 0;
  color: #9bbce0;
  font-size: 19px;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .agents-cta h2 {
    font-size: 48px;
  }
}

@media (max-width: 680px) {
  .agents-cta {
    padding: 0 0 88px;
  }

  .agents-cta-inner {
    padding: 0 20px;
  }

  .agents-cta-panel {
    padding: 36px 24px;
  }

  .agents-cta h2 {
    font-size: 36px;
  }

  .agents-cta p {
    font-size: 16px;
  }
}

.agent-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
}

.agent-demo-panel {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  color: #f5f7fb;
  background: #202020;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .6);
}

.agent-demo-panel h2 {
  margin: 0 44px 8px 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

.agent-demo-selected {
  margin: 0 0 30px;
  color: #086ACA;
  font-size: 16px;
  font-weight: 700;
}

.agent-demo-close {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: #303030;
  font-size: 27px;
  line-height: 1;
}

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

.agent-demo-fields label {
  min-width: 0;
}

.agent-demo-fields input {
  width: 100%;
  height: 68px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
  color: #fff;
  background: #141414;
  font: inherit;
  font-size: 18px;
}

.agent-demo-message {
  grid-column: 1 / -1;
}

.agent-demo-message textarea {
  width: 100%;
  min-height: 112px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
  color: #fff;
  background: #141414;
  font: inherit;
  font-size: 18px;
  line-height: 1.45;
  resize: vertical;
}

.agent-demo-message textarea::placeholder {
  color: #BDBDBD;
}

.agent-demo-message textarea:focus-visible {
  outline: 2px solid #086ACA;
  outline-offset: 3px;
}

.common_contact .wrap .right .flex .button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.contact-form-status {
  width: 100%;
  margin: 4px 0 0;
  color: #bff1db;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-status.is-error {
  color: #ffb6b6;
}

.agent-demo-fields input::placeholder {
  color: #BDBDBD;
}

.agent-demo-fields input:focus-visible,
.agent-demo-close:focus-visible,
.agent-demo-submit:focus-visible,
.agent-demo-check a:focus-visible {
  outline: 2px solid #086ACA;
  outline-offset: 3px;
}

.agent-demo-submit {
  min-width: 210px;
  min-height: 55px;
  margin: 32px 0 22px;
  border-radius: 7px;
  color: #fff;
  background: #086ACA;
  font-size: 18px;
  font-weight: 700;
}

.agent-demo-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.agent-demo-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0;
  color: #D1D1D1;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

.agent-demo-check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: #086ACA;
}

.agent-demo-check a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.agent-demo-status {
  margin: 18px 0 0;
  color: #bff1db;
  font-size: 16px;
  line-height: 1.5;
}

.agent-demo-status.is-error {
  color: #ffb6b6;
}

.agent-demo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .agent-demo-modal {
    padding: 12px;
  }

  .agent-demo-panel {
    max-height: calc(100dvh - 24px);
    padding: 30px 20px;
  }

  .agent-demo-close {
    top: 20px;
    right: 18px;
  }

  .agent-demo-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .agent-demo-fields input {
    height: 56px;
    font-size: 16px;
  }

  .agent-demo-message textarea {
    padding: 16px;
    font-size: 16px;
  }
}
