:root {
  --m-bg: #0b1220;
  --m-bg-soft: #111827;
  --m-surface: #1e293b;
  --m-text: #f8fafc;
  --m-muted: #94a3b8;
  --m-accent: #3b82f6;
  --m-accent-2: #6366f1;
  --m-border: rgba(148, 163, 184, 0.2);
  --m-radius: 16px;
  --m-max: 72rem;
}

.m-page {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--m-bg);
  color: var(--m-text);
  line-height: 1.6;
}

.m-page a {
  color: inherit;
  text-decoration: none;
}

.m-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.85);
  border-bottom: 1px solid var(--m-border);
}

.m-header__inner {
  max-width: var(--m-max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.m-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.m-logo__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.m-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--m-muted);
}

.m-nav a:hover {
  color: var(--m-text);
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.m-btn--primary {
  background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  color: #fff;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
}

.m-btn--ghost {
  background: transparent;
  color: var(--m-text);
  border: 1px solid var(--m-border);
}

.m-hero {
  max-width: var(--m-max);
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .m-hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 5rem;
  }
}

.m-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-accent);
  background: rgba(59, 130, 246, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.m-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.m-hero__lead {
  font-size: 1.125rem;
  color: var(--m-muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.m-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.m-hero__note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--m-muted);
}

.m-hero-card {
  background: linear-gradient(160deg, var(--m-surface), var(--m-bg-soft));
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.m-hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-hero-card li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--m-border);
  font-size: 0.95rem;
}

.m-hero-card li:last-child {
  border-bottom: 0;
}

.m-check {
  color: #34d399;
  font-weight: 700;
}

.m-section {
  max-width: var(--m-max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.m-section--alt {
  background: var(--m-bg-soft);
  border-top: 1px solid var(--m-border);
  border-bottom: 1px solid var(--m-border);
}

.m-section h2 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.m-section__sub {
  color: var(--m-muted);
  margin: 0 0 2rem;
  max-width: 40rem;
}

.m-grid {
  display: grid;
  gap: 1.25rem;
}

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

.m-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 1.35rem;
}

.m-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.m-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--m-muted);
}

.m-steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

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

.m-step {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--m-radius);
  border: 1px dashed var(--m-border);
}

.m-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--m-accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.m-pricing {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .m-pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.m-price-card {
  border-radius: var(--m-radius);
  padding: 1.5rem;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
}

.m-price-card--featured {
  border-color: var(--m-accent);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.m-price-card h3 {
  margin: 0 0 0.25rem;
}

.m-price-card .tag {
  font-size: 0.75rem;
  color: var(--m-muted);
}

.m-price-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--m-muted);
  font-size: 0.9rem;
}

.m-cta {
  text-align: center;
  padding: 4rem 1.25rem;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15), transparent 70%);
}

.m-cta h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.m-footer {
  border-top: 1px solid var(--m-border);
  padding: 2rem 1.25rem;
  font-size: 0.85rem;
  color: var(--m-muted);
}

.m-footer__inner {
  max-width: var(--m-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.m-footer a:hover {
  color: var(--m-text);
}

.m-page--saas {
  --m-accent: #059669;
  --m-accent-2: #10b981;
}

.m-snippet {
  max-width: var(--m-max);
  margin: 1.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: #0f172a;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.m-snippet-note {
  text-align: center;
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--m-muted);
  font-size: 0.9rem;
}
