.automation-hero {
  position: relative;
  min-height: 780px;
  padding: 113px 0 105px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 20%, rgb(38 115 210 / 26%), transparent 33%),
    radial-gradient(circle at 12% 92%, rgb(91 200 192 / 11%), transparent 28%),
    var(--night);
  color: var(--white);
}

.automation-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 2.8%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2.8%) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.automation-hero > .landing-container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 66px; color: #93a5bb; font-size: 12px; }
.breadcrumbs a { color: #c1cede; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span:last-child { color: #9fc9fb; }
.automation-hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 76px; }
.automation-hero-copy { max-width: 610px; }
.automation-hero-copy h1 { margin: 0 0 24px; font-size: clamp(50px, 5vw, 72px); font-weight: 760; line-height: 1.02; letter-spacing: -.05em; }
.automation-hero-copy > p { max-width: 590px; margin-bottom: 31px; color: #b8c5d6; font-size: 18px; line-height: 1.68; }

.process-board { overflow: hidden; border: 1px solid rgb(255 255 255 / 16%); border-radius: 18px; background: rgb(8 26 43 / 84%); box-shadow: 0 35px 90px rgb(0 0 0 / 28%); backdrop-filter: blur(10px); }
.process-board-head { display: flex; height: 46px; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgb(255 255 255 / 10%); background: rgb(255 255 255 / 4%); }
.process-board-head > span { width: 8px; height: 8px; border-radius: 50%; background: #506176; }
.process-board-head > span:first-child { background: #e67e78; }
.process-board-head > span:nth-child(2) { background: #e5b95f; }
.process-board-head > span:nth-child(3) { background: #55bd83; }
.process-board-head small { margin-left: 7px; color: #9aa9bc; font-size: 10px; }
.process-board-body { position: relative; padding: 30px; }
.process-node { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 15px; min-height: 92px; padding: 17px 19px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 12px; background: #102d49; }
.process-node .node-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 10px; background: rgb(91 200 192 / 13%); color: var(--cyan); }
.process-node .node-icon .icon { width: 22px; height: 22px; }
.process-node > div { display: grid; gap: 4px; }
.process-node small { color: #8fa2b8; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.process-node strong { color: var(--white); font-size: 15px; }
.process-node em { color: #9dafc3; font-size: 11px; font-style: normal; }
.process-action { border-color: rgb(76 143 224 / 38%); background: #12365a; }
.process-action .node-icon { background: rgb(38 115 210 / 20%); color: #8fc1ff; }
.process-result .node-icon { background: rgb(102 87 223 / 18%); color: #bcb3ff; }
.process-connector { display: grid; height: 30px; place-items: center; }
.process-connector span { position: relative; width: 1px; height: 100%; background: #37516c; }
.process-connector span::after { position: absolute; right: -3px; bottom: 0; width: 6px; height: 6px; border-right: 1px solid #7592b0; border-bottom: 1px solid #7592b0; content: ""; transform: rotate(45deg); }
.process-status { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; margin-top: 20px; padding: 14px 16px; border: 1px solid rgb(91 200 192 / 18%); border-radius: 10px; background: rgb(91 200 192 / 7%); }
.process-status > i { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgb(91 200 192 / 11%); }
.process-status > span { display: grid; gap: 3px; }
.process-status strong { font-size: 11px; }
.process-status small { color: #9dafc3; font-size: 10px; }
.process-status b { padding: 5px 8px; border-radius: 5px; background: rgb(91 200 192 / 13%); color: #87ded7; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.manual-work { padding: 120px 0 128px; background: var(--white); }
.automation-heading { align-items: end; }
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.task-grid article { position: relative; min-height: 330px; padding: 34px 28px; border-right: 1px solid var(--line); }
.task-grid article:first-child { border-left: 1px solid var(--line); }
.task-grid article > span { position: absolute; top: 35px; right: 25px; color: #5b6b80; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.task-grid article > .icon { width: 31px; height: 31px; color: var(--blue); }
.task-grid h3 { margin: 56px 0 15px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.task-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }

.automation-method { padding: 118px 0 126px; background: var(--night); color: var(--white); }
.automation-method .section-kicker { color: #8fc1ff; }
.method-intro { display: grid; grid-template-columns: .48fr .8fr 1fr; align-items: start; gap: 62px; margin-bottom: 66px; }
.method-intro h2 { margin: -7px 0 0; font-size: clamp(38px, 3.7vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.method-intro > p { margin: 0; color: #aab9cc; font-size: 16px; line-height: 1.75; }
.automation-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / 13%); }
.automation-steps article { min-height: 250px; padding: 31px 27px 25px; border-right: 1px solid rgb(255 255 255 / 13%); }
.automation-steps article:first-child { border-left: 1px solid rgb(255 255 255 / 13%); }
.automation-steps article > span { display: grid; width: 38px; height: 38px; margin-bottom: 52px; place-items: center; border: 1px solid rgb(143 193 255 / 38%); border-radius: 50%; color: #9bc8ff; font-size: 10px; font-weight: 800; }
.automation-steps strong { font-size: 16px; }
.automation-steps p { margin: 11px 0 0; color: #9faec1; font-size: 13px; line-height: 1.65; }

.ai-role { background: var(--soft); }
.ai-role .section-kicker, .deliverables .section-kicker { color: #1f65bd; }
.ai-role-grid { display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: 100px; }
.ai-role-copy h2, .deliverables-grid h2, .faq-grid h2 { margin: 14px 0 24px; font-size: clamp(38px, 3.75vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.ai-role-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.ai-role-copy p + p { margin-top: 16px; }
.control-layers { display: grid; gap: 12px; }
.control-layers article { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 19px; min-height: 118px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 15px 38px rgb(30 48 75 / 5%); }
.control-layers article > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 12px; background: #eaf2fc; color: var(--blue); }
.control-layers article:nth-child(2) > span { background: var(--cyan-soft); color: #198f89; }
.control-layers article:nth-child(3) > span { background: #eeebff; color: var(--purple); }
.control-layers article > div { display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 6px 12px; }
.control-layers small { grid-row: span 2; color: #5d6d82; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.control-layers strong { font-size: 16px; }
.control-layers p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.process-examples { padding: 124px 0 132px; background: var(--white); }
.examples-list { border-top: 1px solid var(--line); }
.examples-list article { display: grid; grid-template-columns: 58px 1fr 260px; align-items: center; gap: 28px; min-height: 143px; padding: 25px 20px; border-bottom: 1px solid var(--line); }
.examples-list article > span { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid #bad2ef; border-radius: 50%; color: var(--blue); font-size: 10px; font-weight: 800; }
.examples-list h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.examples-list p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.examples-list article > small { padding-left: 23px; border-left: 1px solid var(--line); color: #607188; font-size: 11px; font-weight: 700; line-height: 1.6; }

.deliverables { background: var(--soft); }
.deliverables-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 110px; }
.deliverables-grid h2 { margin-bottom: 0; }
.deliverables-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #cad6e5; border-left: 1px solid #cad6e5; }
.deliverables-list article { display: flex; min-height: 170px; gap: 15px; padding: 28px 24px; border-right: 1px solid #cad6e5; border-bottom: 1px solid #cad6e5; background: rgb(255 255 255 / 42%); }
.deliverables-list > article > .icon { width: 20px; height: 20px; color: #168d86; stroke-width: 2.2; }
.deliverables-list strong { font-size: 14px; line-height: 1.4; }
.deliverables-list p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.automation-faq { padding: 118px 0 126px; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 83px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 16px; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 18px; height: 18px; color: var(--blue); transition: transform .18s ease; }
.faq-list details[open] summary .icon { transform: rotate(90deg); }
.faq-list details p { margin: -6px 45px 26px 0; color: var(--muted); font-size: 14px; line-height: 1.72; }

@media (max-width: 1080px) {
  .automation-hero-grid { gap: 48px; }
  .process-board-body { padding: 24px; }
  .task-grid article { padding: 30px 22px; }
  .method-intro { gap: 42px; }
  .automation-steps article { padding: 27px 20px 23px; }
  .ai-role-grid, .deliverables-grid, .faq-grid { gap: 65px; }
}

@media (max-width: 900px) {
  .automation-hero { padding-top: 105px; }
  .breadcrumbs { margin-bottom: 48px; }
  .automation-hero-grid { grid-template-columns: 1fr; }
  .automation-hero-copy { max-width: 720px; }
  .process-board { width: min(100%, 620px); }
  .task-grid { grid-template-columns: 1fr 1fr; }
  .task-grid article { border-bottom: 1px solid var(--line); }
  .task-grid article:nth-child(odd) { border-left: 1px solid var(--line); }
  .task-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .method-intro { grid-template-columns: 1fr 1fr; }
  .method-intro > .section-kicker { grid-column: 1 / -1; }
  .automation-steps { grid-template-columns: 1fr 1fr; }
  .automation-steps article { border-bottom: 1px solid rgb(255 255 255 / 13%); }
  .automation-steps article:nth-child(odd) { border-left: 1px solid rgb(255 255 255 / 13%); }
  .automation-steps article:nth-last-child(-n+2) { border-bottom: 0; }
  .ai-role-grid, .deliverables-grid, .faq-grid { grid-template-columns: 1fr; }
  .ai-role-copy { max-width: 700px; }
  .examples-list article { grid-template-columns: 52px 1fr; }
  .examples-list article > small { grid-column: 2; padding: 0; border: 0; }
}

@media (max-width: 640px) {
  .automation-hero { min-height: auto; padding: 101px 0 76px; }
  .breadcrumbs { margin-bottom: 39px; }
  .automation-hero-copy h1 { font-size: clamp(41px, 12vw, 53px); }
  .automation-hero-copy > p { font-size: 16px; line-height: 1.62; }
  .process-board { margin-top: 10px; border-radius: 13px; }
  .process-board-head { height: 40px; }
  .process-board-body { padding: 17px; }
  .process-node { grid-template-columns: 40px 1fr; min-height: 82px; padding: 13px; }
  .process-node .node-icon { width: 40px; height: 40px; }
  .process-node strong { font-size: 13px; }
  .process-status { grid-template-columns: auto 1fr; }
  .process-status b { display: none; }
  .manual-work, .process-examples, .automation-faq { padding: 80px 0 86px; }
  .task-grid { grid-template-columns: 1fr; }
  .task-grid article { min-height: auto; padding: 27px 24px 30px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line) !important; }
  .task-grid article:last-child { border-bottom: 0 !important; }
  .task-grid h3 { margin-top: 38px; }
  .automation-method { padding: 79px 0 84px; }
  .method-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 45px; }
  .method-intro > .section-kicker { grid-column: auto; }
  .automation-steps { grid-template-columns: 1fr; }
  .automation-steps article { min-height: auto; padding: 25px 23px 27px; border-left: 1px solid rgb(255 255 255 / 13%); border-bottom: 1px solid rgb(255 255 255 / 13%) !important; }
  .automation-steps article:last-child { border-bottom: 0 !important; }
  .automation-steps article > span { margin-bottom: 28px; }
  .ai-role-grid, .deliverables-grid, .faq-grid { gap: 40px; }
  .control-layers article { grid-template-columns: 45px 1fr; padding: 17px; }
  .control-layers article > span { width: 45px; height: 45px; }
  .control-layers article > div { grid-template-columns: 1fr; }
  .control-layers small { grid-row: auto; }
  .examples-list article { grid-template-columns: 42px 1fr; align-items: start; gap: 15px; padding: 24px 0; }
  .examples-list article > small { grid-column: 2; }
  .examples-list h3 { font-size: 18px; }
  .deliverables-list { grid-template-columns: 1fr; }
  .deliverables-list article { min-height: auto; }
  .faq-list summary { min-height: 76px; font-size: 14px; line-height: 1.45; }
}
