/*
 * Public marketing pages only; the platform shell and fonts live in styles.css.
 * Shared components come first, followed by consent, Home, Pricing and Solutions.
 * Keep each section's responsive overrides with that section to preserve cascade.
 * The optional survey dialog stays in marketing-example.css.
 */

body.marketing-page {
  --mk-ink: #14304d;
  --mk-teal: #0f766e;
  --mk-teal-hover: #0a5953;
  --mk-paper: #ffffff;
  --mk-mist: #edf5f4;
  --mk-blue: #eaf1fc;
  --mk-muted: #496074;
  --mk-line: #d9e4e8;
  color: var(--mk-ink);
  -webkit-tap-highlight-color: rgba(15, 118, 110, 0.15);
}

.mk-page {
  padding-bottom: 80px;
}

.mk-page *,
.mk-page *::before,
.mk-page *::after {
  box-sizing: border-box;
}

.mk-page [hidden] {
  display: none !important;
}

.mk-page h1,
.mk-page h2,
.mk-page h3 {
  color: inherit;
  text-wrap: balance;
}

.mk-page h1 {
  max-width: 19ch;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 0 0 24px;
}

.mk-page h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.038em;
  font-weight: 650;
  margin: 0 0 20px;
}

.mk-page h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 650;
  margin: 0 0 12px;
}

.mk-page p {
  line-height: 1.65;
}

.mk-page a {
  text-underline-offset: 0.25em;
}

.mk-page a:hover {
  color: var(--mk-teal-hover);
}

.mk-page a:focus-visible,
.mk-page button:focus-visible,
.mk-page input:focus-visible,
.mk-page summary:focus-visible,
.mk-page textarea:focus-visible,
.mk-skip-link:focus-visible {
  outline: 3px solid var(--mk-teal);
  outline-offset: 5px;
}

.mk-page a,
.mk-page button,
.mk-page summary,
.mk-page label {
  touch-action: manipulation;
}

.mk-page section {
  scroll-margin-top: 24px;
}

.mk-skip-link {
  position: absolute;
  z-index: 1100;
  left: 16px;
  top: 8px;
  padding: 12px 20px;
  background: var(--mk-paper);
  color: var(--mk-ink);
  transform: translateY(-160%);
}

.mk-skip-link:focus {
  transform: translateY(0);
}

.mk-kicker {
  color: var(--mk-teal);
  font-weight: 650;
  font-size: 0.87rem;
  margin: 0 0 20px;
}

.mk-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--mk-muted);
  max-width: 62ch;
  margin: 0 0 28px;
}

.mk-hero-visual img,
.mp-hero-art img,
.mk-solutions-hero-art {
  display: block;
  width: 100%;
  height: auto;
}

.mk-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 20px;
}

.mk-button,
.mk-button-secondary {
  display: inline-flex;
  flex-shrink: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  min-height: 50px;
  border: 1px solid var(--mk-teal);
  border-radius: 8px;
  background: var(--mk-teal);
  color: var(--mk-paper);
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms, border-color 140ms;
}

.mk-page .mk-button:hover {
  background: var(--mk-teal-hover);
  border-color: var(--mk-teal-hover);
  color: var(--mk-paper);
}

.mk-button-secondary {
  background: transparent;
  color: var(--mk-ink);
  border-color: #bacbd3;
}

.mk-page .mk-button-secondary:hover {
  background: var(--mk-mist);
  color: var(--mk-ink);
  border-color: var(--mk-teal);
}

.mk-fine-print {
  font-size: 0.82rem;
  color: var(--mk-muted);
  line-height: 1.55;
  margin: 16px 0 0;
}

.mk-text-link {
  font-size: 0.94rem;
  font-weight: 650;
  display: inline-block;
  padding-block: 8px;
}

.mk-project-mark,
.mk-example-dialog .mk-demo-mark {
  display: grid;
  place-items: center;
  background: var(--demo-brand, #285264);
  color: var(--mk-paper);
  width: 30px;
  height: 30px;
  border-radius: 5px;
  flex-shrink: 0;
  font-size: 1rem;
}

.mk-section {
  padding-block: 64px;
}

.mk-section-heading {
  margin-bottom: 32px;
}

.mk-section-heading p {
  max-width: 66ch;
  color: var(--mk-muted);
  margin-bottom: 0;
}

.mk-grid-2,
.mk-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.mk-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-prose {
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-prose h2,
.mk-prose h3 {
  color: var(--mk-ink);
}

.mk-solution-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  color: var(--mk-ink);
  text-decoration: none;
  background: #f6f9fa;
  border-radius: 12px;
}

.mk-page a.mk-solution-card:hover {
  background: var(--mk-mist);
  color: var(--mk-ink);
}

.mk-solution-card h3 {
  font-size: 1.1rem;
}

.mk-solution-card h2 {
  font-size: 1.6rem;
}

.mk-solution-card p,
.mk-solution-card li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mk-muted);
}

.mk-solution-card li + li {
  margin-top: 8px;
}

.mk-card-action {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 650;
  margin-top: auto;
  padding-top: 24px;
  color: var(--mk-teal);
}

.mk-card-action span {
  font-size: 1.1rem;
}

.mk-band > div {
  min-width: 0;
}

.mk-faq {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.mk-faq details {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: var(--mk-paper);
  transition: background-color 240ms ease, border-color 240ms ease;
}

.mk-faq details.mk-faq-animating {
  overflow: clip;
}

.mk-faq details[open] {
  background: #f5f9f8;
  border-color: #b4cec9;
}

.mk-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 22px 64px 22px 24px;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.5;
  list-style: none;
}

.mk-faq summary::-webkit-details-marker {
  display: none;
}

.mk-faq summary::before,
.mk-faq summary::after {
  content: "";
  position: absolute;
  right: 25px;
  top: calc(50% - 1px);
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--mk-teal);
}

.mk-faq summary::after {
  transform: rotate(90deg);
  transition: transform 240ms ease;
}

.mk-faq details[open] summary::after {
  transform: rotate(0deg);
}

.mk-faq details.mk-faq-closing summary::after {
  transform: rotate(90deg);
}

.mk-faq summary:hover {
  color: var(--mk-teal);
  background: var(--mk-mist);
}

.mk-faq summary:focus-visible {
  outline-offset: -4px;
}

.mk-faq details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--mk-muted);
  font-size: 0.93rem;
}

.mk-faq + .mk-actions {
  margin-top: 28px;
}

.mk-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #143f48;
  color: var(--mk-paper);
  border-radius: 16px;
  padding: 48px;
  margin-top: 32px;
}

.mk-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 23ch;
}

.mk-band p,
.mk-band .mk-lead {
  color: #e2eeed;
  margin: 0;
}

.mk-band a {
  color: var(--mk-paper);
}

.mk-band .mk-button,
.mk-band .mk-button-secondary {
  background: var(--mk-paper);
  color: #143f48;
  border-color: var(--mk-paper);
}

.mk-band .mk-button:hover,
.mk-band .mk-button-secondary:hover {
  background: #e2eeed;
  color: #143f48;
}

.mk-band .mk-button-secondary {
  background: transparent;
  color: var(--mk-paper);
  border-color: #9ab4ba;
}

.mk-band .mk-section-heading {
  margin-bottom: 0;
}

.mk-band .mk-actions {
  flex-shrink: 0;
  max-width: 250px;
}

@media (max-width: 800px) {
  .mk-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk-band {
    align-items: start;
    flex-direction: column;
    padding: 32px;
  }

  .mk-band .mk-actions {
    max-width: none;
  }
}

@media (max-width: 540px) {
  .mk-page {
    padding-bottom: 48px;
  }

  .mk-page h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
  }

  .mk-section {
    padding-block: 40px;
  }

  .mk-kicker {
    font-size: 0.78rem;
    margin-bottom: 18px;
  }

  .mk-actions {
    gap: 10px;
  }

  .mk-button,
  .mk-button-secondary {
    padding: 13px 19px;
    font-size: 0.86rem;
  }

  .mk-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk-card-action {
    padding-top: 16px;
  }

  .mk-faq summary {
    min-height: 68px;
    padding: 20px 48px 20px 18px;
    font-size: 0.9rem;
  }

  .mk-faq summary::before,
  .mk-faq summary::after {
    right: 19px;
  }

  .mk-faq details p {
    padding: 0 18px 20px;
    font-size: 0.88rem;
  }

  .mk-band {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-button,
  .mk-button-secondary,
  .mk-faq details,
  .mk-faq summary::after {
    transition: none;
  }
}

/* Cookie consent */

body.marketing-page .cookie-consent-banner {
  color: var(--mk-ink);
  border-color: var(--mk-line);
  border-radius: 0.75rem 0.75rem 0 0;
  box-shadow: 0 -0.35rem 1.5rem rgba(20, 48, 77, 0.1);
}

body.marketing-page .cookie-consent-banner::before {
  display: none;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__content {
  width: min(100%, 75rem);
  gap: 0.5rem;
  padding: 0.875rem max(1rem, env(safe-area-inset-left))
    calc(0.875rem + env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-right));
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__icon,
body.marketing-page .cookie-consent-banner .cookie-consent-banner__eyebrow {
  display: none;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__heading {
  margin-bottom: 0.4rem;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__title {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__description {
  color: #314b64;
  font-size: 0.875rem;
  line-height: 1.45;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__links {
  gap: 0.5rem;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--mk-teal);
  text-underline-offset: 0.2em;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__status {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__actions {
  grid-auto-rows: 1fr;
  gap: 0.375rem;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__choice,
body.marketing-page .cookie-consent-banner .cookie-consent-banner__preferences {
  min-height: 2.75rem;
  padding: 0.55rem 0.875rem;
  border-width: 1px;
  border-radius: 0.4rem;
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: background-color 120ms ease, border-color 120ms ease;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__choice {
  color: var(--mk-ink);
  background: var(--mk-mist);
  border-color: #9fbab7;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__choice:hover,
body.marketing-page .cookie-consent-banner .cookie-consent-banner__choice:active {
  color: var(--mk-ink);
  background: #dcece9;
  border-color: var(--mk-teal);
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__preferences {
  color: var(--mk-teal);
  background: transparent;
  border-color: transparent;
}

body.marketing-page .cookie-consent-banner .cookie-consent-banner__preferences:hover,
body.marketing-page .cookie-consent-banner .cookie-consent-banner__preferences:active {
  color: var(--mk-teal-hover);
  background: #f4f8f8;
  border-color: var(--mk-line);
}

body.marketing-page .cookie-consent-banner a,
body.marketing-page .cookie-consent-banner button {
  touch-action: manipulation;
}

body.marketing-page .cookie-consent-banner a:focus-visible,
body.marketing-page .cookie-consent-banner button:focus-visible {
  outline: 3px solid var(--mk-teal);
  outline-offset: 2px;
  box-shadow: none;
}

@media (min-width: 768px) {
  body.marketing-page .cookie-consent-banner .cookie-consent-banner__content {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 18rem);
    gap: 2rem;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.marketing-page .cookie-consent-banner .cookie-consent-banner__choice,
  body.marketing-page .cookie-consent-banner .cookie-consent-banner__preferences {
    transition: none;
  }
}

/* Home */

.mk-section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.mk-section-heading-split .mk-text-link {
  flex-shrink: 0;
}

.mk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-block: 64px 56px;
}

.mk-hero h1 {
  max-width: 15ch;
}

.mk-hero-copy {
  min-width: 0;
  padding-bottom: 12px;
}

.mk-hero-copy .mk-lead {
  max-width: 45ch;
}

.mk-hero .mk-actions {
  margin-top: 30px;
}

.mk-hero-visual {
  display: none;
}

@media (min-width: 992px) {
  .mk-hero-visual {
    display: block;
    width: 100%;
    aspect-ratio: 560 / 500;
  }
}

.mk-promise-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--mk-mist);
  border-radius: 16px;
}

.mk-promise-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 32px;
}

.mk-promise-item + .mk-promise-item {
  border-inline-start: 1px solid var(--mk-line);
}

.mk-promise-icon {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--mk-teal);
}

.mk-promise-strip strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.mk-promise-strip p {
  font-size: 0.9rem;
  color: var(--mk-muted);
  margin: 6px 0 0;
  max-width: 34ch;
}

.mk-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
}

.mk-solutions-grid .mk-solution-card {
  padding: 28px 24px;
  background: transparent;
  border-radius: 0;
}

.mk-solutions-grid .mk-solution-card + .mk-solution-card {
  border-left: 1px solid var(--mk-line);
}

.mk-solutions-grid .mk-solution-card:first-child {
  border-radius: 12px 0 0 12px;
}

.mk-solutions-grid .mk-solution-card:last-child {
  border-radius: 0 12px 12px 0;
}

.mk-solution-icon {
  display: block;
  margin-bottom: 26px;
  color: var(--mk-teal);
}

.mk-solution-icon svg {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mk-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.mk-feature-copy p {
  color: var(--mk-muted);
}

.mk-feature-layout > *,
.mk-start-layout > * {
  min-width: 0;
}

.mk-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.mk-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 0.93rem;
  line-height: 1.55;
}

.mk-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mk-teal);
  font-weight: 700;
}

.mk-projects-visual,
.mk-results-visual {
  background: var(--mk-mist);
  padding: 32px;
  border-radius: 16px;
  margin: 0;
}

.mk-projects-visual figcaption,
.mk-results-visual figcaption {
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 28px;
}

.mk-project-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--mk-paper);
  border: 1px solid #d0dfdf;
  border-radius: 9px;
  margin-top: 16px;
}

.mk-project-row-bloom {
  --demo-brand: #773853;
}

.mk-project-row strong {
  font-size: 0.87rem;
}

.mk-project-row div span {
  display: block;
  font-size: 0.74rem;
  color: var(--mk-muted);
  margin-top: 4px;
}

.mk-project-domain {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--mk-line);
  font-size: 0.72rem;
  color: var(--mk-muted);
  overflow-wrap: anywhere;
}

.mk-visual-note {
  font-size: 0.76rem;
  color: var(--mk-muted);
  margin: 24px 0 0;
}

.mk-results-visual {
  background: var(--mk-blue);
}

.mk-results-heading strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.mk-results-heading span {
  font-size: 0.75rem;
  color: var(--mk-muted);
}

.mk-results-heading {
  margin-bottom: 24px;
}

.mk-chart-row {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  margin-block: 16px;
  font-size: 0.78rem;
}

.mk-chart-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mk-chart-row meter {
  width: 100%;
  height: 13px;
  border: 0;
  border-radius: 2px;
  background: #d5e0ed;
}

.mk-chart-row meter::-webkit-meter-bar {
  background: #d5e0ed;
  border: 0;
  height: 13px;
  border-radius: 2px;
}

.mk-chart-row meter::-webkit-meter-optimum-value {
  background: #285264;
  border-radius: 2px;
}

.mk-chart-row meter::-moz-meter-bar {
  background: #285264;
  border-radius: 2px;
}

.mk-export-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.mk-export-labels span {
  padding: 7px 12px;
  border-radius: 5px;
  border: 1px solid #c1d2e2;
  background: var(--mk-paper);
  font-size: 0.72rem;
  font-weight: 650;
}

.mk-steps {
  list-style: none;
  counter-reset: survey-steps;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
}

.mk-steps li {
  counter-increment: survey-steps;
  border-top: 1px solid var(--mk-line);
  padding-top: 24px;
}

.mk-steps li::before {
  content: counter(survey-steps);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--mk-teal);
  background: var(--mk-mist);
  border-radius: 50%;
  margin-bottom: 24px;
  font-weight: 650;
}

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

.mk-start-section {
  border-top: 1px solid var(--mk-line);
  margin-top: 32px;
}

.mk-start-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.mk-free-plan {
  background: var(--mk-mist);
  padding: 32px;
  border-radius: 12px;
}

.mk-free-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
  padding-block: 24px;
  border-block: 1px solid var(--mk-line);
}

.mk-free-limits > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-inline: 12px;
}

.mk-free-limits > div:first-child {
  padding-inline-start: 0;
}

.mk-free-limits > div:last-child {
  padding-inline-end: 0;
}

.mk-free-limits > div + div {
  border-inline-start: 1px solid var(--mk-line);
}

.mk-free-limits dt {
  color: var(--mk-muted);
  font-size: 0.8rem;
  font-weight: 450;
  line-height: 1.45;
}

.mk-free-limits dd {
  order: -1;
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 650;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.mk-free-plan-copy {
  margin: 0 0 24px;
  font-size: 0.93rem;
}

.mk-free-plan .mk-button {
  width: 100%;
}

.mk-free-plan .mk-fine-print {
  text-align: center;
}

.mk-plan-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.mk-plan-heading h3 {
  font-size: 1.6rem;
  margin: 0;
}

.mk-plan-amount {
  white-space: nowrap;
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.mk-plan-amount small {
  font-size: 0.8rem;
  color: var(--mk-muted);
  font-weight: 450;
  letter-spacing: 0;
  margin-left: 3px;
}

.mk-upgrade-copy {
  padding-top: 12px;
}

.mk-upgrade-copy > p {
  color: var(--mk-muted);
}

.mk-upgrade-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--mk-line);
  padding: 16px 0;
  font-size: 0.95rem;
}

.mk-upgrade-row small {
  display: block;
  margin-top: 5px;
  color: var(--mk-muted);
  font-size: 0.76rem;
  font-weight: 450;
}

.mk-upgrade-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mk-tax-note {
  margin-top: 20px;
}

.mk-faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 64px;
}

.mk-faq-heading {
  padding-top: 8px;
}

.mk-faq-heading h2 {
  max-width: 15ch;
}

.mk-home-cta {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.mk-home-cta h2 {
  max-width: none;
  margin-bottom: 12px;
}

@media (max-width: 1199px) {
  .mk-free-limits {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 0;
  }

  .mk-free-limits > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
  }

  .mk-free-limits > div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--mk-line);
  }

  .mk-free-limits dt {
    font-size: 0.88rem;
  }

  .mk-free-limits dd {
    order: 0;
    margin: 0;
    font-size: 1.3rem;
    text-align: right;
  }
}

@media (max-width: 1100px) {
  .mk-hero {
    gap: 32px;
  }

  .mk-feature-layout,
  .mk-faq-section {
    gap: 40px;
  }

  .mk-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-solutions-grid .mk-solution-card:nth-child(3) {
    border-left: 0;
  }

  .mk-solutions-grid .mk-solution-card:nth-child(n+3) {
    border-top: 1px solid var(--mk-line);
  }

  .mk-solutions-grid .mk-solution-card:first-child {
    border-radius: 12px 0 0 0;
  }

  .mk-solutions-grid .mk-solution-card:last-child {
    border-radius: 0 0 12px 0;
  }
}

@media (max-width: 991px) {
  .mk-promise-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk-promise-item {
    padding: 24px;
  }

  .mk-promise-item + .mk-promise-item {
    border-inline-start: 0;
    border-top: 1px solid var(--mk-line);
  }

  .mk-promise-strip p {
    max-width: none;
  }

  .mk-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
  }

  .mk-hero h1 {
    max-width: 18ch;
  }

  .mk-hero-copy {
    padding-bottom: 0;
  }

  .mk-hero-copy .mk-lead {
    max-width: 55ch;
  }
}

@media (max-width: 800px) {
  .mk-feature-layout,
  .mk-start-layout,
  .mk-faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mk-results-section .mk-feature-copy {
    grid-row: 1;
  }

  .mk-section-heading-split {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .mk-steps {
    gap: 24px;
  }

  .mk-steps h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 540px) {
  .mk-hero {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .mk-hero .mk-actions {
    margin-top: 20px;
  }

  .mk-hero .mk-lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .mk-promise-item {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 20px;
  }

  .mk-promise-icon {
    width: 40px;
    height: 40px;
  }

  .mk-solutions-grid,
  .mk-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk-solutions-grid .mk-solution-card + .mk-solution-card {
    border-left: 0;
    border-top: 1px solid var(--mk-line);
  }

  .mk-solutions-grid .mk-solution-card:first-child {
    border-radius: 12px 12px 0 0;
  }

  .mk-solutions-grid .mk-solution-card:last-child {
    border-radius: 0 0 12px 12px;
  }

  .mk-solutions-grid .mk-solution-card {
    padding: 24px;
  }

  .mk-solution-icon {
    margin-bottom: 20px;
  }

  .mk-projects-visual,
  .mk-results-visual,
  .mk-free-plan {
    padding: 24px;
  }

  .mk-project-row {
    padding: 16px;
  }

  .mk-chart-row {
    grid-template-columns: 95px minmax(0, 1fr) 20px;
    gap: 8px;
    font-size: 0.74rem;
  }

  .mk-faq-section {
    gap: 12px;
  }
}

/* Pricing */

.mp-hero {
  padding-block: clamp(2.75rem, 7vw, 5.5rem) 3rem;
}

.mp-hero-copy {
  min-width: 0;
}

.mp-hero-art {
  display: none;
}

@media (min-width: 992px) {
  .mp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 56px);
  }

  .mp-hero-art {
    display: block;
    justify-self: end;
    width: 100%;
    max-width: 30rem;
    aspect-ratio: 560 / 500;
  }
}

.mp-hero h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  letter-spacing: -0.045em;
  font-weight: 650;
}

.mp-hero .mk-lead {
  max-width: 43rem;
  margin-bottom: 1.5rem;
}

.mp-start-note,
.mp-account-note p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 0.9rem;
}

.mp-start-note {
  max-width: 27ch;
}

.mp-account-note {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
}

.mp-audience-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2rem;
}

.mp-audience-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--mk-teal);
  font-weight: 650;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

.mp-page a:hover {
  text-decoration-thickness: 2px;
}

.mp-page a:focus-visible {
  outline-offset: 4px;
}

.mp-plan-section {
  padding-block: 2.5rem 1rem;
  border-top: 1px solid var(--mk-line);
  scroll-margin-top: 6rem;
}

.mp-plan-section + .mp-plan-section {
  margin-top: 3.5rem;
}

.mp-section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: 1.75rem;
}

.mp-section-intro > div {
  max-width: 42rem;
  min-width: 0;
}

.mp-section-intro h2,
.mp-next-step h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.035em;
}

.mp-section-intro p,
.mp-next-step p {
  margin: 0;
  color: var(--mk-muted);
  line-height: 1.6;
}

.mp-section-intro .mp-billing-unit {
  flex: 0 1 15rem;
  font-size: 0.84rem;
}

.mp-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.mp-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.75rem 1.5rem 1.25rem;
  border: 1px solid var(--mk-line);
  border-radius: 1rem;
  background: var(--mk-paper);
  overflow-wrap: anywhere;
}

.mp-plan-default {
  background: var(--mk-mist);
  border-color: #c9dfdc;
}

.mp-plan-heading {
  min-height: 12rem;
}

.mp-plan h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.mp-page .mp-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.3rem;
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.mp-plan-price span {
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--mk-muted);
  letter-spacing: 0;
}

.mp-plan-basis {
  margin: 0.4rem 0 1.1rem;
  color: var(--mk-muted);
  font-size: 0.8rem;
}

.mp-page .mp-plan-copy {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--mk-muted);
  line-height: 1.55;
}

.mp-plan-copy-label {
  font-weight: 650;
}

.mp-plan-limits {
  margin: 0;
  font-size: 0.85rem;
}

.mp-plan-limits > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.8rem;
  border-top: 1px solid var(--mk-line);
}

.mp-plan-limits dt {
  font-weight: 450;
  color: var(--mk-muted);
}

.mp-plan-limits dd {
  min-width: 0;
  margin: 0;
  font-weight: 650;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.mp-public-link-note {
  margin: 0.1rem 0 0;
  color: var(--mk-muted);
  font-size: 0.78rem;
}

@supports (grid-template-rows: subgrid) {
  /* Share four heading rows, seven limit rows, and one optional note row. */
  .mp-plan {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 12;
    row-gap: 0;
  }

  .mp-plan-heading {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    min-height: 0;
    row-gap: 0;
  }

  .mp-plan-limits {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 7;
    row-gap: 0;
  }
}

.mp-tax-note {
  margin-top: 1.5rem;
  color: var(--mk-muted);
}

.mp-tax-note .price-tax-disclaimer {
  border: 0;
  padding: 0;
}

.mp-details {
  padding-block: 4.5rem;
}

.mp-feature-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 4rem;
  margin: 0;
}

.mp-feature-guide > div {
  padding-top: 1rem;
  border-top: 1px solid var(--mk-line);
}

.mp-feature-guide dt {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.mp-feature-guide dd {
  margin: 0;
  color: var(--mk-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.mp-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 4.5rem;
  border-radius: 1.25rem;
  background: var(--mk-blue);
}

.mp-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--mk-muted);
}

@media (max-width: 991.98px) {
  .mp-section-intro {
    display: block;
  }

  .mp-section-intro .mp-billing-unit {
    margin-top: 0.7rem;
  }

  .mp-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) and (max-width: 991.98px) {
  .mp-plan:last-child:nth-child(odd):not(:first-child) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 639.98px) {
  .mp-hero {
    padding-bottom: 2rem;
  }

  .mp-plans,
  .mp-feature-guide {
    grid-template-columns: minmax(0, 1fr);
  }

  .mp-plan {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .mp-plan-heading {
    min-height: 0;
  }

  .mp-plan-section + .mp-plan-section {
    margin-top: 2rem;
  }

  .mp-details {
    padding-block: 3rem;
  }

  .mp-next-step {
    align-items: start;
    flex-direction: column;
    margin-bottom: 3rem;
  }
}

/* Solutions */

/* Scenario guides share the marketing palette and Bootstrap page container. */

.mk-solutions-page .mk-solutions-hero {
  padding-block: 48px 40px;
}

.mk-solutions-hero .mk-section-heading {
  max-width: 960px;
  margin-bottom: 28px;
}

.mk-solutions-hero h1 {
  max-width: 24ch;
}

.mk-solutions-hero .mk-actions {
  margin-block: 0 20px;
}

.mk-solutions-hero .mk-solutions-note {
  max-width: 80ch;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.mk-solutions-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 4vw, 56px);
}

.mk-solutions-hero-copy {
  min-width: 0;
}

.mk-solutions-hero-art {
  max-width: 560px;
  align-self: center;
  justify-self: end;
}

.mk-solutions-context {
  align-items: start;
  column-gap: clamp(32px, 5vw, 72px);
}

.mk-solutions-context > .mk-prose {
  max-width: 62ch;
}

.mk-solutions-context > .mk-prose p {
  margin-bottom: 0;
}

.mk-solutions-example {
  padding: 32px;
}

.mk-solutions-example .mk-kicker {
  color: var(--mk-teal);
  margin-bottom: 12px;
}

.mk-solutions-example ul {
  margin: 24px 0 0;
  padding-inline-start: 20px;
}

.mk-solutions-example li {
  padding-inline-start: 4px;
}

.mk-solutions-example li::marker {
  color: var(--mk-teal);
}

.mk-solutions-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  counter-reset: scenario-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mk-solutions-workflow li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 12px;
  align-content: start;
  padding: 0;
  counter-increment: scenario-step;
}

.mk-solutions-workflow li::before {
  content: counter(scenario-step) ".";
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 2px;
  color: var(--mk-teal);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.mk-solutions-workflow h3 {
  grid-column: 2;
  min-height: 2.6em;
}

.mk-solutions-workflow p {
  grid-column: 2;
  margin: 0;
}

.mk-solutions-results .mk-section-heading {
  width: 100%;
}

.mk-solutions-results h2 {
  max-width: 30ch;
}

.mk-solutions-results .mk-lead {
  max-width: 74ch;
}

.mk-solutions-cards {
  gap: 24px;
}

.mk-solutions-cards .mk-scenario-card {
  height: 100%;
}

.mk-scenario-card p {
  margin: 0 0 24px;
}

.mk-scenario-card .mk-card-action {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.mk-solutions-page .mk-solutions-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: 40px;
  align-items: center;
}

.mk-solutions-cta .mk-lead {
  max-width: 64ch;
}

.mk-solutions-cta .mk-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.mk-solutions-cta .mk-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

@media (max-width: 991px) {
  .mk-solutions-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mk-solutions-hero-art {
    max-width: 380px;
    justify-self: center;
  }

  .mk-solutions-context {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mk-solutions-context > .mk-prose {
    max-width: 70ch;
  }

  .mk-solutions-workflow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 72ch;
  }

  .mk-solutions-workflow h3 {
    min-height: auto;
  }

  .mk-solutions-page .mk-solutions-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .mk-solutions-cta .mk-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 500px;
  }
}

@media (max-width: 540px) {
  .mk-solutions-page .mk-solutions-hero {
    padding-block: 28px 24px;
  }

  .mk-solutions-hero-art {
    max-width: 280px;
  }

  .mk-solutions-hero .mk-section-heading {
    margin-bottom: 24px;
  }

  .mk-solutions-example {
    padding: 24px;
  }

  .mk-solutions-workflow li {
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 8px;
  }

  .mk-solutions-cta .mk-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
