:root {
  --ink: #10201d;
  --coal: #172826;
  --muted: #4f625f;
  --soft: #6f817e;
  --line: #d9e4e2;
  --paper: #f4f8f8;
  --paper-2: #eaf3f4;
  --white: #ffffff;
  --green: #6FA38A;
  --green-deep: #0F2D23;
  --green-soft: #d8eee9;
  --red: #D62828;
  --blue: #286783;
  --cyan: #48bdb0;
  --gold: #dfb34e;
  --cream: #fffaf0;
  --surface: rgba(255, 255, 255, .94);
  --shadow: 0 24px 70px rgba(19, 40, 38, .14);
  --shadow-soft: 0 16px 44px rgba(19, 40, 38, .09);
  --shadow-tight: 0 10px 26px rgba(19, 40, 38, .08);
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/poppins-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/poppins-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(72, 189, 176, .14), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(40, 103, 131, .12), transparent 24rem),
    linear-gradient(180deg, #ffffff 0, var(--paper) 36%, #edf5f5 100%);
  line-height: 1.62;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: .6rem .8rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(20, 32, 27, .08);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  padding-top: .45rem;
  padding-bottom: .55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand picture {
  display: block;
  line-height: 0;
}

.brand-mobile-text {
  display: none;
}

.brand-logo-img {
  display: block;
  width: clamp(132px, 10.5vw, 156px);
  height: auto;
  flex: 0 1 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a {
  padding: .46rem .66rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(39, 116, 90, .08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .82rem 1.18rem;
  border: 1px solid var(--green-deep);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--green-deep), #137055);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 14px 30px rgba(18, 63, 49, .2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button.secondary {
  background: rgba(255, 255, 255, .78);
  color: var(--green-deep);
  border-color: rgba(18, 63, 49, .24);
  box-shadow: 0 8px 18px rgba(25, 38, 32, .05);
}

.button.danger {
  background: linear-gradient(145deg, #8f1f1f, var(--red));
  border-color: #8f1f1f;
  box-shadow: 0 14px 30px rgba(143, 31, 31, .18);
}

.button.danger:hover {
  background: #a92323;
  border-color: #a92323;
}

.button:hover {
  background: #225f45;
  border-color: #225f45;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(23, 72, 52, .2);
}

.button.secondary:hover {
  background: #eef7f5;
  border-color: rgba(23, 72, 52, .38);
  box-shadow: none;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 720px;
  padding: 5.35rem 0 4.25rem;
  display: grid;
  grid-template-columns: minmax(0, 880px) minmax(0, 1fr);
  gap: 3.4rem;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-copy {
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -2rem -2.5rem -1.6rem -2rem;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

.hero-flow {
  position: absolute;
  z-index: 0;
  left: 12%;
  right: -8%;
  top: .75rem;
  bottom: .75rem;
  pointer-events: none;
  opacity: .86;
  transform: translateX(0);
  mask-image: linear-gradient(90deg, transparent 0%, black 7%, black 88%, transparent 100%);
}

.hero-flow::before {
  content: "";
  position: absolute;
  inset: 12% 8% 6% 2%;
  z-index: -1;
  background: transparent;
  filter: none;
}

.hero-flow-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flow-strands path {
  fill: none;
  stroke: url("#heroFlowGreen");
  stroke-width: .95;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: .82;
  animation: hero-flow-breathe 7s ease-in-out infinite;
}

.flow-strands path:nth-child(3n) {
  stroke: url("#heroFlowCool");
  stroke-width: .68;
  opacity: .64;
  animation-delay: -2.1s;
}

.flow-strands path:nth-child(4n) {
  stroke-width: .62;
  opacity: .52;
}

.flow-dots circle {
  fill: var(--green);
  opacity: .58;
  transform-origin: center;
  animation: hero-dot-drift 8s ease-in-out infinite;
}

.flow-dots circle:nth-child(3n) {
  fill: var(--cyan);
  opacity: .54;
  animation-delay: -2.2s;
}

.flow-dots circle:nth-child(4n) {
  fill: var(--green-deep);
  opacity: .46;
  animation-delay: -4.4s;
}

.flow-dots circle:nth-child(5n) {
  fill: #4f70b7;
  opacity: .38;
  animation-delay: -5.8s;
}

.flow-dots-red circle {
  fill: var(--red);
  opacity: .5;
}

@keyframes hero-flow-breathe {
  0%,
  100% {
    opacity: .78;
  }

  50% {
    opacity: 1;
  }
}

@keyframes hero-dot-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green-deep);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  font-size: 4.65rem;
  max-width: 920px;
  text-wrap: balance;
  color: #101a16;
}

h2 {
  font-size: 3rem;
  text-wrap: balance;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  color: #425956;
  font-size: 1.18rem;
  max-width: 760px;
  margin: 1.45rem 0 0;
  overflow-wrap: break-word;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.65rem;
  max-width: 680px;
}

.hero-actions .button {
  padding-left: .9rem;
  padding-right: .9rem;
  font-size: .92rem;
  white-space: nowrap;
}

.warm-line {
  margin: 1.25rem 0 0;
  color: #40514b;
  font-weight: 760;
}

.solution-map {
  min-width: 0;
  position: relative;
  border: 1px solid rgba(16, 32, 29, .12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(72, 189, 176, .24), transparent 16rem),
    radial-gradient(circle at 86% 8%, rgba(40, 103, 131, .16), transparent 15rem),
    linear-gradient(145deg, #ffffff 0, #edf7f7 48%, #fbfdfd 100%);
  box-shadow: 0 28px 80px rgba(19, 40, 38, .16);
  padding: 1.05rem;
  overflow: hidden;
}

.solution-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 32, 29, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 29, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 52% 34%, black 0 48%, transparent 78%);
  pointer-events: none;
}

.map-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .55rem .4rem 1rem;
  color: var(--muted);
  font-size: .86rem;
}

.map-header span {
  color: var(--green-deep);
  font-weight: 850;
  text-transform: uppercase;
}

.map-header strong {
  color: var(--blue);
}

.solution-map-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.solution-map-visual {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(16, 32, 29, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .96), rgba(255, 255, 255, .72) 34%, rgba(232, 243, 243, .84) 70%),
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(232, 244, 244, .8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-tight);
  overflow: hidden;
}

.map-lines {
  position: absolute;
  inset: 3%;
  width: 94%;
  height: 94%;
}

.map-lines path {
  fill: none;
  stroke: url("#systemStroke");
  stroke-width: .76;
  stroke-linecap: round;
  stroke-opacity: .72;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw-map-lines 1.25s ease-out .25s forwards;
}

.map-lines .orbit-line {
  stroke-width: .42;
  stroke-opacity: .44;
  stroke-dasharray: 7 8;
  stroke-dashoffset: 0;
  animation: orbit-map-line 18s linear infinite;
}

.solution-core,
.solution-node {
  position: absolute;
  z-index: 2;
  text-align: center;
}

.solution-core {
  left: 50%;
  top: 50%;
  width: 146px;
  min-height: 146px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: .2rem;
  border: 1px solid rgba(16, 71, 57, .2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(145deg, #0d4036, #1d8066);
  color: var(--white);
  box-shadow: 0 24px 54px rgba(12, 71, 57, .24);
}

.solution-core span,
.solution-core strong {
  display: block;
  line-height: 1.05;
}

.solution-core span {
  font-weight: 900;
}

.solution-core strong {
  color: #d9fff7;
  font-size: .8rem;
  font-weight: 760;
}

.solution-node {
  width: 128px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: .68rem .8rem;
  border: 1px solid rgba(16, 71, 57, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font: inherit;
  box-shadow: 0 14px 30px rgba(19, 40, 38, .12);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.solution-node span {
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.12;
}

.solution-node:hover,
.solution-node:focus-visible,
.solution-node.is-active {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 99, .42);
  box-shadow: 0 18px 38px rgba(19, 40, 38, .16);
}

.solution-node.is-active {
  background: linear-gradient(145deg, var(--ink), #174f45);
  border-color: rgba(72, 189, 176, .65);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(16, 71, 57, .24);
}

.solution-node:focus-visible {
  outline: 3px solid rgba(72, 189, 176, .48);
  outline-offset: 4px;
}

.node-reporting {
  left: 4%;
  top: 13%;
}

.node-knowledge {
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
}

.node-knowledge:hover,
.node-knowledge:focus-visible,
.node-knowledge.is-active {
  transform: translate(-50%, -2px);
}

.node-workflow {
  right: 4%;
  top: 14%;
}

.node-governance {
  left: 3%;
  bottom: 13%;
}

.node-evidence {
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
}

.node-evidence:hover,
.node-evidence:focus-visible,
.node-evidence.is-active {
  transform: translate(-50%, -2px);
}

.node-triage {
  right: 4%;
  bottom: 14%;
}

.solution-detail {
  min-height: 186px;
  padding: 1.15rem;
  border: 1px solid rgba(16, 32, 29, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: var(--shadow-tight);
}

.solution-detail .detail-kicker {
  margin: 0 0 .45rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-detail h2 {
  font-size: 1.45rem;
  color: var(--ink);
}

.solution-detail p {
  margin: .65rem 0 0;
  color: var(--muted);
}

.solution-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin: 1rem 0 0;
}

.solution-detail dl div {
  min-width: 0;
  padding-top: .72rem;
  border-top: 1px solid var(--line);
}

.solution-detail dt {
  color: var(--green-deep);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-detail dd {
  margin: .28rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.42;
}

@keyframes draw-map-lines {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes orbit-map-line {
  to {
    stroke-dashoffset: -120;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-lines path,
  .map-lines .orbit-line {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.system-card span {
  display: block;
  margin-bottom: .75rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}


.section {
  padding: 5.8rem 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 850px;
  margin-bottom: 2.35rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

#systems .section-head,
#who-for .section-head,
#packages .section-head,
#faq .section-head {
  max-width: 1080px;
}

#packages .section-head h2,
#systems .section-head h2 {
  max-width: none;
  text-wrap: pretty;
}

.intro-section,
.local-section {
  background: rgba(255, 255, 255, .9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-section .section-head,
.market-section .section-head,
.readiness-layout .section-head {
  margin-bottom: 0;
}

.intro-section .eyebrow,
.market-section .eyebrow,
.impact-band .eyebrow,
.local-section .eyebrow,
.contact-section .eyebrow,
.readiness-section .eyebrow {
  margin-bottom: 1.5rem;
}

.intro-section h2,
.market-section h2,
.impact-band h2,
.local-section h2,
.contact-section h2,
.readiness-section h2 {
  margin-top: 0;
}

.split-layout,
.impact-layout,
.local-layout,
.market-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.intro-copy,
.local-layout p {
  color: var(--muted);
  font-size: 1.15rem;
}

.intro-section .intro-copy,
.market-section .quote-stack,
.impact-band .impact-list,
.local-section .local-layout > div:last-child {
  padding-top: 3.6rem;
}

.contact-section form,
.readiness-section .scorecard {
  margin-top: 3.6rem;
}

.intro-copy p:first-child,
.local-layout p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-weight: 680;
}

.market-section {
  background:
    linear-gradient(180deg, #f7fbfb, #eaf4f5);
  border-bottom: 1px solid var(--line);
}

.quote-stack {
  display: grid;
  gap: .9rem;
}

.signal-quote {
  position: relative;
  margin: 0;
  padding: 1.45rem 1.55rem 1.35rem;
  border: 1px solid rgba(39, 116, 90, .15);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.signal-quote.accent {
  background: var(--green-deep);
  color: var(--white);
  border-color: rgba(23, 72, 52, .72);
}

.urgency-card strong {
  display: block;
  margin-bottom: .55rem;
  font-size: 1.08rem;
}

.urgency-card p {
  margin: 0;
  color: var(--muted);
}

.signal-quote.accent.urgency-card p {
  color: rgba(255, 255, 255, .78);
}

.signal-quote blockquote {
  position: relative;
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 680;
}

.signal-quote figcaption {
  position: relative;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(47, 114, 85, .16);
  color: var(--muted);
  font-size: .92rem;
}

.signal-quote figcaption cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 780;
}

.signal-quote.accent figcaption {
  border-top-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .78);
}

.signal-quote.accent figcaption cite {
  color: var(--white);
}

.market-footer {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(47, 114, 85, .16);
}

.market-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.audience-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(72, 189, 176, .11), transparent 23rem),
    linear-gradient(180deg, #ffffff, #f4faf9);
  border-bottom: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.audience-card {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  gap: .88rem;
  padding: 1.35rem;
  border: 1px solid rgba(39, 116, 90, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--red));
}

.audience-card span {
  color: var(--red);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.audience-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
}

.audience-card dl {
  margin: auto 0 0;
}

.audience-card dt {
  color: var(--green-deep);
  font-size: .73rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.audience-card dd {
  margin: .28rem 0 0;
  color: #243d39;
  font-size: .94rem;
  line-height: 1.45;
}

.audience-card a {
  color: var(--green-deep);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: .25rem;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.insight-card,
.article-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(39, 116, 90, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 60px rgba(12, 71, 57, .08);
}

.insight-card.featured {
  grid-column: span 2;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(12, 71, 57, .96), rgba(17, 112, 82, .9)),
    var(--green-deep);
  box-shadow: 0 30px 70px rgba(12, 71, 57, .18);
}

.insight-card.featured h3,
.insight-card.featured p,
.insight-card.featured a {
  color: #fff;
}

.insight-card.featured span {
  color: #ffd9c7;
}

.insight-card span,
.article-meta {
  color: var(--red);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.insight-card h3,
.article-card h3 {
  margin: 0;
  color: var(--ink);
}

.insight-card p,
.article-card p {
  margin: 0;
  color: var(--muted);
}

.insight-card a,
.article-card a {
  color: var(--green-deep);
  font-weight: 800;
}

.article-body {
  max-width: 880px;
}

.article-body h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body ul {
  display: grid;
  gap: .7rem;
  margin: 1.1rem 0;
  padding-left: 1.2rem;
}

.article-sources {
  margin: 2.5rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(39, 116, 90, .16);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: rgba(248, 251, 251, .82);
}

.article-sources strong {
  display: block;
  margin-bottom: .65rem;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-sources ul {
  margin: 0;
}

.article-sources a {
  color: var(--green-deep);
  font-weight: 800;
  text-decoration-color: rgba(214, 40, 40, .42);
  text-underline-offset: .18em;
}

.article-cta {
  margin: 2.6rem 0;
  padding: 1.4rem;
  border: 1px solid rgba(39, 116, 90, .18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 163, 138, .12), rgba(255, 255, 255, .92)),
    #fff;
  box-shadow: 0 24px 58px rgba(12, 71, 57, .08);
}

.article-cta strong {
  display: block;
  margin-bottom: .45rem;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-cta p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.system-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.05rem;
  padding: 1.35rem;
  border: 1px solid rgba(39, 116, 90, .14);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.system-card:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 116, 90, .28);
  box-shadow: var(--shadow-soft);
}

.system-card.feature-card {
  background: linear-gradient(145deg, #1d2b27, #174b38);
  color: var(--white);
  border-color: rgba(23, 72, 52, .8);
  box-shadow: 0 20px 46px rgba(23, 72, 52, .2);
}

.system-card.feature-card span {
  color: #f1c76c;
}

.system-card p {
  color: var(--muted);
}

.system-card.feature-card p {
  color: rgba(255, 255, 255, .78);
}

.system-meta {
  display: grid;
  gap: .6rem;
  margin: .05rem 0 0;
  padding: .82rem .9rem;
  border: 1px solid rgba(39, 116, 90, .14);
  border-radius: 8px;
  background: rgba(238, 247, 246, .58);
}

.system-card.feature-card .system-meta {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.system-meta div {
  min-width: 0;
}

.system-meta dt {
  color: var(--green-deep);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.system-card.feature-card .system-meta dt {
  color: #f1c76c;
}

.system-meta dd {
  margin: .22rem 0 0;
  color: #243d39;
  font-size: .86rem;
  line-height: 1.36;
}

.system-card.feature-card .system-meta dd {
  color: rgba(255, 255, 255, .82);
}

.system-details {
  display: grid;
  gap: .78rem;
  margin: 0;
}

.system-details div {
  min-width: 0;
  padding-top: .78rem;
  border-top: 1px solid rgba(39, 116, 90, .14);
}

.system-card.feature-card .system-details div {
  border-top-color: rgba(255, 255, 255, .18);
}

.system-details dt {
  color: var(--green-deep);
  font-size: .73rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.system-card.feature-card .system-details dt {
  color: #f1c76c;
}

.system-details dd {
  margin: .28rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.44;
}

.system-card.feature-card .system-details dd {
  color: rgba(255, 255, 255, .78);
}

.system-card a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: .25rem;
}

.system-card details {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.system-card.feature-card details {
  border-color: rgba(255, 255, 255, .2);
}

.system-card summary {
  cursor: pointer;
  color: var(--green-deep);
  font-size: .88rem;
  font-weight: 850;
  list-style-position: outside;
}

.system-card.feature-card summary {
  color: #f1c76c;
}

.system-card details p {
  margin: .55rem 0 0;
  font-size: .93rem;
  line-height: 1.5;
}


/* Polish pass: keep the homepage solution grid scannable; service pages carry the deeper detail. */
#systems .systems-grid {
  align-items: start;
}

#systems .system-card {
  min-height: 0;
  justify-content: flex-start;
  gap: .82rem;
  padding: 1.16rem;
}

#systems .system-card > p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.48;
}

#systems .system-meta {
  gap: 0;
  margin-top: .1rem;
  padding: .72rem .78rem;
}

#systems .system-meta div:nth-child(n+2),
#systems .system-details div:first-child,
#systems .system-card details {
  display: none;
}

#systems .system-details {
  gap: 0;
  margin-top: -.08rem;
}

#systems .system-details div {
  padding-top: .66rem;
}

#systems .system-card a {
  margin-top: auto;
}

.showcase-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 8.5rem;
  border-top: 1px solid rgba(15, 45, 35, .08);
  border-bottom: 1px solid rgba(15, 45, 35, .08);
  background:
    radial-gradient(circle at 12% 10%, rgba(111, 163, 138, .22), transparent 23rem),
    radial-gradient(circle at 92% 78%, rgba(214, 40, 40, .08), transparent 24rem),
    linear-gradient(135deg, #10251f 0%, #123a31 52%, #edf6f5 52.2%, #f8fbfa 100%);
}

#showcase {
  scroll-margin-top: 8.5rem;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 2.6rem;
  align-items: start;
}

.showcase-starts {
  grid-column: 1 / -1;
  margin-top: .2rem;
  padding: 1.1rem;
  border: 1px solid rgba(15, 45, 35, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 70px rgba(5, 22, 18, .18), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.showcase-starts-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .82rem;
}

.showcase-starts-head .eyebrow {
  margin: 0;
  color: var(--red);
}

.showcase-starts-head h3 {
  max-width: 42rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.16;
}

.showcase-starts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.showcase-starts-grid article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid rgba(15, 45, 35, .12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(241, 250, 248, .88));
  box-shadow: 0 14px 30px rgba(5, 22, 18, .08);
}

.showcase-starts-grid span {
  width: fit-content;
  margin-bottom: .56rem;
  padding: .26rem .5rem;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(111, 163, 138, .18);
  font-size: .72rem;
  font-weight: 900;
}

.showcase-starts-grid h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.showcase-starts-grid p {
  margin: .42rem 0 .8rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.42;
}

.showcase-starts-grid a {
  margin-top: auto;
  color: var(--green-deep);
  font-size: .82rem;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: .18rem;
}

.showcase-copy {
  margin: 0;
}

.showcase-copy .eyebrow,
.showcase-copy h2,
.showcase-copy p {
  color: #ffffff;
}

.showcase-copy .eyebrow {
  color: #f1c76c;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 .72rem;
  padding: .34rem .62rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .1);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.showcase-kicker span {
  margin-left: .5rem;
  padding-left: .5rem;
  border-left: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .7);
  font-weight: 800;
  text-transform: none;
}

.showcase-copy p {
  color: rgba(255, 255, 255, .78);
}

.showcase-copy .button.secondary {
  border-color: rgba(255, 255, 255, .82);
  color: var(--green-deep);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 34px rgba(5, 22, 18, .22);
}

.showcase-copy .button.secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(18, 63, 49, .96);
}

.showcase-pack {
  position: relative;
  padding: 1.16rem;
  border: 1px solid rgba(15, 45, 35, .18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 251, 250, .92));
  box-shadow: 0 32px 90px rgba(16, 32, 29, .2);
}

.showcase-pack::after {
  content: "";
  position: absolute;
  right: -2.6rem;
  top: -2.8rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 40, 40, .12), transparent 68%);
  pointer-events: none;
}

.showcase-pack::before {
  content: "";
  position: absolute;
  inset: 1.05rem;
  pointer-events: none;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(15, 45, 35, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 45, 35, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, transparent 0, #000 18%, #000 78%, transparent 100%);
  opacity: .34;
}

.showcase-pack > * {
  position: relative;
  z-index: 2;
}

.showcase-flow {
  position: relative;
  display: grid;
  min-height: 26.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(10.4rem, auto));
  gap: 3.35rem 3.05rem;
  padding: .65rem .2rem .35rem;
}

.showcase-flow-lines {
  position: absolute;
  inset: .1rem 0 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow-path {
  fill: none;
  stroke: rgba(111, 163, 138, .62);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 13;
  filter: drop-shadow(0 8px 16px rgba(15, 45, 35, .12));
  animation: flow-dash 9s linear infinite;
}

.path-two {
  stroke: rgba(214, 40, 40, .42);
  animation-duration: 10.5s;
}

.path-three {
  stroke: rgba(15, 45, 35, .38);
  animation-duration: 11s;
}

.flow-pulse {
  fill: var(--red);
  opacity: .84;
  filter: drop-shadow(0 0 10px rgba(214, 40, 40, .38));
}

.pulse-two {
  fill: var(--green);
}

.pulse-three {
  fill: var(--green-deep);
}

.flow-node,
.showcase-note {
  padding: 1rem;
  border: 1px solid rgba(15, 45, 35, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(240, 248, 246, .86));
  box-shadow: 0 12px 28px rgba(5, 22, 18, .07);
}

.flow-node {
  position: relative;
  z-index: 1;
  min-height: 10.4rem;
  overflow: hidden;
}

.flow-node::after {
  content: "";
  position: absolute;
  right: .86rem;
  bottom: .8rem;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(111, 163, 138, .22), rgba(111, 163, 138, .08) 46%, transparent 47%);
  opacity: .76;
}

.node-two::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 40, 40, .18), rgba(214, 40, 40, .07) 46%, transparent 47%);
}

.node-three::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 45, 35, .18), rgba(15, 45, 35, .07) 46%, transparent 47%);
}

.node-four::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(241, 199, 108, .34), rgba(241, 199, 108, .1) 46%, transparent 47%);
}

.node-one,
.node-four {
  transform: translateY(.35rem);
}

.node-two,
.node-three {
  transform: translateY(-.35rem);
}

.flow-node h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.22;
}

.flow-node p,
.showcase-note p {
  margin: .34rem 0 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.5;
}

.flow-node span {
  display: inline-flex;
  width: fit-content;
  margin: .04rem 0 .68rem;
  padding: .24rem .5rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green-deep);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.showcase-note {
  margin-top: .7rem;
  border-left: 4px solid var(--green-deep);
  background: linear-gradient(135deg, #ffffff, #eef8f5);
}

.showcase-note strong {
  color: var(--ink);
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -176;
  }
}

@media (min-width: 901px) {
  .showcase-note p {
    max-width: 31rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-path {
    animation: none;
  }

  .flow-pulse {
    display: none;
  }
}

.screenshots-section {
  position: relative;
  overflow: hidden;
  padding-top: 3.8rem;
  border-top: 1px solid rgba(15, 45, 35, .08);
  border-bottom: 1px solid rgba(15, 45, 35, .08);
  background:
    radial-gradient(circle at 12% 20%, rgba(72, 189, 176, .16), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(214, 40, 40, .08), transparent 22rem),
    linear-gradient(180deg, #f7fbfb 0, #edf6f5 100%);
}

.screenshots-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 2.4rem;
  align-items: start;
}

.screenshots-copy {
  margin: 0;
}

.screenshots-carousel {
  min-width: 0;
}

.screenshots-frame {
  overflow: hidden;
  border: 1px solid rgba(15, 45, 35, .14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72));
  box-shadow: 0 26px 70px rgba(16, 32, 29, .15);
}

.screenshots-track {
  display: flex;
  transition: transform .34s ease;
  will-change: transform;
}

.screenshot-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(250px, .86fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1.05rem;
  overflow: hidden;
}

.real-screenshot,
.mock-screen {
  min-width: 0;
  min-height: 360px;
  margin: 0;
  border: 1px solid rgba(15, 45, 35, .13);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.real-screenshot {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: clamp(300px, 24vw, 365px);
  background: #0d1614;
}

.real-screenshot.light-screenshot {
  background: #ffffff;
}

.real-screenshot img {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.screenshot-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-open::after {
  content: "View full screenshot";
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .38rem .58rem;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 45, 35, .82);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  opacity: .9;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.screenshot-open:hover::after,
.screenshot-open:focus-visible::after {
  background: rgba(15, 45, 35, .96);
  opacity: 1;
  transform: translateY(-1px);
}

.screenshot-open:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -5px;
}

.mock-screen {
  display: grid;
  gap: .85rem;
  align-content: start;
  padding: .9rem;
  background:
    linear-gradient(180deg, #ffffff, #f5faf9);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(15, 45, 35, .1);
  color: var(--muted);
  font-size: .78rem;
}

.mock-topbar span {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--green);
  opacity: .72;
}

.mock-topbar span:nth-child(2) {
  background: var(--gold);
}

.mock-topbar span:nth-child(3) {
  background: var(--red);
}

.mock-topbar strong {
  margin-left: .45rem;
  color: var(--green-deep);
  font-size: .78rem;
}

.screenshot-caption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: .72rem;
  padding: .75rem .55rem;
}

.screenshot-caption span {
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.screenshot-caption h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.65rem, 2.75vw, 2.4rem);
  line-height: 1.04;
}

.screenshot-caption p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.48;
}

.query-box,
.answer-card,
.draft-panel,
.control-gates,
.channel-message,
.task-column div,
.agent-row,
.model-card {
  border: 1px solid rgba(15, 45, 35, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-tight);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}

.model-card {
  display: grid;
  gap: .18rem;
  min-height: 118px;
  align-content: start;
  padding: .75rem;
}

.model-card.is-selected {
  color: var(--white);
  background: linear-gradient(145deg, var(--green-deep), #145d47);
}

.model-card small,
.draft-panel small {
  color: var(--red);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-card.is-selected small,
.model-card.is-selected span {
  color: rgba(255, 255, 255, .74);
}

.model-card strong {
  color: inherit;
  line-height: 1.15;
}

.model-card span,
.task-column span {
  color: var(--muted);
  font-size: .82rem;
}

.guardrail-list,
.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.guardrail-list span,
.source-strip span {
  padding: .44rem .62rem;
  border: 1px solid rgba(15, 45, 35, .12);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(216, 238, 233, .62);
  font-size: .78rem;
  font-weight: 800;
}

.query-box {
  padding: .82rem .9rem;
  color: var(--green-deep);
  font-weight: 850;
}

.answer-card {
  display: grid;
  gap: .35rem;
  padding: 1rem;
  background: linear-gradient(145deg, #ffffff, #edf7f5);
}

.answer-card strong {
  color: var(--green-deep);
}

.answer-card p {
  margin: 0;
  color: var(--muted);
}

.task-column {
  display: grid;
  gap: .65rem;
}

.task-column div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding: .75rem;
}

.task-column strong,
.agent-row strong,
.control-gates strong {
  color: var(--green-deep);
}

.draft-panel {
  padding: 1rem;
  border-left: 4px solid var(--green);
}

.draft-panel p {
  margin: .25rem 0 0;
  color: var(--muted);
}

.agent-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .75rem .8rem;
}

.status-pill {
  padding: .28rem .48rem;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: .74rem;
  font-weight: 850;
}

.status-pill.amber {
  background: #fff2cf;
}

.status-pill.blue {
  background: #dceff5;
}

.control-gates {
  display: grid;
  gap: .25rem;
  padding: .95rem;
  border-left: 4px solid var(--red);
}

.control-gates span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-screen {
  grid-template-columns: minmax(112px, .42fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #15191d;
}

.channel-sidebar {
  display: grid;
  gap: .58rem;
  align-content: start;
  padding: 1rem .85rem;
  color: rgba(255, 255, 255, .72);
  background: #101417;
  font-size: .78rem;
}

.channel-sidebar strong {
  color: var(--white);
  font-size: .82rem;
}

.channel-sidebar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-sidebar .is-current {
  padding: .38rem .45rem;
  border-radius: 6px;
  color: var(--white);
  background: rgba(111, 163, 138, .28);
  font-weight: 850;
}

.channel-feed {
  display: grid;
  gap: .85rem;
  align-content: start;
  min-width: 0;
  padding: .95rem;
  color: var(--white);
}

.channel-feed .mock-topbar {
  border-color: rgba(255, 255, 255, .1);
}

.channel-feed .mock-topbar strong {
  color: rgba(255, 255, 255, .8);
}

.channel-message {
  display: grid;
  gap: .4rem;
  padding: .9rem;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.channel-message small {
  color: #f2c76e;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.channel-message strong {
  color: var(--white);
  line-height: 1.14;
}

.channel-message p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  line-height: 1.38;
}

.channel-message.secondary {
  border-left: 4px solid var(--red);
}

.channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .15rem;
}

.channel-actions span {
  padding: .34rem .5rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: var(--white);
  background: rgba(111, 163, 138, .22);
  font-size: .72rem;
  font-weight: 850;
}

.sms-screen {
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(111, 163, 138, .22), transparent 32%),
    linear-gradient(145deg, #111217, #050607);
}

.phone-shell {
  width: min(100%, 265px);
  min-height: 330px;
  padding: .85rem .75rem 1rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 26px;
  color: var(--white);
  background: #050607;
  box-shadow: 0 22px 45px rgba(0, 0, 0, .34);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 850;
}

.sms-contact {
  display: grid;
  justify-items: center;
  gap: .16rem;
  padding: .75rem 0 .55rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.contact-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  font-size: .82rem;
  font-weight: 900;
}

.sms-contact strong {
  color: var(--white);
  font-size: .88rem;
}

.sms-contact span {
  color: rgba(255, 255, 255, .48);
  font-size: .68rem;
}

.sms-bubble {
  display: grid;
  gap: .62rem;
  max-width: 220px;
  margin-top: .9rem;
  padding: .85rem;
  border-radius: 16px 16px 16px 5px;
  color: var(--white);
  background: #2c2d33;
  font-size: .82rem;
  line-height: 1.28;
}

.sms-bubble strong {
  color: var(--white);
  line-height: 1.16;
}

.sms-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
}

.screenshots-controls {
  display: flex;
  justify-content: flex-end;
  gap: .7rem;
  align-items: center;
  margin-top: 1rem;
}

.carousel-button,
.screenshot-dot {
  border: 1px solid rgba(15, 45, 35, .18);
  color: var(--green-deep);
  background: rgba(255, 255, 255, .86);
  cursor: pointer;
}

.carousel-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: var(--shadow-tight);
}

.screenshots-dots {
  display: flex;
  gap: .45rem;
}

.screenshot-dot {
  width: .58rem;
  height: .58rem;
  padding: 0;
  border-radius: 999px;
  opacity: .54;
}

.screenshot-dot.is-active {
  width: 1.65rem;
  background: var(--green-deep);
  opacity: 1;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(7, 18, 16, .88);
}

.screenshot-lightbox figure {
  width: min(1240px, 94vw);
  max-height: 84vh;
  margin: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.screenshot-lightbox img {
  display: block;
  width: 100%;
  height: auto;
}

.lightbox-close {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 41;
  padding: .62rem .82rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 45, 35, .92);
  font-weight: 850;
  cursor: pointer;
  box-shadow: var(--shadow-tight);
}

body.has-lightbox {
  overflow: hidden;
}

.impact-band {
  background:
    linear-gradient(135deg, #082f35 0, #0e594a 50%, #286783 100%);
  color: var(--white);
}

.impact-band .eyebrow {
  color: #f1c76c;
}

.impact-list {
  display: grid;
  gap: .75rem;
}

.impact-list div {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 1rem;
  padding: .95rem 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.impact-list span {
  color: rgba(255, 255, 255, .76);
}

.packages-section {
  background:
    linear-gradient(180deg, var(--paper-2), #f9fcfc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.05rem;
}

.price-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.55rem;
  padding: 1.45rem;
  border: 1px solid rgba(39, 116, 90, .15);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  background: linear-gradient(145deg, var(--green-deep), var(--ink));
  color: var(--white);
  border-color: rgba(23, 72, 52, .8);
}

.price-card p {
  color: var(--muted);
}

.price-card.featured p {
  color: rgba(255, 255, 255, .78);
}

.price-label {
  margin: 0 0 .7rem;
  color: var(--red);
  font-weight: 850;
  font-size: .8rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-card.featured .price-label {
  color: #f1c76c;
}

.price-footer {
  display: grid;
  gap: .7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.price-card.featured .price-footer {
  border-color: rgba(255, 255, 255, .2);
}

.price-footer strong {
  font-size: 1.75rem;
  line-height: 1.1;
}

.price-footer span {
  color: var(--muted);
  font-size: .92rem;
}

.price-card.featured .price-footer span {
  color: rgba(255, 255, 255, .72);
}

.readiness-section {
  background:
    linear-gradient(180deg, #f7fbfb, #eef7f7);
  border-top: 1px solid var(--line);
}

.readiness-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.scorecard {
  display: grid;
  gap: .9rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(16, 71, 57, .14);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.scorecard fieldset {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}

.scorecard legend {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: .25rem;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.3;
}

.scorecard label {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(16, 71, 57, .12);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fbfb;
  font-size: .88rem;
  cursor: pointer;
}

.scorecard input {
  width: auto;
}

.scorecard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.scorecard-result {
  display: grid;
  gap: .45rem;
  padding: 1rem;
  border: 1px solid rgba(31, 122, 99, .2);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--green-deep), var(--ink));
  color: rgba(255, 255, 255, .82);
}

.scorecard-result strong {
  color: var(--white);
  font-size: 1.08rem;
}

.scorecard-result span {
  color: rgba(255, 255, 255, .78);
}

.scorecard-result .button {
  margin-top: .3rem;
  width: fit-content;
}

.scorecard-result.is-warning {
  background: #fff8e6;
  color: var(--ink);
}

.scorecard-result.is-warning strong,
.scorecard-result.is-warning span {
  color: var(--ink);
}

.faq-section {
  background: rgba(255, 255, 255, .72);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.faq-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid rgba(16, 71, 57, .14);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.faq-card[open] {
  border-color: rgba(15, 45, 35, .24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(232, 246, 243, .9));
  box-shadow: var(--shadow-soft);
}

.faq-card[open]::after {
  content: "";
  position: absolute;
  right: -2.4rem;
  bottom: -1.55rem;
  width: 13.2rem;
  height: 9.2rem;
  background: url("/assets/ai4w-faq-watermark.png") center / contain no-repeat;
  opacity: .045;
  pointer-events: none;
}

.faq-card summary {
  position: relative;
  z-index: 1;
  cursor: pointer;
  color: var(--green-deep);
  font-weight: 850;
  list-style: none;
  padding-right: 2.5rem;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "";
  position: absolute;
  top: -.15rem;
  right: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(15, 45, 35, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(15, 45, 35, .08);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.faq-card summary::before {
  content: "";
  position: absolute;
  top: .38rem;
  right: .67rem;
  z-index: 2;
  width: .42rem;
  height: .42rem;
  border-right: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
  transform: rotate(45deg);
  transition: transform .18s ease, top .18s ease;
}

.faq-card[open] summary::after {
  border-color: rgba(214, 40, 40, .24);
  background: rgba(255, 255, 255, .94);
}

.faq-card[open] summary::before {
  top: .58rem;
  transform: rotate(225deg);
}

.faq-card p {
  position: relative;
  z-index: 1;
  margin: .8rem 0 0;
  color: var(--muted);
}

.service-page {
  background:
    linear-gradient(180deg, #ffffff 0, #f7fbfb 42%, #eef7f6 100%);
}

.service-hero {
  isolation: isolate;
  position: relative;
  padding: 6.2rem 0 5rem;
  background:
    linear-gradient(112deg, rgba(15, 45, 35, .055) 0 18%, transparent 18% 100%),
    radial-gradient(circle at 12% 10%, rgba(111, 163, 138, .24), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(40, 103, 131, .14), transparent 24rem),
    linear-gradient(180deg, #ffffff 0, #f2faf9 58%, #eaf4f3 100%);
  border-bottom: 1px solid rgba(16, 71, 57, .1);
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0 47%, rgba(15, 45, 35, .055) 47% 47.12%, transparent 47.12% 100%),
    linear-gradient(112deg, transparent 0 56%, rgba(111, 163, 138, .09) 56% 56.15%, transparent 56.15% 100%),
    radial-gradient(circle at 70% 48%, rgba(214, 40, 40, .07) 0 .22rem, transparent .24rem),
    radial-gradient(circle at 78% 34%, rgba(40, 103, 131, .1) 0 .18rem, transparent .2rem),
    radial-gradient(circle at 85% 59%, rgba(111, 163, 138, .12) 0 .2rem, transparent .22rem);
  opacity: .95;
  pointer-events: none;
}

.service-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4.5rem;
  width: min(760px, 80vw);
  height: 9rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(111, 163, 138, .18), transparent 68%);
  pointer-events: none;
}

.service-hero-grid,
.service-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 2.75rem;
  align-items: center;
}

.service-hero-grid {
  position: relative;
  z-index: 1;
}

.service-hero-grid > div:first-child {
  max-width: 900px;
}

.service-hero h1 {
  max-width: 980px;
  font-size: clamp(3.15rem, 6.2vw, 5.4rem);
}

.service-hero .lead {
  max-width: 820px;
}

.service-hero .hero-actions {
  margin-top: 1.65rem;
}

.service-two-col.reverse {
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1fr);
}

.service-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(39, 116, 90, .16);
  border-radius: 8px;
  padding: 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(243, 249, 248, .98));
  box-shadow: 0 22px 58px rgba(19, 40, 38, .1);
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.service-panel > * {
  position: relative;
  z-index: 1;
}

.service-panel h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.service-panel .eyebrow {
  margin-bottom: 1.15rem;
}

.service-panel p {
  color: var(--muted);
}

.service-panel.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(111, 163, 138, .22), transparent 13rem),
    linear-gradient(145deg, #10201d, #123d34 58%, #1b5365);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 62px rgba(16, 32, 29, .2);
}

.service-panel.dark::before {
  background: linear-gradient(180deg, #f1c76c, var(--green));
}

.service-panel.dark .eyebrow,
.service-panel.dark p {
  color: rgba(255, 255, 255, .78);
}

.service-panel.dark h2 {
  color: var(--white);
}

.service-note {
  margin-top: 1.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(223, 179, 78, .26);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: #243d39;
  background: linear-gradient(180deg, #fffaf0, #fffdf7);
  box-shadow: var(--shadow-tight);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: .75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  font-weight: 730;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .62rem;
  height: .62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.service-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-page .service-hero + .section {
  padding-top: 3.5rem;
}

.service-proof div,
.mini-card-grid article {
  position: relative;
  border: 1px solid rgba(39, 116, 90, .14);
  border-radius: 8px;
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 252, 252, .96));
  box-shadow: var(--shadow-tight);
}

.service-proof div {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-proof div::before,
.mini-card-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--blue));
}

.service-proof div::after {
  content: "";
  position: absolute;
  right: -2.6rem;
  bottom: -2.8rem;
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111, 163, 138, .18), transparent 68%);
}

.service-proof span {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  margin-bottom: .9rem;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-deep), var(--blue));
  box-shadow: 0 12px 24px rgba(40, 103, 131, .18);
  font-weight: 900;
}

.service-proof strong {
  display: block;
  color: var(--green-deep);
  font-size: 1.05rem;
}

.service-proof p,
.mini-card-grid p {
  margin: .55rem 0 0;
  color: var(--muted);
}

.service-section {
  background:
    linear-gradient(180deg, #f4fbfa 0, #ffffff 100%);
  border-top: 1px solid rgba(16, 71, 57, .08);
  border-bottom: 1px solid rgba(16, 71, 57, .08);
}

.process-list {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: .85rem;
  row-gap: .65rem;
  padding: 1.15rem;
  border: 1px solid rgba(40, 103, 131, .16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f8fcfc);
  box-shadow: var(--shadow-tight);
}

.process-list li::before {
  content: counter(process);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-deep), var(--blue));
  font-weight: 900;
}

.process-list strong {
  display: block;
  align-self: center;
  color: var(--green-deep);
  line-height: 1.25;
}

.process-list span {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.5;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-card-grid article {
  min-height: 150px;
  overflow: hidden;
}

.mini-card-grid h3 {
  color: var(--green-deep);
}

.contact-section {
  border-top: 1px solid rgba(15, 45, 35, .12);
  background:
    linear-gradient(180deg, rgba(15, 45, 35, .07), rgba(15, 45, 35, 0) 3.6rem),
    radial-gradient(circle at 12% 18%, rgba(111, 163, 138, .2), transparent 23rem),
    linear-gradient(180deg, #eef7f6 0, #f9fcfc 44%, var(--paper) 100%);
  box-shadow: inset 0 20px 34px rgba(15, 45, 35, .035);
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem;
}

.contact-methods {
  margin-top: 1.5rem;
}

form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid rgba(39, 116, 90, .15);
  border-radius: 8px;
  padding: 1.45rem;
  box-shadow: var(--shadow-soft);
}

label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-weight: 720;
  font-size: .92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c7d5ce;
  border-radius: 8px;
  padding: .8rem;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(39, 116, 90, .18);
  border-color: var(--green);
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.notice {
  color: var(--muted);
  font-size: .9rem;
}

.honeypot {
  position: absolute;
  left: -5000px;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: .8rem;
  pointer-events: none;
}

.chat-widget > * {
  pointer-events: auto;
}

.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 39;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(15, 45, 35, .16);
  border-radius: 999px;
  padding: .62rem .85rem .64rem;
  color: var(--green-deep);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(16, 32, 29, .12);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
  backdrop-filter: blur(12px);
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 32, 29, .18);
}

.back-to-top span {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green-deep);
  line-height: 1;
}

.back-to-top strong {
  font-size: .92rem;
}

@media (min-width: 769px) {
  .back-to-top {
    left: auto;
    right: 24px;
    bottom: 96px;
  }
}

.chat-toggle {
  display: grid;
  gap: .1rem;
  min-width: 248px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: .85rem 1.15rem .9rem;
  color: var(--white);
  background:
    linear-gradient(135deg, #0f2b25, #1f7a63 58%, #286783);
  box-shadow: 0 18px 45px rgba(16, 32, 29, .24);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.chat-toggle:hover,
.chat-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(16, 32, 29, .3);
}

.chat-toggle span {
  font-weight: 900;
  line-height: 1.1;
}

.chat-toggle small {
  color: rgba(255, 255, 255, .78);
  font-weight: 680;
  line-height: 1.25;
}

.chat-panel {
  width: min(410px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 120px));
  overflow: auto;
  border: 1px solid rgba(12, 71, 57, .18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 248, 248, .98));
  box-shadow: 0 28px 90px rgba(16, 32, 29, .26);
}

.chat-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.2rem .8rem;
  border-bottom: 1px solid rgba(39, 116, 90, .12);
  background:
    radial-gradient(circle at 100% 0, rgba(72, 189, 176, .24), transparent 13rem),
    #ffffff;
}

.chat-panel-head .eyebrow {
  margin: 0 0 .28rem;
}

.chat-panel-head h2 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.08;
}

.chat-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(39, 116, 90, .18);
  border-radius: 999px;
  color: var(--green-deep);
  background: #ffffff;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.chat-thread {
  display: grid;
  gap: .7rem;
  padding: 1rem 1.2rem .85rem;
}

.chat-bubble {
  margin: 0;
  border-radius: 8px;
  padding: .8rem .9rem;
  font-size: .94rem;
  line-height: 1.45;
}

.chat-bubble.from-us {
  color: #18312d;
  background: #e9f4f2;
  border: 1px solid rgba(39, 116, 90, .12);
}

.chat-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0 1.2rem 1rem;
}

.chat-topics button {
  border: 1px solid rgba(40, 103, 131, .18);
  border-radius: 999px;
  padding: .45rem .7rem;
  color: var(--blue);
  background: #ffffff;
  font: inherit;
  font-size: .84rem;
  font-weight: 820;
  cursor: pointer;
}

.chat-topics button:hover,
.chat-topics button:focus-visible {
  border-color: rgba(31, 122, 99, .42);
  color: var(--green-deep);
  background: #f2faf8;
}

.chat-form {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(39, 116, 90, .12);
  border-radius: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, .86);
  padding: 1rem 1.2rem 1.2rem;
}

.chat-form textarea {
  min-height: 118px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.6rem 0;
  color: rgba(255, 255, 255, .68);
  background:
    linear-gradient(135deg, #0f1c18, #143428 62%, #20353d);
  font-size: .82rem;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
  align-items: start;
}

.footer-inner div {
  display: grid;
  gap: .28rem;
}

.footer-inner div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .38rem;
}

.footer-inner a {
  color: #fff4d4;
  font-weight: 750;
}

.footer-inner strong {
  color: var(--white);
  font-size: 1rem;
}

.footer-inner span {
  line-height: 1.45;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-page h1 {
  font-size: 3.6rem;
}

.legal-page h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav,
  .hero,
  .section-inner,
  .footer-inner,
  .legal-page {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav {
    min-height: 72px;
    padding-top: .85rem;
    padding-bottom: .85rem;
    align-items: center;
  }

  .brand {
    gap: 0;
  }

  .brand-logo-img {
    width: 126px;
  }

  .nav-links {
    gap: .5rem;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .nav-links .button {
    display: inline-flex;
    min-height: 40px;
    padding: .58rem .7rem;
    width: auto;
    white-space: nowrap;
    font-size: .84rem;
  }

  @media (max-width: 520px) {
    .site-header {
      position: sticky;
    }

    .nav {
      position: relative;
      width: 100%;
      display: flex;
      justify-content: flex-start;
      gap: .85rem;
    }

    .brand {
      min-width: 0;
    }

    .nav-links {
      width: auto;
      justify-content: flex-start;
      min-width: 0;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
    }

    .brand-logo-img {
      width: 64px;
    }

    .nav-links .button {
      max-width: calc(100vw - 120px);
    }

    .showcase-copy .hero-actions {
      align-items: stretch;
    }

    .showcase-copy .button {
      width: 100%;
      justify-content: center;
    }
  }

  .hero,
  .service-hero-grid,
  .service-two-col,
  .service-two-col.reverse,
  .split-layout,
  .impact-layout,
  .local-layout,
  .market-layout,
  .contact-layout,
  .readiness-layout,
  .showcase-layout,
  .screenshots-layout,
  .audience-grid,
  .systems-grid {
    grid-template-columns: 1fr;
  }

  .showcase-section {
    background:
      radial-gradient(circle at 8% 8%, rgba(111, 163, 138, .2), transparent 18rem),
      linear-gradient(180deg, #10251f 0%, #123a31 48%, #edf6f5 48.2%, #f8fbfa 100%);
    scroll-margin-top: 7rem !important;
  }

  #showcase {
    scroll-margin-top: 7rem !important;
  }

  .showcase-layout {
    gap: 1.6rem;
  }

  .showcase-pack {
    padding: .85rem;
  }

  .showcase-flow {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: .82rem;
    padding: .2rem 0 .1rem 1rem;
  }

  .showcase-flow::before {
    content: "";
    position: absolute;
    left: .18rem;
    top: 1.2rem;
    bottom: .92rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--green), var(--red), var(--green-deep));
    opacity: .55;
  }

  .showcase-flow-lines {
    display: none;
  }

  .flow-node {
    min-height: 0;
    transform: none;
  }

  .flow-node::before {
    content: "";
    position: absolute;
    left: -1.18rem;
    top: 1.22rem;
    width: .72rem;
    height: .72rem;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--green-deep);
    box-shadow: 0 0 0 4px rgba(111, 163, 138, .22);
  }

  .node-two::before {
    background: var(--green);
  }

  .node-three::before {
    background: var(--red);
  }

  .node-four::before {
    background: var(--green-deep);
  }

  .showcase-starts {
    padding: .85rem;
  }

  .showcase-starts-head {
    display: block;
  }

  .showcase-starts-head h3 {
    margin-top: .4rem;
  }

  .showcase-starts-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-card.featured {
    grid-column: auto;
  }

  .service-hero {
    padding: 3.2rem 0 2.4rem;
  }

  .service-hero::before {
    opacity: .42;
    background:
      radial-gradient(circle at 86% 14%, rgba(111, 163, 138, .18) 0 .22rem, transparent .24rem),
      radial-gradient(circle at 94% 40%, rgba(40, 103, 131, .12) 0 .18rem, transparent .2rem);
  }

  .service-hero h1 {
    font-size: 2.75rem;
    line-height: 1.08;
  }

  .service-hero-grid,
  .service-two-col {
    gap: 1.45rem;
  }

  .service-panel {
    padding: 1.15rem;
  }

  .service-panel h2 {
    font-size: 1.55rem;
  }

  .service-page .service-hero + .section {
    padding-top: 2.2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3.8rem;
    padding-bottom: 2rem;
    gap: 2rem;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 32px);
    min-width: 0;
  }

  .hero-copy::before {
    inset: -1.3rem -1rem -1.1rem -1rem;
    background: transparent;
  }

  .hero-flow {
    display: none;
  }

  .hero .eyebrow {
    margin-bottom: 1.15rem;
    padding-top: .2rem;
  }

  h1 {
    font-size: 2.75rem;
    line-height: 1.08;
    max-width: 100%;
    text-wrap: initial;
    overflow-wrap: break-word;
    white-space: normal;
  }

  h2,
  .legal-page h1 {
    font-size: 2.1rem;
    line-height: 1.1;
  }

  .lead {
    font-size: 1.05rem;
    max-width: 100%;
  }

  .intro-section .intro-copy,
  .market-section .quote-stack,
  .impact-band .impact-list,
  .local-section .local-layout > div:last-child {
    padding-top: 0;
  }

  .contact-section form,
  .readiness-section .scorecard {
    margin-top: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .nav-links .button {
    width: auto;
  }

  .service-proof,
  .mini-card-grid,
  .pricing-grid,
  .faq-grid,
  .scorecard fieldset,
  .form-grid,
  .footer-inner,
  .impact-list div {
    grid-template-columns: 1fr;
  }

  .service-proof {
    gap: .85rem;
  }

  .service-proof div,
  .mini-card-grid article {
    min-height: auto;
  }

  .process-list li {
    padding: .95rem;
  }

  .scorecard {
    padding: 1rem;
  }

  .scorecard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .scorecard-result .button {
    width: 100%;
  }


  #systems .system-card {
    gap: .68rem;
    padding: 1rem;
  }

  #systems .system-card > p {
    font-size: .94rem;
    line-height: 1.42;
  }

  #systems .system-meta,
  #systems .system-details {
    display: none;
  }

  #systems .system-card a {
    margin-top: .15rem;
  }
  .solution-map,
  .audience-card,
  .system-card,
  .screenshots-carousel,
  .price-card,
  form {
    width: 100%;
  }

  .screenshot-slide {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .mock-screen {
    min-height: 290px;
  }

  .channel-screen {
    grid-template-columns: 1fr;
  }

  .channel-sidebar {
    display: none;
  }

  .channel-feed {
    padding: .85rem;
  }

  .channel-message p {
    font-size: .8rem;
  }

  .phone-shell {
    width: min(100%, 245px);
    min-height: 300px;
  }

  .sms-bubble {
    max-width: 205px;
    font-size: .76rem;
  }

  .real-screenshot {
    min-height: 0;
    height: clamp(250px, 54vw, 310px);
  }

  .screenshot-caption {
    display: grid;
    gap: .45rem;
    padding: .45rem .35rem .35rem;
  }

  .screenshot-caption h3 {
    max-width: 100%;
  }

  .screenshots-controls {
    justify-content: center;
  }

  .screenshot-lightbox {
    padding: .85rem;
  }

  .screenshot-lightbox figure {
    width: 100%;
    max-height: 82vh;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-items: stretch;
  }

  .back-to-top {
    left: auto;
    right: 14px;
    bottom: 92px;
    padding: .52rem .68rem .54rem;
  }

  .back-to-top strong {
    display: none;
  }

  .chat-panel {
    width: 100%;
    max-height: calc(100vh - 104px);
  }

  .chat-toggle {
    width: 100%;
    min-width: 0;
    border-radius: 10px;
  }

  .chat-panel-head,
  .chat-thread,
  .chat-topics,
  .chat-form {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .solution-map-stage {
    gap: .85rem;
  }

  .solution-map-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    padding: .75rem;
  }

  .solution-core,
  .map-lines {
    display: none;
  }

  .solution-node,
  .node-reporting,
  .node-knowledge,
  .node-workflow,
  .node-governance,
  .node-evidence,
  .node-triage {
    position: static;
    width: 100%;
    min-height: 52px;
    transform: none;
  }

  .solution-node:hover,
  .solution-node:focus-visible,
  .solution-node.is-active,
  .node-knowledge:hover,
  .node-knowledge:focus-visible,
  .node-knowledge.is-active,
  .node-evidence:hover,
  .node-evidence:focus-visible,
  .node-evidence.is-active {
    transform: translateY(-1px);
  }

  .solution-detail dl {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 520px) {
  .hero {
    width: 100vw;
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .hero-copy,
  .lead,
  .hero-actions,
  .warm-line {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lead,
  .warm-line {
    overflow-wrap: break-word;
  }

  .nav {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: .85rem;
  }

  .brand {
    min-width: 0;
  }

  .brand picture {
    display: none;
  }

  .brand-mobile-text {
    display: inline-flex;
    gap: .32rem;
    align-items: baseline;
    font-family: "Poppins", Inter, ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .brand-mobile-text span {
    color: var(--green-deep);
    font-size: 1.05rem;
  }

  .brand-mobile-text strong {
    color: var(--green);
    font-size: 1.05rem;
    font-weight: 700;
  }

  .nav-links {
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    position: fixed !important;
    left: auto !important;
    right: 16px !important;
    top: 20px !important;
    transform: none !important;
    z-index: 12;
  }

  .nav-links .button {
    display: inline-flex;
    width: auto;
    max-width: calc(100vw - 132px);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links .button[data-mobile-label] {
    font-size: 0;
  }

  .nav-links .button[data-mobile-label]::after {
    content: attr(data-mobile-label);
    font-size: .84rem;
  }

  h1 {
    font-size: 1.62rem;
    line-height: 1.12;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: pretty;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-strands path,
  .flow-dots circle {
    animation: none;
  }

  .flow-strands path {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.operator-body {
  background:
    radial-gradient(circle at 10% 10%, rgba(111, 163, 138, .22), transparent 24rem),
    linear-gradient(180deg, #f8fbfb 0, #edf5f5 100%);
}

.operator-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.operator-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.operator-header h1 {
  margin: .15rem 0 .25rem;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.operator-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.operator-status {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(111, 163, 138, .36);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(216, 238, 233, .72);
  font-weight: 700;
}

.operator-metrics,
.operator-grid {
  display: grid;
  gap: 1rem;
}

.operator-metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1rem;
}

.operator-metrics article,
.operator-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-tight);
}

.operator-metrics article {
  padding: 1.1rem;
}

.operator-metrics span,
.operator-metrics small {
  display: block;
  color: var(--muted);
}

.operator-metrics strong {
  display: block;
  margin: .35rem 0;
  color: var(--green-deep);
  font-family: "Poppins", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.operator-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.operator-panel {
  overflow: hidden;
}

.operator-panel.wide {
  grid-column: span 2;
}

.operator-panel h2 {
  margin: 0;
  padding: 1rem 1rem .75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.operator-list {
  display: grid;
  gap: .75rem;
  padding: 1rem;
}

.operator-row,
.operator-record {
  border: 1px solid rgba(217, 228, 226, .9);
  border-radius: 8px;
  background: #fff;
}

.operator-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .8rem;
}

.operator-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.operator-row strong {
  color: var(--green-deep);
}

.operator-record {
  padding: .85rem;
}

.operator-record div {
  display: grid;
  gap: .15rem;
}

.operator-record strong {
  color: var(--green-deep);
}

.operator-record span,
.operator-record small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.operator-record p {
  margin: .6rem 0;
  color: var(--coal);
}

.compact-record p {
  margin: 0;
}

.operator-empty {
  margin: 0;
  color: var(--muted);
}

.operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: flex-end;
}

.agent-operator-actions {
  align-items: flex-end;
}

.operator-identity-field {
  display: grid;
  gap: .25rem;
  min-width: 190px;
}

.operator-identity-field span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.operator-identity-field input {
  min-height: 48px;
  border: 1px solid rgba(18, 63, 49, .24);
  border-radius: 8px;
  padding: .72rem .85rem;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.agent-control-shell {
  width: min(1320px, calc(100vw - 32px));
}

.agent-control-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agent-attention-panel {
  margin-top: 1rem;
}

.agent-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.agent-panel-heading h2 {
  margin: .1rem 0 0;
}

.agent-panel-heading small {
  max-width: 360px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

.agent-attention-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.agent-nudge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.agent-nudge-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  padding: .9rem;
  border: 1px solid rgba(15, 45, 35, .16);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
}

.agent-nudge-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: .24rem .48rem;
  border-radius: 999px;
  background: rgba(15, 45, 35, .08);
  color: var(--green-deep);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.agent-nudge-item strong {
  display: block;
  color: var(--green-deep);
  font-size: 1rem;
}

.agent-nudge-item p {
  margin: .28rem 0;
  color: var(--ink);
  font-weight: 760;
}

.agent-nudge-item small {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 760;
}

.agent-attention-item {
  display: grid;
  gap: .45rem;
  min-width: 0;
  padding: .9rem;
  border: 1px solid rgba(39, 116, 90, .16);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(248, 251, 251, .82);
}

.agent-attention-item.is-paused {
  border-left-color: var(--red);
  background: #fffafa;
}

.agent-attention-item.is-stale,
.agent-attention-item.is-attention,
.agent-attention-item.is-unknown,
.agent-attention-item.is-blocker,
.agent-attention-item.is-chat,
.agent-attention-item.is-reply {
  border-left-color: #c28125;
  background: #fffaf0;
}

.agent-attention-item.is-manual {
  border-left-color: var(--blue);
  background: #f5fbfd;
}

.agent-attention-item.is-monitor {
  border-left-color: var(--green);
  background: #f7fbf9;
}

.agent-attention-item div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}

.agent-attention-item strong {
  color: var(--green-deep);
  font-size: 1.03rem;
}

.agent-attention-item span,
.agent-attention-item small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.agent-attention-item span {
  text-transform: capitalize;
}

.agent-attention-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
}

.agent-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .2rem;
}

.agent-action-buttons .button {
  min-height: 0;
  padding: .48rem .68rem;
  font-size: .78rem;
}

.agent-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.agent-chat-panel {
  display: grid;
  gap: 1.15rem;
}

.agent-chat-layout {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(320px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.agent-chat-form {
  display: grid;
  grid-template-columns: minmax(180px, .6fr) 1fr;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid rgba(16, 71, 57, .12);
  border-radius: 8px;
  background: #f8fbfb;
}

.agent-chat-form label,
.agent-chat-message {
  display: grid;
  gap: .35rem;
}

.agent-chat-form label span {
  color: var(--green-deep);
  font-size: .8rem;
  font-weight: 850;
}

.agent-chat-message,
.agent-chat-form .button {
  grid-column: 1 / -1;
}

.agent-channel-draft {
  display: grid;
  gap: .65rem;
  padding: 1rem;
  border: 1px solid rgba(241, 199, 108, .55);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow-tight);
}

.agent-channel-draft[hidden] {
  display: none;
}

.agent-panel-heading.compact {
  align-items: center;
}

.agent-panel-heading.compact h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.agent-channel-draft pre {
  max-height: 18rem;
  margin: 0;
  padding: .85rem;
  overflow: auto;
  white-space: pre-wrap;
  border-radius: 8px;
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  font: .82rem/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.agent-chat-log {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.agent-chat-record p {
  margin: .5rem 0 0;
  color: var(--muted);
}

.agent-chat-record.is-agent_to_operator {
  border-color: rgba(15, 45, 35, .24);
  background: rgba(15, 45, 35, .04);
}

.operator-record.is-reviewed,
.agent-chat-record.is-reviewed {
  opacity: .72;
  background: rgba(248, 251, 251, .55);
}

.agent-card {
  border: 1px solid rgba(39, 116, 90, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-tight);
  padding: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.agent-card.is-highlighted {
  border-color: rgba(214, 40, 40, .38);
  box-shadow: 0 0 0 4px rgba(214, 40, 40, .08), var(--shadow-soft);
  transform: translateY(-2px);
}

.agent-card.is-paused {
  border-color: rgba(214, 40, 40, .28);
  background: #fffafa;
}

.agent-card.is-stale,
.agent-card.is-attention,
.agent-card.is-unknown {
  border-color: rgba(194, 129, 37, .34);
  background: #fffaf0;
}

.agent-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.agent-card h2 {
  margin: .1rem 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.agent-kicker {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agent-health {
  min-width: 92px;
  padding: .36rem .55rem;
  border-radius: 999px;
  background: rgba(111, 163, 138, .16);
  color: var(--green-deep);
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
  text-transform: capitalize;
}

.agent-card.is-paused .agent-health {
  background: rgba(214, 40, 40, .12);
  color: var(--red);
}

.agent-card.is-stale .agent-health,
.agent-card.is-attention .agent-health,
.agent-card.is-unknown .agent-health {
  background: rgba(241, 199, 108, .22);
  color: #775019;
}

.agent-mode-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: .75rem;
  align-items: end;
}

.agent-mode-row label,
.agent-card textarea {
  display: grid;
  gap: .35rem;
}

.agent-mode-row label span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.agent-mode-row select,
.agent-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 45, 35, .18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.agent-mode-row select {
  min-height: 44px;
  padding: .6rem .7rem;
  font-weight: 750;
}

.agent-card textarea {
  min-height: 70px;
  margin: .8rem 0 1rem;
  padding: .7rem;
  resize: vertical;
}

.agent-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin: 0;
}

.agent-facts div {
  min-width: 0;
  padding: .65rem;
  border: 1px solid rgba(217, 228, 226, .9);
  border-radius: 8px;
  background: rgba(248, 251, 251, .8);
}

.agent-facts dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.agent-facts dd {
  margin: .18rem 0 0;
  color: var(--green-deep);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.agent-note {
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.agent-reasons {
  margin: .65rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .88rem;
}

.agent-reasons li + li {
  margin-top: .2rem;
}

.agent-deliveries-panel {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .operator-header {
    display: grid;
  }

  .operator-metrics,
  .operator-grid,
  .agent-control-metrics,
  .agent-control-grid,
  .agent-chat-layout,
  .agent-nudge-list,
  .agent-attention-list {
    grid-template-columns: 1fr;
  }

  .agent-panel-heading {
    display: grid;
  }

  .agent-panel-heading small {
    max-width: none;
    text-align: left;
  }

  .operator-actions {
    justify-content: flex-start;
  }

  .operator-panel.wide {
    grid-column: auto;
  }

  .agent-mode-row,
  .agent-facts {
    grid-template-columns: 1fr;
  }
}

/* Final mobile utility overrides for persistent controls. */
@media (max-width: 900px) {
  .chat-widget {
    left: auto !important;
    right: 14px !important;
    bottom: 14px !important;
    justify-items: end !important;
  }

  .chat-widget .chat-toggle {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    border-radius: 999px !important;
    padding: .72rem .92rem .76rem !important;
    text-align: center !important;
  }

  .chat-widget .chat-toggle span {
    font-size: 0 !important;
  }

  .chat-widget .chat-toggle span::after {
    content: "Talk to us";
    font-size: .9rem;
  }

  .chat-widget .chat-toggle small {
    display: none !important;
  }

.back-to-top {
    bottom: 76px;
  }
}

.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .mobile-menu-panel a {
    padding: .58rem .7rem;
    border-radius: 7px;
    color: var(--ink);
    font-family: "Poppins", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus {
    background: rgba(39, 116, 90, .09);
    outline: none;
  }
}
/* Mobile-safe navigation. Keep this late so it overrides earlier CTA rules. */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .site-header .nav {
    justify-content: space-between !important;
  }

  .site-header .nav-links,
  .site-header .nav-links .button,
  .site-header .nav-links a {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mobile-menu {
    display: block !important;
    position: relative;
    margin-left: auto;
    z-index: 40;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-grid !important;
    place-items: center;
    gap: 3px;
    padding: 9px;
    border: 1px solid rgba(15, 45, 35, .22);
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 45, 35, .12);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(15, 45, 35, .68);
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(72vw, 224px);
    display: none !important;
    gap: .06rem;
    padding: .42rem;
    border: 1px solid rgba(15, 45, 35, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 54px rgba(15, 45, 35, .18);
  }

  .mobile-menu.is-open .mobile-menu-panel {
    display: grid !important;
  }
}
