/* ACC CloudMove for Epicor — landing page (scoped; typography aligned with ACC / style.css) */
.cm-page {
  font-family: var(--font-sans);
  --cm-teal: #0d9488;
  --cm-teal-dark: #0f766e;
  --cm-navy: #0f172a;
  --cm-navy-soft: #1e293b;
  --cm-muted: #64748b;
  --cm-line: #e2e8f0;
  --cm-soft: #f1f5f9;
  --cm-radius: var(--radius, 8px);
  --cm-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
}

.cm-page .cm-main {
  overflow-x: hidden;
}

.cm-hero {
  position: relative;
  padding: 52px 0 56px;
  background: linear-gradient(145deg, #0f172a 0%, #134e4a 42%, #0d9488 100%);
  color: #fff;
}

.cm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 85% 15%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.cm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .cm-hero-inner {
    grid-template-columns: 0.98fr 1.12fr;
    gap: 28px;
  }
}

.cm-eyebrow {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 22px;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: 8px;
}

.cm-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.85vw, 2.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: normal;
  max-width: min(100%, 32rem);
  color: #fff;
}

.cm-hero-sub {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 32rem;
}

.cm-hero-body {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
}

.cm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 18px;
  align-items: stretch;
}

/* Matched pair: same size, typography, padding, radius (primary vs ghost only) */
.cm-hero-actions > .btn.btn-lg,
.cm-hero-actions > .cm-btn-ghost-light {
  flex: 1 1 220px;
  max-width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius, 8px);
  text-align: center;
  text-decoration: none;
}

.cm-hero-actions > .btn.btn-lg {
  border: 1px solid transparent;
}

.cm-btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius, 8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.cm-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.cm-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cm-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.88);
}

.cm-trust-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eead4;
  flex-shrink: 0;
}

/* Hero visual — chart blends into hero gradient (no dark card) */
.cm-hero-visual {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}

.cm-hero-chart-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(80vh, 720px);
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg, 12px);
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.28));
}

@media (min-width: 1024px) {
  .cm-hero-chart-img {
    max-height: min(92vh, 980px);
  }
}

.cm-section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .cm-section {
    padding: 64px 0;
  }
}

.cm-section--soft {
  background: var(--color-bg-light, var(--cm-soft));
}

.cm-section-head {
  max-width: 100%;
  margin: 0 auto 24px;
  text-align: center;
}

.cm-section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.cm-section-title {
  margin: 0 0 0.5em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: normal;
  line-height: 1.25;
}

.cm-section-lead {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 42rem;
}

.cm-insight-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .cm-insight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cm-insight-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius, 8px);
  padding: 20px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
}

.cm-insight-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: normal;
}

.cm-insight-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Framework roadmap */
.cm-fw-wrap {
  position: relative;
}

.cm-fw-visual-note {
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.cm-fw-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1200px) {
  .cm-fw-track {
    overflow: visible;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
  }
}

.cm-fw-step {
  flex: 0 0 min(260px, 85vw);
  scroll-snap-align: start;
  position: relative;
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1200px) {
  .cm-fw-step {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
  }

  .cm-fw-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% + 22px);
    right: -50%;
    height: 3px;
    background: linear-gradient(90deg, var(--cm-teal), rgba(13, 148, 136, 0.25));
    border-radius: 3px;
    z-index: 0;
  }
}

.cm-fw-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius, 8px);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
  height: 100%;
  text-align: center;
}

.cm-fw-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 8px;
  background: rgba(26, 188, 156, 0.12);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-fw-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: normal;
}

.cm-fw-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.cm-page .cm-fw-card-link {
  display: block;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 100%;
  min-height: 0;
  border-radius: var(--radius, 8px);
}

.cm-page .cm-fw-card-link .cm-fw-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cm-page .cm-fw-card-link:hover .cm-fw-card,
.cm-page .cm-fw-card-link:focus-visible .cm-fw-card {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  border-color: rgba(26, 188, 156, 0.5);
}

.cm-page .cm-fw-card-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Framework section CTA — sizing aligned with hero primary (.cm-hero-actions > .btn.btn-lg) */
.cm-fw-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 0 8px;
}

.cm-fw-cta .btn.btn-lg {
  flex: 0 1 auto;
  width: 100%;
  max-width: min(100%, 420px);
  min-width: 0;
  min-height: 52px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius, 8px);
  text-align: center;
  text-decoration: none;
}

.cm-page section.cm-phase[id] {
  scroll-margin-top: 96px;
}

.cm-page #framework {
  scroll-margin-top: 96px;
}

/* Phase detail */
.cm-phase {
  padding: 48px 0;
  background: #fff;
}

@media (min-width: 768px) {
  .cm-phase {
    padding: 56px 0;
  }
}

.cm-phase--alt {
  background: var(--cm-soft);
}

.cm-phase-inner {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .cm-phase-inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
  }

  .cm-phase--reverse .cm-phase-inner {
    direction: rtl;
  }

  .cm-phase--reverse .cm-phase-inner > * {
    direction: ltr;
  }
}

.cm-phase-aside {
  position: sticky;
  top: 100px;
}

.cm-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cm-phase-badge::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.cm-phase h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  letter-spacing: normal;
}

.cm-phase-headline {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.45;
  letter-spacing: normal;
}

.cm-phase-body {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.cm-phase-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-phase-list li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  letter-spacing: normal;
}

.cm-phase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.cm-quote {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--color-primary);
  background: #fff;
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  letter-spacing: normal;
}

.cm-phase--alt .cm-quote {
  background: #fff;
}

.cm-page .cloudmove-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid var(--color-primary, #1abc9c);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary-dark, #159a80);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.cm-phase--alt .cloudmove-back-link {
  background: rgba(255, 255, 255, 0.96);
}

.cm-page .cloudmove-back-link:hover {
  background: rgba(26, 188, 156, 0.1);
  border-color: var(--color-primary-dark, #159a80);
  color: var(--color-dark, #0f172a);
  transform: translateY(-1px);
}

.cm-page .cloudmove-back-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.cm-why-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .cm-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cm-why-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius, 8px);
  padding: 20px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
}

.cm-why-card-icon {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.cm-why-card-icon img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

@media (max-width: 480px) {
  .cm-why-card-icon img {
    width: 36px;
    height: 36px;
  }
}

.cm-why-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: normal;
}

.cm-why-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* CloudMove brochure download (Venus brochure layout + consent; from venus.css + Venus page refinements) */
.venus-brochure-section {
  padding: 64px 0;
  background: #fff;
}

.venus-brochure-container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.venus-brochure-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin: 0 auto 40px;
  max-width: 560px;
  line-height: 1.5;
}

.venus-brochure-split {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 48px;
  align-items: center;
}

.venus-brochure-media {
  min-width: 0;
}

.venus-brochure-img {
  width: 100%;
  height: auto;
  display: block;
}

/* CloudMove brochure: clean product shot (no card, no heavy shadow) — aligned with Venus brochure image treatment */
.cm-page .cm-cloudmove-brochure-media .venus-brochure-img {
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

@media (max-width: 900px) {
  .cm-page .cm-cloudmove-brochure-media .venus-brochure-img {
    max-width: 420px;
    margin: 0 auto;
  }
}

.venus-brochure-content {
  min-width: 0;
}

.venus-brochure-bullets {
  margin: 0 0 24px;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
  list-style: disc;
}

.venus-brochure-bullets li {
  margin-bottom: 8px;
}

.venus-brochure-form-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
}

.venus-brochure-form-subtext {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.5;
}

.venus-brochure-form .venus-brochure-form-row {
  margin-bottom: 16px;
}

.venus-brochure-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.venus-brochure-input,
.venus-brochure-select {
  width: 100%;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
}

.venus-brochure-input:focus,
.venus-brochure-select:focus {
  outline: 0;
  border-color: #0f4f4a;
  box-shadow: 0 0 0 3px rgba(15, 79, 74, 0.12);
}

.venus-brochure-form-actions {
  margin-top: 20px;
  margin-bottom: 0;
}

.venus-brochure-form .venus-brochure-submit {
  width: 100%;
  max-width: 320px;
}

.venus-brochure-consent-block {
  margin-top: 4px;
  margin-bottom: 0;
}

.venus-brochure-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}

.venus-brochure-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #0f4f4a;
}

.venus-brochure-consent-note {
  margin: 12px 0 0;
  padding-left: 28px;
  max-width: 100%;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6b7280;
}

.venus-brochure-form .venus-brochure-form-actions.venus-brochure-form-actions-after-consent {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .venus-brochure-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .venus-brochure-media {
    order: 1;
  }

  .venus-brochure-content {
    order: 2;
  }
}

@media (max-width: 480px) {
  .venus-brochure-input,
  .venus-brochure-select,
  .venus-brochure-form .venus-brochure-submit {
    max-width: none;
  }
}

/* Contact form */
.cm-contact {
  padding: 56px 0 64px;
}

@media (min-width: 768px) {
  .cm-contact {
    padding: 64px 0 72px;
  }
}

.cm-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius);
  padding: 28px 24px 32px;
  box-shadow: var(--cm-shadow);
}

.cm-form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .cm-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cm-form-span-2 {
    grid-column: 1 / -1;
  }
}

.cm-form-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
  letter-spacing: normal;
}

.cm-form-wrap .cm-req {
  color: #dc2626;
}

.cm-form-wrap input,
.cm-form-wrap select,
.cm-form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--cm-line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cm-form-wrap input:focus,
.cm-form-wrap select:focus,
.cm-form-wrap textarea:focus {
  outline: none;
  border-color: var(--cm-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.cm-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.cm-form-actions {
  margin-top: 8px;
}

.cm-hidden-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ — concerns (aligned with CloudMove + ACC tokens) */
.cm-page .cm-hero + .cm-section.cm-faq-section {
  padding-top: 72px;
}

@media (min-width: 768px) {
  .cm-page .cm-hero + .cm-section.cm-faq-section {
    padding-top: 88px;
  }
}

.cm-page #cloudmove-faq + section {
  padding-top: 64px;
}

@media (min-width: 768px) {
  .cm-page #cloudmove-faq + section {
    padding-top: 72px;
  }
}

/* Strategic context — after phases, before brochure */
.cm-page section[aria-labelledby="cm-context-title"] {
  padding-top: 64px;
}

@media (min-width: 768px) {
  .cm-page section[aria-labelledby="cm-context-title"] {
    padding-top: 72px;
  }
}

.cm-page .cm-faq-section {
  background: linear-gradient(180deg, #fff 0%, var(--cm-soft) 42%, #fff 100%);
}

.cm-page .cm-faq-section .cm-section-head {
  margin-bottom: 24px;
}

.cm-page .cm-faq-section .cm-faq-subtitle {
  margin: 0 auto 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 42rem;
}

.cm-page .cm-faq-section .cm-faq-intro {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 46rem;
}

.cm-page .cm-faq-list {
  max-width: 52rem;
  margin: 0 auto;
}

.cm-page .cm-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius, 8px);
  background: #fff;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cm-page .cm-faq-item:has(.cm-faq-trigger[aria-expanded="true"]) {
  border-color: rgba(26, 188, 156, 0.35);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
}

.cm-page .cm-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  min-height: 0;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-dark);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cm-page .cm-faq-trigger:hover {
  background: var(--color-bg-light, #f7f9fb);
}

.cm-page .cm-faq-trigger[aria-expanded="true"] {
  background: rgba(26, 188, 156, 0.06);
}

.cm-page .cm-faq-trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}

.cm-page .cm-faq-q {
  flex: 1;
  padding-right: 4px;
}

.cm-page .cm-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 188, 156, 0.12);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.22s ease;
}

.cm-page .cm-faq-trigger:hover .cm-faq-icon {
  background: rgba(26, 188, 156, 0.18);
  color: var(--color-dark);
}

.cm-page .cm-faq-trigger[aria-expanded="true"] .cm-faq-icon {
  background: rgba(26, 188, 156, 0.2);
  color: var(--color-dark);
}

.cm-page .cm-faq-icon-v {
  transition: opacity 0.22s ease, transform 0.22s ease;
  transform-origin: center;
}

.cm-page .cm-faq-trigger[aria-expanded="true"] .cm-faq-icon-v {
  opacity: 0;
  transform: scaleY(0.2);
}

.cm-page .cm-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s cubic-bezier(0.33, 1, 0.68, 1);
}

.cm-page .cm-faq-panel.is-open {
  grid-template-rows: 1fr;
}

.cm-page .cm-faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.cm-page .cm-faq-panel.is-open .cm-faq-panel-inner {
  padding: 0 16px 16px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

.cm-page .cm-faq-panel-inner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 46rem;
}

@media (min-width: 768px) {
  .cm-page .cm-faq-trigger {
    padding: 16px 18px;
    font-size: 15px;
  }

  .cm-page .cm-faq-panel.is-open .cm-faq-panel-inner {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 18px;
  }
}

/* eDM deep links (#faq, #brochure, #contact) — scroll offset for sticky header */
.cm-page .cm-edm-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.cm-page #contact {
  scroll-margin-top: 90px;
}

/* Thank-you page (contact enquiry vs brochure download) */
.cm-thanks-main {
  padding: 64px 0 88px;
  background: var(--color-bg-light, #f7f9fb);
}

.cm-thanks-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cm-thanks-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.cm-thanks-card .cm-section-title {
  margin-top: 0;
  color: var(--color-dark);
}

.cm-thanks-lead {
  margin: 16px auto 0;
  max-width: 36rem;
}

.cm-thanks-secondary {
  margin: 8px auto 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 32rem;
  line-height: 1.55;
}

.cm-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.cm-brochure-form-msg {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: #b91c1c;
  text-align: center;
  line-height: 1.5;
}

.cm-brochure-form-msg-hidden {
  display: none !important;
}

.cm-thanks-pdf-embed-wrap {
  margin-top: 28px;
  text-align: left;
}

.cm-thanks-pdf-embed-label {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted, #6b7280);
}

.cm-thanks-pdf-iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  height: 70vh;
  max-height: 900px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f3f4f6;
}

@media (max-width: 640px) {
  .cm-thanks-pdf-iframe {
    min-height: 420px;
    height: 65vh;
  }
}

/* Smooth scroll for framework card → phase anchors (CloudMove pages) */
html {
  scroll-behavior: smooth;
}
