/**
 * Use Case inner pages — shared layout & components
 * Per-page accent: --uc and --uc-ink in each assets/use-cases/{slug}.html
 * Loaded via <link> in HTML + cache-busted inject (amy-uc-shared-css)
 *
 * DO NOT import into main.css / Vite — unscoped html/body rules break the WP shell.
 * DO NOT edit tokens.css, components.css, home.css, or main.css for UC work.
 */

/* =========================
   Theme tokens (defaults; --uc/--uc-ink overridden per slug in HTML)
========================= */

:root,
[data-theme="light"] {
  --bg: #F5F3EE;
  --bg-2: #FFFFFF;
  --bg-3: #FBFAF6;
  --ink: #1A1410;
  --ink-2: rgba(26, 20, 16, .62);
  --ink-3: rgba(26, 20, 16, .40);
  --line: rgba(26, 20, 16, .09);
  --line-2: rgba(26, 20, 16, .16);
  --coral: #FF7A6A;
  --coral-ink: #3E0E08;
  --peach: #FFC065;
  --peach-ink: #3E2800;
  --butter: #FFE28A;
  --butter-ink: #3E2E00;
  --mint: #8FE6C8;
  --mint-ink: #0A2A20;
  --sky: #8FC3FF;
  --sky-ink: #07234A;
  --lavender: #C9B8FF;
  --lavender-ink: #1F0E4B;
  --pink: #FFB3D9;
  --pink-ink: #4A0E2E;
  /* --uc / --uc-ink: set per slug only in each use-cases/{slug}.html <style> block */
  --cta-bg: #1A1410;
  --cta-ink: #FFFFFF;
}

[data-theme="dark"] {
  --bg: #0E0B09;
  --bg-2: #15110E;
  --bg-3: #1B1614;
  --ink: #F5F2EC;
  --ink-2: rgba(245, 242, 236, .66);
  --ink-3: rgba(245, 242, 236, .42);
  --line: rgba(245, 242, 236, .10);
  --line-2: rgba(245, 242, 236, .18);
  --cta-bg: #06040A;
  --cta-ink: #FFFFFF;
  /* do not set --uc here — per-page accent must win in light and dark */
}

html {
  transition: background .25s ease, color .25s ease
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11"
}

a {
  color: inherit;
  text-decoration: none
}

em {
  font-family: "Instrument Serif", serif;
  font-style: normal;
  font-weight: 400
}

.mono {
  font-family: "JetBrains Mono", monospace
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

/* =========================
   Container & page shell
========================= */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* Injected breadcrumbs — horizontal gutters match .container */
#_uc_breadcrumb,
#_sol_breadcrumb {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

#_uc_breadcrumb a,
#_sol_breadcrumb a {
  color: var(--ink-3);
  text-decoration: none
}

#_uc_breadcrumb a:hover,
#_sol_breadcrumb a:hover {
  color: var(--ink)
}

#_uc_breadcrumb span,
#_sol_breadcrumb span {
  color: var(--ink);
  font-weight: 500
}

/* Legacy shell: sections use .container for horizontal rhythm */
.page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0
}

/* =========================
   Solution + role pages (body.sr-body)
========================= */
/* Section rhythm — same as use-case pages (.sec / .uc-section / .uc-final) */
.sr-body .sec,
.sr-body .uc-section,
.sr-body .va-section.sec {
  padding-top: 120px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line)
}

.sr-body .sec.no-border,
.sr-body .uc-section.no-border {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 0
}

.sr-body .final,
.sr-body .uc-final,
.sr-body .va-section.final {
  padding-top: 60px;
  padding-bottom: 120px;
  border-top: 0
}

.sr-body .sec > .container,
.sr-body .uc-section > .container,
.sr-body .va-section.sec > .container,
.sr-body .final > .container,
.sr-body .uc-final > .container {
  border-top: 0;
  padding-top: 0
}

/* Who-for — outer shell flush; inner carries vertical rhythm + container-width top rule */
.sr-body .who-for {
  padding-top: 0;
  padding-bottom: 0
}

.sr-body .who-for-inner {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 0 !important
}

@media (max-width: 991px) {
  .sr-body .who-for-inner {
    padding-top: 60px !important;
    padding-bottom: 60px !important
  }
}

@media (max-width: 767px) {
  .sr-body .who-for-inner {
    padding-top: 50px !important;
    padding-bottom: 50px !important
  }
}

/* Default card surface — accent only on hover (not .accent / :first-child) */
.sr-body .change-grid > .change.accent {
  background: var(--bg-2);
  border-color: var(--line);
  color: var(--ink)
}

.sr-body .change-grid > .change.accent h3 {
  color: var(--ink)
}

.sr-body .change-grid > .change.accent .lede,
.sr-body .change-grid > .change.accent li {
  color: var(--ink-2)
}

.sr-body .change-grid > .change.accent li {
  border-top-color: var(--line)
}

.sr-body .change-grid > .change.accent li::before {
  background: var(--uc)
}

/* Agent tier tags — border tinted with page accent (--uc / --role-color) */
.sr-body .a-chip {
  border-color: color-mix(in srgb, var(--uc) 34%, var(--line));
  background: color-mix(in srgb, var(--uc) 7%, var(--bg-3, var(--bg-2)))
}

.sr-body .a-chip:hover {
  border-color: color-mix(in srgb, var(--uc) 58%, var(--line-2));
  background: color-mix(in srgb, var(--uc) 14%, var(--bg-3, var(--bg-2)))
}

/* Solution bridge sections — body copy under sec-head (e.g. Connected across the revenue org) */
.sr-body .body-copy {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink-2);
  max-width: 100%;
  margin: 0;
  text-wrap: pretty
}

.sr-body .sec-head + .body-copy {
  margin-top: 4px
}

/* Capability cards — accent fill on hover (match use-case .ch-grid) */
.sr-body .change-grid > .change,
.sr-body .steps > .step {
  transition: transform .3s, box-shadow .3s, border-color .3s, background .3s, color .3s;
  cursor: pointer
}

.sr-body .change-grid > .change:hover,
.sr-body .steps > .step:hover {
  background: var(--uc);
  border-color: transparent;
  color: var(--uc-ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 20, 16, .08)
}

[data-theme="dark"] .sr-body .change-grid > .change:hover,
[data-theme="dark"] .sr-body .steps > .step:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28)
}

.sr-body .change-grid > .change:hover h3,
.sr-body .change-grid > .change:hover .lede,
.sr-body .change-grid > .change:hover li,
.sr-body .steps > .step:hover .step-body h3,
.sr-body .steps > .step:hover .step-body p,
.sr-body .steps > .step:hover .chk li,
.sr-body .steps > .step:hover .ticks li {
  color: var(--uc-ink)
}

.sr-body .change-grid > .change:hover h3 em,
.sr-body .steps > .step:hover .step-body h3 em {
  color: var(--uc-ink);
  font-style: normal;
  opacity: .85
}

.sr-body .change-grid > .change:hover li,
.sr-body .steps > .step:hover .chk li,
.sr-body .steps > .step:hover .ticks li {
  border-top-color: rgba(0, 0, 0, .18)
}

.sr-body .change-grid > .change:hover li::before {
  background: var(--uc-ink)
}

.sr-body .steps > .step:hover .tick,
.sr-body .steps > .step:hover .chk li .tick svg {
  color: var(--uc-ink);
  stroke: var(--uc-ink)
}

.sr-body .steps > .step:hover .chk li .tick {
  background: color-mix(in srgb, var(--uc-ink) 18%, transparent)
}

/* =========================
   Hero Section Start
========================= */
.hero,
.uc-hero {
  padding: 40px 0 120px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.eyebrow .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uc)
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--uc);
  color: var(--uc-ink);
  font-weight: 600
}

.pill .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 108px);
  line-height: .98;
  letter-spacing: -.022em;
  margin: 22px 0 28px;
  padding-bottom: .04em;
  text-wrap: balance
}

.h1 em {
  color: var(--uc);
  font-style: normal
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 0 32px
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 20px !important;
  margin: 0 0 36px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0
}

.metrics-row .metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 0;
  border-right: 0;
  border-left: 0
}

.metrics-row .metric:not(:first-child) {
  padding-left: 20px !important;
  border-left: 1px dashed var(--line)
}

.metrics-row .metric:first-child {
  padding-left: 0 !important;
  border-left: 0
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.metric .v {
  font-family: "Instrument Serif", serif;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em
}

.metric .v em {
  color: var(--uc);
  font-style: normal
}

.metric .l {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3)
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center
}

.btn {
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  transition: transform .15s, background .15s
}

.btn:hover {
  transform: translateY(-1px)
}

.btn.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.btn.primary .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uc)
}

.btn.ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
  padding: 13px 6px
}

.btn.ghost:hover {
  color: var(--ink)
}

/* Hero CTAs — website-concierge / platform-embeddable pattern */
.hero .cta-row.amy-ev-hero-ctas,
.amy-ev-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 28px;
}

.amy-ev-hero-ctas .btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: transform .2s, border-color .2s, background .2s;
}

.amy-ev-hero-ctas .btn:hover {
  transform: translateY(-1px) !important;
  background: var(--bg-2, rgba(255, 255, 255, .06)) !important;
}

.amy-ev-hero-ctas .btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.amy-ev-hero-ctas .btn.primary:hover {
  transform: translateY(-1px);
  filter: none
}

.amy-ev-hero-ctas .btn .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.amy-ev-hero-ctas .btn.primary .arr {
  background: rgba(255, 255, 255, .15);
  color: #fff
}

.amy-ev-hero-ctas .btn:not(.primary) .arr {
  color: var(--ink, var(--ink, #f5f5f7)) !important;
  background: rgba(0, 0, 0, .15) !important;
}

html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn.primary,
html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn.primary:hover,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn.primary,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn.primary:hover {
  background: #F5F5F7 !important;
  color: #0A0A0B !important;
  border-color: #F5F5F7 !important;
}

html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn.primary .arr,
html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn.primary:hover .arr,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn.primary .arr,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn.primary:hover .arr {
  color: #0A0A0B !important;
  background: rgba(255, 255, 255, .15) !important;
}

html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn:not(.primary),
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary) {
  color: #F5F5F7;
  background: transparent;
  border-color: rgba(255, 255, 255, .18);
}

html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary):hover {
  background: rgba(255, 255, 255, .06);
  color: #F5F5F7;
  border-color: rgba(255, 255, 255, .18);
}

html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn:not(.primary) .arr,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary) .arr {
  color: #F5F5F7;
  background: rgba(0, 0, 0, .15) !important
}

html[data-theme="dark"] .hero .amy-ev-hero-ctas .btn:not(.primary):hover .arr,
html[data-theme="dark"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary):hover .arr {
  color: #F5F5F7;
  background: rgba(0, 0, 0, .15) !important;
}

html[data-theme="light"] .hero .amy-ev-hero-ctas .btn.primary,
html[data-theme="light"] .hero .amy-ev-hero-ctas .btn.primary:hover,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn.primary,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn.primary:hover {
  background: var(--va-ink, #1A1413) !important;
  color: var(--va-bg, #FBF6F1) !important;
  border-color: var(--va-ink, #1A1413) !important;
}

html[data-theme="light"] .hero .amy-ev-hero-ctas .btn.primary .arr,
html[data-theme="light"] .hero .amy-ev-hero-ctas .btn.primary:hover .arr,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn.primary .arr,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn.primary:hover .arr {
  color: #fff;
  background: rgba(255, 255, 255, .15);
}

html[data-theme="light"] .hero .amy-ev-hero-ctas .btn:not(.primary),
html[data-theme="light"] .hero .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary),
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary):hover {
  color: var(--va-ink, #1A1413) !important;
  border-color: var(--va-line-2, rgba(20, 15, 14, .18)) !important;
}

html[data-theme="light"] .hero .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary):hover {
  background: var(--va-bg-2, #F5EDE4) !important;
}

html[data-theme="light"] .hero .amy-ev-hero-ctas .btn:not(.primary) .arr,
html[data-theme="light"] .hero .amy-ev-hero-ctas .btn:not(.primary):hover .arr,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary) .arr,
html[data-theme="light"] .uc-hero .amy-ev-hero-ctas .btn:not(.primary):hover .arr {
  color: var(--va-ink, #1A1413) !important;
  background: rgba(0, 0, 0, .15) !important;
}

/* Final CTA — dark banner; never use .amy-ev-hero-ctas on this row */
.final-inner .final-l .row,
.final-l .row.amy-uc-final-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

.final-inner .final-l .row .btn,
.final-l .row.amy-uc-final-ctas .btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Inter", system-ui, sans-serif;
  transition: transform .2s, border-color .2s, background .2s;
}

.final-inner .final-l .row .btn:hover,
.final-l .row.amy-uc-final-ctas .btn:hover {
  transform: translateY(-1px);
}

.final-inner .final-l .row .btn.primary,
.final-l .row.amy-uc-final-ctas .btn.primary {
  background: var(--uc) !important;
  color: var(--uc-ink) !important;
  border: 1px solid var(--uc) !important;
}

.final-inner .final-l .row .btn.primary:hover,
.final-l .row.amy-uc-final-ctas .btn.primary:hover {
  filter: brightness(1.04);
}

.final-inner .final-l .row .btn.primary .arr,
.final-l .row.amy-uc-final-ctas .btn.primary .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .22) !important;
  color: var(--uc-ink) !important;
}

.final-inner .final-l .row .btn.ghost,
.final-l .row.amy-uc-final-ctas .btn.ghost,
html[data-theme="light"] .final-inner .final-l .row .btn.ghost,
html[data-theme="light"] .final-inner .final-l .row.amy-ev-hero-ctas .btn.ghost {
  background: transparent !important;
  color: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  padding: 14px 22px;
}

.final-inner .final-l .row .btn.ghost:hover,
.final-l .row.amy-uc-final-ctas .btn.ghost:hover,
html[data-theme="light"] .final-inner .final-l .row .btn.ghost:hover {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .42) !important;
  color: #fff !important;
}

/* CHAT FRAME — match solution pages (.hero-chat) */
.chat-frame {
  background: var(--bg-2);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px -16px rgba(26, 20, 16, .18);
  height: 490px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 24px
}

.chat-frame::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, color-mix(in srgb, var(--uc) 28%, transparent), transparent 65%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0
}

.chat-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  border: 0;
  display: block;
  background: #fff;
  border-radius: 23px;
  margin: 1px
}

/* Hero Section End */


/* =========================
   Content sections — 120px gap rhythm (60+60 or 120+120 with border)
========================= */
.sec,
.uc-section {
  padding-top: 120px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}

.sec.no-border,
.uc-section.no-border {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 0;
}

.sec-head {
  margin-bottom: 30px;
  max-width: 100%
}

.sec-head h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 18px 0 0;
  padding-bottom: .04em;
  text-wrap: balance
}

.sec-head h2 em {
  color: var(--uc);
  font-style: normal
}

.sec-head .sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 60ch
}

/* PROBLEM — bulleted pain list */
.prob {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 100%;
  margin-top: 8px
}

.prob .item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.prob .item:hover {
  border-color: var(--line-2);
  box-shadow: 0 10px 28px rgba(26, 20, 16, .06);
  transform: translateY(-2px)
}

[data-theme="dark"] .prob .item:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, .36)
}

.prob .mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--uc) 14%, transparent);
  color: var(--uc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px
}

.prob .mark svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4
}

.prob .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.prob .lead {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
  padding-bottom: .04em
}

.prob .detail {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0
}

@media (max-width:900px) {
  .prob {
    grid-template-columns: 1fr
  }
}

/* CHANGES BENTO */
.ch-wrap {
  background: var(--bg-2);
  border-radius: 36px;
  padding: 64px 56px;
  border: 1px solid var(--line)
}

.ch-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  margin-top: 40px
}

.ch {
  position: relative;
  border-radius: 22px;
  padding: 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  transition: transform .3s, box-shadow .3s, border-color .3s
}

.ch:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 20, 16, .08);
  border-color: var(--line-2)
}

.ch .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px
}

.ch .num .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uc)
}

.ch h3 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0;
  padding-bottom: .04em
}

.ch h3 em {
  color: var(--uc);
  font-style: normal
}

.ch .sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0
}

.ch ul {
  list-style: none;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.ch ul li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  gap: 10px
}

.ch ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--uc);
  margin-top: 8px;
  flex-shrink: 0
}

.ch-12 {
  grid-column: span 12
}

.ch-7 {
  grid-column: span 7
}

.ch-5 {
  grid-column: span 5
}

.ch-4 {
  grid-column: span 4
}

.ch.ch-12 {
  min-height: auto
}

.ch.ch-12 ul {
  margin-top: 18px
}

/* Capability cards: per-page accent (--uc) on hover */
.ch-grid > .ch {
  transition: transform .3s, box-shadow .3s, border-color .3s, background .3s, color .3s
}

.ch-grid > .ch:hover {
  background: var(--uc);
  border-color: transparent;
  color: var(--uc-ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 20, 16, .08)
}

.ch-grid > .ch:hover .num {
  color: rgba(0, 0, 0, .55)
}

.ch-grid > .ch:hover .num .d {
  background: var(--uc-ink)
}

.ch-grid > .ch:hover .sub {
  color: rgba(0, 0, 0, .70)
}

.ch-grid > .ch:hover ul {
  border-color: rgba(0, 0, 0, .18)
}

.ch-grid > .ch:hover ul li {
  color: var(--uc-ink)
}

.ch-grid > .ch:hover ul li::before {
  background: var(--uc-ink)
}

.ch-grid > .ch:hover h3,
.ch-grid > .ch:hover h3 em {
  color: var(--uc-ink);
  font-style: normal
}

.ch-grid > .ch:hover h3 em {
  opacity: .85
}

/* SHIFTS TABLE */
.shifts-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.shifts-head h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.022em;
  margin-top: 18px;
  padding-bottom: .04em
}

.shifts-head h2 em {
  color: var(--uc);
  font-style: normal
}

.legend {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.legend .swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px
}

.stable {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2)
}

.strow {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1.5fr 1.3fr;
  border-top: 1px solid var(--line)
}

.strow:first-child {
  border-top: 0
}

.strow.h {
  background: var(--bg-3)
}

.stcell {
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.5
}

.stcell.k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3)
}

.stcell.shift {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px
}

.stcell.shift::before {
  display: none
}

.stcell.from {
  color: var(--ink-2)
}

.stcell.to {
  color: var(--ink);
  background: color-mix(in srgb, var(--uc) 10%, transparent);
  position: relative
}

.stcell.to::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--uc)
}

.stcell.impact {
  color: var(--ink);
  font-weight: 500
}

/* GETS */
.gets {
  background: var(--bg-2);
  border-radius: 36px;
  padding: 64px 56px;
  border: 1px solid var(--line)
}

.gets-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 64px;
  align-items: start
}

.gets h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 18px 0 20px;
  padding-bottom: .04em
}

.gets h2 em {
  color: var(--uc);
  font-style: normal
}

.gets p.note {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 42ch
}

.gets ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px
}

.gets ul li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line)
}

.gets ul li:first-child,
.gets ul li:nth-child(2) {
  border-top: 0
}

.gets ul li .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--uc) 14%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--uc);
  margin-top: 1px
}

.gets ul li .tick svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.8
}

/* AGENT NETWORK */
.tier {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 48px;
  align-items: start
}

.tier:last-child {
  border-bottom: 1px solid var(--line)
}

.tier-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 24px
}

.tier-meta .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px
}

.tier-meta .label .d {
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.tier-meta h3 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0;
  padding-bottom: .04em
}

.tier-meta .desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 6px 0 0
}

.a-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.a-card,
a.a-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  cursor: pointer
}

.a-card:hover,
a.a-card:hover {
  transform: translateY(-2px);
  border-color: var(--uc, var(--line-2));
  box-shadow: 0 8px 22px rgba(26, 20, 16, .06)
}

.a-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink)
}

.a-name .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0
}

.a-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0
}

.d-core {
  background: var(--uc)
}

.d-emb {
  background: var(--sky)
}

.d-found {
  background: var(--mint)
}

/* =========================
   Final CTA Section Start
========================= */
.final,
.uc-final {
  padding-top: 60px;
  padding-bottom: 120px;
  border-top: 0;
}

.final-inner {
  border-radius: 36px;
  padding: 72px 60px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start
}

.final-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 90% 20%, color-mix(in srgb, var(--uc) 20%, transparent) 0%, transparent 60%), radial-gradient(60% 80% at 10% 100%, rgba(143, 195, 255, .10) 0%, transparent 55%);
  pointer-events: none
}

.final-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none
}

.final-l {
  position: relative;
  z-index: 1
}

.final-l .eyebrow {
  color: var(--uc);
  margin-bottom: 22px
}

.final-l .eyebrow .d {
  background: var(--uc)
}

.final-l h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.022em;
  margin: 0 0 22px;
  padding-bottom: .04em;
  color: #fff;
  text-wrap: balance
}

.final-l h2 em {
  color: var(--uc);
  font-style: normal
}

.final-l p {
  font-size: 18px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 42ch
}

.final-l .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center
}

/* Legacy .final-l .btn — superseded by .row.amy-ev-hero-ctas (injected in use-case-standalone-page.php) */

.final-r {
  position: relative;
  z-index: 1;
  padding-top: 8px
}

.final-r .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 22px
}

.final-r ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.final-r li {
  display: flex;
  gap: 18px;
  align-items: flex-start
}

.final-r .n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--uc) 16%, transparent);
  color: var(--uc);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center
}

.final-r li span {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  padding-top: 5px
}

/* Final CTA Section End */


/* =========================
   Media Query Start (legacy 1100/700 + skill 991/767)
========================= */
@media (max-width:1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .chat-frame {
    position: static;
    height: 440px
  }

  .ch {
    padding: 30px;
    gap: 20px;
    min-height: auto
  }

  .ch-7,
  .ch-5,
  .ch-4 {
    grid-column: span 12
  }

  .strow {
    grid-template-columns: 1fr
  }

  .strow.h {
    display: none
  }

  .stcell.to::before {
    display: none
  }

  .stcell {
    border-top: 1px dashed var(--line)
  }

  .stcell.shift {
    border-top: 0
  }

  .gets-inner {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .gets ul {
    grid-template-columns: 1fr
  }

  .tier {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .tier-meta {
    position: static
  }

  .a-grid {
    grid-template-columns: 1fr
  }

  .final-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 52px 32px
  }

  .ch-wrap,
  .gets {
    padding: 30px 30px
  }
}

@media (min-width:1101px) {
  .metrics {
    flex-direction: row;
    gap: 0
  }

  .metrics-row {
    display: flex;
    flex: 1
  }

  .metrics-row .metric {
    flex: 1;
    padding-left: 0 !important;
    border-left: 0 !important;
    padding-right: 28px;
    border-right: 1px dashed var(--line)
  }

  .metrics-row:last-child .metric:last-child {
    border-right: 0;
    padding-right: 0
  }
}

@media (max-width:991px) {

  /* Use case inner pages (no .sr-body) */
  body:not(.sr-body) .hero,
  body:not(.sr-body) .uc-hero {
    padding: 40px 0 60px !important
  }

  /* Solution + role inner pages */
  .sr-body .hero,
  .sr-body .uc-hero {
    padding-bottom: 60px !important
  }

  .sec,
  .uc-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .sr-body .sec,
  .sr-body .uc-section,
  .sr-body .va-section.sec {
    padding-top: 60px;
    padding-bottom: 60px
  }

  .sr-body .final,
  .sr-body .uc-final,
  .sr-body .va-section.final {
    padding-top: 60px;
    padding-bottom: 60px
  }

  .sec.no-border,
  .uc-section.no-border {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .final,
  .uc-final {
    padding-top: 0;
    padding-bottom: 60px;
  }

  .tier {
    padding: 60px 0 60px
  }

  .ch-wrap,
  .gets {
    padding: 20px 25px
  }
}

@media (max-width:767px) {

  html,
  body {
    font-size: 14px
  }

  .hero,
  .uc-hero {
    padding-bottom: 50px !important
  }

  .container {
    padding-left: 25px;
    padding-right: 25px
  }

  #_uc_breadcrumb,
  #_sol_breadcrumb {
    padding-left: 25px;
    padding-right: 25px
  }

  .sec,
  .uc-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .sr-body .sec,
  .sr-body .uc-section,
  .sr-body .va-section.sec {
    padding-top: 50px;
    padding-bottom: 50px
  }

  .sr-body .final,
  .sr-body .uc-final,
  .sr-body .va-section.final {
    padding-top: 50px;
    padding-bottom: 50px
  }

  .sec.no-border,
  .uc-section.no-border {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .final,
  .uc-final {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .tier {
    padding: 50px 0 50px
  }

  .ch-grid {
    gap: 20px;
    margin-top: 30px
  }

  .ch-wrap,
  .gets {
    padding: 25px 22px
  }

  .ch h3 {
    font-size: 22px
  }

  .tier-meta h3 {
    font-size: 22px
  }

  .final-inner {
    gap: 25px;
    padding: 25px
  }

  .final-l p {
    font-size: 15px;
    margin: 0 0 25px
  }

  /* Type scale: 16/14.5/14 → 14px, 13.5 → 13px, 12.5 → 12px */
  .gets p.note {
    font-size: 14px
  }

  .prob .detail,
  .ch .sub,
  .gets ul li,
  .a-name {
    font-size: 13px
  }

  .ch ul li {
    font-size: 13px
  }

  .stcell {
    font-size: 14px
  }

  .tier-meta .desc {
    font-size: 14px
  }

  .amy-ev-hero-ctas .btn,
  .btn {
    font-size: 14px
  }

  .final-r .n {
    font-size: 12px
  }
}

@media (max-width:640px) {
  .ch.ch-12 ul {
    display: flex !important
  }
}

/* Shifts table — mobile pill navigator (injected by use-case-standalone-page.php) */
.stable-pills-wrap,
.stable-detail {
  display: none;
}

@media (max-width: 767px) {
  .stable--enhanced.stable--mobile-on {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .stable--enhanced.stable--mobile-on .strow {
    display: none !important;
  }

  .stable--enhanced.stable--mobile-on .stable-pills-wrap {
    display: block;
    margin: 0 -25px;
    padding: 0 25px 4px;
    overflow: hidden;
  }

  .stable--enhanced.stable--mobile-on .stable-detail {
    display: block;
    margin-top: 8px;
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg-2);
  }

  .stable-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 25px 14px;
    margin: 0 -25px;
  }

  .stable-pills::-webkit-scrollbar {
    display: none;
  }

  .stable-pill {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--bg-2);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink-2);
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }

  .stable-pill.is-active {
    background: var(--uc);
    color: var(--uc-ink);
    border-color: var(--uc);
    transform: translateY(-1px);
  }

  .stable-detail-block + .stable-detail-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .stable-detail-k {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 8px;
  }

  .stable-detail-v {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
  }

  .stable-detail-v--shift {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
  }

  .stable-detail-block--to {
    padding: 16px 14px;
    margin-top: 18px;
    border-top: 0;
    border-radius: 14px;
    background: color-mix(in srgb, var(--uc) 10%, transparent);
    border-left: 2px solid var(--uc);
  }

  .stable-detail-block--to .stable-detail-v {
    color: var(--ink);
    font-weight: 500;
  }

  .stable-detail-block--impact .stable-detail-v {
    color: var(--ink);
    font-weight: 500;
  }
}

/* Media Query End */


/* =========================
   Theme toggle (standalone preview; hidden in WP iframe via inject)
========================= */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 60;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px rgba(26, 20, 16, .08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: color .2s, border-color .2s, transform .2s, box-shadow .2s
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink-3);
  transform: translateY(-1px)
}

[data-theme="dark"] .theme-toggle {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45)
}

.theme-toggle svg {
  width: 16px;
  height: 16px
}

.theme-toggle .sun {
  display: inline-flex
}

.theme-toggle .moon {
  display: none
}

[data-theme="dark"] .theme-toggle .sun {
  display: none
}

[data-theme="dark"] .theme-toggle .moon {
  display: inline-flex
}

/* amy:hide-decorative-dots */
/* Decorative dots removed — list li::before bullets unchanged */
.plt-eyebrow > .d,.plt-section .plt-eyebrow > .d,.plt-section .eyebrow > .d,.plt-stamp > .d,
.eyebrow > .d,.pill > .d,.hero .crumb > .dot,.crumb > .dot,.meta > .d,
.role-eyebrow > .role-eyebrow-dot,.who-for-inner .lbl > .d,.change .n > .d,.change-grid .change .n > .d,
.final-l .eyebrow > .d,.sec-head .eyebrow > .d,.btn.primary > .dot,.num > .d,.tier-meta .label > .d,
.panel .tag > .d,.cr-card .sec > .d,.subnav a > .d,.ch .num > .d,.section .eyebrow > .d,.tag > .d,
#_uc_breadcrumb > .dot,#_sol_breadcrumb > .dot,#know-page .kp-crumb > .dot,#collab-page .crumb > .dot{
  display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;
}
