/* Automation landing */
html[data-landing-theme="automation"] { scrollbar-gutter: stable; }

body.automation-landing {
  --paper: #15111f;
  --ink: #f1eafa;
  --green: #c7a8ff;
  --muted: #bdb1cb;
  --line: #443656;
  --wash: #20172e;
  --aut-violet: #c7a8ff;
  --aut-control-accent: #c793fb;
  --aut-line: #59446e;
  --floating-header-surface: #181123ed;
  --floating-header-border: #604479aa;
  background: radial-gradient(ellipse at 70% 0%, #22162f 0%, transparent 650px), var(--paper);
  color: var(--ink);
}
.automation-landing .site-header,
.automation-landing .site-footer { background: #191222; }
.automation-landing .services-menu-list { background: #22182f; border-color: var(--aut-line); }
.automation-landing .site-header nav .services-menu-list a:is(:hover, :focus-visible, [aria-current="page"]) { background: #39274c; color: #f7eeff; }
.automation-landing :is(a, button, input, summary):focus-visible { outline: 2px solid #e2cbff; outline-offset: 3px; }
.automation-landing [hidden] { display: none !important; }
.automation-landing .eyebrow { margin: 0 0 12px; color: var(--aut-violet); }
.automation-landing h1, .automation-landing h2, .automation-landing h3 { color: var(--ink); }
.automation-landing h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.039em; }
.automation-landing h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -.025em; }
.automation-landing p { line-height: 1.58; }
.automation-landing .aut-section { padding-block: clamp(42px, 6vw, 84px); }
.aut-hero-shell { position: relative; isolation: isolate; }
.aut-hero-shell > .liquid-background { opacity: .56; }
.aut-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  align-items: center;
  gap: clamp(28px, 6vw, 85px);
  padding-block: clamp(34px, 5vw, 72px) clamp(22px, 4vw, 48px);
}
.aut-hero h1 { font-size: clamp(38px, 4.45vw, 67px); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.aut-hero h1 em { display: block; color: var(--aut-violet); font-style: normal; }
.aut-hero .aut-lead { max-width: 48ch; font-size: clamp(16px, 1.58vw, 20px); margin: 17px 0 22px; color: #e1d6eb; }
.aut-primary span { margin-inline-start: 8px; }
.aut-overview {
  --depth-hero-accent: #d9b8ff;
  --depth-hero-shadow: #100719a0;
  min-width: 0;
  position: relative;
  padding: clamp(18px, 3vw, 35px);
  border: 1px solid #6a5088;
  border-radius: 25px;
  background: radial-gradient(ellipse at 100% 0%, #693da962, transparent 65%), linear-gradient(155deg, #251b37ee, #171021f5);
  box-shadow: 0 1px 0 #d7b7ff33 inset, 0 20px 48px #10071990;
}
.aut-overview-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; font-size: 13px; color: #e6d7f2; }
.aut-overview-head span:last-child { color: var(--muted); font-size: 12px; }
.aut-overview-head i { display: inline-block; width: 7px; height: 7px; vertical-align: 1px; border-radius: 50%; margin-right: 6px; background: #d9b8ff; box-shadow: 0 0 11px #bf87ff; }
.aut-overview ol { position: relative; display: grid; gap: 13px; list-style: none; margin: 20px 0 16px; padding: 0; }
.aut-overview ol::before { content: ""; position: absolute; left: 32px; top: 19px; bottom: 20px; width: 1px; background: #b075ef90; }
.aut-overview li { z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #59436f; border-radius: 13px; background: #20162df7; }
.aut-overview li strong, .aut-overview li small { display: block; }
.aut-overview li small { color: #cbb9da; font-size: 12px; line-height: 1.4; margin-top: 2px; }
.aut-node-symbol { flex: 0 0 37px; height: 37px; display: grid; place-items: center; font-size: 19px; color: #d9b8ff; border: 1px solid #79549a; background: #392650; border-radius: 9px; }
.aut-overview-link, .aut-text-link, .aut-estimate-link { color: #e0c6ff; text-decoration: underline; text-underline-offset: .23em; }
.aut-overview-link { font-size: 13px; }
.aut-overview-link:hover, .aut-text-link:hover, .aut-estimate-link:hover { color: #fff; }
.aut-section-intro { max-width: 650px; margin-bottom: clamp(20px, 3.3vw, 39px); }
.aut-section-intro h2 { margin: 0; }
.aut-section-intro > p:last-child { color: var(--muted); margin: 11px 0 0; }

.aut-lab {
  border: 1px solid #654a83;
  border-radius: 23px;
  padding: clamp(16px, 3vw, 32px);
  background: radial-gradient(ellipse at 88% 5%, #42285869, transparent 65%), #21172e;
}
.aut-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.aut-tabs button, .aut-demo-button {
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  border: 1px solid #6f5389;
  background: #30213f;
  border-radius: 10px;
}
.aut-tabs button { padding: 9px 14px; font-size: 14px; }
.aut-tabs button:is(:hover, [aria-selected="true"]), .aut-demo-button:hover {
  background: #533470;
  border-color: #b089d7;
  color: #fff2ff;
}
.aut-scenario + .aut-scenario { margin-top: 24px; }
.aut-lab[data-ready] .aut-scenario { margin: 0; }
.aut-scenario:focus-visible { outline: 2px solid #e2cbff; outline-offset: 5px; border-radius: 5px; }
.aut-scenario-copy { margin-bottom: clamp(14px, 2vw, 22px); }
.aut-scenario-copy h3 { margin: 0 0 6px; }
.aut-scenario-copy p { color: var(--muted); margin: 0; }

.aut-flow {
  --flow-gap: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--flow-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.aut-flow li {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: clamp(11px, 1.45vw, 19px);
  border: 1px solid #5a426f;
  border-radius: 14px;
  background: #1d1529;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.aut-step-tag {
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 7px;
  color: #bde4ff;
  background: #23354b;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
}
.aut-step-tag[data-tone="automation"] { color: #e8c8ff; background: #3d2858; }
.aut-step-tag[data-tone="system"] { color: #c3efd8; background: #243f37; }
.aut-step-tag[data-tone="notification"] { color: #ffdbad; background: #473047; }
.aut-step-tag > span { opacity: .7; }
.aut-flow li > strong { margin-top: 2px; font-size: clamp(14px, 1.45vw, 17px); line-height: 1.28; }
.aut-flow li .aut-step-summary { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.aut-flow li .aut-step-example {
  width: 100%;
  min-block-size: 58px;
  margin: auto 0 0;
  padding: 7px 9px;
  border: 1px solid #77598e;
  border-radius: 8px;
  background: #51366865;
  color: #f4e7ff;
  font-size: 13px;
  line-height: 1.4;
}
.aut-step-example b { color: #e2c5ff; }
.aut-lab[data-ready] .aut-flow li:not([data-phase]) .aut-step-example {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
}
.aut-lab[data-ready] .aut-flow li[data-phase] .aut-step-example { transition: opacity .28s ease, transform .28s ease; }
.aut-flow li[data-phase="running"] {
  border-color: #d0a3ff;
  background-color: #35214c;
  box-shadow: 0 0 19px #ba7df650;
}
.aut-flow li[data-phase="done"] { border-color: #9870bd; background-color: #2a1d3a; }

.aut-flow-link {
  position: absolute;
  top: 50%;
  inset-inline-start: calc(100% + 1px);
  width: var(--flow-gap);
  height: 10px;
  transform: translateY(-50%);
  color: #785598;
  pointer-events: none;
}
.aut-flow-link::before, .aut-flow-link::after {
  content: "";
  position: absolute;
  top: 50%;
}
.aut-flow-link::before {
  inset-inline: 2px 4px;
  height: 1px;
  background: currentColor;
}
.aut-flow-link::after {
  inset-inline-end: 5px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-42%) rotate(45deg);
}
.aut-flow-link > span {
  position: absolute;
  top: calc(50% - 2px);
  inset-inline-start: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f2ddff;
  box-shadow: 0 0 7px 2px #b87cfa;
  opacity: 0;
}
.aut-flow li[data-phase="done"] .aut-flow-link { color: #b282df; }
.aut-flow li[data-phase="running"] .aut-flow-link > span { animation: aut-flow-pulse .45s ease-in-out .35s both; }

@keyframes aut-flow-pulse {
  0% { transform: translateX(0); opacity: 0; }
  20%, 75% { opacity: 1; }
  100% { transform: translateX(calc(var(--flow-gap) - 8px)); opacity: 0; }
}
.aut-lab-controls { margin-top: 21px; }
.aut-demo-button { padding: 9px 13px; font-size: 14px; }
.aut-demo-button[aria-disabled="true"] { cursor: default; }
.aut-demo-button span:first-child { margin-right: 4px; color: #dec1ff; }
.aut-lab-status { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.aut-result-dialog {
  position: fixed;
  inset: 0;
  width: min(510px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(18px, 4vw, 36px);
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  border: 1px solid #8c6bac;
  border-radius: 23px;
  background: radial-gradient(ellipse at 100% 0%, #593b776b, transparent 72%), #241931;
  box-shadow: 0 22px 84px #0b0713b0;
}
.aut-result-dialog::backdrop {
  background: #110b1bb3;
  backdrop-filter: blur(12px);
}
.aut-result-dismiss {
  position: absolute;
  top: 13px;
  right: 13px;
  margin: 0;
}
.aut-result-dismiss button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #8970a2;
  border-radius: 50%;
  background: #3d2a50;
  color: #f3e8ff;
  font-size: 26px;
  line-height: 1;
}
.aut-result-dismiss button:hover { background: #55396c; }
.automation-landing .aut-result-dialog h2 {
  padding-inline-end: 44px;
  font-size: clamp(26px, 4.5vw, 38px);
  text-wrap: balance;
}
.aut-result-dialog h2 > span {
  display: block;
  margin-bottom: 9px;
  color: var(--aut-violet);
  font-size: 14px;
  letter-spacing: 0;
}
.aut-result-dialog h2 > strong { color: var(--aut-violet); white-space: nowrap; }
.aut-result-dialog p { margin: 13px 0 22px; color: var(--muted); font-size: 15px; }
.aut-result-dialog .aut-primary {
  width: 100%;
  min-height: 52px;
  gap: 10px;
  padding: 10px clamp(12px, 3vw, 18px);
  font-size: 14px;
}
@media (prefers-reduced-motion: no-preference) {
  .aut-result-dialog[open] { animation: aut-result-enter 300ms cubic-bezier(.2,.75,.25,1) both; }
  .aut-result-dialog[open]::backdrop { animation: aut-result-backdrop-enter 260ms ease both; }
  @keyframes aut-result-enter {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes aut-result-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 860px) {
  .aut-flow { --flow-gap: 24px; grid-template-columns: minmax(0, 1fr); }
  .aut-flow li { min-block-size: 141px; }
  .aut-flow li .aut-step-example { min-block-size: 37px; }
  .aut-flow-link {
    top: calc(100% + (var(--flow-gap) - 10px) / 2);
    inset-inline-start: calc(50% - var(--flow-gap) / 2);
    transform: rotate(90deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .aut-lab[data-ready] .aut-flow li:not([data-phase]) .aut-step-example { transform: none; }
}

.aut-evidence { background: radial-gradient(ellipse at 12% 34%, #352447ae, transparent 62%), #181122; border-block: 1px solid #3b2a4a; }
.aut-featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.aut-case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 15px; }
.aut-case { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #5b456c; border-radius: 18px; background: #231932; }
.aut-case-body { display: flex; flex-direction: column; align-items: start; flex: 1; padding: clamp(15px, 2.2vw, 25px); }
.aut-case-body h3 { margin: 6px 0 0; }
.aut-case-body p:not(.aut-case-type) { margin: 10px 0; color: var(--muted); }
.aut-case-body .aut-text-link { margin-top: auto; padding-top: 4px; font-size: 14px; }
.aut-case-type { margin: 0; color: #d6b8ff; font-size: 12px; }
.aut-case-body p.aut-case-note { font-size: 12px; }
.aut-case-bot { background: radial-gradient(ellipse at 80% 10%, #683d934f, transparent 85%), #271b37; }
.aut-case-bot .aut-case-body { justify-content: center; padding: clamp(18px, 3vw, 36px); }
.aut-case-bot .aut-case-body .aut-text-link { margin-top: 8px; }
.aut-case-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 0 6px; width: 100%; }
.aut-case-metrics div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; border-top: 1px solid #74558d; padding-top: 8px; }
.aut-case-metrics dd { color: #e0bcff; margin: 0; font-size: clamp(26px, 3.6vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.aut-case-metrics dt { color: var(--muted); font-size: 12px; }
.aut-case-image { display: block; overflow: hidden; aspect-ratio: 2 / 1; background: #1b1327; border-bottom: 1px solid #5b456c; }
.aut-case-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.aut-case-payment .aut-case-image { aspect-ratio: 2.45 / 1; }
.aut-case-payment .aut-case-image img { object-position: center 30%; }
.aut-case-list { margin-top: 22px; }
.aut-case-list a { display: grid; grid-template-columns: minmax(0,.35fr) minmax(0,1fr) auto; align-items: start; gap: 8px 25px; border-top: 1px solid #574265; padding: 13px 2px; text-decoration: none; }
.aut-case-list a strong { color: #eee1ff; }
.aut-case-list a span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.aut-case-list a span:last-child { color: var(--aut-violet); }
.aut-case-list a:hover strong { text-decoration: underline; }

.aut-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px, 3vw, 32px); padding: 0; margin: 0; list-style: none; counter-reset: aut-steps; }
.aut-steps li { counter-increment: aut-steps; padding-top: 13px; border-top: 1px solid #9663c5; }
.aut-steps li::before { content: counter(aut-steps, decimal-leading-zero); display: inline-block; color: #d6adff; font-weight: 650; margin-bottom: 8px; }
.aut-steps h3 { margin: 0; }
.aut-steps p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

.aut-team {
  --team-lead-background: radial-gradient(ellipse 50% 95% at 75% 47%, #4b2c60, #382749a8 52%, transparent 89%), #21172c;
}

.aut-booking { border-top: 1px solid #4e3963; background: radial-gradient(ellipse at 15% 30%, #332140, transparent 64%), #191022; }
.aut-booking-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: clamp(12px, 3vw, 40px); }
.aut-estimate, .aut-form-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(17px, 3vw, 32px); border: 1px solid var(--aut-line); border-radius: 20px; background: #21172d; }
.aut-estimate h3, .aut-form-panel h3 { margin: 0; }
.aut-estimate-fields { display: grid; gap: 12px; margin: 15px 0 20px; }
.aut-estimate-fields label { display: grid; gap: 4px; }
.aut-estimate-fields label > span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.aut-estimate-fields output { font-weight: 650; color: #e7caff; }
.aut-estimate-fields input[type="range"] {
  --aut-track-color: linear-gradient(to right, #d8adff var(--aut-range-fill, 0%), #57446b var(--aut-range-fill, 0%));
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.aut-estimate-fields input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: var(--aut-track-color);
}
.aut-estimate-fields input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: var(--aut-track-color);
}
.aut-estimate-fields input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--aut-control-accent);
}
.aut-estimate-fields input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--aut-control-accent);
}
.aut-estimate-result { display: flex; gap: 8px; align-items: baseline; border-top: 1px solid var(--aut-line); padding-top: 14px; }
.aut-estimate-result output { color: #e1bdff; font-size: clamp(32px, 5vw, 51px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.aut-estimate-result span { color: #e7d9f2; }
.aut-estimate p { margin: 6px 0 14px; color: var(--muted); font-size: 12px; }
.aut-estimate p.aut-estimate-cost {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.45;
}
.aut-estimate-cost strong { color: #e7caff; font-size: 1.1em; white-space: nowrap; }
.aut-estimate-link { margin-top: auto; align-self: start; font-size: 14px; }
.aut-form-panel form:not([hidden]) { display: grid; align-content: start; gap: 10px; margin: 12px 0 0; }
.aut-form-panel form > label { margin: 0; font-size: 13px; }
.aut-form-panel form label input:not([type="checkbox"]) { margin-top: 4px; min-height: 43px; padding: 8px 11px; background: #1a1324; border: 1px solid #6c527e; color: var(--ink); border-radius: 9px; }
.aut-form-panel form label input::placeholder { color: #b7a5c5; }
.aut-form-panel form .aut-primary { justify-content: center; width: 100%; min-height: 45px; padding: 9px 13px; }
.aut-form-panel .call-consent { color: var(--muted); font-size: 12px; align-items: center; }
.aut-form-panel input[type="checkbox"] { accent-color: var(--aut-control-accent); }
.aut-attach-status { margin: 0; color: #e7caff; font-size: 12px; }
.aut-form-panel .call-success { margin-top: 12px; }

@media (max-width: 900px) {
  .aut-hero { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .aut-steps { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 19px; }
}
@media (max-width: 700px) {
  .aut-hero, .aut-featured, .aut-booking-grid { grid-template-columns: minmax(0,1fr); }
  .aut-hero { gap: 21px; padding-top: 28px; }
  .aut-hero h1 { font-size: clamp(33px, 8.3vw, 46px); }
  .aut-hero .aut-lead { margin-bottom: 15px; }
  .aut-case-grid { grid-template-columns: minmax(0,1fr); }
  .aut-case-list a { grid-template-columns: minmax(0,1fr) auto; }
  .aut-case-list a span:nth-child(2) { grid-row: 2; }
  .aut-case-list a span:last-child { grid-column: 2; grid-row: 1; }
}
@media (max-width: 360px) {
  .aut-steps { grid-template-columns: minmax(0,1fr); }
}
