.product-page .site-footer {
  padding-top: 36px;
}

.product-main {
  padding-bottom: 48px;
}

[data-float-reveal] {
  opacity: 0;
  transform: translateY(56px);
  will-change: opacity, transform;
}

[data-float-reveal].is-visible {
  animation: floatRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--float-delay, 0ms);
}

@keyframes floatRevealUp {
  from {
    opacity: 0;
    transform: translateY(56px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-page .section {
  padding-top: 120px;
}

.product-hero {
  min-height: auto;
  padding-top: 24px;
}

.product-hero__shell {
  min-height: auto;
  padding: 72px 72px;
}

.product-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.product-hero__copy {
  display: grid;
  gap: 24px;
  align-content: start;
  justify-items: center;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.product-hero__copy .hero-title,
.product-hero__copy .hero-intro {
  width: 100%;
  margin: 0;
}

.product-hero__copy .hero-title {
  justify-items: center;
  text-align: center;
}

.product-hero__copy h1 {
  max-width: 10ch;
  font-size: 64px;
  letter-spacing: 0;
  text-wrap: balance;
}

.product-hero__copy .hero-intro {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  max-width: 760px;
}

.product-hero__copy .hero-text {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.9;
}

.product-hero__copy .hero-actions,
.product-hero__copy .hero-capabilities {
  justify-content: center;
}

.product-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.product-glance-card,
.product-stat-card,
.product-card,
.product-step-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(12, 24, 44, 0.06);
  background:
    radial-gradient(circle at top left, rgba(23, 104, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  box-shadow: var(--shadow-sm);
}

.product-glance-card {
  display: grid;
  gap: 18px;
  padding: 32px;
  min-height: auto;
}

.product-glance-card__label,
.product-card__tag,
.product-step-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 99, 230, 0.08);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-glance-card h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.04;
  letter-spacing: 0;
}

.product-glance-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
}

.product-glance-list,
.product-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-glance-list {
  display: grid;
  gap: 12px;
}

.product-glance-list li,
.product-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
}

.product-glance-list li::before,
.product-card li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--primary));
  box-shadow: 0 0 12px rgba(105, 227, 255, 0.34);
}

.product-stat-grid,
.product-card-grid,
.product-step-grid {
  display: grid;
  gap: 20px;
}

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

.product-stat-card {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 24px;
}

.product-stat-card strong {
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: 0;
}

.product-stat-card span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

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

.product-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card,
.product-step-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
}

.product-card h3,
.product-step-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: 0;
}

.product-card p,
.product-step-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.product-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-section-note {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(23, 104, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  border: 1px solid rgba(12, 24, 44, 0.06);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.product-page .section-shell {
  padding: 42px;
}

.product-page .section-shell:not(.section-shell--dark) {
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.product-page .section-intro {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 14px;
  margin-bottom: 30px;
}

.product-page .section-intro > div {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.product-page .section-intro h2 {
  margin: 0;
  max-width: 100%;
}

.product-page .section-intro p {
  max-width: none;
  white-space: nowrap;
}

.product-link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.product-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 24, 44, 0.08);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(12, 31, 59, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.product-link-chip:hover,
.product-link-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(10, 99, 230, 0.22);
  background: rgba(255, 255, 255, 0.98);
  color: var(--primary);
  box-shadow: 0 16px 30px rgba(14, 37, 69, 0.12);
  outline: none;
}

.section--cloud-browser-cta .cta-copy h2,
.section--product-cta-break .cta-copy h2 {
  line-height: 1.26;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__shell {
  padding: 148px 0;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
  overflow: visible;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__shell::before,
:is(.product-page--rpa, .product-page--rpa-template) .product-hero__shell::after {
  content: none;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__layout {
  max-width: 1240px;
  grid-template-columns: minmax(0, 580px) 620px;
  gap: 40px;
  align-items: center;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy {
  justify-items: start;
  text-align: left;
  max-width: 580px;
  margin: 0;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-title,
:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-intro {
  justify-items: start;
  text-align: left;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-intro {
  max-width: 580px;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy h1 {
  /* max-width: 9.8ch; */
  font-size: 56px;
  line-height: 1.16;
  letter-spacing: 0;
  max-width: 100%;
  text-wrap: wrap;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy h1 span {
  display: block;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy h1 span + span {
  margin-top: 18px;
}

.product-page--rpa .product-hero__copy h1 span:first-child {
  white-space: nowrap;
}

.product-page--rpa-template .product-hero__copy h1 {
  max-width: 100%;
  font-size: 58px;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-text {
  max-width: none;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-actions,
:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-capabilities {
  justify-content: flex-start;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-actions {
  margin-top: 12px;
}

:is(.product-page--rpa, .product-page--rpa-template) .product-hero__panel {
  grid-template-columns: 1fr;
}

.rpa-hero-cluster {
  display: grid;
  gap: 14px;
}

.rpa-hero-lead,
.rpa-hero-metric {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(12, 24, 44, 0.07);
  background:
    radial-gradient(circle at top left, rgba(10, 99, 230, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  box-shadow: 0 20px 42px rgba(14, 37, 69, 0.09);
}

.rpa-hero-lead {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.rpa-hero-lead::after {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 99, 230, 0.16), transparent 68%);
  pointer-events: none;
}

.rpa-hero-lead__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rpa-hero-lead__tag,
.rpa-hero-lead__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rpa-hero-lead__tag {
  background: rgba(10, 99, 230, 0.08);
  color: var(--primary);
}

.rpa-hero-lead__badge {
  position: relative;
  padding-left: 28px;
  color: #0d4ec7;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 24, 44, 0.06);
}

.rpa-hero-lead__badge::before {
  content: '';
  position: absolute;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a63e6;
  box-shadow: 0 0 0 6px rgba(10, 99, 230, 0.12);
}

.rpa-hero-lead__intro {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.rpa-hero-lead__intro h2 {
  margin: 0;
  /* max-width: 12ch; */
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

.rpa-hero-lead__intro p {
  max-width: none;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.68;
}

.rpa-hero-lead__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.rpa-hero-lead__list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.68;
}

.rpa-hero-lead__list li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--primary));
  box-shadow: 0 0 0 6px rgba(10, 99, 230, 0.08);
}

.rpa-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rpa-hero-metric {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
}

.rpa-hero-metric strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.rpa-hero-metric span {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.section-shell--dark .product-card,
.section-shell--dark .product-step-card,
.section-shell--dark .product-glance-card,
.section-shell--dark .product-stat-card {
  background:
    radial-gradient(circle at top left, rgba(79, 143, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-shell--dark .product-glance-card__label,
.section-shell--dark .product-card__tag,
.section-shell--dark .product-step-card__index {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.section-shell--dark .product-card h3,
.section-shell--dark .product-step-card h3,
.section-shell--dark .product-stat-card strong {
  color: rgba(255, 255, 255, 0.94);
}

.section-shell--dark .product-card p,
.section-shell--dark .product-step-card p,
.section-shell--dark .product-stat-card span,
.section-shell--dark .product-card li {
  color: rgba(255, 255, 255, 0.72);
}

.section-shell--dark .product-card li::before {
  box-shadow: 0 0 12px rgba(105, 227, 255, 0.25);
}

@media (max-width: 1120px) {
  .product-hero__panel,
  .product-card-grid--4 {
    grid-template-columns: 1fr;
  }

  .product-card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero__copy .hero-text {
    max-width: none;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__shell {
    padding: 44px 32px;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy {
    max-width: none;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-text {
    max-width: 40ch;
  }
}

@media (max-width: 920px) {
  .product-hero__shell {
    padding: 48px 28px;
  }

  .product-stat-grid,
  .product-card-grid--2,
  .product-card-grid--3,
  .product-card-grid--4,
  .product-step-grid {
    grid-template-columns: 1fr;
  }

  .product-glance-card,
  .product-stat-card,
  .product-card,
  .product-step-card {
    min-height: auto;
  }

  .product-page .section-shell {
    padding: 28px 22px;
  }

  .product-page .section-intro {
    gap: 12px;
    margin-bottom: 24px;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy,
  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-title,
  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-intro {
    justify-items: start;
    text-align: left;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy h1 {
    max-width: 9ch;
    font-size: 54px;
  }

  .product-page--rpa-template .product-hero__copy h1 {
    max-width: 100%;
    font-size: 46px;
    line-height: 1.02;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-actions,
  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-capabilities {
    justify-content: flex-start;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy,
  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-title,
  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-intro {
    justify-items: center;
    text-align: center;
  }

  .product-page .section-intro p {
    white-space: normal;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-text {
    max-width: 40ch;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-actions,
  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy .hero-capabilities {
    justify-content: center;
  }

  .rpa-hero-lead {
    padding: 24px;
  }

  .rpa-hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-hero__shell {
    padding: 40px 20px;
    border-radius: 30px;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__shell {
    padding-inline: 0;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy {
    padding-inline: 20px;
  }

  .product-hero__copy h1 {
    max-width: 11ch;
    font-size: 42px;
  }

  .product-glance-card,
  .product-card,
  .product-step-card,
  .product-stat-card {
    padding: 20px;
    border-radius: 24px;
  }

  .product-glance-card h2,
  .product-card h3,
  .product-step-card h3 {
    font-size: 22px;
  }

  .product-link-cluster {
    display: grid;
  }

  :is(.product-page--rpa, .product-page--rpa-template) .product-hero__copy h1 {
    max-width: 9ch;
    font-size: 42px;
  }

  .product-page--rpa .product-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 9vw, 46px);
    line-height: 1.18;
    text-wrap: balance;
  }

  .product-page--rpa-template .product-hero__copy h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
  }

  .rpa-hero-lead__intro h2 {
    max-width: none;
    font-size: 28px;
  }
}
