.automation-hero {
  padding-top: clamp(109px, 9.6vw, 145px);
  background: linear-gradient(126deg, #f8faf3 9%, #e8efe1 100%);
}
.automation-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  grid-template-areas: "lead dispatch" "index dispatch" "proof proof";
  align-items: start;
  gap: clamp(18px, 3vw, 45px) clamp(16px, 3vw, 44px);
}
.automation-lead { grid-area: lead; }
.automation-page .automation-lead h1 {
  max-width: 17ch;
  margin-block: 10px 20px;
  color: #11271b;
  font-size: clamp(2.55rem, 5.1vw, 5rem);
  line-height: 1;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.automation-lead h1 span { color: #207445; white-space: nowrap; }
.automation-page .automation-lead p { max-width: 53ch; color: #3b5143; }
.automation-proof-strip {
  grid-area: proof;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #b6cbb5;
  list-style: none;
}
.automation-proof-strip li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  padding: clamp(10px, 1.5vw, 22px) clamp(8px, 1vw, 16px);
  color: #355842;
  font-size: .85rem;
  line-height: 1.28;
}
.automation-proof-strip li + li { border-inline-start: 1px solid #b6cbb5; }
.automation-proof-strip strong { color: #217248; font-size: clamp(1.28rem, 2.2vw, 2.18rem); font-weight: 580; }
.automation-index {
  grid-area: index;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid #b5cbb5;
}
.automation-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 9px clamp(5px, 1vw, 12px);
  color: #18462e;
  font-weight: 630;
  line-height: 1.25;
}
.automation-index a + a { border-inline-start: 1px solid #b5cbb5; }
.automation-index a:hover { color: #10291c; background: #d8eac8; }
.automation-index a:focus-visible { outline: 2px solid #17703d; outline-offset: -4px; }
.automation-index a span { flex: none; color: #17703d; }
@property --dispatch-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
.automation-dispatch {
  grid-area: dispatch;
  align-self: stretch;
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(10px, 1.5vw, 20px);
  margin: 0;
  padding: clamp(22px, 4.1vw, 61px) clamp(16px, 4.5vw, 64px) 14px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 78% 92%, #c6c7b9 0, transparent 68%),
    linear-gradient(125deg, #f1efe6, #dfdfd3);
  box-shadow: 0 18px 48px -32px #454d40;
}
.automation-dispatch::before {
  content: "";
  position: absolute;
  inset: 9% -33% 9% 13%;
  z-index: -1;
  rotate: -12deg;
  border-block: 1px solid #74776334;
  background: linear-gradient(126deg, #918b7024, transparent 71%);
}
.automation-register {
  --paper-advance: clamp(0, calc(var(--dispatch-progress) * 3.2), 1);
  position: relative;
  width: min(100%, 510px);
  padding: clamp(18px, 2.4vw, 35px);
  border-radius: 2px;
  rotate: -4deg;
  translate: 0 calc(11px * (1 - var(--paper-advance)));
  background: linear-gradient(125deg, #fffdf6, #f0eee0);
  box-shadow: 9px 12px 0 -4px #d6d6c2, 19px 22px 0 -7px #a8ad9a, 10px 22px 38px #2b33254a;
}
.automation-register::before {
  content: "";
  position: absolute;
  inset: 9px 9px auto auto;
  width: 17px;
  aspect-ratio: 1;
  border-top: 1px solid #6e9577;
  border-right: 1px solid #6e9577;
}
.automation-page .automation-register-title {
  color: #204e34;
  font-size: clamp(2.4rem, 5.1vw, 4.8rem);
  font-weight: 590;
  line-height: .96;
  letter-spacing: -.07em;
}
.automation-page .automation-register-deck {
  margin-top: 9px;
  color: #235339;
  font-weight: 590;
  line-height: 1.35;
}
.automation-register-imprint { margin-block: 18px; border-top: 1px solid #a9b9a0; }
.automation-page .automation-register-imprint p {
  --ink-start: .19;
  --ink-progress: clamp(0, calc((var(--dispatch-progress) - var(--ink-start)) * 4), 1);
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 8px 4px 8px 11px;
  border-bottom: 1px solid #bdcbb4;
  color: #244b34;
  font-size: clamp(.78rem, 1.15vw, .93rem);
  line-height: 1.36;
}
.automation-page .automation-register-imprint p + p { --ink-start: .43; }
.automation-register-imprint p::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(var(--ink-progress));
  transform-origin: left;
  background: linear-gradient(90deg, #b9d1a2, #dfeacc);
}
.automation-page .automation-register-total {
  --total-ink: clamp(0, calc((var(--dispatch-progress) - .68) * 4.5), 1);
  color: #274f38;
  font-size: clamp(.78rem, 1.15vw, .93rem);
  line-height: 1.32;
}
.automation-register-total strong {
  display: block;
  color: #17643b;
  color: color-mix(in srgb, #456b50, #17643b calc(var(--total-ink) * 100%));
  translate: 0 calc(5px * (1 - var(--total-ink)));
  font-size: clamp(2.35rem, 4.55vw, 4.6rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.065em;
}
.automation-section {
  display: grid;
  gap: clamp(16px, 2.5vw, 34px);
}
.automation-section > h2 { max-width: 29ch; }
.automation-page .content-jump {
  border-block: 1px solid #b8cdb8;
  background: #f1f5ed;
}
.automation-page .content-jump .wrap {
  justify-content: space-between;
  gap: 7px 18px;
  padding-block: 12px;
}
.automation-page .automation-savings { background: #f8f7f1; }
.automation-time-spread {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.14fr);
  border-block: 1px solid #c5c7b8;
}
.automation-time-cover {
  --clock-ink: #286342;
  display: grid;
  align-items: center;
  min-height: 260px;
  padding: clamp(20px, 3vw, 42px);
  background: #eeeee3;
}
.automation-page .automation-time-cover h2 {
  display: grid;
  justify-items: center;
  gap: clamp(5px, .8vw, 12px);
  color: #172e22;
  line-height: 1.03;
  text-align: center;
  text-wrap: initial;
}
.automation-save-word { font: 550 clamp(.89rem, 1.5vw, 1.06rem)/1.25 Geist Mono, monospace; letter-spacing: .02em; }
.automation-time-dial {
  --dial-progress: .78;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 408px);
  min-height: 112px;
  aspect-ratio: 2 / 1;
}
.automation-dial-window { position: absolute; inset: 0; overflow: hidden; }
.automation-dial-window i { position: absolute; inset: 0 0 auto; aspect-ratio: 1; }
.automation-dial-ticks {
  rotate: calc(var(--dial-progress) * 108deg);
  background: repeating-conic-gradient(#47735a 0deg .62deg, transparent .7deg 4.6deg);
  mask-image: radial-gradient(closest-side, transparent 85%,#000 85.4% 92.4%,transparent 93%);
}
.automation-dial-trace {
  --dial-sweep: calc(14deg + var(--dial-progress) * 164deg);
  background: conic-gradient(from -90deg,#2c6f49 0deg var(--dial-sweep),#82978444 var(--dial-sweep));
  mask-image: radial-gradient(closest-side,transparent 96%,#000 96.5% 98%,transparent 98.5%);
}
.automation-time-value {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px .10em;
  color: var(--clock-ink);
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  font-weight: 540;
  line-height: .88;
  letter-spacing: -.085em;
}
.automation-time-value small { font-size: .33em; font-weight: 540; letter-spacing: -.055em; }
.automation-time-description { max-width: 21ch; font-size: clamp(1.14rem, 2vw, 1.9rem); letter-spacing: -.038em; text-wrap: balance; }
.automation-savings-body {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(15px, 3vw, 44px);
  background: #fff;
}
.automation-savings-body > p { max-width: 62ch; }
.automation-savings-body .automation-ledger { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid #b9ccb6; list-style: none; }
.automation-page .automation-ledger li {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 4px 9px 8px;
  border-bottom: 1px solid #d0decf;
  color: #214e34;
  font-size: .91rem;
}
.automation-ledger li::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,#eaf1e4,transparent);
  transform-origin: left;
}
.automation-ledger li::after {
  content: "";
  width: 22px;
  height: 5px;
  justify-self: end;
  background: repeating-linear-gradient(90deg,#67a376 0 1px,transparent 1px 4px);
}
@media(prefers-reduced-motion:no-preference) {
  .automation-ledger[data-scroll-ink] li::before {
    transform: scaleX(var(--ledger-ink, 0));
    opacity: var(--ledger-ink, 0);
    transition: transform .3s cubic-bezier(.21,.65,.27,1), opacity .3s;
  }
}
.automation-savings-audit, .automation-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(15px, 2.3vw, 34px);
  padding: clamp(13px, 1.8vw, 25px) 0;
  border-block: 1px solid #bbcfbb;
}
.automation-savings-audit { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.automation-savings-audit > :not(.content-actions) { grid-column: 1; }
.automation-savings-audit > .content-actions { grid-row: 1 / span 3; grid-column: 2; }
.automation-savings-audit > p { max-width: 72ch; }
.automation-page .automation-savings-audit h3 { color: #193c29; }
.automation-callout > p { max-width: 63ch; }
.automation-callout .content-action { flex: none; }
.automation-page .automation-tasks { background: #fff; }
.automation-workbook {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 13px 0 23px;
  padding-block: 13px;
  border-bottom: 1px solid #b6cbb6;
}
.automation-workbook a { color: #176b42; font-size: .89rem; font-weight: 620; text-underline-offset: .22em; }
.automation-workbook a:hover { text-decoration: underline; }
.automation-workbook a span { margin-left: 5px; }
.automation-task-index article { scroll-margin-top: 108px; min-width: 0; }
.automation-work-pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  background: linear-gradient(125deg, #e2eed6, #eff4e7 60%, #e3efde);
}
.automation-work-pair article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 3vw, 42px);
}
.automation-work-pair article + article { border-inline-start: 1px solid #a9c6aa; }
.automation-work-pair article + article::before {
  content: "→";
  position: absolute;
  top: 44%;
  left: 0;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  translate: -50% -50%;
  border: 1px solid #91b895;
  border-radius: 50%;
  background: #e5f4d9;
  color: #23623d;
}
.automation-page .automation-task-index h3 {
  margin-bottom: 10px;
  color: #193d2a;
  font-size: clamp(1.25rem, 2.25vw, 2.22rem);
  line-height: 1.08;
  text-wrap: initial;
}
.automation-task-index article p { max-width: 68ch; }
.automation-task-index .source-list {
  margin: 0;
  padding: 0;
  min-width: 0;
  list-style: none;
}
.automation-page .automation-task-index .source-list li {
  padding: 7px 5px 7px 0;
  border-top: 1px solid #b4cdb4;
  color: #24553c;
  font: 510 .82rem/1.42 Geist Mono, monospace;
}
.automation-work-pair .source-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; margin-top: auto; }
.automation-work-entries {
  display: grid;
  gap: clamp(16px, 2.8vw, 40px);
  margin-top: clamp(18px, 2.8vw, 37px);
}
.automation-work-entries article {
  display: grid;
  min-width: 0;
  gap: clamp(13px, 2.4vw, 32px);
  padding: clamp(17px, 3vw, 44px);
}
.automation-work-entries .source-list {
  display: grid;
  gap: 0;
}
.automation-work-entries #marketing-flows {
  border-block: 1px solid #c1c9b9;
  background: #f9f7ef;
}
.automation-work-entries #marketing-flows .source-list {
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-bottom: 1px solid #b7c5b4;
}
.automation-work-entries #marketing-flows .source-list li {
  position: relative;
  padding: 23px 9px 10px 0;
}
.automation-work-entries #marketing-flows .source-list li::before {
  content: "";
  position: absolute;
  inset: 7px auto auto 0;
  width: 29px;
  height: 7px;
  background: repeating-linear-gradient(90deg,#5d8d69 0 1px,transparent 1px 5px);
}
.automation-work-entries #document-automation {
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  grid-template-areas: "receipt note";
  align-items: center;
  background: #eae9e1;
}
.automation-work-entries #document-automation .automation-work-note { grid-area: note; }
.automation-work-entries #document-automation .source-list {
  grid-area: receipt;
  padding: clamp(10px, 1.5vw, 22px);
  background: #fffcf2;
  box-shadow: 5px 5px 0 #d2d3c7, 10px 10px 0 #dbdbce;
}
.automation-work-entries #document-automation .source-list li { border-top: 0; border-bottom: 1px solid #d0d3c0; }
.automation-work-entries #document-automation .source-list li:last-child { border-bottom: 0; }
.automation-work-entries #business-automation {
  grid-template-columns: minmax(0,1.23fr) minmax(0,.77fr);
  align-items: start;
  border-inline-start: 3px solid #5d8465;
  background: #f3f3ed;
}
.automation-work-entries #business-automation .source-list {
  grid-template-columns: minmax(0,1fr);
  border-bottom: 1px solid #b4cdb4;
}
.automation-work-entries #business-automation .source-list li {
  position: relative;
  padding-inline-start: 17px;
}
.automation-work-entries #business-automation .source-list li::before {
  content: "";
  position: absolute;
  inset: 12px auto auto 1px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #538066;
}
.automation-page .automation-outcomes {
  background: #f7f6ee;
}
.automation-stat-strip {
  display: grid;
  grid-template-columns: minmax(0,.79fr) minmax(0,1.21fr);
  margin: 0;
  padding: 0;
  border-block: 1px solid #b4c1b0;
  list-style: none;
}
.automation-page .automation-stat-strip li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  padding: clamp(8px, 2.1vw, 27px);
  color: #183b29;
}
.automation-stat-strip li:first-child,
.automation-stat-strip li:nth-child(2) { grid-column: 1; padding-inline-start: 3px; }
.automation-stat-strip li:nth-child(2) { border-top: 1px solid #b4c1b0; }
.automation-page .automation-stat-strip li:last-child {
  grid-area: 1 / 2 / span 2;
  align-content: center;
  align-items: flex-end;
  padding: clamp(14px, 3vw, 42px);
  border-left: 1px solid #b4c1b0;
  background: linear-gradient(145deg,#ebe9dd,#faf8ee 79%);
}
.automation-stat-strip li:last-child strong { font-size: clamp(4.4rem, 11vw, 10.2rem); }
.automation-stat-strip strong { font-size: clamp(2.5rem, 6vw, 6.1rem); font-weight: 520; letter-spacing: -.07em; line-height: 1; }
.automation-page .automation-cases { background: #fff; }
.automation-case-index { margin-top: 21px; border-top: 1px solid #bbcfbb; }
.automation-case-index article {
  display: grid;
  grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr);
  border-bottom: 1px solid #bbcfbb;
}
.automation-case-story { padding: clamp(18px, 2.9vw, 41px) clamp(13px, 2.2vw, 31px) clamp(18px, 2.9vw, 41px) 0; }
.automation-page .automation-case-story h3 {
  margin-bottom: 8px;
  color: #1b4b32;
  font-size: clamp(1.48rem, 2.9vw, 2.85rem);
  line-height: 1.07;
  text-wrap: initial;
}
.automation-page .automation-case-stack p { color: #426752; font: 500 .79rem/1.5 Geist Mono, monospace; }
.automation-case-result {
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: clamp(15px, 3vw, 41px);
  background: #e9f0e5;
}
.automation-case-index article:first-child .automation-case-result { background: linear-gradient(140deg,#143622,#285438); }
.automation-page .automation-case-index article:first-child .automation-case-result p { color: #e8f3e4; }
.automation-case-result strong {
  display: block;
  margin-block: 2px;
  color: #235d3d;
  font-size: clamp(1.9rem, 4.7vw, 4.8rem);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -.06em;
}
.automation-case-index article:first-child .automation-case-result strong { color: #d3f3a7; }
.automation-classroom-marks { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); max-width: 190px; gap: 4px; }
.automation-classroom-marks i { aspect-ratio: 1.55; border: 1px solid #699276; background: #d1e5d1; }
.automation-doc-marks { display: flex; gap: 26px; align-items: center; }
.automation-doc-marks span { display: grid; grid-template-columns: repeat(5,12px); gap: 3px; }
.automation-doc-marks span i { width: 12px; height: 16px; border: 1px solid #659273; }
.automation-doc-marks > i { position: relative; width: 24px; height: 24px; background: #2d734b; }
.automation-doc-marks > i::before { content: ""; position: absolute; left: -20px; top: 50%; width: 14px; height: 1px; background: #3a7952; }
@media(prefers-reduced-motion:no-preference) {
  .automation-case-result.is-tracing .automation-classroom-marks i {
    animation: automation-record-mark 730ms ease-out both;
  }
  .automation-case-result.is-tracing .automation-classroom-marks i:nth-child(n+7) { animation-delay: 210ms; }
  .automation-case-result.is-tracing .automation-doc-marks > i {
    animation: automation-record-mark 730ms 150ms ease-out both;
  }
}
@keyframes automation-record-mark {
  from { opacity: .36; translate: -3px 0; }
  to { opacity: 1; translate: 0; }
}
.automation-page .automation-sectors { background: #f2f6ee; }
.automation-sector-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; column-gap: clamp(20px,4vw,59px); }
.automation-sector-index article { padding: 12px 0; border-top: 1px solid #bbcfba; }
.automation-sector-index article:last-child { grid-column: 1 / -1; }
.automation-page .automation-sector-index h3 { margin-bottom: 5px; color: #224c33; }
.automation-term-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 clamp(18px,3vw,42px); }
.automation-term-index article { padding: 14px 0; border-top: 1px solid #bdcfbc; }
.automation-page .automation-term-index h3 { margin-bottom: 6px; color: #224c33; }
.automation-page .automation-terms { background: #fff; }
.automation-page .automation-questions { background: #edf3e9; }
.automation-questions .content-faq { background: #f9fbf6; }

@media(max-width:820px) {
  .automation-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "index" "dispatch" "proof"; }
  .automation-hero-grid .automation-dispatch { min-height: 290px; }
  .automation-time-spread { grid-template-columns: minmax(0,1fr); }
  .automation-work-entries #document-automation { grid-template-columns: minmax(0,1fr); grid-template-areas: "note" "receipt"; }
  .automation-work-entries #business-automation { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:540px) {
  .automation-proof-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .automation-proof-strip li:nth-child(odd) { border-inline-start: 0; }
  .automation-proof-strip li:nth-child(n+3) { border-top: 1px solid #b6cbb5; }
  .automation-index a { min-height: 50px; font-size: .77rem; }
  .automation-index a span { font-size: .7rem; }
  .automation-hero-grid .automation-dispatch { min-height: 240px; }
  .automation-dispatch { padding: 32px 21px 12px; }
  .automation-register { rotate: -2.5deg; }
  .automation-savings-audit, .automation-work-pair, .automation-case-index article, .automation-sector-index, .automation-term-index { grid-template-columns: minmax(0,1fr); }
  .automation-savings-audit > .content-actions { grid-row: auto; grid-column: 1; }
  .automation-work-pair article + article { border-inline-start: 0; border-top: 1px solid #a9c6aa; padding-top: 21px; }
  .automation-work-pair article + article::before { top: 0; left: 50%; rotate: 90deg; }
  .automation-case-story { padding-inline-end: 0; }
  .automation-stat-strip li { display: grid; font-size: .83rem; }
  .automation-work-entries #marketing-flows .source-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .automation-callout .content-action { max-width: 100%; }
}
