/* Copy-only spacing, brand polish and the owner-selected Electric cyan accents. */
:root {
  --copy-accent: #007b89;
  --copy-tint-text: #075c66;
  --copy-deep: #07525b;
  --copy-bright: #64f5ff;
  --copy-tint: #d9f8fa;
  --copy-ink: #073c43;
}

/* Wrappers are neutral until desktop motion is available. */
#connections .ccp-pin, #connections .ccp-row { display: contents; }
#connections .ccp-stage { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
@media (max-width: 1000px) { #connections .ccp-stage { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { #connections .ccp-stage { grid-template-columns: 1fr; gap: 18px; } }

@media (min-width: 1001px) {
  html[data-cx] .cx-panel[data-ccp-panel] { overflow: visible; justify-content: flex-start; }
  body[data-loom] #connections[data-ccp-ready] { height: 200svh; padding-block: 0; scroll-margin-top: 0; }
  #connections[data-ccp-ready] .ccp-pin {
    display: grid; grid-template-rows: auto minmax(0,440px); gap: clamp(20px,3vh,32px);
    position: sticky; top: 0; height: 100svh; padding: 100px 0 28px;
  }
  #connections[data-ccp-ready] .section-heading { margin: 0 auto; opacity: 1 !important; transform: none !important; }
  #connections[data-ccp-ready] .section-heading .badge { margin-bottom: 14px; }
  #connections[data-ccp-ready] .section-heading h2 { font-size: clamp(36px,5vh,48px); line-height: 1.12; }
  #connections[data-ccp-ready] .section-heading > p { margin-top: 14px; font-size: 15px; }
  #connections[data-ccp-ready] .section-heading .reveal-line,
  #connections[data-ccp-ready] .section-heading .reveal-line > span,
  #connections[data-ccp-ready] .section-heading > p { opacity: 1 !important; transform: none !important; translate: none !important; --reveal-mask: none !important; }
  #connections[data-ccp-ready] .ccp-stage { display: block; position: relative; min-height: 0; overflow: clip; perspective: 1400px; border-radius: 20px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--ccp-edge-fade, 0px));
    mask-image: linear-gradient(to bottom, transparent 0, #000 var(--ccp-edge-fade, 0px));
  }
  #connections[data-ccp-ready] .ccp-row { display: grid; position: absolute; inset: 0; height: 100%; margin: 0; grid-template-columns: repeat(3,minmax(0,1fr)); will-change: transform,opacity; transform-origin: center 75%; }
  body[data-loom] #connections[data-ccp-ready] .bento { min-height: 0; height: 100%; padding: 22px 24px 0; opacity: 1 !important; transform: none !important; translate: none !important; filter: none !important; transition: none !important; }
  #connections[data-ccp-ready] .bento-copy h3 { font-size: 22px; margin-top: 8px; }
  #connections[data-ccp-ready] .bento-copy { opacity: 1 !important; transform: none !important; translate: none !important; }
  #connections[data-ccp-ready] .bento-copy p { margin-top: 8px; line-height: 1.45; }
  #connections[data-ccp-ready] .bento-copy + * { transform: none !important; }
  #connections[data-ccp-ready] .language-scene { margin-top: 16px; }
  #connections[data-ccp-ready] .language-line { padding: 8px 12px; margin: 6px 0 8px; }
  #connections[data-ccp-ready] .language-line { padding: 6px 12px; }
  #connections[data-ccp-ready] .language-scene .wave { margin-top: 6px; margin-bottom: 12px; }
  #connections[data-ccp-ready] .sync-scene { margin-top: 16px; }
  body[data-loom] #connections[data-ccp-ready] .sync-scene > .crm-visual { padding: 12px 14px; }
  body[data-loom] #connections[data-ccp-ready] .sync-scene .crm-connector { margin: 8px 0; }
  #connections[data-ccp-ready] .sync-scene .product-top { margin-bottom: 6px; }
  #connections[data-ccp-ready] .sync-scene .crm-connector img { height: 32px; }
  #connections[data-ccp-ready] .sync-scene .record-next { margin-top: 10px; padding: 8px 10px; }
  #connections[data-ccp-ready] .sync-scene .record-next strong { font-size: 11px; }
  body[data-loom] #connections[data-ccp-ready] .sync-scene .fields { gap: 5px; }
  body[data-loom] #connections[data-ccp-ready] .sync-scene .fields > div { padding-bottom: 4px; }
  body[data-loom] #connections[data-ccp-ready] [data-harmonic-weave] .sound-art { margin-top: 14px; }
  #connections[data-ccp-ready] [data-harmonic-weave] .sound-panel { padding: 12px 16px; }
  #connections[data-ccp-ready] [data-harmonic-weave] .sound-source-track { height: 36px; }
  #connections[data-ccp-ready] [data-harmonic-weave] .sound-output-track { height: 46px; }
  #connections[data-ccp-ready] .calendar-scene { margin-top: 16px; padding: 14px; }
  #connections[data-ccp-ready] .calendar-days { margin: 12px 0; }
  #connections[data-ccp-ready] .calendar-request { padding: 10px; }
  #connections[data-ccp-ready] .record-list { margin-top: 14px; height: auto; flex: 1; }
  #connections[data-ccp-ready] .handoff-scene { padding: 18px 0; }
  #connections[data-ccp-ready] .handoff-avatar { width: 64px; height: 64px; margin-bottom: 12px; }
  #connections[data-ccp-ready] .handoff-scene { padding: 8px 0; }
  #connections[data-ccp-ready] .handoff-panel { padding: 14px; }
  #connections[data-ccp-ready] .handoff-panel header { margin-bottom: 10px; }
  #connections[data-ccp-ready] .handoff-panel .handoff-avatar { width: 42px; height: 42px; margin-bottom: 0; }
  #connections[data-ccp-ready] .handoff-panel dl { margin: 10px 0; }
  #connections[data-ccp-ready] .handoff-panel dl > div { padding: 5px 0; }
  body[data-loom] #connections[data-ccp-ready] .bento-handoff .handoff-scene { margin-top: 14px; }

  #pilot.section-space { padding: 86px 0 16px; scroll-margin-top: 0; }
  #pilot .section-heading h2 br { display: none; }
  #pilot .section-heading { max-width: none; margin-bottom: clamp(16px,2.7svh,24px); }
  #pilot .section-heading .badge { margin-bottom: 10px; padding: 6px 10px; }
  #pilot .section-heading h2 { font-size: clamp(32px,4.4vh,42px); line-height: 1.1; }
  #pilot .section-heading h2 .reveal-line { display: inline; }
  #pilot .section-heading h2 .reveal-line > span { display: inline; }
  #pilot .section-heading h2 .reveal-line { mask-image: none !important; }
  #pilot .section-heading h2 .reveal-line + .reveal-line::before { content: ' '; }
  #pilot .section-heading > p { margin-top: 12px; font-size: 14px; max-width: none; }
  #pilot .section-heading > p br { display: none; }
  #pilot .pilot-plan { min-height: clamp(320px,46svh,420px); padding: 28px; }
  #pilot .pilot-icon { width: 36px; height: 36px; margin-bottom: 14px; }
  #pilot .pilot-label { margin-bottom: 10px; }
  #pilot .pilot-plan h3 { font-size: 27px; line-height: 1.13; }
  #pilot .pilot-plan > p { margin: 12px 0 20px; }
  #pilot .pilot-plan ul { margin-top: auto; padding-top: 16px; gap: 8px; }
  #pilot .pilot-custom { margin-top: clamp(14px,2.4svh,22px); padding: 16px 28px; opacity: 1 !important; transform: none !important; translate: none !important; }
  #pilot .pilot-custom h3 { font-size: 22px; }
  #pilot .pilot-custom h3 br { display: none; }
  #pilot .pilot-custom p { margin-top: 6px; }
  #pilot .pilot-grid, #pilot .pilot-plan, #pilot .section-heading .reveal-line > span,
  #pilot .section-heading > p { transform: none !important; translate: none !important; opacity: 1 !important; filter: none !important; }
}

/* Retain a complete opening view on shorter desktop screens. */
@media (min-width: 1001px) and (max-height: 720px) {
  #pilot .section-heading { margin-bottom: 16px; }
  #pilot .pilot-plan { padding: 20px 24px; }
  #pilot .pilot-icon { width: 32px; height: 32px; margin-bottom: 10px; }
  #pilot .pilot-label { margin-bottom: 8px; }
  #pilot .pilot-plan h3 { font-size: 25px; }
  #pilot .pilot-plan > p { margin: 10px 0 16px; }
  #pilot .pilot-plan ul { padding-top: 14px; gap: 7px; }
  #pilot .pilot-custom { margin-top: 14px; padding: 12px 24px; }
}

/* Preserve the pale calendar role and deepen its foreground for easy reading. */
.calendar-days .selected {
  background: var(--copy-tint);
  color: var(--copy-tint-text);
}
.calendar-days .selected b { color: var(--copy-tint-text); }

/* Dark outlines and dark ticks keep bright fills readable on light surfaces. */
.cx-dial-needle::before { background: var(--copy-bright); }
.tw-ok { background: var(--copy-bright); color: var(--copy-ink); }
.tw-threads .tw-end { fill: var(--copy-bright); }
.cx-dial[data-dark] .cx-dial-needle::before { background: var(--copy-bright); }

.canopy-carousel[data-copy-heading] {
  --ccar-h: min(620px, max(420px, calc(100svh - var(--ccar-top) - 104px)));
  scroll-margin-top: var(--ccar-top);
}

.canopy-carousel[data-copy-heading] .ccar-pin {
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: 20px;
  padding-top: 12px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.canopy-copy-thread-heading {
  width: var(--ccar-w);
  margin: 0 auto;
  text-align: center;
}

.canopy-copy-thread-heading h2 {
  margin: 0;
  color: #292b2c;
  font-size: clamp(28px, 3.25vw, 44px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.canopy-copy-thread-heading h2 span { color: #355f52; }

.canopy-carousel[data-copy-heading]:not([data-ready]) .canopy-copy-thread-heading {
  margin-bottom: 24px;
}

/* The light layer is inset into the blue fill. Only its opacity follows the
   hero clock; the base mark, rim and surrounding hub receive no glow filter. */
.canopy-call-hero.dl-switchboard .h11-hubcard .canopy-copy-logo {
  position: relative;
  display: block;
  width: 94px;
  height: 92px;
  margin-top: 14px;
}
.canopy-call-hero.dl-switchboard .h11-hubcard .canopy-copy-logo > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  filter: none;
}
.canopy-call-hero.dl-switchboard .h11-hubcard .canopy-copy-logo > .canopy-copy-logo-core {
  position: absolute;
  inset: 0;
  opacity: var(--copy-logo-energy, 0);
  pointer-events: none;
}

/* A quiet fixed light replaces the processing pulse for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .canopy-call-hero.dl-switchboard .h11-hubcard .canopy-copy-logo > .canopy-copy-logo-core { opacity: .2; }
}

.cx-foot-logo img[src="canopy-copy/footer-brand.svg"] {
  width: 34px;
  height: auto;
  aspect-ratio: 214 / 192;
  object-fit: contain;
  filter: brightness(1.65) saturate(1.1) drop-shadow(0 0 1px rgba(207, 234, 255, .8));
}

#results .canopy-copy-results-icon {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Match rows to the lower cards; compact the larger top previews. */
body[data-loom] #connections .bento-grid { grid-auto-rows: 1fr; }
body[data-loom] #connections .bento { min-height: 410px; }
body[data-loom] #connections .sync-scene > .crm-visual { min-height: 0; padding: 16px 18px; }
body[data-loom] #connections .sync-scene .crm-connector { margin: 8px 0 14px; }
body[data-loom] #connections .sync-scene .fields { gap: 8px; }
body[data-loom] #connections .sync-scene .fields > div { padding-bottom: 6px; }
body[data-loom] #connections [data-harmonic-weave] .sound-art { margin-top: 24px; }
body[data-loom] #connections [data-harmonic-weave] .sound-panel { padding: 14px 18px; }
body[data-loom] #connections [data-harmonic-weave] .source-track .weave-print { height: 44px; }
body[data-loom] #connections [data-harmonic-weave] .output-wave .weave-print { height: 58px; }
body[data-loom] #connections [data-harmonic-weave] .output-label { margin-top: 12px; }

/* Keep the window and strip together through every scroll-driven stage. */
#how-it-works .canopy-copy-workflow-pin { display: flow-root; }
#how-it-works .canopy-copy-workflow-pin > .workflow-shell { margin: 0; }
#how-it-works .workflow-scroll-track.is-sticky > .canopy-copy-workflow-pin {
  position: sticky;
  top: var(--workflow-top);
}
#how-it-works .workflow-viewport { min-height: 300px; }
#how-it-works .workflow-panel { min-height: 300px; padding: 24px 32px; }
#how-it-works .workflow-panel .workflow-product { min-height: 0; }
#how-it-works .workflow-fit .workflow-panel { min-height: 0; padding: 20px 28px; gap: 28px; }
#how-it-works .workflow-fit .workflow-viewport { min-height: 0; }
#how-it-works .workflow-copy { padding: 0; }
#how-it-works .workflow-index { margin-bottom: 14px; }
#how-it-works .workflow-context { margin-top: 22px; }
#how-it-works .workflow-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  padding-top: 24px;
  transform: none;
  opacity: 1;
}
#how-it-works .workflow-bottom > h3 {
  grid-column: 1 / -1;
  font-size: 28px;
  line-height: 1.2;
  white-space: nowrap;
  text-wrap: initial;
}
#how-it-works .workflow-bottom h4 { font-size: 15px; line-height: 1.3; }
#how-it-works .workflow-bottom p { margin-top: 8px; font-size: 13px; line-height: 1.5; }

/* The chosen portrait is used in the transcript and customer record. */
.tw-av.tw-ph, .tw-pav.tw-ph {
  background: #dfe4ec url("rohini-workspace-profile.webp") 50% 30% / 125% no-repeat;
}

/* Option 02: keep the customer messages distinct from their green highlights. */
.tw-customer .tw-q {
  display: inline-block;
  margin: 0;
  padding: 9px 14px;
  line-height: 1.6;
  color: #313b40;
  background: #f1f6ff;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px #aabfd9;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Give the headline its own breathing room after removing the hero badge. */
.canopy-call-hero .h11-copy > h1 { margin-top: 34px; }

@media (max-width: 760px) {
  .canopy-call-hero .h11-copy > h1 { margin-top: 8px; }
  /* Keep the longer hero copy clear of the right-hand section marker. */
  .canopy-call-hero .h11-lede { max-width: calc(100% - 36px); }
  body[data-loom] #connections .bento-grid { grid-auto-rows: auto; }
  #how-it-works .workflow-panel { padding: 20px; min-height: 0; }
  #how-it-works .workflow-viewport { min-height: 0; }
  #how-it-works .workflow-fit .workflow-panel { padding: 16px 20px; gap: 18px; }
  #how-it-works .workflow-context { margin-top: 12px; }
  #how-it-works .workflow-bottom { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  #how-it-works .workflow-bottom > h3 { white-space: normal; font-size: 25px; margin-bottom: 0; }
  .canopy-carousel[data-copy-heading] {
    --ccar-h: max(580px, calc(100svh - var(--ccar-top) - 132px));
  }

  .canopy-carousel[data-copy-heading] .ccar-pin {
    min-height: calc(var(--ccar-h) + 132px);
    row-gap: 16px;
  }

  .canopy-copy-thread-heading h2 { font-size: clamp(26px, 6.5vw, 32px); }
}
/* Direct sales contact is secondary to the demo and remains usable on touch. */
.canopy-call-hero .copy-hero-choices {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.copy-sales-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 18px; border: 1px solid #8ba89a; border-radius: 14px;
  color: #285347; background: rgba(255,255,255,.82); font-size: 14px;
  font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.copy-sales-cta:hover { background: #e3f0d5; border-color: #2f5f4d; }
.copy-sales-cta:focus-visible, .copy-footer-sales:focus-visible {
  outline: 3px solid #1680c5; outline-offset: 3px;
}
@media(max-width:760px) {
  .canopy-call-hero .copy-hero-choices { max-width: 100%; }
}
@media(max-width:600px) {
  .canopy-call-hero .h11-actions { flex-direction: column; gap: 14px; }
  .canopy-call-hero .h11-foot { justify-items: center; text-align: center; }
}

/* Match the selected conversation details to the Workspace's sage highlights. */
.cc[data-sel="0"] .cc-transcript mark[data-f="0"],
.cc[data-sel="1"] .cc-transcript mark[data-f="1"],
.cc[data-sel="2"] .cc-transcript mark[data-f="2"] { background-color: #e3f0d5; }
.cc[data-sel="0"] .cc-crmsheet .cc-dl > [data-f="0"],
.cc[data-sel="1"] .cc-crmsheet .cc-dl > [data-f="1"],
.cc[data-sel="2"] .cc-crmsheet .cc-dl > [data-f="2"] { background-color: #e3f0d5; }
.cc[data-sel="0"] .cc-sheet .cc-dl > [data-f="0"],
.cc[data-sel="1"] .cc-sheet .cc-dl > [data-f="1"],
.cc[data-sel="2"] .cc-sheet .cc-dl > [data-f="2"] { color: #d3e9c1; }
#connections .calendar-days .selected { background: #e3f0d5; color: #2f5f4d; }
#connections .calendar-days .selected b { color: #2f5f4d; }
#connections .handoff-context { background: #e3f0d5; color: #2f5f4d; }

/* Keep the dark footer and blue logo while moving its accents into the sage palette. */
.cx-footer .cx-foot-glow {
  background: radial-gradient(40% 60% at 22% 70%, rgb(165 211 165 / .16), transparent 70%),
    radial-gradient(36% 50% at 78% 80%, rgb(128 180 151 / .12), transparent 70%);
}
.cx-footer .cx-foot-dot { background: #cfe5b8; animation-name: copy-footer-pulse; }
@keyframes copy-footer-pulse {
  0% { box-shadow: 0 0 0 0 rgb(207 229 184 / .55); }
  70%, 100% { box-shadow: 0 0 0 12px rgb(207 229 184 / 0); }
}
.cx-footer .cx-foot-title em { background-image: linear-gradient(100deg, #cfe5b8 0%, #f1f8e9 45%, #b9d7c4 100%); }
.cx-footer .cx-foot-primary { background: #cfe5b8; box-shadow: 0 14px 40px -14px rgb(160 205 155 / .55); }
.cx-footer .cx-foot-primary i { color: #cfe5b8; }
.cx-footer .cx-foot-primary:hover { box-shadow: 0 22px 50px -16px rgb(160 205 155 / .7); }
.cx-footer .cx-wave i { background: linear-gradient(180deg, #dbeec9, #8ab69a); }
.cx-footer .cx-foot-col a::after { background: #cfe5b8; }
.cx-footer .cx-foot-mark-fill { background-image: linear-gradient(180deg, #f4f6f8 10%, #cfe5b8 70%, rgb(144 190 151 / .1)); }
.cx-footer .cx-foot-top-link:hover i { background: #cfe5b8; }
.cx-footer a:focus-visible { outline-color: #cfe5b8; }

