.db-automation .db-header .db-nav a[aria-current="page"] { color: var(--db-gold-light); }
.db-automation .db-header .db-nav a[aria-current="page"]::after { transform: scaleX(1); }

.db-auto-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 45%, #203e61 0%, transparent 54%),
    radial-gradient(ellipse at 22% 36%, #132237 0%, transparent 50%),
    #08121f;
  border-bottom: 1px solid #d4b47039;
}
.db-auto-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#a8c7fb16 1px, transparent 1px), linear-gradient(90deg, #a8c7fb16 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 75% 53%, #000, transparent 70%);
  pointer-events: none;
}
.db-auto-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  min-height: clamp(465px, 49vw, 670px);
  gap: clamp(26px, 4.7vw, 74px);
  padding-block: clamp(56px, 7vw, 100px) clamp(66px, 8vw, 105px);
}
.db-automation .db-auto-hero h1 {
  margin-block: 19px 23px;
  font-size: clamp(43px, 5.9vw, 88px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.081em;
}
.db-automation main em { color: var(--db-gold-light); font-style: normal; }
.db-automation .db-auto-lead { max-width: 41ch; color: #ccd6e6; font-size: clamp(16px, 1.7vw, 20px); }

.db-auto-stage {
  position: relative;
  perspective: 950px;
  isolation: isolate;
  padding-block: clamp(34px, 5vw, 82px);
}
.db-auto-stage::before,
.db-auto-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 11% 1%;
  transform: rotate(-19deg);
  border: 1px solid #aac9f45e;
  border-radius: 50%;
  pointer-events: none;
}
.db-auto-stage::before { background: radial-gradient(ellipse, #93bae419, transparent 68%); box-shadow: 0 0 38px #b2cefe25; }
.db-auto-stage::after { inset: 6% 9%; transform: rotate(19deg); border-color: #d4b4702d; }
.db-auto-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 1.8vw, 26px);
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.db-auto-track::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 6% auto;
  height: 2px;
  background: linear-gradient(90deg, #789ab34f, #ffe1a0 43%, #83c6f5 49%, #789ab34f 68%);
  background-size: 210% 100%;
  box-shadow: 0 0 12px #93bdff8f;
  animation: db-auto-signal 5s ease-in-out infinite paused;
}
.db-auto-unit {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: clamp(131px, 14vw, 197px);
  min-width: 0;
  gap: 4px;
  padding: clamp(8px, 1.2vw, 19px);
  border: 1px solid #90b0dd66;
  border-top-color: #b2c9efb0;
  border-radius: 11px;
  background: linear-gradient(145deg, #213e5c, #102034 72%);
  box-shadow: 4px 8px 0 #071526, 4px 8px 0 1px #384f69, 0 24px 36px #050d1c9e;
  transform: rotateX(11deg) rotateY(-14deg);
  animation: db-auto-float 6s ease-in-out infinite paused;
}
.db-auto-unit:first-child { animation-delay: -2s; }
.db-auto-unit:last-child { animation-delay: -4s; }
.db-auto-unit-primary {
  border-color: #ffe3a3aa;
  background: linear-gradient(145deg, #504937, #273446 68%);
  box-shadow: 4px 8px 0 #111b2a, 4px 8px 0 1px #706145, 0 0 42px #f8c77c24;
}
.db-auto-unit strong { color: #fff4df; font-size: clamp(14px, 1.7vw, 24px); font-weight: 800; letter-spacing: -.042em; }
.db-auto-unit > span:last-child { color: #c7d8ea; font-size: clamp(10px, 1.04vw, 13px); line-height: 1.25; }
.db-auto-glyph {
  position: relative;
  display: grid;
  width: clamp(30px, 4vw, 53px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 8px;
  color: #cce4ff;
  background: #92bcf41c;
  border: 1px solid #90b0dd4d;
  border-radius: 8px;
}
.db-auto-unit-primary .db-auto-glyph { color: #ffe6af; background: #f3c37125; border-color: #e4bf7755; }
.db-auto-glyph i, .db-auto-glyph i::before, .db-auto-glyph i::after { position: absolute; display: block; }
.db-auto-glyph i { inset: 30% 24%; border: 1px solid currentColor; border-radius: 2px; }
.db-auto-glyph i::before, .db-auto-glyph i::after { content: ""; }
.db-auto-glyph-mail i::before { inset: -1px 16% auto; height: 68%; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.db-auto-glyph-file i { inset: 23% 32%; }
.db-auto-glyph-file i::before { top: 34%; left: 22%; width: 56%; height: 25%; border-block: 1px solid currentColor; }
.db-auto-glyph-clock i { inset: 24%; border-radius: 50%; }
.db-auto-glyph-clock i::before { top: 24%; left: 48%; width: 27%; height: 29%; border: solid currentColor; border-width: 0 0 1px 1px; }
.db-auto-hero-inner .db-motion-toggle { right: 0; }
.db-auto-hero.is-motion-enabled:not(.is-motion-paused) .db-auto-track::before,
.db-auto-hero.is-motion-enabled:not(.is-motion-paused) .db-auto-unit { animation-play-state: running; }
@keyframes db-auto-signal {
  0%, 18% { background-position: 110% 0; }
  72%, 100% { background-position: -15% 0; }
}
@keyframes db-auto-float {
  0%, 100% { transform: translateY(0) rotateX(11deg) rotateY(-14deg); }
  50% { transform: translateY(-10px) rotateX(6deg) rotateY(-9deg); }
}

.db-auto-workflow {
  padding-block: clamp(48px, 7.7vw, 110px);
  background: #f3f6fa;
  color: var(--db-night);
}
.db-auto-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(26px, 7vw, 110px);
  align-items: start;
}
.db-auto-workflow .db-kicker { color: #73591b; }
.db-automation .db-auto-workflow h2 { margin-block: 14px; }
.db-auto-workflow h2 em { color: #70531e; }
.db-auto-workflow header > p:last-child { max-width: 42ch; }
.db-auto-workflow p:not(.db-kicker) { color: #43536a; }
.db-auto-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c7d4e3; }
.db-auto-steps li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid #c7d4e3;
}
.db-auto-steps li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 3px;
  width: 7px;
  height: 7px;
  border: 1px solid #876924;
  transform: rotate(45deg);
}
.db-auto-steps h3 { color: #182c49; }
.db-auto-steps li p { margin-top: 4px; font-size: 15px; }

.db-auto-tools { padding-top: clamp(45px, 6vw, 82px); }
.db-auto-tools-heading { padding-bottom: clamp(19px, 3vw, 38px); }
.db-automation .db-auto-tools h2 { margin-top: 12px; }
.db-auto-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.db-auto-product {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(235px, 23vw, 330px);
  align-items: end;
  overflow: hidden;
  padding: clamp(23px, 3.4vw, 50px);
  background: radial-gradient(ellipse at 68% 43%, #315d88, #10233a 66%, #0d1d2f);
}
.db-auto-product-chronos { background: radial-gradient(ellipse at 68% 43%, #765937, #3e312a 66%, #241e1d); }
.db-auto-product::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg,#08111ce6,transparent 76%);
}
.db-auto-product img {
  position: absolute;
  z-index: -2;
  inset: -6% 0 auto auto;
  width: min(65%, 490px);
  height: 110%;
  object-fit: contain;
  object-position: center;
  opacity: .9;
}
.db-automation .db-auto-product h3 { color: #fff6ea; font-size: clamp(31px, 4vw, 57px); line-height: 1.03; }
.db-automation .db-auto-product p { max-width: 37ch; margin-top: 8px; color: #e4e8ed; }
.db-auto-contact { padding-block: clamp(49px, 7.7vw, 107px); border-bottom: 1px solid var(--db-line); }
.db-auto-contact-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 30px; }
.db-automation .db-auto-contact-inner p { max-width: 56ch; margin-top: 13px; color: #c5d1e3; }
.db-auto-contact-inner .db-actions { margin-top: 0; }

@media (max-width: 825px) {
  .db-auto-hero-inner, .db-auto-workflow-grid { grid-template-columns: minmax(0, 1fr); }
  .db-auto-hero-inner { min-height: 0; gap: 17px; padding-block: 48px 59px; }
  .db-automation .db-auto-hero h1 { font-size: clamp(39px, 9.7vw, 72px); }
  .db-auto-stage { width: min(100%, 610px); margin-inline: auto; }
  .db-auto-unit { min-height: clamp(115px, 23vw, 175px); }
}
@media (max-width: 540px) {
  .db-auto-product-grid { grid-template-columns: minmax(0, 1fr); }
  .db-auto-stage { padding-block: 29px; }
  .db-auto-unit { align-content: center; transform: none; animation: none; }
  .db-auto-track { gap: 8px; }
  .db-auto-unit strong { font-size: clamp(13px, 3.7vw, 17px); }
  .db-auto-unit > span:last-child { font-size: clamp(9px, 2.5vw, 11px); }
}
