.ai-automation-page {
  --ai: #16d9c8;
  --ai2: #70f1e4;
  --ai-dark: #071a1d;
  --ai-ink: #0a2025;
  --ai-soft: #effdfb;
    --shopify-dark: #5f8f18;
    --shopify-deep: #355d0d;
    --shopify-light: #c9e99a;
    --shopify-pale: #f4faea;
    --shopify-ink: #0b1507;
    --ai-rgb: 235, 246, 245;
    --shopify-dark-rgb: 95, 143, 24;
}

.ai-automation-page .pulse-dot {
    background: var(--ai-accent) !important;
        box-shadow: 0 0 0 0 rgb(15 192 178);
}

.ai-automation-page .eyebrow{
    color:black !important;
}
.ai-automation-page .text-link{
        color: var(--ai-accent) !important;
}

.ai-automation-page .mega-arrow{
            color: var(--ai-accent) !important;
}

/*.ai-automation-page .icon-shell, .ai-automation-page .service-icon, .ai-automation-page .wd-benefit-icon, .ai-automation-page .wd-custom-icon, .ai-automation-page .related-service-icon, .ai-automation-page .process-card-icon{*/
    
/*    color: var(--ai-deep) !important;*/
/*    background: rgba(var(--ai-rgb), .13) !important;*/
/*    border-color: rgba(var(--ai-rgb), .22) !important;*/
/*}*/

.ai-automation-page .mega-cta{
    background: linear-gradient(145deg, #098d84, #15d9c8);

}

.ai-automation-page .section {
  padding: 120px 0;
}
.ai-automation-page .section-kicker {
  color: #078e84;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.ai-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 120px;
  background: linear-gradient(180deg, #f8fffe, #effbf9);
}
.ai-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(8, 120, 113, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(8, 120, 113, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.ai-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}
.ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(8, 145, 136, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #087e76;
  font-weight: 750;
}
.ai-eyebrow svg {
  width: 18px;
}
.ai-hero h1 {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 25px 0;
  color: #0b2529;
  max-width: 900px;
}
.ai-hero h1 em {
  font-style: normal;
  color: #079f94;
}
.ai-hero-copy > p {
  font-size: 1.16rem;
  line-height: 1.8;
  color: #496266;
  max-width: 680px;
}
.ai-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0;
}
.ai-automation-page .button-primary {
  background: #0b9f95;
  border-color: #0b9f95;
  color: #fff;
}
.ai-automation-page .button-primary:hover {
  background: #087e76;
  border-color: #087e76;
}
.ai-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #496266;
  font-size: 0.94rem;
}
.ai-proof-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-proof-row svg {
  width: 18px;
  color: #079f94;
}
.ai-orchestration {
  min-height: 560px;
  position: relative;
  border: 1px solid rgba(8, 145, 136, 0.15);
  border-radius: 38px;
  background: #082126;
  box-shadow: 0 40px 100px rgba(7, 63, 68, 0.2);
  overflow: hidden;
}
.ai-orchestration:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at center,
      rgba(22, 217, 200, 0.18),
      transparent 38%
    ),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
}
.ai-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle, #173f43, #0b292d);
  border: 1px solid rgba(112, 241, 228, 0.4);
  box-shadow: 0 0 70px rgba(22, 217, 200, 0.24);
  color: #fff;
}
.ai-core svg {
  width: 42px;
  height: 42px;
  color: var(--ai);
  margin-bottom: 12px;
}
.ai-core small {
  color: #9ec8c5;
  margin-top: 5px;
}
.ai-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(112, 241, 228, 0.18);
  border-radius: 50%;
}
.ai-orbit-one {
  width: 340px;
  height: 340px;
}
.ai-orbit-two {
  width: 500px;
  height: 500px;
}
.ai-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border-radius: 17px;
  background: rgba(15, 54, 59, 0.92);
  border: 1px solid rgba(112, 241, 228, 0.16);
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}
.ai-node svg {
  color: var(--ai);
  width: 23px;
}
.ai-node small {
  display: block;
  color: #8fb9b6;
  margin-top: 3px;
}
.node-leads {
  left: 35px;
  top: 82px;
}
.node-email {
  right: 30px;
  top: 70px;
}
.node-data {
  left: 30px;
  bottom: 74px;
}
.node-support {
  right: 25px;
  bottom: 68px;
}
.ai-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.ai-connections path {
  fill: none;
  stroke: #16d9c8;
  stroke-width: 2;
  stroke-dasharray: 8 10;
  opacity: 0.5;
  animation: aiDash 9s linear infinite;
}
@keyframes aiDash {
  to {
    stroke-dashoffset: -180;
  }
}
.ai-impact-strip {
  border-block: 1px solid rgba(8, 120, 113, 0.12);
  background: #fff;
}
.ai-impact-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ai-impact-strip span {
  padding: 28px;
  border-right: 1px solid rgba(8, 120, 113, 0.1);
}
.ai-impact-strip span:last-child {
  border-right: 0;
}
.ai-impact-strip b,
.ai-impact-strip small {
  display: block;
}
.ai-impact-strip b {
  color: #0b2529;
}
.ai-impact-strip small {
  color: #61777a;
  margin-top: 6px;
  line-height: 1.5;
}
.ai-estimator {
  background: #fff;
}
.ai-estimator-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  align-items: start;
}
.ai-estimator-intro {
  position: sticky;
  top: 130px;
}
.ai-estimator-intro h2,
.ai-section-heading h2,
.ai-agents-copy h2,
.ai-governance-copy h2,
.ai-faq-copy h2 {
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #0b2529;
  margin: 18px 0;
}
.ai-estimator-intro p,
.ai-section-heading p,
.ai-agents-copy > p,
.ai-governance-copy p,
.ai-faq-copy p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #607679;
}
.ai-estimator-notes {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}
.ai-estimator-notes span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2d4a4e;
}
.ai-estimator-notes svg {
  color: #079f94;
  width: 19px;
}
.ai-calculator {
  border: 1px solid rgba(8, 120, 113, 0.14);
  border-radius: 28px;
  background: #f9fffe;
  padding: 34px;
  box-shadow: 0 25px 70px rgba(9, 92, 88, 0.09);
}
.ai-calc-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  color: #087e76;
  font-weight: 800;
}
.ai-calc-head > div {
  height: 5px;
  flex: 1;
  background: #dcefed;
  border-radius: 99px;
  overflow: hidden;
}
.ai-calc-head i {
  display: block;
  width: 25%;
  height: 100%;
  background: #0b9f95;
  transition: width 0.35s ease;
}
.ai-step {
  display: none;
}
.ai-step.active {
  display: block;
  animation: aiIn 0.35s ease;
}
@keyframes aiIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.ai-step h3 {
  font-size: 1.75rem;
  color: #0b2529;
  margin: 0 0 24px;
}
.ai-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}
.ai-choice-grid button,
.ai-scale-options button,
.ai-feature-list button,
.ai-level-options button {
  font: inherit;
  text-align: left;
  border: 1px solid #d4e8e5;
  background: #fff;
  border-radius: 16px;
  color: #24464a;
  cursor: pointer;
  transition: 0.2s;
}
.ai-choice-grid button {
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}
.ai-choice-grid button svg {
  grid-row: 1/3;
  width: 24px;
  color: #079f94;
}
.ai-choice-grid small {
  margin-top: 4px;
  color: #6b8184;
}
.ai-choice-grid button.is-selected,
.ai-scale-options button.is-selected,
.ai-feature-list button.is-selected,
.ai-level-options button.is-selected {
  border-color: #0b9f95;
  background: #effcf9;
  box-shadow: 0 0 0 3px rgba(11, 159, 149, 0.1);
}
.ai-scale-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ai-scale-options button {
  padding: 22px 15px;
  text-align: center;
}
.ai-scale-options b,
.ai-scale-options small {
  display: block;
}
.ai-scale-options b {
  font-size: 1.5rem;
  color: #0b2529;
}
.ai-scale-options small {
  margin-top: 7px;
  color: #6b8184;
}
.ai-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ai-feature-list button {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-feature-list svg {
  width: 20px;
  color: #079f94;
}
.ai-level-options {
  display: grid;
  gap: 12px;
}
.ai-level-options button {
  padding: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
}
.ai-level-options button span {
  grid-row: 1/3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f7f4;
  color: #087e76;
  font-weight: 800;
}
.ai-level-options small {
  color: #6b8184;
}
.ai-calc-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}
.ai-error {
  min-height: 24px;
  color: #c2414a;
  margin: 10px 0;
}
.ai-result {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: #0a252a;
  color: #fff;
}
.ai-result > div {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.ai-result strong {
  font-size: 1.65rem;
  color: #70f1e4;
}
.ai-result dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.ai-result dl span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}
.ai-result dt {
  font-size: 0.75rem;
  color: #8fb9b6;
}
.ai-result dd {
  margin: 4px 0 0;
  font-weight: 700;
}
.ai-result .button {
  width: 100%;
  justify-content: center;
}
.ai-workflow-story {
  background: #071a1d;
  color: #fff;
}
.ai-section-heading {
  max-width: 850px;
  margin-bottom: 58px;
}
.ai-section-heading.centered {
  text-align: center;
  margin-inline: auto;
}
.ai-workflow-story .ai-section-heading h2,
.ai-integration-map .ai-section-heading h2 {
  color: #fff;
}
.ai-workflow-story .section-kicker,
.ai-integration-map .section-kicker {
  color: #70f1e4;
}
.ai-flow-canvas {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.ai-flow-canvas article {
  min-height: 235px;
  padding: 25px;
  border-radius: 22px;
  background: #0d292d;
  border: 1px solid rgba(112, 241, 228, 0.12);
}
.ai-flow-canvas article span {
  color: #70f1e4;
  font-weight: 800;
}
.ai-flow-canvas article svg {
  display: block;
  width: 29px;
  height: 29px;
  color: #16d9c8;
  margin: 30px 0 18px;
}
.ai-flow-canvas article h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.ai-flow-canvas article p {
  color: #9abfbc;
  line-height: 1.65;
}
.ai-flow-canvas > svg {
  color: #3e7472;
}
.ai-agents {
  background: #f4fbfa;
}
.ai-agents-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-agent-console {
  border-radius: 28px;
  overflow: hidden;
  background: #082126;
  color: #fff;
  box-shadow: 0 35px 90px rgba(4, 50, 54, 0.2);
}
.ai-console-top {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-console-top b {
  font-size: 0.76rem;
  color: #70f1e4;
}
.ai-console-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 430px;
}
.ai-console-body aside {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.ai-console-body aside svg {
  width: 20px;
  color: #72a4a1;
}
.ai-console-body main {
  padding: 25px;
}
.ai-console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ai-console-metrics article {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 13px;
}
.ai-console-metrics small,
.ai-console-metrics strong,
.ai-console-metrics span {
  display: block;
}
.ai-console-metrics small {
  color: #8fb9b6;
}
.ai-console-metrics strong {
  font-size: 1.35rem;
  margin: 8px 0;
}
.ai-console-metrics span {
  color: #70f1e4;
  font-size: 0.78rem;
}
.ai-console-feed {
  margin-top: 25px;
  padding: 20px;
  background: #0d2b30;
  border-radius: 15px;
}
.ai-console-feed > strong {
  display: block;
  margin-bottom: 14px;
}
.ai-console-feed span {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #bfd8d6;
}
.ai-console-feed i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16d9c8;
  margin-right: 10px;
}
.ai-console-feed b {
  margin-left: auto;
  color: #7ba5a2;
  font-size: 0.75rem;
}
.ai-agent-roles {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.ai-agent-roles article {
  display: flex;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid #d5e7e4;
}
.ai-agent-roles svg {
  flex: 0 0 auto;
  width: 24px;
  color: #079f94;
}
.ai-agent-roles h3 {
  margin: 0 0 5px;
  color: #0b2529;
}
.ai-agent-roles p {
  margin: 0;
  color: #647a7d;
}
.ai-use-cases {
  background: #fff;
}
.ai-use-case-list {
  border-top: 1px solid #dbeae8;
}
.ai-use-case-list article {
  display: grid;
  grid-template-columns: 180px 1fr 1.3fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid #dbeae8;
}
.ai-use-case-list article > span {
  color: #078e84;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ai-use-case-list h3 {
  font-size: 1.35rem;
  color: #0b2529;
  margin: 0;
}
.ai-use-case-list p {
  color: #657b7e;
  line-height: 1.6;
}
.ai-use-case-list b {
  font-size: 0.82rem;
  color: #496568;
}
.ai-integration-map {
  background: #071a1d;
  color: #fff;
  overflow: hidden;
}
.ai-map {
  position: relative;
  height: 620px;
  max-width: 1000px;
  margin: auto;
}
.ai-map:before,
.ai-map:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(112, 241, 228, 0.15);
  border-radius: 50%;
}
.ai-map:before {
  width: 380px;
  height: 380px;
}
.ai-map:after {
  width: 590px;
  height: 590px;
}
.ai-map-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #103136;
  border: 1px solid rgba(112, 241, 228, 0.35);
  box-shadow: 0 0 80px rgba(22, 217, 200, 0.18);
}
.ai-map-core svg {
  width: 40px;
  color: #16d9c8;
  margin: 0 auto 12px;
}
.ai-map > span {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  background: #0e2c31;
  border: 1px solid rgba(112, 241, 228, 0.14);
  border-radius: 13px;
}
.ai-map > span svg {
  width: 19px;
  color: #16d9c8;
}
.ai-map > span:nth-of-type(1) {
  left: 8%;
  top: 16%;
}
.ai-map > span:nth-of-type(2) {
  left: 40%;
  top: 5%;
}
.ai-map > span:nth-of-type(3) {
  right: 8%;
  top: 17%;
}
.ai-map > span:nth-of-type(4) {
  right: 2%;
  top: 47%;
}
.ai-map > span:nth-of-type(5) {
  right: 10%;
  bottom: 14%;
}
.ai-map > span:nth-of-type(6) {
  left: 40%;
  bottom: 5%;
}
.ai-map > span:nth-of-type(7) {
  left: 7%;
  bottom: 14%;
}
.ai-map > span:nth-of-type(8) {
  left: 2%;
  top: 47%;
}
.ai-governance {
  background: #f6fcfb;
}
.ai-governance-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.ai-governance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ai-governance-grid article {
  padding: 27px;
  border: 1px solid #d6e9e6;
  border-radius: 19px;
  background: #fff;
}
.ai-governance-grid svg {
  width: 26px;
  color: #079f94;
}
.ai-governance-grid h3 {
  color: #0b2529;
}
.ai-governance-grid p {
  color: #657b7e;
  line-height: 1.65;
}
.ai-faq {
  background: #fff;
}
.ai-faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}
.ai-faq-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}
.ai-faq-copy .button {
  margin-top: 20px;
}
.ai-faq-list details {
  border-bottom: 1px solid #dbeae8;
}
.ai-faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-weight: 750;
  color: #153438;
  cursor: pointer;
}
.ai-faq-list summary svg {
  width: 20px;
  color: #079f94;
}
.ai-faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.ai-faq-list p {
  padding: 0 40px 23px 0;
  color: #62787b;
  line-height: 1.75;
}
.ai-related {
  background: #f5fbfa;
}
.ai-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ai-related-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 25px;
  border: 1px solid #d6e9e6;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.ai-related-grid > a > svg {
  width: 25px;
  color: #079f94;
}
.ai-related-grid h3 {
  margin: 5px 0;
  color: #0b2529;
}
.ai-related-grid p {
  margin: 0;
  color: #657b7e;
}
.ai-related-grid small {
  color: #078e84;
}
.ai-related-grid b svg {
  width: 18px;
}
.ai-final {
  background: #fff;
}
.ai-final-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 35px;
  border-radius: 32px;
  background: #082126;
  color: #fff;
}
.ai-final-card:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(22, 217, 200, 0.12);
  filter: blur(5px);
  left: 50%;
  top: -360px;
  transform: translateX(-50%);
}
.ai-final-card > * {
  position: relative;
}
.ai-final-symbol {
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #10383d;
  border: 1px solid rgba(112, 241, 228, 0.28);
}
.ai-final-symbol svg {
  width: 38px;
  color: #16d9c8;
}
.ai-final-card h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 900px;
  margin: 18px auto;
}
.ai-final-card p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #a9cac7;
  font-size: 1.08rem;
  line-height: 1.75;
}
.ai-final-card > div:last-child {
  display: flex;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
}
.ai-mobile-cta {
  display: none;
}
[data-theme="dark"] .ai-hero,
[data-theme="dark"] .ai-estimator,
[data-theme="dark"] .ai-use-cases,
[data-theme="dark"] .ai-faq,
[data-theme="dark"] .ai-final {
  background: #07171a;
}
[data-theme="dark"] .ai-hero h1,
[data-theme="dark"] .ai-estimator h2,
[data-theme="dark"] .ai-step h3,
[data-theme="dark"] .ai-agents-copy h2,
[data-theme="dark"] .ai-agent-roles h3,
[data-theme="dark"] .ai-section-heading h2,
[data-theme="dark"] .ai-governance-copy h2,
[data-theme="dark"] .ai-faq-copy h2,
[data-theme="dark"] .ai-related-grid h3 {
  color: #eefcf9;
}
[data-theme="dark"] .ai-hero-copy > p,
[data-theme="dark"] .ai-estimator-intro p,
[data-theme="dark"] .ai-agents-copy > p,
[data-theme="dark"] .ai-governance-copy p,
[data-theme="dark"] .ai-faq-copy p {
  color: #a7c3c0;
}
[data-theme="dark"] .ai-impact-strip,
[data-theme="dark"] .ai-calculator,
[data-theme="dark"] .ai-governance,
[data-theme="dark"] .ai-related,
[data-theme="dark"] .ai-agents {
  background: #0a2024;
}
[data-theme="dark"] .ai-choice-grid button,
[data-theme="dark"] .ai-scale-options button,
[data-theme="dark"] .ai-feature-list button,
[data-theme="dark"] .ai-level-options button,
[data-theme="dark"] .ai-governance-grid article,
[data-theme="dark"] .ai-related-grid > a {
  background: #0e292d;
  border-color: #244348;
  color: #d8ecea;
}
@media (max-width: 1100px) {
  .ai-hero-layout,
  .ai-estimator-layout,
  .ai-agents-layout,
  .ai-governance-layout,
  .ai-faq-layout {
    grid-template-columns: 1fr;
  }
  .ai-estimator-intro,
  .ai-faq-copy {
    position: static;
  }
  .ai-flow-canvas {
    grid-template-columns: 1fr;
  }
  .ai-flow-canvas > svg {
    transform: rotate(90deg);
    justify-self: center;
  }
  .ai-use-case-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ai-related-grid {
    grid-template-columns: 1fr;
  }
  .ai-map {
    transform: scale(0.9);
    transform-origin: center;
  }
  .ai-impact-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-impact-strip span:nth-child(2) {
    border-right: 0;
  }
}
@media (max-width: 700px) {
  .ai-automation-page .section {
    padding: 78px 0;
  }
  .ai-hero {
    padding: 120px 0 80px;
  }
  .ai-hero-layout {
    gap: 45px;
  }
  .ai-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }
  .ai-orchestration {
    min-height: 480px;
  }
  .ai-core {
    width: 145px;
    height: 145px;
  }
  .ai-orbit-one {
    width: 260px;
    height: 260px;
  }
  .ai-orbit-two {
    width: 390px;
    height: 390px;
  }
  .ai-node {
    padding: 10px;
    font-size: 0.78rem;
  }
  .node-leads {
    left: 10px;
  }
  .node-email {
    right: 8px;
  }
  .node-data {
    left: 8px;
  }
  .node-support {
    right: 6px;
  }
  .ai-impact-strip .container {
    grid-template-columns: 1fr;
  }
  .ai-impact-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 120, 113, 0.1);
  }
  .ai-calculator {
    padding: 20px;
  }
  .ai-choice-grid,
  .ai-feature-list,
  .ai-scale-options,
  .ai-governance-grid,
  .ai-console-metrics {
    grid-template-columns: 1fr;
  }
  .ai-result dl {
    grid-template-columns: 1fr;
  }
  .ai-map {
    height: 520px;
    transform: scale(0.72);
    margin-inline: -80px;
  }
  .ai-agent-console {
    border-radius: 20px;
  }
  .ai-console-body {
    grid-template-columns: 45px 1fr;
  }
  .ai-console-body main {
    padding: 14px;
  }
  .ai-related {
    padding-bottom: 110px !important;
  }
  .ai-mobile-cta {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 60;
    transform: translateY(130%);
    transition: 0.3s;
  }
  .ai-mobile-cta.is-visible {
    transform: none;
  }
  .ai-mobile-cta button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 17px;
    border: 0;
    border-radius: 16px;
    background: #0b9f95;
    color: #fff;
    box-shadow: 0 15px 45px rgba(8, 126, 118, 0.3);
  }
  .ai-mobile-cta small,
  .ai-mobile-cta b {
    display: block;
    text-align: left;
  }
  .ai-final-card {
    padding: 65px 22px;
  }
}

/* =========================================================
   AI AUTOMATION — FINAL CLEAN PREMIUM POLISH v2.0
   Teal-only accents + improved vertical rhythm
========================================================= */

.ai-automation-page {
  --ai-accent: #0aa99d;
  --ai-accent-strong: #078d84;
  --ai-accent-bright: #16d9c8;
  --ai-accent-soft: rgba(10, 169, 157, 0.1);
  --ai-accent-border: rgba(10, 169, 157, 0.24);
  --ai-accent-shadow: rgba(10, 169, 157, 0.22);
}

/* Consistent spacing between all major AI page sections */
.ai-automation-page main > section.section {
  padding-top: 136px;
  padding-bottom: 136px;
}

.ai-automation-page .ai-estimator,
.ai-automation-page .ai-workflow-story,
.ai-automation-page .ai-agents,
.ai-automation-page .ai-use-cases,
.ai-automation-page .ai-integration-map,
.ai-automation-page .ai-governance,
.ai-automation-page .ai-faq,
.ai-automation-page .ai-related,
.ai-automation-page .ai-final {
  scroll-margin-top: 105px;
}

.ai-automation-page .ai-section-heading,
.ai-automation-page .ai-estimator-intro,
.ai-automation-page .ai-agents-copy,
.ai-automation-page .ai-governance-copy,
.ai-automation-page .ai-faq-copy {
  margin-bottom: 56px;
}

.ai-automation-page .ai-section-heading.centered {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 72px;
  text-align: center;
}

.ai-automation-page .ai-section-heading > p {
  max-width: 760px;
  margin-top: 20px;
}

.ai-automation-page .ai-section-heading.centered > p {
  margin-inline: auto;
}

/* Teal-only section kickers — override inherited indigo styles */
.ai-automation-page .section-kicker,
.ai-automation-page main .section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 12px;
  border: 1px solid var(--ai-accent-border);
  border-radius: 999px;
  background: var(--ai-accent-soft);
  color: var(--ai-accent-strong) !important;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  box-shadow: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.ai-automation-page .ai-final-card .section-kicker,
[data-theme="dark"] .ai-automation-page .section-kicker {
  color: #70f1e4 !important;
  background: rgba(22, 217, 200, 0.1);
  border-color: rgba(112, 241, 228, 0.24);
}

/* Teal-only page buttons. Modal keeps the global design. */
.ai-automation-page main .button-primary,
.ai-automation-page .site-header .button-primary,
.ai-automation-page .mobile-menu .button-primary {
  border-color: var(--ai-accent) !important;
  background: var(--ai-accent) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(10, 169, 157, 0.22) !important;
}

.ai-automation-page main .button-primary:hover,
.ai-automation-page main .button-primary:focus-visible,
.ai-automation-page .site-header .button-primary:hover,
.ai-automation-page .mobile-menu .button-primary:hover {
  border-color: var(--ai-accent-strong) !important;
  background: var(--ai-accent-strong) !important;
  background-image: none !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7, 141, 132, 0.28) !important;
}

.ai-automation-page main .button-secondary {
  border-color: var(--ai-accent-border) !important;
  background: rgba(255, 255, 255, 0.76) !important;
  background-image: none !important;
  color: #0b625c !important;
  box-shadow: none !important;
}

.ai-automation-page main .button-secondary:hover,
.ai-automation-page main .button-secondary:focus-visible {
  border-color: var(--ai-accent) !important;
  background: var(--ai-accent-soft) !important;
  color: var(--ai-accent-strong) !important;
}

[data-theme="dark"] .ai-automation-page main .button-secondary {
  background: rgba(12, 45, 49, 0.82) !important;
  border-color: rgba(112, 241, 228, 0.22) !important;
  color: #dffbf7 !important;
}

/* Estimator: remove inherited purple/indigo selections and progress */
.ai-automation-page .ai-progress i,
.ai-automation-page .ai-progress i::before,
.ai-automation-page .ai-progress span,
.ai-automation-page .ai-progress b,
.ai-automation-page .ai-range-fill,
.ai-automation-page input[type="range"]::-webkit-slider-thumb,
.ai-automation-page input[type="range"]::-moz-range-thumb {
  background: var(--ai-accent) !important;
  background-image: none !important;
  border-color: var(--ai-accent) !important;
  box-shadow: none !important;
}

.ai-automation-page .ai-choice-grid button.is-selected,
.ai-automation-page .ai-scale-options button.is-selected,
.ai-automation-page .ai-feature-list button.is-selected,
.ai-automation-page .ai-level-options button.is-selected {
  border-color: var(--ai-accent) !important;
  background: rgba(10, 169, 157, 0.09) !important;
  background-image: none !important;
  color: #0a4f4a !important;
  box-shadow: 0 0 0 3px rgba(10, 169, 157, 0.08) !important;
}

.ai-automation-page .ai-choice-grid button.is-selected svg,
.ai-automation-page .ai-scale-options button.is-selected svg,
.ai-automation-page .ai-feature-list button.is-selected svg,
.ai-automation-page .ai-level-options button.is-selected svg {
  color: var(--ai-accent-strong) !important;
  fill: none !important;
}

/* More room inside the principal layouts */
.ai-automation-page .ai-estimator-layout,
.ai-automation-page .ai-agents-layout,
.ai-automation-page .ai-governance-layout,
.ai-automation-page .ai-faq-layout {
  column-gap: 92px;
  row-gap: 64px;
}

.ai-automation-page .ai-calculator {
  padding: 42px;
}

.ai-automation-page .ai-flow-canvas,
.ai-automation-page .ai-agent-console,
.ai-automation-page .ai-use-case-list,
.ai-automation-page .ai-map,
.ai-automation-page .ai-governance-grid,
.ai-automation-page .ai-faq-list,
.ai-automation-page .ai-related-grid {
  margin-top: 22px;
}

.ai-automation-page .ai-use-case-list article {
  padding-top: 34px;
  padding-bottom: 34px;
}

.ai-automation-page .ai-governance-grid,
.ai-automation-page .ai-related-grid {
  gap: 22px;
}

.ai-automation-page .ai-governance-grid article,
.ai-automation-page .ai-related-grid > a {
  padding: 31px;
}

.ai-automation-page .ai-faq-list details {
  padding-inline: 2px;
}

.ai-automation-page .ai-faq-list summary {
  padding-top: 29px;
  padding-bottom: 29px;
}

/* Remove any inherited indigo gradients from AI page icons and decorations */
.ai-automation-page main svg,
.ai-automation-page main [class*="icon"] {
  --service-accent: var(--ai-accent);
}

.ai-automation-page .ai-agent-roles svg,
.ai-automation-page .ai-governance-grid svg,
.ai-automation-page .ai-related-grid > a > svg,
.ai-automation-page .ai-faq-list summary svg,
.ai-automation-page .ai-estimator-notes svg {
  color: var(--ai-accent-strong) !important;
  background: none !important;
  fill: none;
}

/* Clear separation before the ending CTA and footer */
.ai-automation-page .ai-related {
  padding-bottom: 148px !important;
}

.ai-automation-page .ai-final {
  padding-top: 20px !important;
  padding-bottom: 140px !important;
}

.ai-automation-page .ai-final-card {
  padding-top: 104px;
  padding-bottom: 104px;
}

/* Tablet */
@media (max-width: 1100px) {
  .ai-automation-page main > section.section {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .ai-automation-page .ai-section-heading,
  .ai-automation-page .ai-estimator-intro,
  .ai-automation-page .ai-agents-copy,
  .ai-automation-page .ai-governance-copy,
  .ai-automation-page .ai-faq-copy {
    margin-bottom: 44px;
  }

  .ai-automation-page .ai-calculator {
    padding: 32px;
  }

  .ai-automation-page .ai-related {
    padding-bottom: 118px !important;
  }

  .ai-automation-page .ai-final {
    padding-bottom: 110px !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .ai-automation-page main > section.section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .ai-automation-page .ai-section-heading,
  .ai-automation-page .ai-estimator-intro,
  .ai-automation-page .ai-agents-copy,
  .ai-automation-page .ai-governance-copy,
  .ai-automation-page .ai-faq-copy {
    margin-bottom: 34px;
  }

  .ai-automation-page .ai-section-heading.centered {
    margin-bottom: 44px;
  }

  .ai-automation-page .ai-calculator {
    padding: 23px;
  }

  .ai-automation-page .ai-use-case-list article {
    padding-top: 27px;
    padding-bottom: 27px;
  }

  .ai-automation-page .ai-governance-grid article,
  .ai-automation-page .ai-related-grid > a {
    padding: 24px;
  }

  .ai-automation-page .ai-final-card {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .ai-automation-page .ai-related {
    padding-bottom: 112px !important;
  }

  .ai-automation-page .ai-final {
    padding-top: 0 !important;
    padding-bottom: 98px !important;
  }
}
