.l9-ai-automation-page .main-content-wrap,
.l9-ai-automation-page .main-content,
.l9-ai-automation-page #content,
.l9-ai-automation-page .page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.l9-ai-automation-page #main > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.l9-ai-automation-page #main > .container > .row {
  margin: 0;
}

.l9-ai-page {
  --l9-ai-ink: #171d20;
  --l9-ai-muted: #626d72;
  --l9-ai-green: #00a963;
  --l9-ai-pale: #f2f5f3;
  --l9-ai-line: #dce3df;
  color: var(--l9-ai-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}

.l9-ai-page .container {
  width: calc(100% - clamp(36px, 6vw, 96px));
  max-width: 1480px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.l9-ai-page h1,
.l9-ai-page h2,
.l9-ai-page h3,
.l9-ai-page h4,
.l9-ai-page p {
  margin-top: 0;
}

.l9-ai-page h1,
.l9-ai-page h2,
.l9-ai-page h3 {
  color: var(--l9-ai-ink);
  letter-spacing: -.035em;
}

.l9-ai-page h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 700;
  line-height: .98;
}

.l9-ai-page h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 650;
  line-height: 1.08;
}

.l9-ai-eyebrow {
  margin-bottom: 18px;
  color: var(--l9-ai-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.l9-ai-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 0 clamp(78px, 9vw, 124px);
  background: linear-gradient(135deg, #f5f7f6 0%, #fff 62%);
}

.l9-ai-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1480px) / 2));
  width: min(34vw, 470px);
  height: 6px;
  background: linear-gradient(90deg, var(--l9-ai-green), #efc64b, #ef6a4b);
}

.l9-ai-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(350px, .84fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.l9-ai-hero-copy h2 {
  max-width: 760px;
  margin-bottom: 23px;
  font-size: clamp(25px, 3vw, 40px);
}

.l9-ai-hero-copy > p:not(.l9-ai-eyebrow):not(.l9-ai-statement):not(.l9-ai-emphasis) {
  max-width: 745px;
  margin-bottom: 14px;
  color: var(--l9-ai-muted);
  font-size: 17px;
}

.l9-ai-statement {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--l9-ai-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.l9-ai-emphasis {
  margin: 26px 0 30px;
  font-size: 18px;
  font-weight: 700;
}

.l9-ai-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 24px;
  border: 1px solid var(--l9-ai-ink);
  border-radius: 2px;
  color: #fff !important;
  background: var(--l9-ai-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}

.l9-ai-button:hover,
.l9-ai-button:focus-visible {
  color: var(--l9-ai-ink) !important;
  background: #fff;
  transform: translateY(-2px);
}

.l9-ai-button:focus-visible {
  outline: 3px solid rgba(0, 169, 99, .35);
  outline-offset: 3px;
}

.l9-ai-hero-panel {
  position: relative;
  padding: 18px 34px;
  border: 1px solid var(--l9-ai-line);
  background: #fff;
  box-shadow: 0 28px 70px rgba(19, 31, 26, .1);
}

.l9-ai-hero-panel::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  z-index: -1;
  border: 1px solid rgba(0, 169, 99, .24);
}

.l9-ai-panel-line {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 2px 12px;
  padding: 27px 0;
  border-bottom: 1px solid var(--l9-ai-line);
}

.l9-ai-panel-line:last-child { border-bottom: 0; }
.l9-ai-panel-line .l9-ai-panel-icon {
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--l9-ai-line);
  border-radius: 50%;
  color: var(--l9-ai-green);
  font-size: 14px;
}

.l9-ai-svg-icon {
  width: 18px;
  height: 18px;
  display: block;
}
.l9-ai-panel-line strong { font-size: 19px; font-weight: 650; line-height: 1.25; }
.l9-ai-panel-line small { color: var(--l9-ai-muted); font-size: 13px; }

.l9-ai-banner {
  width: 100%;
  min-height: 178px;
  display: flex;
  align-items: center;
  padding: 36px 0;
  color: #fff;
  background: var(--l9-ai-green);
}

.l9-ai-banner p {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-align: center;
}

.l9-ai-banner strong { font-weight: 800; }

.l9-ai-services { padding: clamp(82px, 10vw, 136px) 0; }
.l9-ai-section-heading { max-width: 760px; margin-bottom: 52px; }
.l9-ai-section-heading h2 { margin-bottom: 20px; }
.l9-ai-section-heading > p:last-child { max-width: 650px; color: var(--l9-ai-muted); }

.l9-ai-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.l9-ai-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid var(--l9-ai-line);
  background: #fff;
}

.l9-ai-card:nth-child(2) { background: var(--l9-ai-pale); }
.l9-ai-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.l9-ai-number { color: var(--l9-ai-green); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.l9-ai-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--l9-ai-line); border-radius: 50%; color: var(--l9-ai-ink); font-size: 15px; }
.l9-ai-icon .l9-ai-svg-icon { width: 19px; height: 19px; }
.l9-ai-card h3 { min-height: 92px; margin-bottom: 19px; font-size: clamp(22px, 2vw, 28px); line-height: 1.13; }
.l9-ai-card h4 { margin: 24px 0 12px; color: var(--l9-ai-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.l9-ai-card p { color: var(--l9-ai-muted); font-size: 14px; line-height: 1.65; }
.l9-ai-card .l9-ai-card-lead { min-height: 50px; margin-bottom: 18px; color: var(--l9-ai-ink); font-size: 12px; font-weight: 800; letter-spacing: .07em; line-height: 1.45; text-transform: uppercase; }
.l9-ai-card ul { margin: 0 0 26px; padding: 0; list-style: none; }
.l9-ai-card li { position: relative; margin-bottom: 9px; padding-left: 18px; color: var(--l9-ai-muted); font-size: 13px; line-height: 1.5; }
.l9-ai-card li::before { content: ""; position: absolute; top: .68em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--l9-ai-green); }
.l9-ai-card .l9-ai-card-close { margin: auto 0 0; padding-top: 21px; border-top: 1px solid var(--l9-ai-line); color: var(--l9-ai-ink); font-weight: 650; }

.l9-ai-experience {
  padding: clamp(82px, 10vw, 136px) 0;
  color: #fff;
  background: var(--l9-ai-ink);
}

.l9-ai-experience-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 9vw, 120px); }
.l9-ai-experience h2 { color: #fff; }
.l9-ai-experience .l9-ai-eyebrow { color: #51cf96; }
.l9-ai-experience-lead { margin-top: 25px; color: #fff; font-size: 20px; font-weight: 600; }
.l9-ai-experience-copy > p { color: #bec8c2; font-size: 16px; }
.l9-ai-experience-copy .l9-ai-method { margin: 30px 0; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.l9-ai-related { display: flex; flex-wrap: wrap; gap: 9px; }
.l9-ai-related a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); color: #fff !important; font-size: 12px; text-decoration: none !important; }
.l9-ai-related a:hover,
.l9-ai-related a:focus-visible { border-color: #51cf96; color: #51cf96 !important; }

.l9-ai-contact { padding: clamp(74px, 9vw, 116px) 0; background: var(--l9-ai-pale); }
.l9-ai-contact-box { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(40px, 8vw, 100px); padding: clamp(38px, 6vw, 72px); border: 1px solid var(--l9-ai-line); background: #fff; }
.l9-ai-contact h2 { max-width: 800px; margin-bottom: 24px; }
.l9-ai-contact-box > div > p:not(.l9-ai-eyebrow):not(.l9-ai-emphasis) { max-width: 780px; color: var(--l9-ai-muted); }
.l9-ai-contact .l9-ai-emphasis { margin-bottom: 0; }
.l9-ai-button-light { white-space: nowrap; }

@media (max-width: 1199px) {
  .l9-ai-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 55px; }
  .l9-ai-card { padding: 28px; }
  .l9-ai-card h3 { min-height: 105px; }
}

@media (max-width: 991px) {
  .l9-ai-hero-grid,
  .l9-ai-experience-grid,
  .l9-ai-contact-box { grid-template-columns: 1fr; }
  .l9-ai-hero-panel { width: min(100%, 620px); }
  .l9-ai-card-grid { grid-template-columns: 1fr; }
  .l9-ai-card h3,
  .l9-ai-card .l9-ai-card-lead { min-height: 0; }
  .l9-ai-contact-box { align-items: start; }
  .l9-ai-button-light { justify-self: start; }
}

@media (max-width: 767px) {
  .l9-ai-page { font-size: 15px; }
  .l9-ai-hero { padding-top: 66px; }
  .l9-ai-page h1 { font-size: clamp(42px, 14vw, 58px); }
  .l9-ai-page h2 { font-size: clamp(29px, 9vw, 40px); }
  .l9-ai-hero-copy h2 { font-size: clamp(25px, 7.5vw, 34px); }
  .l9-ai-hero-copy > p:not(.l9-ai-eyebrow):not(.l9-ai-statement):not(.l9-ai-emphasis) { font-size: 15px; }
  .l9-ai-statement { letter-spacing: .075em; }
  .l9-ai-hero-panel { margin-left: 0; padding-inline: 20px; }
  .l9-ai-panel-line { grid-template-columns: 42px 1fr; }
  .l9-ai-panel-line .l9-ai-panel-icon { width: 34px; height: 34px; font-size: 13px; }
  .l9-ai-banner { min-height: 148px; padding: 32px 0; }
  .l9-ai-banner p { font-size: clamp(21px, 6.8vw, 29px); }
  .l9-ai-card { padding: 26px 23px; }
  .l9-ai-contact-box { padding: 34px 25px; }
  .l9-ai-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .l9-ai-button { transition: none; }
}
