:root {
  --cmg-max-width: 1160px;
  --cmg-gutter: 28px;
  --cmg-transition-fast: 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --cmg-transition-med: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);

  /* disciplined spacing scale */
  --cmg-space-1: 6px;
  --cmg-space-2: 10px;
  --cmg-space-3: 14px;
  --cmg-space-4: 18px;
  --cmg-space-5: 24px;
  --cmg-space-6: 32px;
  --cmg-space-7: 44px;
  --cmg-space-8: 64px;
}

.cmg-body {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.85), transparent 56%),
    radial-gradient(circle at 82% 88%, rgba(255, 255, 255, 0.65), transparent 58%),
    linear-gradient(180deg, rgba(251, 250, 247, 0.95), rgba(247, 244, 238, 0.95)),
    var(--cmg-bg);
  color: var(--cmg-text);
  min-height: 100vh;
}

.cmg-main {
  flex: 1;
}

.cmg-shell * {
  box-sizing: border-box;
}

.cmg-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cmg-header {
  border-bottom: 1px solid rgba(31, 31, 28, 0.08);
  backdrop-filter: blur(14px);
  background: rgba(251, 250, 247, 0.72);
  position: sticky;
  top: 0;
  z-index: 20;
}

.cmg-header-inner,
.cmg-section-inner,
.cmg-footer-inner {
  max-width: var(--cmg-max-width);
  margin: 0 auto;
  padding-inline: var(--cmg-gutter);
}

.cmg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 20px;
}

.cmg-brand {
  min-width: 0;
}

.cmg-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.cmg-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(31, 31, 28, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: rgba(31, 31, 28, 0.92);
  box-shadow: 0 0 0 1px rgba(31, 31, 28, 0.08);
}

.cmg-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmg-brand-line {
  font-weight: 560;
  letter-spacing: 0.01em;
  font-size: 14px;
}

.cmg-brand-sub {
  font-size: 11px;
  color: var(--cmg-text-muted);
}

.cmg-nav-list,
.cmg-footer-list {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.cmg-nav-list {
  align-items: center;
  gap: 14px;
}

.cmg-nav-list li {
  display: flex;
}

.cmg-nav a,
.cmg-footer a {
  text-decoration: none;
  font-size: 13px;
  color: rgba(31, 31, 28, 0.68);
  padding: 6px 0;
  transition: color var(--cmg-transition-fast), opacity var(--cmg-transition-fast);
}

.cmg-nav a {
  padding: 8px 10px;
  border-radius: var(--cmg-radius-pill);
  border: 1px solid transparent;
  background: transparent;
  line-height: 1;
}

.cmg-nav a:hover {
  background: rgba(31, 31, 28, 0.04);
  border-color: rgba(31, 31, 28, 0.08);
}

.cmg-nav a:focus-visible,
.cmg-footer a:focus-visible,
.cmg-terminal-clear:focus-visible,
.cmg-terminal-submit:focus-visible,
.cmg-sample-pill:focus-visible,
.cmg-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(43, 43, 40, 0.1);
  border-color: rgba(43, 43, 40, 0.22);
}

.cmg-nav .current-menu-item > a,
.cmg-nav .current_page_item > a,
.cmg-nav .current-menu-ancestor > a,
.cmg-nav .current_page_ancestor > a {
  color: rgba(31, 31, 28, 0.92);
  background: rgba(31, 31, 28, 0.06);
  border-color: rgba(31, 31, 28, 0.12);
}

.cmg-nav a:hover,
.cmg-footer a:hover {
  color: rgba(31, 31, 28, 0.9);
}

.cmg-hero {
  padding: 120px 0 96px;
}

.cmg-hero-grid {
  max-width: var(--cmg-max-width);
  margin: 0 auto;
  padding-inline: var(--cmg-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 52px;
  align-items: center;
}

.cmg-hero-title {
  font-size: clamp(52px, 5.4vw, 70px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--cmg-space-3);
  font-weight: 650;
}

.cmg-hero-title-place {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.cmg-hero-title-product {
  display: block;
  font-family: var(--cmg-font-sans);
  font-weight: 700;
}

.cmg-hero-support {
  margin: -12px 0 var(--cmg-space-5);
  color: rgba(31, 31, 28, 0.7);
  max-width: 34rem;
  font-size: 16px;
  line-height: 1.6;
}

.cmg-hero-support--secondary {
  margin-top: -18px;
}

.cmg-local-line {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(31, 31, 28, 0.6);
  line-height: 1.6;
}

.cmg-hero-subtitle {
  margin: 0 0 18px;
  color: var(--cmg-text-muted);
  max-width: 38rem;
  font-size: 17px;
  line-height: 1.85;
}

.cmg-hero-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31, 31, 28, 0.68);
  margin-bottom: var(--cmg-space-2);
}

.cmg-hero-highlights {
  list-style: none;
  margin: 0 0 var(--cmg-space-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: rgba(31, 31, 28, 0.68);
  line-height: 1.75;
}

.cmg-hero-highlights li {
  position: relative;
  padding-left: 14px;
}

.cmg-hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: rgba(31, 31, 28, 0.18);
}

.cmg-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  border: 1px solid rgba(31, 31, 28, 0.12);
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(31, 31, 28, 0.7);
  background: rgba(255, 255, 255, 0.55);
}

.cmg-chip--accent {
  border-color: rgba(31, 31, 28, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(31, 31, 28, 0.88);
}

.cmg-chip--outline {
  border-color: rgba(31, 31, 28, 0.12);
  color: rgba(31, 31, 28, 0.86);
  background: rgba(255, 255, 255, 0.7);
}

.cmg-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmg-terminal-panel {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #dad6cf;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cmg-terminal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(251, 250, 247, 0.9);
}

.cmg-window-dots {
  display: none;
}

.cmg-console-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cmg-micro {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 31, 28, 0.08);
  border-radius: 4px;
  padding: 16px 16px 14px;
}

.cmg-micro-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: rgba(31, 31, 28, 0.92);
}

.cmg-micro-body {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(31, 31, 28, 0.72);
  max-width: 52ch;
}

.cmg-micro-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmg-micro-prompt {
  border-radius: 4px;
  border: 1px solid rgba(31, 31, 28, 0.12);
  background: #ffffff;
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(31, 31, 28, 0.82);
  cursor: pointer;
  transition: background var(--cmg-transition-fast), border-color var(--cmg-transition-fast), transform var(--cmg-transition-fast);
}

.cmg-micro-prompt:hover {
  background: rgba(251, 250, 247, 1);
  border-color: rgba(31, 31, 28, 0.18);
  transform: translateY(-1px);
}

.cmg-terminal-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}

.cmg-terminal-path {
  color: rgba(31, 31, 28, 0.68);
}

.cmg-terminal-status {
  color: rgba(31, 31, 28, 0.62);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
}

.cmg-terminal-clear {
  margin-left: auto;
  background: rgba(31, 31, 28, 0.04);
  border-radius: 4px;
  border: 1px solid rgba(31, 31, 28, 0.12);
  color: rgba(31, 31, 28, 0.72);
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: background var(--cmg-transition-fast), border-color var(--cmg-transition-fast), color var(--cmg-transition-fast);
}

.cmg-terminal-clear:hover {
  background: rgba(31, 31, 28, 0.06);
  border-color: rgba(31, 31, 28, 0.16);
  color: rgba(31, 31, 28, 0.88);
}

.cmg-terminal-body {
  padding: 16px 16px 10px;
  font-family: var(--cmg-font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
  font-size: 12.5px;
  line-height: 1.65;
  max-height: 420px;
  overflow-y: auto;
  background: rgba(236, 233, 226, 0.35);
}

.cmg-terminal-actions {
  display: flex;
  gap: 10px;
  padding: 12px 12px 0;
  border-top: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(251, 250, 247, 0.95);
}

.cmg-terminal-action {
  border-radius: 4px;
  border: 1px solid rgba(31, 31, 28, 0.14);
  background: #ffffff;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--cmg-font-sans);
  font-weight: 500;
  color: rgba(31, 31, 28, 0.86);
  cursor: pointer;
  transition: background var(--cmg-transition-fast), border-color var(--cmg-transition-fast), transform var(--cmg-transition-fast);
}

.cmg-terminal-action:hover {
  background: rgba(251, 250, 247, 1);
  border-color: rgba(31, 31, 28, 0.2);
  transform: translateY(-1px);
}

.cmg-terminal-body::-webkit-scrollbar {
  width: 10px;
}

.cmg-terminal-body::-webkit-scrollbar-thumb {
  background: rgba(31, 31, 28, 0.18);
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
}

.cmg-terminal-body::-webkit-scrollbar-track {
  background: transparent;
}

.cmg-terminal-line {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.cmg-terminal-line--user {
  color: rgba(31, 31, 28, 0.95);
}

.cmg-terminal-line--assistant {
  color: rgba(31, 31, 28, 0.88);
}

.cmg-terminal-line--analysis {
  color: #1E6CB5;
}

.cmg-terminal-line--action {
  color: #167A3C;
}

.cmg-terminal-line--system {
  color: rgba(31, 31, 28, 0.92);
}

.cmg-terminal-prefix {
  color: rgba(31, 31, 28, 0.44);
}
.cmg-terminal-line--analysis .cmg-terminal-prefix {
  color: rgba(30, 108, 181, 0.55);
}
.cmg-terminal-line--action .cmg-terminal-prefix {
  color: rgba(22, 122, 60, 0.55);
}
.cmg-terminal-loading-indicator {
  animation: cmg-pulse 1.6s ease-in-out infinite;
}
@keyframes cmg-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.cmg-terminal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px;
  border-top: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(251, 250, 247, 0.95);
}

.cmg-terminal-scan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
}

.cmg-terminal-scan-row[hidden] {
  display: none !important;
}

.cmg-terminal-scan-row--visible {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(251, 250, 247, 0.95);
}

.cmg-terminal-input-shell--scan {
  height: 50px;
}

.cmg-terminal-input--scan {
  font-family: var(--cmg-font-sans);
}

.cmg-terminal-submit--scan {
  font-weight: 600;
}

.cmg-terminal-input-shell {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 4px;
  padding: 12px 16px;
  border: 1px solid #d8d5ce;
  transition: border-color var(--cmg-transition-fast), background var(--cmg-transition-fast), box-shadow var(--cmg-transition-fast);
}

.cmg-terminal-input-shell:focus-within {
  border-color: #bfbab2;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.cmg-terminal-caret {
  color: rgba(31, 31, 28, 0.55);
  font-family: inherit;
}

.cmg-terminal-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--cmg-text);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  min-height: 24px;
}

.cmg-terminal-input::placeholder {
  color: rgba(31, 31, 28, 0.45);
}

.cmg-terminal-blink {
  width: 1px;
  height: 14px;
  background: rgba(31, 31, 28, 0.7);
  animation: cmg-cursor-blink 1.1s steps(2, start) infinite;
}

@keyframes cmg-cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.cmg-terminal-submit {
  border-radius: 6px;
  border: 1px solid rgba(31, 31, 28, 0.16);
  background: rgba(31, 31, 28, 0.96);
  color: rgba(255, 255, 255, 0.98);
  font-size: 12px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 22px rgba(0, 0, 0, 0.16);
  transition: transform var(--cmg-transition-fast), background var(--cmg-transition-fast), border-color var(--cmg-transition-fast);
}

.cmg-terminal-submit:hover {
  transform: translateY(-1px);
  background: rgba(31, 31, 28, 0.96);
  border-color: rgba(31, 31, 28, 0.18);
}

.cmg-terminal-loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.cmg-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(31, 31, 28, 0.28);
  animation: cmg-bounce 1s infinite ease-in-out;
}

.cmg-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.cmg-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes cmg-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.cmg-loading-text {
  font-size: 10px;
  color: rgba(31, 31, 28, 0.58);
}

.cmg-terminal-samples {
  padding: 8px 14px 14px;
  border-top: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(251, 250, 247, 0.9);
}

.cmg-terminal-samples-label {
  font-size: 11px;
  color: rgba(31, 31, 28, 0.58);
  margin: 8px 0;
}

.cmg-terminal-samples-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmg-sample-pill {
  border-radius: 4px;
  border: 1px solid rgba(31, 31, 28, 0.12);
  padding: 7px 10px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(31, 31, 28, 0.68);
  text-align: left;
  cursor: pointer;
  transition: background var(--cmg-transition-fast), border-color var(--cmg-transition-fast), color var(--cmg-transition-fast);
}

.cmg-sample-pill:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(31, 31, 28, 0.18);
  color: rgba(31, 31, 28, 0.84);
}

.cmg-section {
  padding: 56px 0 64px;
}

.cmg-section-header {
  margin-bottom: var(--cmg-space-6);
}

.cmg-section-header--center {
  text-align: center;
}

.cmg-section-title {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 var(--cmg-space-2);
  line-height: 1.15;
}

.cmg-section-subtitle {
  margin: 0;
  color: var(--cmg-text-muted);
  max-width: 46rem;
  font-size: 15px;
  line-height: 1.65;
}

.cmg-section-header--center .cmg-section-subtitle {
  margin-inline: auto;
}

.cmg-grid {
  display: grid;
  gap: 16px;
}

.cmg-grid--trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cmg-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--cmg-radius-md);
  border: 1px solid rgba(31, 31, 28, 0.08);
  padding: 22px 20px;
  transition: transform var(--cmg-transition-fast), background var(--cmg-transition-fast), border-color var(--cmg-transition-fast);
}

.cmg-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(31, 31, 28, 0.1);
}

.cmg-card-title {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.cmg-card-body {
  margin: 0;
  font-size: 16px;
  color: rgba(31, 31, 28, 0.72);
  line-height: 1.75;
}

.cmg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cmg-step {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--cmg-radius-md);
  border: 1px solid rgba(31, 31, 28, 0.08);
  padding: 20px 18px;
}

.cmg-step-title {
  font-size: 14px;
  margin: 0 0 4px;
}

.cmg-step-body {
  margin: 0;
  font-size: 16px;
  color: rgba(31, 31, 28, 0.72);
  line-height: 1.75;
}

.cmg-section-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.cmg-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cmg-list-item {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 10px;
}

.cmg-list-label {
  font-size: 13px;
  color: var(--cmg-text);
}

.cmg-list-body {
  font-size: 13px;
  color: rgba(31, 31, 28, 0.72);
}

.cmg-panel {
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--cmg-radius-md);
  border: 1px solid rgba(31, 31, 28, 0.08);
  padding: 18px 16px;
  box-shadow: var(--cmg-shadow-tight);
}

.cmg-panel-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.cmg-panel-title {
  font-size: 14px;
  color: var(--cmg-text);
}

.cmg-panel-body {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--cmg-text-muted);
}

.cmg-panel-footnote {
  margin: 0;
  font-size: 12px;
  color: rgba(31, 31, 28, 0.6);
}

.cmg-section-inner--cta {
  max-width: 840px;
}

.cmg-cta-panel {
  margin-top: 22px;
  padding: 22px 20px;
  border-radius: var(--cmg-radius-lg);
  border: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 18px;
}

.cmg-cta-copy p {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(31, 31, 28, 0.72);
  line-height: 1.65;
}

.cmg-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cmg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cmg-radius-pill);
  font-size: 13px;
  padding: 10px 16px;
  text-decoration: none;
  border: 1px solid rgba(31, 31, 28, 0.14);
  cursor: pointer;
  transition: background var(--cmg-transition-fast), color var(--cmg-transition-fast), border-color var(--cmg-transition-fast),
    transform var(--cmg-transition-fast), box-shadow var(--cmg-transition-fast);
}

.cmg-button--primary {
  background: rgba(31, 31, 28, 0.92);
  color: rgba(255, 255, 255, 0.98);
  font-weight: 650;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 26px rgba(31, 31, 28, 0.14);
  border-color: rgba(31, 31, 28, 0.22);
}

.cmg-button--primary:hover {
  transform: translateY(-1px);
  background: rgba(31, 31, 28, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 16px 34px rgba(31, 31, 28, 0.18);
}

.cmg-button--ghost {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(31, 31, 28, 0.14);
  color: rgba(31, 31, 28, 0.82);
}

.cmg-button--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(31, 31, 28, 0.18);
  color: rgba(31, 31, 28, 0.92);
}

.cmg-cta-note {
  margin: 0;
  font-size: 11px;
  color: rgba(31, 31, 28, 0.6);
}

.cmg-footer {
  border-top: 1px solid rgba(31, 31, 28, 0.08);
  padding: 20px 0 26px;
  background: rgba(251, 250, 247, 0.7);
}

.cmg-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.cmg-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmg-footer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(31, 31, 28, 0.8);
}

.cmg-footer-copy {
  display: block;
  color: rgba(31, 31, 28, 0.6);
  max-width: 52ch;
}

.cmg-footer-list {
  font-size: 12px;
  gap: 14px;
}

.cmg-footer a {
  color: rgba(31, 31, 28, 0.66);
  padding: 6px 0;
}

.cmg-page,
.cmg-page--single,
.cmg-page--index {
  max-width: var(--cmg-max-width);
  margin: 32px auto 40px;
  padding-inline: var(--cmg-gutter);
}

.cmg-article {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--cmg-radius-lg);
  border: 1px solid rgba(31, 31, 28, 0.08);
  padding: 22px 20px;
}

.cmg-article-title {
  margin-top: 0;
}

.cmg-article-content {
  color: rgba(31, 31, 28, 0.76);
  font-size: 15px;
  line-height: 1.75;
}

.cmg-article-thumb img {
  border-radius: 12px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 960px) {
  .cmg-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmg-section-inner--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmg-cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmg-grid--trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cmg-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cmg-nav-list {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .cmg-terminal-body {
    max-height: 260px;
  }

  .cmg-hero {
    padding: 96px 0 72px;
  }

  .cmg-hero-title {
    margin-bottom: 18px;
  }

  .cmg-hero-subtitle {
    margin-bottom: 18px;
  }

  .cmg-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmg-list-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmg-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .cmg-grid--trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmg-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmg-terminal-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cmg-terminal-scan-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cmg-terminal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cmg-terminal-loading {
    justify-content: flex-start;
    margin-left: 0;
  }

  .cmg-cta-actions {
    align-items: stretch;
  }
}

/* Hero logo (brand mark above title) */
.cmc-hero-logo {
  margin-bottom: 20px;
}

.cmc-hero-logo img {
  max-width: 220px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .cmc-hero-logo img {
    max-width: 180px;
  }
}

/* Terminal header logo (top-right) */
.cmc-terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cmc-terminal-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.cmc-terminal-header-right img {
  max-height: 28px;
  width: auto;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .cmc-terminal-header-right img {
    max-height: 22px;
  }
}

