/* Marketing landing — Plus Jakarta Sans, SaaS-style layout */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.marketing-body {
  --m-accent: #6366f1;
  --m-accent-2: #8b5cf6;
  --m-accent-soft: rgba(99, 102, 241, 0.12);
  --m-hero-glow: rgba(99, 102, 241, 0.25);
  --m-radius-lg: 16px;
  --m-font: "Plus Jakarta Sans", "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--m-font);
}

[data-theme="dark"] .marketing-body {
  --m-accent-soft: rgba(129, 140, 248, 0.15);
  --m-hero-glow: rgba(129, 140, 248, 0.2);
}

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.marketing-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.marketing-logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.marketing-logo::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  box-shadow: 0 4px 12px var(--m-hero-glow);
}
.marketing-logo:hover {
  color: var(--primary);
  text-decoration: none;
}

.marketing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}
.marketing-nav a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.marketing-nav a:not(.btn):hover,
.marketing-nav a:not(.btn)[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}
.marketing-nav-app {
  color: var(--m-accent) !important;
}
.marketing-nav-cta {
  margin-left: 4px;
  border-radius: 8px !important;
  font-weight: 600;
}

.marketing-main {
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 64px;
}

/* 首屏 Hero 通栏；其余区块与顶栏同宽居中 */
.marketing-main > .alert {
  max-width: 1140px;
  margin: 16px auto 0;
  padding-left: 24px;
  padding-right: 24px;
}

.marketing-main > .m-section,
.marketing-main > .m-cta,
.marketing-main > .m-page {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  width: 100%;
}

.marketing-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 24px;
  margin-top: auto;
}
.marketing-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.marketing-footer-nav {
  display: flex;
  gap: 20px;
}
.marketing-footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.marketing-footer-nav a:hover {
  color: var(--primary);
}
.marketing-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-icp {
  margin: 0;
  font-size: 12px;
}
.site-icp a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-icp a:hover {
  color: var(--primary);
}

/* Hero — 整行通栏，内容与 header 同宽左对齐 */
.m-hero {
  position: relative;
  width: 100%;
  padding: 56px 24px 72px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--m-accent-soft) 55%, transparent) 0%,
    transparent 72%
  );
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}
.m-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.m-hero-blob-a {
  width: 420px;
  height: 420px;
  background: var(--m-accent);
  top: -120px;
  right: -80px;
  opacity: 0.35;
}
.m-hero-blob-b {
  width: 320px;
  height: 320px;
  background: var(--m-accent-2);
  bottom: -60px;
  left: -100px;
  opacity: 0.25;
}

.m-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 56px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--m-accent);
  margin: 0 0 16px;
  padding: 6px 14px 6px 10px;
  background: var(--m-accent-soft);
  border-radius: 999px;
}
.m-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m-accent);
  box-shadow: 0 0 0 3px var(--m-accent-soft);
}

.m-hero-title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.m-text-gradient {
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.m-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 520px;
}

.m-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.m-btn-glow.btn-primary {
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  border: none;
  box-shadow: 0 8px 24px var(--m-hero-glow);
  font-weight: 600;
}
.m-btn-glow.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px var(--m-hero-glow);
}
.m-btn-outline {
  border: 1px solid var(--border);
  background: var(--surface);
}

.m-hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}
.m-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-hero-stats strong {
  font-size: 15px;
  font-weight: 700;
}
.m-hero-stats span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mock UI */
.m-hero-visual {
  perspective: 1200px;
}
.m-mock-window {
  border-radius: var(--m-radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.12),
    0 0 0 1px color-mix(in srgb, var(--border) 50%, transparent);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.m-hero-visual:hover .m-mock-window {
  transform: rotateY(0) rotateX(0);
}
[data-theme="dark"] .m-mock-window {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.m-mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.m-mock-titlebar span:nth-child(1) { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.m-mock-titlebar span:nth-child(2) { width: 10px; height: 10px; border-radius: 50%; background: #febc2e; }
.m-mock-titlebar span:nth-child(3) { width: 10px; height: 10px; border-radius: 50%; background: #28c840; }
.m-mock-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
  margin-right: 36px;
}

.m-mock-body {
  display: flex;
  min-height: 260px;
}
.m-mock-sidebar {
  width: 88px;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  opacity: 0.6;
}
.m-mock-line.w80 { width: 80%; }
.m-mock-line.w60 { width: 60%; }
.m-mock-line.w70 { width: 70%; }
.m-mock-line.active {
  background: linear-gradient(90deg, var(--m-accent), var(--m-accent-2));
  opacity: 1;
}

.m-mock-content {
  flex: 1;
  padding: 16px;
}
.m-mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.m-mock-card {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--border);
  background:
    linear-gradient(45deg, #e8e8e8 25%, transparent 25%),
    linear-gradient(-45deg, #e8e8e8 25%, transparent 25%),
    #fff;
  background-size: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
[data-theme="dark"] .m-mock-card {
  background-color: #1a1f2e;
  background-image:
    linear-gradient(45deg, #2a3144 25%, transparent 25%),
    linear-gradient(-45deg, #2a3144 25%, transparent 25%);
}
.m-mock-char {
  width: 48%;
  height: 70%;
  border-radius: 40% 40% 8% 8%;
  background: linear-gradient(180deg, var(--m-accent-2), var(--m-accent));
  animation: m-float 3s ease-in-out infinite;
}
.m-mock-char.delay {
  animation-delay: 0.6s;
  opacity: 0.85;
  transform: scale(0.92);
}
@keyframes m-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.m-mock-strip {
  height: 56px;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: var(--surface-2);
  overflow: hidden;
  padding: 8px;
}
.m-mock-frames {
  height: 100%;
  width: 200%;
  background: repeating-linear-gradient(
    90deg,
    var(--m-accent) 0,
    var(--m-accent) 32px,
    var(--m-accent-2) 32px,
    var(--m-accent-2) 64px
  );
  opacity: 0.35;
  border-radius: 4px;
  animation: m-scroll 8s linear infinite;
}
@keyframes m-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.m-mock-caption {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.m-pipe {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 16px 18px;
}

.m-pipe-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.m-pipe-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-pipe-label span,
.m-process-kicker {
  color: var(--m-accent);
}

.m-pipe-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
}

.m-pipe-join {
  display: flex;
  justify-content: center;
  margin: 6px 0 6px 92px;
}

.m-pipe-join span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--m-accent);
  background: var(--m-accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.m-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--m-accent) 18%, var(--border));
  position: relative;
  overflow: hidden;
}

.m-stage-still,
.m-stage-video {
  background: #d9e4ff;
}

[data-theme="dark"] .m-stage-still,
[data-theme="dark"] .m-stage-video {
  background: #243049;
}

.m-stage-tag {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #312e81;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 3px 8px;
}

[data-theme="dark"] .m-stage-tag {
  color: #e0e7ff;
  background: rgba(15, 23, 42, 0.72);
}

.m-stage-frames {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  min-height: 0;
  padding: 8px;
  background: var(--surface-2);
  justify-content: stretch;
}

.m-frame {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e7e7ea 25%, transparent 25%),
    linear-gradient(-45deg, #e7e7ea 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e7e7ea 75%),
    linear-gradient(-45deg, transparent 75%, #e7e7ea 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0;
}

[data-theme="dark"] .m-frame {
  background-color: #151a24;
  background-image:
    linear-gradient(45deg, #2a3142 25%, transparent 25%),
    linear-gradient(-45deg, #2a3142 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a3142 75%),
    linear-gradient(-45deg, transparent 75%, #2a3142 75%);
}

.m-sprite {
  position: relative;
  display: block;
  width: 64px;
  height: 86px;
  flex-shrink: 0;
}

.m-sprite > i,
.m-sprite > b {
  position: absolute;
  display: block;
}

.m-sprite > :nth-child(1) {
  width: 20px;
  height: 20px;
  left: 18px;
  top: 2px;
  border-radius: 50%;
  background: #f3c7a1;
}

.m-sprite > :nth-child(2) {
  width: 24px;
  height: 30px;
  left: 16px;
  top: 24px;
  border-radius: 7px 7px 4px 4px;
  background: #4f46e5;
}

.m-sprite > :nth-child(3) {
  width: 14px;
  height: 24px;
  left: 38px;
  top: 26px;
  border-radius: 3px 9px 9px 3px;
  background: #f59e0b;
}

.m-sprite > :nth-child(4) {
  width: 22px;
  height: 18px;
  left: 17px;
  top: 54px;
  border-radius: 3px;
  background: #312e81;
  transform-origin: center top;
}

.m-sprite.is-acting {
  animation: m-act 1.4s ease-in-out infinite;
}

.m-sprite.is-acting > :nth-child(3) {
  animation: m-shield 1.4s ease-in-out infinite;
}

.m-sprite.is-acting > :nth-child(4) {
  animation: m-legs 1.4s ease-in-out infinite;
}

@keyframes m-act {
  0%, 18%, 100% { transform: translateX(0) rotate(0deg); }
  45% { transform: translateX(6px) rotate(6deg); }
  70% { transform: translateX(-2px) rotate(-3deg); }
}

@keyframes m-shield {
  0%, 18%, 100% { transform: translate(0, 0); }
  45% { transform: translate(4px, -6px) rotate(-8deg); }
}

@keyframes m-legs {
  0%, 18%, 100% { transform: scaleX(1); }
  45% { transform: scaleX(1.25) translateX(2px); }
}

.m-frame .m-sprite {
  width: 36px;
  height: 48px;
  transform-origin: center bottom;
}

.m-frame .m-sprite > :nth-child(1) { width: 11px; height: 11px; left: 10px; top: 1px; }
.m-frame .m-sprite > :nth-child(2) { width: 13px; height: 16px; left: 9px; top: 13px; }
.m-frame .m-sprite > :nth-child(3) { width: 8px; height: 13px; left: 21px; top: 14px; }
.m-frame .m-sprite > :nth-child(4) { width: 12px; height: 10px; left: 10px; top: 29px; }

.m-sprite.pose-2 { transform: translateX(2px) rotate(4deg); }
.m-sprite.pose-3 { transform: translateX(4px) rotate(8deg); }
.m-sprite.pose-3 > :nth-child(3) { transform: translate(2px, -4px); }
.m-sprite.pose-4 { transform: translateX(1px) rotate(-2deg); }
.m-sprite.pose-5 { transform: translateX(-2px) rotate(-6deg); }
.m-sprite.pose-6 { transform: translateX(0) rotate(0deg); }

.m-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.m-process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--m-radius-lg);
  padding: 14px;
  min-width: 0;
}

.m-process-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
}

.m-process-preview.m-stage-frames,
.m-process-preview.m-stage-actions {
  display: grid;
}

.m-process-preview.m-stage-frames {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  height: 112px;
  box-sizing: border-box;
}

.m-process-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.m-process-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.m-process-card > p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.m-stage-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
  background: var(--surface-2);
  box-sizing: border-box;
}

.m-stage-actions span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.m-stage-actions span.is-on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
}

.m-feature-icon {
  font-weight: 800;
  color: var(--m-accent);
  font-size: 1rem;
}

/* Sections */
.m-section {
  padding: 56px 0;
}
.m-section-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.m-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m-accent);
  margin: 0 0 8px;
}
.m-section-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.m-section-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.m-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.m-section-head .m-section-title {
  margin: 0;
}
.m-link-arrow {
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--m-accent);
  white-space: nowrap;
}
.m-link-arrow:hover {
  text-decoration: underline;
}

.m-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.m-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--m-radius-lg);
  padding: 24px 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.m-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: color-mix(in srgb, var(--m-accent) 35%, var(--border));
}
[data-theme="dark"] .m-feature-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.m-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--m-accent-soft);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.m-feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}
.m-feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.m-section-flow {
  background: var(--surface);
  border-radius: var(--m-radius-lg);
  border: 1px solid var(--border);
  padding: 48px 40px;
  box-sizing: border-box;
}

.m-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.m-timeline-item {
  position: relative;
  padding-top: 8px;
}
.m-timeline-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  margin-bottom: 14px;
}
.m-timeline-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.m-timeline-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.m-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.m-article-list-page {
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--m-radius-lg);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.m-article-card:hover {
  border-color: color-mix(in srgb, var(--m-accent) 40%, var(--border));
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.m-article-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.m-article-card h2,
.m-article-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.m-article-card h2 a,
.m-article-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.m-article-card h2 a:hover,
.m-article-card h3 a:hover {
  color: var(--m-accent);
}
.m-article-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.m-article-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--m-accent);
  text-decoration: none;
}
.m-article-card time {
  font-size: 12px;
  color: var(--text-muted);
}

.m-cta {
  margin-top: 24px;
  padding: 0;
  border: none;
  background: transparent;
}
.m-cta-inner {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--m-radius-lg);
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  color: #fff;
  box-shadow: 0 20px 40px var(--m-hero-glow);
}
.m-cta-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.m-cta-lead {
  margin: 0 0 24px;
  opacity: 0.92;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.m-cta-inner .btn-primary {
  background: #fff;
  color: var(--m-accent);
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.m-cta-inner .btn-primary:hover {
  filter: brightness(1.05);
}

/* Inner pages */
.m-page {
  padding-top: 8px;
  padding-bottom: 48px;
}

.m-page-header {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.m-page-empty {
  margin: 0;
}
.m-page-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.m-page-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
  font-size: 1.05rem;
}

.m-page-article .m-prose {
  max-width: 720px;
  margin: 0;
  padding: 0;
}

.m-prose {
  width: 100%;
}
.m-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.m-article-h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.m-article-meta {
  margin: 0 0 32px;
  font-size: 13px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.m-prose-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.m-prose-body > *:first-child {
  margin-top: 0;
}
.m-prose-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 14px;
}
.m-prose-body p {
  margin: 0 0 18px;
}
.m-prose-body ul {
  margin: 0 0 18px;
  padding-left: 1.35rem;
}
.m-prose-body a {
  color: var(--m-accent);
  font-weight: 500;
}
.m-prose-body code {
  font-size: 0.88em;
  background: var(--m-accent-soft);
  padding: 2px 8px;
  border-radius: 6px;
}
.m-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .m-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .m-hero-visual {
    max-width: 100%;
  }
  .m-mock-window {
    transform: none;
  }
  .m-feature-grid,
  .m-process {
    grid-template-columns: repeat(2, 1fr);
  }
  .m-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .m-article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marketing-main {
    padding-bottom: 48px;
  }
  .m-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .marketing-main > .m-section,
  .marketing-main > .m-cta,
  .marketing-main > .m-page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .marketing-header-inner {
    padding: 12px 16px;
  }
  .marketing-nav {
    width: 100%;
    order: 3;
  }
  .m-feature-grid,
  .m-process,
  .m-timeline {
    grid-template-columns: 1fr;
  }
  .m-pipe-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .m-pipe-join {
    margin-left: 0;
  }
  .m-section-flow {
    padding: 32px 20px;
  }
}
