/*
 * Pricing, the getting started guide, and the app and feature pages
 * (marketing/pages/{pricing,start,apps_*,features_*}).
 */

/* Shared */

.product-hero-image { display: block; width: min(880px, 100%); margin-inline: auto; filter: drop-shadow(0 32px 48px rgb(3 41 38 / 0.18)); }
.product-more { margin-top: 32px; }

.product-tiles { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .product-tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.product-tile { display: grid; gap: 14px; margin: 0; }
.product-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--mk-line); border-radius: var(--mk-radius); background: #fff; box-shadow: var(--mk-shadow); }
.product-tile figcaption { display: grid; gap: 2px; text-align: center; }
.product-tile figcaption strong { font-weight: 600; }
.product-tile figcaption span { color: var(--mk-ink-muted); font-size: 0.9375rem; }
.mk-feature .product-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 16px; }
.mk-feature .product-tile img { border-color: transparent; }
.mk-feature .product-tile figcaption { font-size: 0.9375rem; }

.product-platforms { margin: 0; padding: 0; list-style: none; }
.product-platforms .mk-card__media img { aspect-ratio: 1; }

/* Pricing */

.pricing-hero { padding-bottom: clamp(64px, 9vw, 112px); }
.pricing-plans {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: clamp(40px, 6vw, 64px);
  overflow: hidden;
  border-radius: var(--mk-radius-l);
  background: #fff;
  color: var(--mk-ink);
  box-shadow: 0 32px 64px rgb(0 0 0 / 0.25);
}
@media (min-width: 960px) { .pricing-plans { grid-template-columns: repeat(3, 1fr); } }
.pricing-plan { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 24px; padding: clamp(28px, 3.5vw, 40px); isolation: isolate; }
.pricing-plan + .pricing-plan { border-top: 1px solid var(--mk-line); }
@media (min-width: 960px) { .pricing-plan + .pricing-plan { border-top: 0; border-left: 1px solid var(--mk-line); } }
.pricing-plan--popular { background: var(--mk-teal-tint); }
.pricing-plan__shape { position: absolute; top: 0; left: 0; z-index: -1; width: 80%; height: auto; pointer-events: none; }
.pricing-plan__header { display: grid; gap: 12px; align-content: start; justify-items: start; }
.pricing-plan__header .mk-muted { min-height: 3em; }
.pricing-plan__badge { padding: 4px 12px; border-radius: 999px; background: var(--mk-forest); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.pricing-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.pricing-plan__price strong { font: 700 3rem/1 var(--mk-font-display); letter-spacing: -0.04em; }
.pricing-plan__price span { color: var(--mk-ink-muted); }
.pricing-plan__included { padding-top: 24px; border-top: 1px solid var(--mk-line); font: 600 0.9375rem/1.3 var(--font); letter-spacing: 0; }
.pricing-plan__features { display: grid; gap: 18px; align-content: start; margin: 0; padding: 0; list-style: none; }
.pricing-plan__features li { position: relative; display: grid; gap: 2px; padding-left: 30px; font-size: 0.9375rem; }
.pricing-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mk-teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a71' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pricing-plan--popular .pricing-plan__features li::before { background-color: #fff; }
.pricing-plan__features strong { font-weight: 600; }
.pricing-plan__features span { color: var(--mk-ink-muted); }

.pricing-faq__header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.pricing-faq__header .mk-stack { justify-items: start; }
.pricing-faq__download { margin-top: 48px; }
.mk-faq__answer .mk-checklist { color: var(--mk-ink-muted); }

/* Getting started guide */

.start-checklist { margin-top: clamp(40px, 6vw, 56px); text-align: start; }
.start-checklist ul { margin: 8px 0 0; padding: 0; list-style: none; }
.start-checklist__item { display: flex; gap: 14px; align-items: flex-start; }
.start-checklist__item .mk-card__icon { flex: none; }
.start-checklist__item .mk-h4 { margin-bottom: 4px; }

.start-guide { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .start-guide { grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
  .start-guide__nav { position: sticky; top: calc(var(--mk-header-height) + 32px); }
}
.start-guide__nav { display: grid; gap: 20px; }
.start-guide__nav ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: start-nav; }
.start-guide__nav li { counter-increment: start-nav; }
.start-guide__nav a { display: flex; gap: 12px; padding: 8px 12px; border-radius: 12px; color: var(--mk-ink); text-decoration: none; }
.start-guide__nav a::before { content: counter(start-nav); width: 1.25em; color: var(--mk-teal-text); font-weight: 700; }
.start-guide__nav a:hover { background: var(--mk-teal-tint); }
@media (max-width: 959px) {
  .start-guide__nav ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
}
.start-guide__steps .mk-step { scroll-margin-top: calc(var(--mk-header-height) + 24px); }
.start-guide__steps .mk-step__body { padding-top: clamp(24px, 3vw, 32px); }
.start-guide__step-label { color: var(--mk-teal-text); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
