:root {
  --wmdsed-bg: #ffffff;
  --wmdsed-bg-soft: #f8fafc;
  --wmdsed-ink: #0f172a;
  --wmdsed-ink-soft: #475569;
  --wmdsed-border: #e2e8f0;
  --wmdsed-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --wmdsed-shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
  --wmdsed-radius-lg: 24px;
  --wmdsed-radius-xl: 32px;
  --wmdsed-container: 1180px;
}

.wmdsed-page {
  min-height: 100vh;
  background: var(--wmdsed-bg);
  color: var(--wmdsed-ink);
}

.wmdsed-section {
  padding: 72px 0;
}

.wmdsed-section-soft,
.wmdsed-hero {
  background: var(--wmdsed-bg-soft);
}

.wmdsed-hero {
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  border-bottom: 1px solid var(--wmdsed-border);
}

.wmdsed-container {
  width: min(var(--wmdsed-container), calc(100% - 48px));
  margin: 0 auto;
}

.wmdsed-hero-grid,
.wmdsed-two-col,
.wmdsed-info-grid,
.wmdsed-final-grid {
  display: grid;
  gap: 40px;
}

.wmdsed-hero-grid,
.wmdsed-two-col {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.wmdsed-info-grid {
  grid-template-columns: 2fr 1fr;
}

.wmdsed-final-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
}

.wmdsed-eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--wmdsed-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--wmdsed-ink-soft);
  font-size: 0.9rem;
  box-shadow: var(--wmdsed-shadow-sm);
}

.wmdsed-page h1,
.wmdsed-page h2,
.wmdsed-page h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.wmdsed-page h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
}

.wmdsed-page h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
}

.wmdsed-page h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.wmdsed-hero-lead,
.wmdsed-muted,
.wmdsed-feature-card p,
.wmdsed-panel p,
.wmdsed-final-panel p,
.wmdsed-mini-text,
.wmdsed-section-intro p {
  color: var(--wmdsed-ink-soft);
}

.wmdsed-hero-lead {
  margin-top: 20px;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.wmdsed-actions,
.wmdsed-stack-actions {
  display: flex;
  gap: 12px;
}

.wmdsed-actions {
  margin-top: 32px;
  flex-wrap: wrap;
}

.wmdsed-stack-actions {
  margin-top: 24px;
  flex-direction: column;
}

.wmdsed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 18px;
  border: 1px solid var(--wmdsed-border);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

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

.wmdsed-btn-primary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.wmdsed-btn-secondary {
  background: #ffffff;
  color: var(--wmdsed-ink);
}

.wmdsed-mini-grid,
.wmdsed-feature-grid {
  display: grid;
  gap: 16px;
}

.wmdsed-mini-grid {
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wmdsed-feature-grid {
  margin-top: 48px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wmdsed-mini-card,
.wmdsed-feature-card,
.wmdsed-panel,
.wmdsed-final-panel,
.wmdsed-hero-media {
  background: #ffffff;
  border: 1px solid var(--wmdsed-border);
  box-shadow: var(--wmdsed-shadow-sm);
}

.wmdsed-mini-card,
.wmdsed-feature-card,
.wmdsed-panel {
  border-radius: var(--wmdsed-radius-lg);
  padding: 24px;
}

.wmdsed-final-panel,
.wmdsed-hero-media {
  border-radius: var(--wmdsed-radius-xl);
}

.wmdsed-hero-media {
  padding: 20px;
  box-shadow: var(--wmdsed-shadow-lg);
}

.wmdsed-hero-media img {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--wmdsed-border);
}

.wmdsed-mini-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.wmdsed-mini-text {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.wmdsed-section-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.wmdsed-section-intro p {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.wmdsed-feature-card p,
.wmdsed-panel p,
.wmdsed-final-panel p {
  margin-top: 14px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.wmdsed-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--wmdsed-ink-soft);
}

.wmdsed-list li {
  margin: 10px 0;
  line-height: 1.7;
}

.wmdsed-panel-wide {
  grid-column: span 2;
}

.wmdsed-cta-panel {
  align-self: stretch;
}

.wmdsed-final-panel {
  padding: 32px;
}

@media (max-width: 1100px) {
  .wmdsed-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wmdsed-hero-grid,
  .wmdsed-two-col,
  .wmdsed-info-grid,
  .wmdsed-final-grid {
    grid-template-columns: 1fr;
  }

  .wmdsed-panel-wide {
    grid-column: span 1;
  }
}

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

  .wmdsed-container {
    width: min(var(--wmdsed-container), calc(100% - 32px));
  }

  .wmdsed-mini-grid,
  .wmdsed-feature-grid {
    grid-template-columns: 1fr;
  }

  .wmdsed-actions {
    flex-direction: column;
  }

  .wmdsed-btn {
    width: 100%;
  }
}


.wmdsed-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wmdsed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .wmdsed-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wmdsed-actions .wmdsed-btn {
        width: 100%;
        max-width: 100%;
    }
}