/* SecureSign marketing home page */

.marketing-page {
  font-family: 'Inter', system-ui, sans-serif;
}

.marketing-main {
  padding-top: var(--site-header-height);
}

.marketing-container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .marketing-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.marketing-nav-link {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.dark .marketing-nav-link {
  color: #d1d5db;
}

.marketing-nav-link:hover {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
}

.dark .marketing-nav-link:hover {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
}

/* Hero */
.marketing-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #faf5ff 100%);
}

.dark .marketing-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #111827 50%, #0f172a 100%);
}

.marketing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124, 58, 237, 0.15), transparent);
  pointer-events: none;
}

.marketing-hero-inner {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.marketing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6d28d9;
}

.dark .marketing-eyebrow {
  background: rgba(30, 27, 75, 0.6);
  border-color: rgba(167, 139, 250, 0.3);
  color: #c4b5fd;
}

.marketing-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
}

.dark .marketing-hero h1 {
  color: #f9fafb;
}

.marketing-hero-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
}

.dark .marketing-hero-lead {
  color: #9ca3af;
}

/* Trust stats */
.marketing-stats {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
  border-bottom: 1px solid #ede9fe;
}

.dark .marketing-stats {
  background: linear-gradient(180deg, #1e1b4b 0%, #0b0f19 100%);
  border-bottom-color: #312e81;
}

.marketing-stats-inline {
  padding: 0 0 2.5rem;
  margin-top: -1rem;
  background: transparent;
  border-bottom: none;
}

.dark .marketing-stats-inline {
  background: transparent;
  border-bottom: none;
}

.marketing-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
}

@media (min-width: 640px) {
  .marketing-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .marketing-stats-pillars .marketing-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .marketing-stats-pillars .marketing-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .marketing-stats-pillars .marketing-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.marketing-stats-grid-compact {
  gap: 1rem;
}

.marketing-stat {
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.marketing-stat-highlight {
  padding: 1rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #ddd6fe;
  background: #faf5ff;
}

.dark .marketing-stat-highlight {
  border-color: #4c1d95;
  background: rgba(30, 27, 75, 0.6);
}

.marketing-stat-value {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #6d28d9;
}

.dark .marketing-stat-value {
  color: #a78bfa;
}

.marketing-stat-highlight .marketing-stat-value {
  font-size: clamp(2rem, 4.5vw, 2.5rem);
}

.marketing-stat-label {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6b7280;
}

.dark .marketing-stat-label {
  color: #9ca3af;
}

.marketing-stat-pillar {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e9d5ff;
  background: #fff;
}

.dark .marketing-stat-pillar {
  border-color: #4c1d95;
  background: rgba(17, 24, 39, 0.85);
}

.marketing-stat-pillar .marketing-stat-value {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.marketing-stat-pillar .marketing-stat-value-word {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  letter-spacing: 0.02em;
}

.marketing-stat-value-sub {
  margin: -0.15rem 0 0.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: #6d28d9;
}

.dark .marketing-stat-value-sub {
  color: #a78bfa;
}

.marketing-stat-pillar .marketing-stat-label {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #4b5563;
}

.dark .marketing-stat-pillar .marketing-stat-label {
  color: #9ca3af;
}

.marketing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.marketing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.marketing-btn:hover {
  transform: translateY(-1px);
}

.marketing-btn-primary {
  background: #7c3aed;
  color: #fff;
  border: 1px solid #7c3aed;
}

.marketing-btn-primary:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  color: #fff;
}

.marketing-btn-secondary {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.dark .marketing-btn-secondary {
  background: #1f2937;
  color: #e5e7eb;
  border-color: #374151;
}

.marketing-btn-secondary:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.dark .marketing-btn-secondary:hover {
  border-color: #a78bfa;
  color: #a78bfa;
}

.marketing-btn-ghost {
  background: transparent;
  color: #6d28d9;
  border: 1px solid transparent;
}

.dark .marketing-btn-ghost {
  color: #a78bfa;
}

.marketing-btn-ghost:hover {
  background: rgba(124, 58, 237, 0.08);
}

/* Sections */
.marketing-section {
  padding: 4.5rem 0;
}

.marketing-section-alt {
  background: #f9fafb;
}

.dark .marketing-section-alt {
  background: #0b0f19;
}

.marketing-section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.marketing-section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #111827;
}

.dark .marketing-section-header h2 {
  color: #f9fafb;
}

.marketing-section-header p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #6b7280;
}

.dark .marketing-section-header p {
  color: #9ca3af;
}

/* Hero split layout */
.marketing-hero-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .marketing-hero-split {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .marketing-hero-copy {
    text-align: left;
    margin: 0;
  }

  .marketing-hero-copy .marketing-hero-lead {
    margin-left: 0;
  }

  .marketing-hero-copy .marketing-hero-actions {
    justify-content: flex-start;
  }
}

.marketing-hero-visual {
  width: 100%;
}

.marketing-hero-duo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
  min-height: 360px;
  padding: 1rem 0;
}

.marketing-hero-duo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 420px);
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.marketing-hero-duo-img {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 1 auto;
  border-radius: 0.875rem;
  border: 1px solid #e9d5ff;
  box-shadow: 0 20px 40px -16px rgba(124, 58, 237, 0.35);
  background: transparent;
}

.dark .marketing-hero-duo-img {
  border-color: #5b21b6;
}

.marketing-hero-duo-mobile {
  width: auto;
  max-width: min(220px, 44vw);
  height: auto;
  transform: translateY(8px) rotate(-4deg);
  z-index: 2;
}

.marketing-hero-duo-desktop {
  width: auto;
  max-width: min(300px, 56vw);
  height: auto;
  transform: translateY(-4px) rotate(2deg);
  z-index: 1;
}

.marketing-hero-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid #e9d5ff;
  box-shadow: 0 20px 40px -16px rgba(124, 58, 237, 0.35);
}

.dark .marketing-hero-img {
  border-color: #5b21b6;
}

.marketing-section-header-wide {
  max-width: 48rem;
}

/* Brand showcase */
.marketing-brand-showcase {
  margin-bottom: 2.5rem;
}

.marketing-brand-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid #e9d5ff;
  background: #faf5ff;
}

.dark .marketing-brand-img {
  border-color: #5b21b6;
  background: #1e1b4b;
}

.marketing-brand-img-wide {
  display: block;
  margin: 0 auto;
}

/* Product cards with images */

.marketing-product-visual {
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.dark .marketing-product-visual {
  background: linear-gradient(180deg, #1e1b4b 0%, #111827 100%);
  border-bottom-color: #374151;
}

.marketing-product-visual img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px -10px rgba(124, 58, 237, 0.28);
}

.marketing-product-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.marketing-product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.dark .marketing-product-body h3 {
  color: #f9fafb;
}

.marketing-product-body p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b7280;
}

.dark .marketing-product-body p {
  color: #9ca3af;
}

/* Flow preview gallery */
.marketing-flow-preview {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e5e7eb;
}

.dark .marketing-flow-preview {
  border-top-color: #374151;
}

.marketing-flow-preview-label {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c3aed;
}

.dark .marketing-flow-preview-label {
  color: #a78bfa;
}

.marketing-flow-preview-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .marketing-flow-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.marketing-flow-preview-card {
  margin: 0;
  border-radius: 0.875rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.08);
}

.dark .marketing-flow-preview-card {
  border-color: #374151;
  background: #111827;
}

.marketing-flow-preview-card img {
  display: block;
  width: 100%;
  height: auto;
}

.marketing-flow-preview-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  color: #6b7280;
  border-top: 1px solid #f3f4f6;
}

.dark .marketing-flow-preview-card figcaption {
  color: #9ca3af;
  border-top-color: #1f2937;
}

/* Product cards */
.marketing-product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .marketing-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.marketing-product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dark .marketing-product-card {
  border-color: #374151;
  background: #111827;
}

.marketing-product-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 12px 32px -12px rgba(124, 58, 237, 0.25);
  transform: translateY(-2px);
}

.marketing-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.625rem;
  background: #f5f3ff;
  color: #7c3aed;
}

.dark .marketing-product-icon {
  background: rgba(91, 33, 182, 0.25);
  color: #a78bfa;
}

.marketing-product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.dark .marketing-product-card h3 {
  color: #f9fafb;
}

.marketing-product-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b7280;
}

.dark .marketing-product-card p {
  color: #9ca3af;
}

.marketing-product-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #7c3aed;
}

.dark .marketing-product-meta {
  color: #a78bfa;
}

/* Steps */
.marketing-steps {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .marketing-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.marketing-step {
  text-align: center;
  padding: 1.25rem;
}

.marketing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

.marketing-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.dark .marketing-step h3 {
  color: #f9fafb;
}

.marketing-step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.dark .marketing-step p {
  color: #9ca3af;
}

/* Comparison — What Makes Us Different */
.marketing-compare {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .marketing-compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.marketing-compare-col {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.dark .marketing-compare-col {
  border-color: #374151;
  background: #111827;
}

.marketing-compare-legacy {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}

.dark .marketing-compare-legacy {
  border-color: #7f1d1d;
  background: linear-gradient(180deg, #111827 0%, #1c0a0a 100%);
}

.marketing-compare-securesign {
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
  box-shadow: 0 16px 40px -20px rgba(124, 58, 237, 0.45);
}

.dark .marketing-compare-securesign {
  border-color: #5b21b6;
  background: linear-gradient(180deg, #111827 0%, #1e1b4b 100%);
  box-shadow: 0 16px 40px -20px rgba(124, 58, 237, 0.35);
}

.marketing-compare-col-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .marketing-compare-col-head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.marketing-compare-badge {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-compare-badge-legacy {
  background: #fee2e2;
  color: #b91c1c;
}

.dark .marketing-compare-badge-legacy {
  background: rgba(185, 28, 28, 0.25);
  color: #fca5a5;
}

.marketing-compare-badge-brand {
  background: #ede9fe;
  color: #6d28d9;
}

.dark .marketing-compare-badge-brand {
  background: rgba(109, 40, 217, 0.3);
  color: #c4b5fd;
}

.marketing-compare-col-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.dark .marketing-compare-col-head h3 {
  color: #f9fafb;
}

.marketing-compare-col-head p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.dark .marketing-compare-col-head p {
  color: #9ca3af;
}

.marketing-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

.marketing-compare-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.marketing-compare-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.1rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.marketing-compare-item-bad .marketing-compare-icon {
  background: #fee2e2;
  color: #dc2626;
}

.dark .marketing-compare-item-bad .marketing-compare-icon {
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
}

.marketing-compare-item-good .marketing-compare-icon {
  background: #ede9fe;
  color: #7c3aed;
}

.dark .marketing-compare-item-good .marketing-compare-icon {
  background: rgba(124, 58, 237, 0.25);
  color: #a78bfa;
}

.marketing-compare-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.marketing-compare-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.dark .marketing-compare-item strong {
  color: #f3f4f6;
}

.marketing-compare-item span {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b7280;
}

.dark .marketing-compare-item span {
  color: #9ca3af;
}

.marketing-compare-item code {
  font-size: 0.75rem;
}

.marketing-compare-footnote {
  margin: 2rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}

.dark .marketing-compare-footnote {
  color: #d1d5db;
}

/* Benefits */
.marketing-benefits {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .marketing-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.marketing-benefit {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.dark .marketing-benefit {
  border-color: #374151;
  background: #111827;
}

.marketing-benefit h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.dark .marketing-benefit h3 {
  color: #f9fafb;
}

.marketing-benefit p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280;
}

.dark .marketing-benefit p {
  color: #9ca3af;
}

/* SDK Functionality */
.marketing-func-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .marketing-func-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .marketing-func-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.marketing-func-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dark .marketing-func-card {
  border-color: #374151;
  background: #111827;
}

.marketing-func-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 12px 28px -14px rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
}

.dark .marketing-func-card:hover {
  border-color: #7c3aed;
  box-shadow: 0 12px 28px -14px rgba(124, 58, 237, 0.4);
}

.marketing-func-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.marketing-func-letter {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 0.8125rem;
  font-weight: 700;
}

.dark .marketing-func-letter {
  background: rgba(109, 40, 217, 0.35);
  color: #c4b5fd;
}

.marketing-func-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.dark .marketing-func-card h3 {
  color: #f9fafb;
}

.marketing-func-list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #4b5563;
}

.dark .marketing-func-list {
  color: #9ca3af;
}

.marketing-func-list li {
  margin-bottom: 0.2rem;
}

.marketing-func-list li:last-child {
  margin-bottom: 0;
}

.marketing-func-meta {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7c3aed;
}

.dark .marketing-func-meta {
  color: #a78bfa;
}

/* Compliance & trust */
.marketing-compliance {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .marketing-compliance {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}

.marketing-compliance-copy .marketing-eyebrow {
  margin-bottom: 1rem;
}

.marketing-compliance-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #111827;
}

.dark .marketing-compliance-copy h2 {
  color: #f9fafb;
}

.marketing-compliance-copy > p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #4b5563;
}

.dark .marketing-compliance-copy > p {
  color: #d1d5db;
}

.marketing-compliance-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #374151;
}

.dark .marketing-compliance-list {
  color: #d1d5db;
}

.marketing-compliance-list li {
  margin-bottom: 0.4rem;
}

.marketing-compliance-link {
  display: inline-flex;
}

.marketing-trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .marketing-trust-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.marketing-trust-logo {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.dark .marketing-trust-logo {
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.35);
}

/* Developer CTA */
.marketing-cta {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
}

.marketing-cta-inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.marketing-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.marketing-cta p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.marketing-cta .marketing-btn-primary {
  background: #fff;
  color: #6d28d9;
  border-color: #fff;
}

.marketing-cta .marketing-btn-primary:hover {
  background: #f5f3ff;
  color: #5b21b6;
}

.marketing-cta .marketing-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.marketing-cta .marketing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.marketing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.marketing-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.dark .marketing-footer {
  border-top-color: #1f2937;
  background: #030712;
}

.marketing-footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .marketing-footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.marketing-footer-name {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.dark .marketing-footer-name {
  color: #f9fafb;
}

.marketing-footer-tagline,
.marketing-footer-version {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.dark .marketing-footer-tagline,
.dark .marketing-footer-version {
  color: #9ca3af;
}

.marketing-footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.marketing-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketing-footer-links li {
  margin-bottom: 0.5rem;
}

.marketing-footer-links a {
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: none;
}

.dark .marketing-footer-links a {
  color: #d1d5db;
}

.marketing-footer-links a:hover {
  color: #7c3aed;
}

.dark .marketing-footer-links a:hover {
  color: #a78bfa;
}

.marketing-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.dark .marketing-footer-bottom {
  border-top-color: #1f2937;
}

.marketing-footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: #9ca3af;
}

/* Flow diagram on home — slightly wider */
.marketing-page .flow-diagram > div {
  border-radius: 0.875rem;
}
