/* Crownmaire Capital — modern institutional landing */
:root {
  --cm-blue: #0033ad;
  --cm-blue-dark: #00257a;
  --cm-blue-glow: rgba(0, 51, 173, 0.35);
  --cm-teal: #1bb0ce;
  --cm-teal-soft: rgba(27, 176, 206, 0.15);
  --cm-ink: #0c1222;
  --cm-ink-2: #1e293b;
  --cm-body: #4a5d78;
  --cm-muted: #7b8ba8;
  --cm-line: rgba(15, 23, 42, 0.08);
  --cm-line-soft: rgba(0, 51, 173, 0.1);
  --cm-white: #ffffff;
  --cm-page-bg: #e8edf6;
  --cm-page-bg-alt: #dfe8f4;
  --cm-surface: #edf2f9;
  --cm-surface-2: #e4ebf5;
  --cm-surface-elevated: rgba(255, 255, 255, 0.92);
  --cm-radius: 16px;
  --cm-radius-sm: 10px;
  --cm-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 20px 40px -12px rgba(15, 23, 42, 0.1);
  --cm-shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.16);
  --cm-header: 72px;
  --cm-max: 1180px;
  --cm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cm-header-glass: rgba(6, 12, 28, 0.9);
  --cm-banner-bg: #030712;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html,
body.cm-landing-page {
  margin: 0;
  padding: 0;
}

body.cm-landing-page {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--cm-ink-2);
  background: var(--cm-page-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  scroll-padding-top: var(--cm-header);
  overflow-x: hidden;
}

body.cm-landing-page h1,
body.cm-landing-page h2,
body.cm-landing-page h3,
body.cm-landing-page h4,
body.cm-landing-page h5,
body.cm-landing-page h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body.cm-landing-page .cm-section h1,
body.cm-landing-page .cm-section h2,
body.cm-landing-page .cm-section h3,
body.cm-landing-page .cm-card h3,
body.cm-landing-page .cm-split__title {
  color: var(--cm-ink);
}

body.cm-landing-page .cm-banner h3 {
  color: #ffffff;
}

body.cm-landing-page .pb-120,
body.cm-landing-page .pt-120 { padding: 0 !important; }

body.cm-landing-page .container { max-width: var(--cm-max); }

.cm-container {
  width: 100%;
  max-width: var(--cm-max);
  margin: 0 auto;
  padding: 0 24px;
}

.cm-page {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 51, 173, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--cm-page-bg) 0%, #eef3fa 50%, var(--cm-page-bg) 100%);
}

/* ─── Header ─── */
.cm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--cm-header);
  transition: background 0.3s var(--cm-ease), box-shadow 0.3s var(--cm-ease);
}

.cm-header.is-scrolled {
  background: #060c1c;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cm-header__bar {
  max-width: var(--cm-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cm-header__brand img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.cm-header__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-header__menu a {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.cm-header__menu a:hover,
.cm-header__menu a.is-active {
  color: var(--cm-white);
  background: rgba(255, 255, 255, 0.1);
}

.cm-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cm-header__portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cm-header__portal:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cm-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.cm-header__portal i { font-size: 1.125rem; }

.cm-header__menu-portal { display: none; }

.cm-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
}

.cm-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cm-white);
  transition: background 0.2s;
}

/* ─── Buttons ─── */
.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--cm-ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.cm-btn--sm { padding: 10px 20px; font-size: 0.8125rem; }

.cm-btn--accent {
  background: linear-gradient(135deg, var(--cm-blue) 0%, #0047d4 100%);
  color: var(--cm-white);
  box-shadow: 0 4px 14px var(--cm-blue-glow);
}

.cm-btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cm-blue-glow);
  color: var(--cm-white);
}

.cm-btn--glow {
  box-shadow: 0 0 0 1px rgba(27, 176, 206, 0.35), 0 12px 40px rgba(0, 51, 173, 0.45);
}

.cm-btn--glow:hover {
  box-shadow: 0 0 0 1px rgba(27, 176, 206, 0.5), 0 16px 48px rgba(0, 51, 173, 0.55);
}

.cm-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cm-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cm-white);
}

.cm-btn--outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--cm-blue);
  border: 1.5px solid rgba(0, 51, 173, 0.15);
}

.cm-btn--outline:hover {
  border-color: var(--cm-blue);
  background: rgba(0, 51, 173, 0.06);
  color: var(--cm-blue-dark);
}

.cm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cm-teal);
  background: rgba(27, 176, 206, 0.12);
  border: 1px solid rgba(27, 176, 206, 0.25);
  border-radius: 999px;
  margin-bottom: 20px;
}

.cm-badge i { font-size: 0.875rem; }

.cm-section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cm-blue);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(0, 51, 173, 0.08);
  border: 1px solid rgba(0, 51, 173, 0.12);
  border-radius: 999px;
}

.cm-section__tag--accent {
  color: var(--cm-teal);
  background: rgba(27, 176, 206, 0.1);
  border-color: rgba(27, 176, 206, 0.2);
}

/* ─── Hero ─── */
.cm-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--cm-header) + 56px) 0 120px;
  background: #030712;
  color: var(--cm-white);
  overflow: hidden;
}

.cm-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent 0%, transparent 55%, var(--cm-page-bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.cm-hero__aurora {
  position: absolute;
  width: 140%;
  height: 80%;
  top: -20%;
  left: -20%;
  background:
    radial-gradient(ellipse 45% 55% at 72% 28%, rgba(0, 51, 173, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 35% 45% at 18% 72%, rgba(27, 176, 206, 0.28) 0%, transparent 55%);
  filter: blur(48px);
  animation: cmAurora 14s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.cm-hero__aurora--2 {
  top: 10%;
  left: 30%;
  width: 100%;
  height: 70%;
  background: radial-gradient(ellipse 40% 50% at 50% 50%, rgba(71, 168, 212, 0.22) 0%, transparent 60%);
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}

@keyframes cmAurora {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.06); }
}

.cm-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 75% at 55% 35%, black 15%, transparent 72%);
  pointer-events: none;
}

.cm-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.cm-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 40px 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cm-hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.cm-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.cm-hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: cmPulse 2s ease-out infinite;
}

@keyframes cmPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.cm-hero__title {
  font-size: clamp(2.125rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin: 0 0 22px;
  color: #ffffff;
}

.cm-hero__title-gradient {
  display: block;
  background: linear-gradient(120deg, #7fc4e8 0%, #1bb0ce 35%, #0033ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.cm-hero__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 32px;
  max-width: 520px;
}

.cm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.cm-hero__metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}

.cm-hero__metric {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.cm-hero__metric i {
  font-size: 1.25rem;
  color: var(--cm-teal);
  line-height: 1;
  margin-top: 2px;
}

.cm-hero__metric strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cm-white);
  line-height: 1.2;
}

.cm-hero__metric span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

/* Hero stage */
.cm-hero__stage {
  position: relative;
  min-height: 420px;
  perspective: 1200px;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.cm-hero__stage-glow {
  position: absolute;
  inset: 10% 5% 5%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(27, 176, 206, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.cm-float-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: cmFloat 5s ease-in-out infinite;
}

.cm-float-card--balance {
  top: 8%;
  left: -4%;
  min-width: 168px;
}

.cm-float-card--return {
  bottom: 12%;
  right: -2%;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: -2.5s;
}

@keyframes cmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cm-float-card__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.cm-float-card__label em {
  font-style: normal;
  color: var(--cm-teal);
}

.cm-float-card strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cm-white);
  line-height: 1.1;
}

.cm-float-card small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.cm-float-card__ring {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.cm-float-card__ring svg {
  width: 100%;
  height: 100%;
}

.cm-float-card__ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--cm-teal);
}

/* Command terminal */
.cm-command {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--cm-ease);
}

.cm-hero__stage:hover .cm-command {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.cm-command__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cm-command__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.cm-command__brand i {
  color: var(--cm-teal);
  font-size: 1.125rem;
}

.cm-command__brand em {
  font-style: normal;
  color: var(--cm-teal);
  font-weight: 600;
}

.cm-command__tabs {
  display: flex;
  gap: 4px;
}

.cm-command__tabs span {
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  cursor: default;
}

.cm-command__tabs .is-active {
  color: var(--cm-white);
  background: rgba(255, 255, 255, 0.08);
}

.cm-command__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4ade80;
}

.cm-command__live i { font-size: 7px; }

.cm-command__body {
  padding: 18px;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.95) 0%, rgba(6, 12, 24, 0.98) 100%);
}

.cm-command__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.cm-command__kpi {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cm-command__kpi span {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.cm-command__kpi strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cm-white);
  line-height: 1.2;
}

.cm-command__kpi small {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.cm-command__kpi--accent {
  background: linear-gradient(135deg, rgba(0, 51, 173, 0.35) 0%, rgba(27, 176, 206, 0.2) 100%);
  border-color: rgba(27, 176, 206, 0.25);
}

.cm-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.cm-trend--up { color: #4ade80; }

.cm-command__charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.cm-command__chart-main {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 180px;
}

.cm-command__chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.cm-chart-animated {
  width: 100%;
  height: 130px;
  display: block;
}

.cm-chart-animated__line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: cmChartDraw 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.4s;
}

.cm-chart-animated__area {
  opacity: 0;
  animation: cmChartFade 1.2s ease forwards;
  animation-delay: 1s;
}

@keyframes cmChartDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes cmChartFade {
  to { opacity: 1; }
}

.cm-command__alloc {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.cm-command__alloc-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 10px;
}

.cm-donut {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
}

.cm-donut svg {
  width: 100%;
  height: 100%;
}

.cm-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cm-donut__center strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cm-white);
  line-height: 1;
}

.cm-donut__center span {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.cm-alloc-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-alloc-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.cm-alloc-legend li span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─── Trust bar ─── */
.cm-trust {
  padding: 32px 0;
  background: var(--cm-white);
  border-bottom: 1px solid var(--cm-line);
}

.cm-trust__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cm-muted);
  margin: 0 0 20px;
}

.cm-trust__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cm-trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cm-ink-2);
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cm-trust__chip i {
  color: var(--cm-blue);
  font-size: 1.125rem;
}

.cm-trust__chip:hover {
  border-color: rgba(0, 51, 173, 0.25);
  box-shadow: var(--cm-shadow);
}

/* ─── Sections ─── */
.cm-section {
  padding: 96px 0;
  position: relative;
}

.cm-section--alt {
  background:
    linear-gradient(180deg, rgba(0, 51, 173, 0.05) 0%, rgba(27, 176, 206, 0.04) 100%);
  border-top: 1px solid var(--cm-line-soft);
  border-bottom: 1px solid var(--cm-line-soft);
}

.cm-section--cta {
  padding-bottom: 96px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 28, 0.04) 100%);
}

.cm-section__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.cm-section__lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--cm-body);
  margin: 0;
}

/* ─── Feature cards ─── */
.cm-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cm-card {
  background: var(--cm-surface-elevated);
  border: 1px solid var(--cm-line-soft);
  border-radius: var(--cm-radius);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--cm-ease), box-shadow 0.35s var(--cm-ease), border-color 0.35s;
}

.cm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 51, 173, 0.1);
  border-color: rgba(0, 51, 173, 0.18);
}

.cm-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cm-teal-soft) 0%, rgba(0, 51, 173, 0.08) 100%);
  border-radius: 14px;
  border: 1px solid rgba(0, 51, 173, 0.1);
}

.cm-card__icon i {
  font-size: 1.5rem;
  color: var(--cm-blue);
}

.cm-card__icon img {
  width: 100%;
  height: auto;
}

.cm-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cm-ink);
  margin: 0 0 12px;
}

.cm-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--cm-body);
  margin: 0;
}

/* ─── Split layout ─── */
.cm-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.cm-split--faq { grid-template-columns: 0.9fr 1.1fr; align-items: start; }

.cm-split__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cm-ink);
  margin: 0 0 20px;
}

.cm-split__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cm-body);
  margin: 0 0 20px;
  max-width: 420px;
}

.cm-feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.cm-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--cm-body);
}

.cm-feature-list i {
  color: var(--cm-blue);
  font-size: 1.125rem;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
}

/* Platform dashboard screenshot */
.cm-platform-shot {
  border-radius: var(--cm-radius);
  border: none;
  box-shadow: 0 32px 64px rgba(0, 51, 173, 0.12);
  overflow: hidden;
  background: var(--cm-surface);
  line-height: 0;
}

.cm-platform-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Metrics band ─── */
.cm-metrics {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cm-banner-bg);
  border: none;
}

.cm-metrics__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.cm-metrics__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 72% 28%, rgba(0, 51, 173, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 35% 45% at 18% 72%, rgba(27, 176, 206, 0.28) 0%, transparent 55%);
  pointer-events: none;
}

.cm-metrics__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(6, 13, 31, 0.4) 0%, rgba(12, 26, 58, 0.35) 45%, rgba(10, 22, 40, 0.4) 100%);
  pointer-events: none;
}

.cm-metrics__body {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-end;
  padding: 48px 40px;
  color: var(--cm-white);
}

.cm-metrics__intro {
  flex: 1;
  min-width: 260px;
}

body.cm-landing-page .cm-metrics .cm-metrics__intro h3 {
  color: #ffffff !important;
}

.cm-metrics__intro h3 {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #ffffff;
}

.cm-metrics__intro p {
  font-size: 0.9375rem;
  line-height: 1.65;
  opacity: 0.88;
  max-width: 360px;
  margin: 0;
}

.cm-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.cm-metrics__item {
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cm-radius-sm);
  backdrop-filter: blur(8px);
}

.cm-metrics__item i {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 10px;
  opacity: 0.85;
}

.cm-metrics__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.cm-metrics__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ─── Accordion ─── */
.cm-accordion__item {
  background: var(--cm-surface-elevated);
  border: 1px solid var(--cm-line-soft);
  border-radius: var(--cm-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cm-accordion__item[open] {
  border-color: rgba(0, 51, 173, 0.2);
  box-shadow: 0 4px 20px rgba(0, 51, 173, 0.06);
}

.cm-accordion__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cm-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.45;
}

.cm-accordion__item summary::-webkit-details-marker { display: none; }

.cm-accordion__item summary::after {
  content: '';
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--cm-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230033ad' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat;
  transition: background 0.2s, transform 0.2s;
}

.cm-accordion__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--cm-teal-soft);
}

.cm-accordion__body {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--cm-body);
}

/* ─── Banner CTA ─── */
.cm-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #050a14;
  border: none;
  box-shadow: none;
}

.cm-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.cm-banner__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0, 51, 173, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(27, 176, 206, 0.25) 0%, transparent 45%);
}

.cm-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 20, 0.85) 0%, rgba(0, 33, 120, 0.6) 100%);
}

.cm-banner__content {
  position: relative;
  padding: 64px 48px;
  text-align: center;
  color: var(--cm-white);
}

.cm-banner__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 176, 206, 0.15);
  border: 1px solid rgba(27, 176, 206, 0.35);
  border-radius: 16px;
  font-size: 1.5rem;
  color: var(--cm-teal);
}

.cm-banner__content h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 auto 12px;
  max-width: 560px;
  color: #ffffff !important;
}

.cm-banner__content p {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.cm-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cm-btn--light {
  background: var(--cm-white);
  color: var(--cm-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cm-btn--light:hover {
  background: #f8fafc;
  color: var(--cm-blue-dark);
}

.cm-btn--on-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--cm-white);
}

.cm-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cm-white);
}

/* ─── Footer ─── */
.cm-footer {
  background: var(--cm-banner-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.cm-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(0, 51, 173, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(27, 176, 206, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cm-footer .cm-container {
  position: relative;
  z-index: 1;
}

.cm-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.cm-footer__brand img {
  max-height: 44px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.cm-footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
  max-width: 300px;
}

.cm-footer__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cm-white);
  margin: 0 0 16px;
}

.cm-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cm-footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.cm-footer__links a:hover { color: var(--cm-teal); }

.cm-footer__copy {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin: 0;
}

.cm-footer__copy a {
  color: var(--cm-teal);
  text-decoration: none;
}

/* ─── Reveal ─── */
.cm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--cm-ease), transform 0.8s var(--cm-ease);
}

.cm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cm-reveal--delay { transition-delay: 0.12s; }
.cm-reveal--delay-2 { transition-delay: 0.24s; }
.cm-reveal--delay-3 { transition-delay: 0.36s; }

/* ─── About page ─── */
.cm-page-hero {
  position: relative;
  padding: calc(var(--cm-header) + 64px) 0 72px;
  background: var(--cm-banner-bg);
  color: var(--cm-white);
  overflow: hidden;
  text-align: center;
}

.cm-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent 0%, transparent 55%, var(--cm-page-bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.cm-page-hero__aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(0, 51, 173, 0.5) 0%, transparent 58%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(27, 176, 206, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.cm-page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
}

.cm-page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cm-page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: #ffffff;
}

.cm-page-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 28px;
  max-width: 640px;
}

.cm-about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.cm-about-intro__copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cm-body);
  margin: 0 0 18px;
}

.cm-about-intro__copy p:last-child {
  margin-bottom: 0;
}

.cm-about-highlights {
  display: grid;
  gap: 14px;
}

.cm-about-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--cm-surface-elevated);
  border: 1px solid var(--cm-line-soft);
  border-radius: var(--cm-radius-sm);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.cm-about-highlight__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cm-teal-soft) 0%, rgba(0, 51, 173, 0.08) 100%);
  border: 1px solid rgba(0, 51, 173, 0.1);
  color: var(--cm-blue);
  font-size: 1.25rem;
}

.cm-about-highlight h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cm-ink);
  margin: 0 0 4px;
}

.cm-about-highlight p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--cm-body);
  margin: 0;
}

.cm-about-performance {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.cm-about-performance__copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cm-body);
  margin: 0 0 16px;
}

.cm-about-performance__copy p:last-child {
  margin-bottom: 0;
}

.cm-about-quote {
  margin: 0;
  padding: 32px 28px;
  background: var(--cm-banner-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cm-radius);
  position: relative;
  overflow: hidden;
}

.cm-about-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0, 51, 173, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(27, 176, 206, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cm-about-quote i {
  display: block;
  font-size: 1.5rem;
  color: var(--cm-teal);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cm-about-quote p {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  position: relative;
  z-index: 1;
}

.cm-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cm-office-card {
  padding: 32px 28px;
  background: var(--cm-surface-elevated);
  border: 1px solid var(--cm-line-soft);
  border-radius: var(--cm-radius);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s var(--cm-ease), box-shadow 0.3s var(--cm-ease);
}

.cm-office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 51, 173, 0.1);
}

.cm-office-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cm-blue) 0%, #0047d4 100%);
  color: var(--cm-white);
  font-size: 1.375rem;
  margin-bottom: 20px;
}

.cm-office-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cm-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cm-office-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--cm-body);
  margin: 0;
}

.cm-office-card strong {
  color: var(--cm-ink-2);
  font-weight: 700;
}

/* ─── Contact page ─── */
.cm-contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.cm-contact-info__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cm-body);
  margin: 0 0 28px;
  max-width: 420px;
}

.cm-contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cm-contact-details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cm-contact-details i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cm-teal-soft) 0%, rgba(0, 51, 173, 0.08) 100%);
  border: 1px solid rgba(0, 51, 173, 0.1);
  color: var(--cm-blue);
  font-size: 1.25rem;
}

.cm-contact-details span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cm-muted);
  margin-bottom: 4px;
}

.cm-contact-details a {
  color: var(--cm-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

.cm-contact-details a:hover {
  color: var(--cm-blue-dark);
}

.cm-contact-details p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--cm-body);
}

.cm-contact-form-wrap {
  padding: 32px 28px;
  background: var(--cm-surface-elevated);
  border: 1px solid var(--cm-line-soft);
  border-radius: var(--cm-radius);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
}

.cm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cm-form-row {
  display: grid;
  gap: 18px;
}

.cm-form-row--2 {
  grid-template-columns: 1fr 1fr;
}

.cm-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cm-form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cm-ink-2);
}

.cm-form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--cm-ink-2);
  background: var(--cm-white);
  border: 1px solid var(--cm-line-soft);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cm-form-control:focus {
  outline: none;
  border-color: rgba(0, 51, 173, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 51, 173, 0.08);
}

.cm-form-control::placeholder {
  color: var(--cm-muted);
}

textarea.cm-form-control {
  resize: vertical;
  min-height: 130px;
}

.cm-form-captcha .form-group,
.cm-form-captcha .captcha {
  margin-bottom: 0;
}

.cm-form-captcha input.form-control,
.cm-form-captcha input.form--control {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--cm-line-soft);
  font-family: inherit;
}

.cm-captcha-widget {
  display: flex;
  justify-content: flex-start;
}

.cm-captcha-visual {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--cm-line-soft);
  margin-bottom: 10px;
}

.cm-captcha-error {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #dc2626;
}

.cm-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}

.cm-form-footer__captcha {
  flex: 1;
  min-width: 260px;
}

.cm-form-footer__captcha .cm-form-group {
  margin-bottom: 0;
}

.cm-form-footer__submit {
  flex-shrink: 0;
  align-self: flex-end;
}

.cm-nav-overlay {
  display: none;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .cm-header__menu a {
    padding: 8px 10px;
    font-size: 0.875rem;
  }

  .cm-header__portal span {
    display: none;
  }

  .cm-header__portal {
    padding: 8px 12px;
  }
}

@media (max-width: 991px) {
  .cm-container {
    padding: 0 16px;
  }

  .cm-header__bar {
    padding: 0 16px;
    gap: 12px;
  }

  .cm-header__brand img {
    height: 34px;
  }

  .cm-header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .cm-header__actions .cm-header__portal,
  .cm-header__actions .cm-btn--accent {
    display: none;
  }

  .cm-header__nav {
    order: 3;
  }

  .cm-header__toggle {
    display: flex;
  }

  .cm-header__menu {
    display: flex;
    position: fixed;
    top: var(--cm-header);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--cm-header));
    max-height: calc(100dvh - var(--cm-header));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: #060c1c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(calc(-100% - var(--cm-header)));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--cm-ease), opacity 0.35s, visibility 0.35s;
    z-index: 1001;
  }

  .cm-header__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .cm-header__menu a {
    color: rgba(255, 255, 255, 0.88) !important;
    background: transparent !important;
    width: 100%;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
  }

  .cm-header__menu a:hover,
  .cm-header__menu a.is-active {
    color: var(--cm-white) !important;
    background: transparent !important;
  }

  .cm-header__menu-portal {
    display: block;
  }

  .cm-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.55);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .cm-nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  body.cm-nav-open {
    overflow: hidden;
  }

  .cm-cards { grid-template-columns: repeat(2, 1fr); }
  .cm-split,
  .cm-split--faq { grid-template-columns: 1fr; gap: 40px; }
  .cm-hero__layout { grid-template-columns: 1fr; gap: 32px; }
  .cm-command { max-width: 100%; margin-left: 0; transform: none; }
  .cm-hero__stage:hover .cm-command { transform: none; }
  .cm-metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .cm-footer__grid { grid-template-columns: 1fr 1fr; }
  .cm-about-intro,
  .cm-about-performance { grid-template-columns: 1fr; gap: 40px; }
  .cm-contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .cm-section { padding: 56px 0; }

  .cm-hero {
    min-height: auto;
    padding: calc(var(--cm-header) + 28px) 0 72px;
  }

  .cm-hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.35rem);
    letter-spacing: -0.03em;
  }

  .cm-hero__lead {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .cm-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 28px;
  }

  .cm-hero__actions .cm-btn {
    width: 100%;
    justify-content: center;
  }

  .cm-hero__aurora,
  .cm-hero__aurora--2 {
    filter: blur(28px);
    animation: none;
  }

  .cm-hero__noise {
    display: none;
  }

  .cm-hero__stage {
    min-height: auto;
    padding-top: 8px;
  }

  .cm-command__bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
  }

  .cm-command__tabs,
  .cm-command__live {
    display: none;
  }

  .cm-command__body {
    padding: 14px;
  }

  .cm-command__kpis {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cm-command__charts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cm-command__chart-main {
    min-height: 180px;
  }

  .cm-cards { grid-template-columns: 1fr; }

  .cm-card {
    padding: 24px 20px;
  }

  .cm-section__lead,
  .cm-split__text,
  .cm-contact-info__text {
    font-size: 0.9375rem;
  }

  .cm-split__title,
  .cm-page-hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .cm-page-hero {
    padding: calc(var(--cm-header) + 40px) 0 56px;
  }

  .cm-page-hero__lead {
    font-size: 0.9375rem;
  }

  .cm-platform-shot {
    border-radius: 12px;
  }

  .cm-metrics__body {
    padding: 28px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .cm-metrics__intro p {
    max-width: none;
  }

  .cm-metrics__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cm-metrics__item {
    padding: 16px 14px;
  }

  .cm-metrics__value {
    font-size: 1.625rem;
  }

  .cm-banner__content {
    padding: 40px 20px;
  }

  .cm-banner__content h3 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .cm-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cm-banner__actions .cm-btn {
    width: 100%;
    justify-content: center;
  }

  .cm-footer {
    padding: 48px 0 28px;
  }

  .cm-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cm-offices { grid-template-columns: 1fr; }

  .cm-contact-form-wrap {
    padding: 24px 18px;
  }

  .cm-contact-details li {
    gap: 12px;
  }

  .cm-contact-details i {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .cm-form-row--2 { grid-template-columns: 1fr; }

  .cm-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cm-form-footer__submit {
    width: 100%;
    justify-content: center;
  }

  .cm-accordion__item summary {
    padding: 16px 44px 16px 16px;
    font-size: 0.9375rem;
  }

  .cm-accordion__body {
    padding: 0 16px 16px;
    font-size: 0.875rem;
  }

  .cm-btn {
    padding: 13px 22px;
    font-size: 0.9375rem;
  }

  .cm-btn--sm {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .cm-container {
    padding: 0 14px;
  }

  .cm-section { padding: 48px 0; }

  .cm-metrics__grid {
    grid-template-columns: 1fr;
  }

  .cm-cards { gap: 14px; }

  .cm-command__kpi strong {
    font-size: 1.125rem;
  }

  .cm-trust__chips {
    gap: 8px;
  }

  .cm-trust__chip {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .cm-reveal { opacity: 1; transform: none; transition: none; }

  .cm-hero__aurora,
  .cm-hero__aurora--2,
  .cm-float-card,
  .cm-chart-animated__line,
  .cm-chart-animated__area,
  .cm-hero__pulse {
    animation: none !important;
  }

  .cm-hero__noise { display: none; }

  .cm-hero__stage {
    will-change: auto;
    transition: none;
  }
}
