/* Concept-only refinements layered over the exact production CSS snapshot. */
body.page-home .hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

body.page-home .ai-loss-prevention-image {
  object-position: 50% 50%;
}

body.page-home .hero-media-stack .hero-media-main:nth-child(2) {
  display: none;
}

body.page-home .ai-focus-section {
  background: rgba(255, 255, 255, .36);
}

body.page-home .ai-focus-section .card {
  border-top: 4px solid rgba(47, 138, 88, .42);
}

body.page-home .ai-focus-actions {
  margin-top: 24px;
}

body.page-home .ai-focus-section .section-heading strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
}

body.page-home .ai-primary-service-card {
  border-color: rgba(47, 138, 88, .58);
  box-shadow: inset 0 4px 0 var(--primary), var(--shadow);
}

body.page-home .ai-primary-service-card .feature-badge {
  background: var(--primary-dark);
  color: #fff;
}

body.page-services .ai-primary-service-card,
body.page-ai-loss-prevention .ai-primary-service-card {
  border-color: rgba(47, 138, 88, .58);
  box-shadow: inset 0 4px 0 var(--primary), var(--shadow);
}

.ai-service-panel-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 50%;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 24px;
}

.calculator-controls,
.calculator-results,
.calculator-results-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.calculator-results-panel {
  min-height: 100%;
}

.calculator-gate h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.calculator-gate > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.calculator-gate-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.calculator-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.calculator-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.calculator-field input:focus-visible {
  border-color: var(--primary);
  outline: 3px solid rgba(47, 138, 88, .2);
  outline-offset: 1px;
}

.calculator-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.55;
}

.calculator-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--primary);
}

.calculator-consent-optional {
  color: var(--muted);
}

.calculator-privacy,
.calculator-preview-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.calculator-privacy a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calculator-preview-note {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.calculator-results[hidden],
.calculator-gate[hidden] {
  display: none;
}

.calculator-controls label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.calculator-controls output {
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

.calculator-controls input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.calculator-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.calculator-result {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.calculator-result span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.calculator-result strong {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.calculator-result-primary {
  border-color: rgba(47, 138, 88, .34);
  background: var(--primary-soft);
}

.calculator-result-explained small {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.calculator-action-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.trust-strip-section {
  padding-block: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.service-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 22px 0;
  list-style: none;
}

.service-trust-strip li {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.service-trust-strip li:first-child {
  padding-left: 0;
  border-left: 0;
}

.service-trust-strip li:last-child {
  padding-right: 0;
}

.service-trust-strip strong,
.service-trust-strip span {
  overflow-wrap: anywhere;
}

.service-trust-strip strong {
  color: var(--text);
  font-size: .92rem;
}

.service-trust-strip span {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.assessment-section {
  background: #eef6f1;
}

.assessment-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.assessment-layout .section-heading {
  position: sticky;
  top: 96px;
  margin: 0;
}

.assessment-layout .section-heading .button {
  margin-top: 22px;
}

.assessment-list {
  display: grid;
  border-top: 1px solid rgba(16, 34, 25, .18);
}

.assessment-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 34, 25, .18);
}

.assessment-list article > strong {
  color: var(--primary-dark);
  font-size: .82rem;
  letter-spacing: 0;
}

.assessment-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.assessment-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 132px;
  margin: 0;
  padding: 8px 0 24px;
}

.faq-layout .section-heading::after {
  content: "";
  width: 64px;
  height: 4px;
  margin-top: 14px;
  background: var(--primary);
}

body.page-ai-loss-prevention .faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: none;
  border: 0;
}

body.page-ai-loss-prevention .faq-item {
  overflow: hidden;
  border: 1px solid rgba(12, 29, 20, .16);
  border-left: 4px solid transparent;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease;
}

body.page-ai-loss-prevention .faq-item:hover {
  border-color: rgba(47, 138, 88, .42);
}

body.page-ai-loss-prevention .faq-item[open] {
  border-left-color: var(--primary);
  background: #f8fbf8;
}

body.page-ai-loss-prevention .faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

body.page-ai-loss-prevention .faq-item summary::after {
  content: "+";
  position: static;
  float: none;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(47, 138, 88, .34);
  border-radius: 50%;
  background: #eef7f1;
  color: var(--primary-dark);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

body.page-ai-loss-prevention .faq-item[open] summary::after {
  content: "−";
  border-color: var(--primary);
  background: var(--primary);
  color: #0d1d14;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(47, 138, 88, .22);
  outline-offset: 4px;
}

.faq-number {
  color: var(--primary-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.faq-question {
  min-width: 0;
  line-height: 1.4;
}

body.page-ai-loss-prevention .faq-item div {
  max-width: none;
  padding: 0 68px 22px 72px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

body.page-ai-loss-prevention .deployment-section {
  background: #102219;
}

body.page-ai-loss-prevention .deployment-section .section-heading {
  max-width: 760px;
}

body.page-ai-loss-prevention .deployment-section .section-heading h2 {
  color: #f7fbf8;
}

body.page-ai-loss-prevention .deployment-section .section-heading p:not(.eyebrow) {
  color: #d2ded6;
}

body.page-ai-loss-prevention .deployment-section .eyebrow {
  color: #62e58e;
}

body.page-ai-loss-prevention .deployment-section .timeline {
  gap: 14px;
}

body.page-ai-loss-prevention .deployment-section .timeline-step {
  padding: 26px;
  border: 1px solid rgba(217, 235, 223, .2);
  border-radius: 6px;
  background: #183629;
}

body.page-ai-loss-prevention .deployment-section .timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #62e58e;
  color: #0c1d14;
  font-size: .82rem;
  font-weight: 900;
}

body.page-ai-loss-prevention .deployment-section .timeline-step h3 {
  color: #ffffff;
}

body.page-ai-loss-prevention .deployment-section .timeline-step p {
  color: #dce8e0;
  line-height: 1.65;
}

.event-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 32px;
  align-items: center;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.workflow-slogan {
  margin: 14px 0 6px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
}

.section-heading .workflow-slogan + p {
  margin-top: 0;
}

.event-demo-media {
  margin: 0;
}

.event-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(16, 34, 25, .18);
  border-radius: 6px;
  background: #08130d;
  box-shadow: 0 18px 42px rgba(10, 30, 20, .16);
}

.event-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 76px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 4px;
  background: rgba(8, 19, 13, .86);
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.event-video-toggle:hover,
.event-video-toggle:focus-visible {
  background: #fff;
  color: #102219;
}

.event-demo-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.event-demo-copy h3 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.event-demo-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.event-demo-copy .event-response-line {
  margin: 20px 0;
  padding: 14px 0 14px 18px;
  border-left: 4px solid var(--primary);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.event-response-line strong {
  color: var(--primary-dark);
}

.concept-source-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.concept-source-list li {
  color: var(--muted);
  line-height: 1.55;
}

.concept-source-list a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.ai-blog-section .blog-article-card-main,
.page-ai-loss-prevention .blog-article-card-main,
.page-ai-loss-prevention-article .blog-article-card-main {
  background-position: var(--blog-card-image-position, center);
}

.page-ai-loss-prevention-article .blog-article-hero-band::before {
  background-position: var(--blog-hero-position, center);
}

@media (max-width: 760px) {
  body.page-home .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.15rem);
  }

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

  .calculator-controls label {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .calculator-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
  }

  .service-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .service-trust-strip li,
  .service-trust-strip li:first-child,
  .service-trust-strip li:last-child {
    padding: 0 14px;
    border-left: 1px solid var(--line);
  }

  .service-trust-strip li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .assessment-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .assessment-layout .section-heading {
    position: static;
  }

  body.page-ai-loss-prevention .deployment-section .timeline {
    grid-template-columns: 1fr;
  }

  .event-demo {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
    padding-top: 28px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-layout .section-heading {
    position: static;
    padding: 0;
  }

  body.page-ai-loss-prevention .faq-item summary {
    grid-template-columns: 32px minmax(0, 1fr) 30px;
    gap: 10px;
    min-height: 66px;
    padding: 14px;
    font-size: .96rem;
  }

  body.page-ai-loss-prevention .faq-item div {
    padding: 0 16px 18px 56px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  body.page-ai-loss-prevention .deployment-section .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-layout .section-heading {
    position: static;
    max-width: 760px;
    padding: 0;
  }
}
