:root {
  --mk-ink: #0f172a;
  --mk-muted: #5f6b7a;
  --mk-body: #334155;
  --mk-line: #e7ebf3;
  --mk-line-strong: #d9e2f5;
  --mk-accent: #4067D9;
  --mk-accent-2: #6f8cff;
  --mk-accent-soft: #eef2ff;
  --mk-card: rgba(255, 255, 255, 0.88);
  --mk-card-solid: #ffffff;
  --mk-radius-lg: 28px;
  --mk-radius-md: 18px;
  --mk-shadow-sm: 0 10px 24px rgba(17, 24, 39, 0.06);
  --mk-shadow-md: 0 18px 40px rgba(17, 24, 39, 0.10);
  --mk-shadow-lg: 0 30px 72px rgba(17, 24, 39, 0.14);
}

/* section */
#marketing.marketing-section {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 6vw, 92px) 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(64, 103, 217, 0.04), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(64, 103, 217, 0.05), transparent 22%);
}

/* shell */
#marketing .marketing-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

/* copy */
#marketing .marketing-copy {
  display: grid;
  gap: 20px;
  animation: marketingFadeUp 0.72s cubic-bezier(.2,.7,.2,1) both;
}

#marketing .marketing-header {
  display: grid;
  gap: 10px;
}

#marketing .marketing-kicker {
  margin: 0;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(64, 103, 217, 0.12);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mk-accent);
  font-weight: 800;
}

#marketing .marketing-title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--mk-ink);
  text-wrap: balance;
}

#marketing .marketing-content {
  display: grid;
  gap: 22px;
  max-width: 60ch;
}

#marketing .marketing-paragraph {
  margin: 0;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.8;
  color: var(--mk-body);
}

/* cta */
#marketing .marketing-cta {
  position: relative;
  overflow: hidden;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #cfd8f3;
  color: var(--mk-accent);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--mk-shadow-sm);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

#marketing .marketing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(64,103,217,0.08) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

#marketing .marketing-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--mk-shadow-md);
  border-color: #b8c8ff;
  background: #fbfcff;
}

#marketing .marketing-cta:hover::before {
  transform: translateX(130%);
}

#marketing .marketing-cta-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.24s ease;
}

#marketing .marketing-cta:hover .marketing-cta-icon {
  transform: translateX(1px);
}

/* art */
#marketing .marketing-art {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 440px;
  isolation: isolate;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(246,249,255,0.9) 100%);
  border: 1px solid #e3eaf8;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.05);
  overflow: hidden;
  animation: marketingFadeUp 0.8s cubic-bezier(.2,.7,.2,1) 0.06s both;
}

#marketing .marketing-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(64, 103, 217, 0.1), transparent 28%);
  pointer-events: none;
}

#marketing .marketing-glow {
  position: absolute;
  width: min(72vw, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(64, 103, 217, 0.18) 0%,
      rgba(64, 103, 217, 0.08) 45%,
      rgba(64, 103, 217, 0) 72%);
  filter: blur(18px);
  z-index: 0;
  animation: marketingGlowFloat 10s ease-in-out infinite;
}

#marketing .marketing-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 560px);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.16);
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s ease;
}

#marketing .marketing-art:hover .marketing-image {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 28px 56px rgba(17, 24, 39, 0.18);
}

/* motion */
@media (prefers-reduced-motion: no-preference) {
  #marketing .marketing-copy > * {
    animation: marketingTextIn 0.75s cubic-bezier(.2,.7,.2,1) both;
  }

  #marketing .marketing-header {
    animation-delay: 0.04s;
  }

  #marketing .marketing-content {
    animation-delay: 0.12s;
  }
}

@keyframes marketingFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marketingTextIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marketingGlowFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  #marketing .marketing-copy,
  #marketing .marketing-copy > *,
  #marketing .marketing-art,
  #marketing .marketing-glow,
  #marketing .marketing-cta,
  #marketing .marketing-cta::before,
  #marketing .marketing-cta-icon,
  #marketing .marketing-image {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* tablet */
@media (max-width: 980px) {
  #marketing .marketing-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #marketing .marketing-art {
    order: -1;
    min-height: auto;
  }

  #marketing .marketing-title {
    max-width: 14ch;
  }

  #marketing .marketing-content {
    max-width: 100%;
  }
}

/* mobile */
@media (max-width: 640px) {
  #marketing.marketing-section {
    padding: 34px 0 58px;
  }

  #marketing .marketing-shell {
    padding: 0 20px;
    gap: 24px;
  }

  #marketing .marketing-copy {
    gap: 16px;
  }

  #marketing .marketing-title {
    font-size: 34px;
    line-height: 1.08;
    max-width: none;
  }

  #marketing .marketing-paragraph {
    font-size: 15px;
    line-height: 1.72;
  }

  #marketing .marketing-cta {
    width: 100%;
    min-height: 50px;
  }

  #marketing .marketing-art {
    min-height: auto;
    padding: 14px;
    border-radius: 22px;
  }

  #marketing .marketing-image {
    width: 100%;
    border-radius: 16px;
  }
}