/*
 * Marketing pages and the shared header and footer (postal.so).
 * Flat components (1px lines, no shadows), the sand frame for product visuals, black B2 buttons with a yellow arrow.
 * Tokens come from site.css (:root): --bg, --ink, --muted, --line, --sand, --yellow, --font-head.
 */

body.mk {
  background: var(--bg);
  background-image: none;
  color: var(--ink);
}

.mk-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mk-center {
  text-align: center;
  justify-content: center;
}

/* Announcement bar and header */

.mk-bar {
  padding: 9px 16px;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}

.mk-bar a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-bar svg {
  width: 14px;
  height: 14px;
}

.mk-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mk-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
}

.mk-header .brand-logo {
  height: 17px;
}

.mk-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
  margin-right: auto;
}

.mk-item {
  position: relative;
}

.mk-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.mk-link .chev {
  width: 11px;
  height: 11px;
  transition: transform 0.15s ease;
}

.mk-item:hover > .mk-link,
.mk-item:focus-within > .mk-link,
a.mk-link:hover,
a.mk-link[aria-current="page"] {
  background: var(--soft);
}

.mk-item:hover .chev,
.mk-item:focus-within .chev {
  transform: rotate(180deg);
}

.mk-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  display: none;
  grid-template-columns: 1.45fr 1fr;
  width: 640px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px -12px rgba(17, 17, 17, 0.18);
  overflow: hidden;
}

.mk-panel-wide {
  grid-template-columns: 1fr 1fr;
  width: 680px;
}

.mk-panel-wide .mk-panel-main + .mk-panel-main {
  padding-left: 0;
}

/* Without JavaScript the panel simply opens on hover or focus; with it (class .mk-js on the nav) one shared surface morphs. */
.mk-nav:not(.mk-js) .mk-item:hover > .mk-panel,
.mk-nav:not(.mk-js) .mk-item:focus-within > .mk-panel {
  display: grid;
}

.mk-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.mk-panel-main {
  padding: 18px 14px 14px;
}

.mk-panel-side {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
  background: var(--bg);
}

.mk-label {
  margin: 0 0 10px 10px;
  color: #9a988f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-panel-side .mk-label {
  margin-left: 0;
}

.mk-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mk-feature:hover,
.mk-feature:focus-visible {
  background: #f3f1ea;
}

.mk-feature-text {
  flex: 1 1 auto;
  min-width: 0;
}

.mk-feature b {
  display: block;
  font-size: 0.93rem;
  font-weight: 500;
}

.mk-feature small {
  display: block;
  margin-top: 2px;
  color: #77756e;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

/* A soft tinted disc with a line icon (the tint changes along the list), and an arrow that slides in on hover */
.mk-feature .mk-ico {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--tint, #ebe6d8);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-feature:hover .mk-ico {
  transform: scale(1.06) rotate(-6deg);
}

.mk-panel-main .mk-feature:nth-of-type(5n + 1) .mk-ico {
  --tint: #e4e1ea;
}

.mk-panel-main .mk-feature:nth-of-type(5n + 2) .mk-ico {
  --tint: #dfe6d6;
}

.mk-panel-main .mk-feature:nth-of-type(5n + 3) .mk-ico {
  --tint: #f1e7b8;
}

.mk-panel-main .mk-feature:nth-of-type(5n + 4) .mk-ico {
  --tint: #dce4e8;
}

.mk-panel-main .mk-feature:nth-of-type(5n + 5) .mk-ico {
  --tint: #eedfd7;
}

.mk-feature-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  display: inline-flex;
  margin-top: -8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-feature-arrow svg {
  width: 16px;
  height: 16px;
}

.mk-feature:hover .mk-feature-arrow,
.mk-feature:focus-visible .mk-feature-arrow {
  opacity: 1;
  transform: none;
}

.mk-ico {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mk-ico svg {
  width: 18px;
  height: 18px;
}

.mk-panel-side a {
  display: block;
  padding: 7px 12px;
  font-weight: 400;
  margin: 0 -12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mk-panel-side a:hover {
  background: #ece9e0;
}

.mk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons. B2: a black pill with a yellow arrow circle; the second button is a link with an arrow. */

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.mk-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.mk-btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.mk-btn-lg {
  height: 42px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.mk-btn-dark {
  background: #111;
  color: #fff;
}

.mk-btn-dark:hover {
  background: #2b2b29;
}

.mk-btn-inv {
  background: #fff;
  color: #111;
}

.mk-btn-inv:hover {
  background: #f1efe8;
}

.mk-btn-link {
  height: auto;
  padding: 0 0 3px;
  border-radius: 0;
  border-bottom: 1.5px solid currentColor;
  background: none;
  color: var(--ink);
}

.mk-btn-link:hover {
  opacity: 0.7;
}

.mk-btn-quiet {
  background: none;
  color: var(--ink);
}

.mk-btn-quiet:hover {
  background: var(--soft);
}

.mk-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.mk-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.mk-more svg {
  width: 16px;
  height: 16px;
}

/* Mobile menu
 * Without JavaScript it is a <details> with every group listed under the header. marketing.js turns it into a full-screen
 * panel (moved out of the header, whose backdrop-filter would trap a fixed box) that opens like a curtain, with the groups
 * as drill-in views that slide over each other and items that rise one after the other. */

.mk-mobile {
  display: none;
}

.mk-mobile summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

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

/* Tapping must not leave the grey circle behind on touch screens */
.mk-mobile summary:focus-visible {
  background: rgba(17, 17, 17, 0.06);
}

@media (hover: hover) {
  .mk-mobile summary:hover {
    background: rgba(17, 17, 17, 0.06);
  }
}

/* Two lines that cross into an X.
 * Only transforms move (no layout property), on their own compositing layer, so the edges stay smooth while they turn:
 * both lines sit on the centre and are pushed 4px apart; opening brings them together and rotates them. */
.mk-burger {
  position: relative;
  width: 20px;
  height: 20px;
}

.mk-burger i {
  position: absolute;
  top: 9px;
  left: 1px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transform: translate3d(0, -4px, 0) rotate(0.001deg);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.32s cubic-bezier(0.3, 0.9, 0.3, 1);
}

.mk-burger i:nth-child(2) {
  transform: translate3d(0, 4px, 0) rotate(0.001deg);
}

.mk-mobile[open]:not(.mk-m-js) .mk-burger i:nth-child(1),
.mk-mobile.is-open .mk-burger i:nth-child(1) {
  transform: translate3d(0, 0, 0) rotate(45deg);
}

.mk-mobile[open]:not(.mk-m-js) .mk-burger i:nth-child(2),
.mk-mobile.is-open .mk-burger i:nth-child(2) {
  transform: translate3d(0, 0, 0) rotate(-45deg);
}

/* Without JavaScript: a plain list under the header */
.mk-m-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 110px);
  padding: 8px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow-y: auto;
}

.mk-m-title {
  margin: 18px 0 6px;
  color: #8a887f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-m-item,
.mk-m-row,
.mk-m-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.mk-m-txt {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mk-m-txt b {
  font-weight: 500;
}

.mk-m-txt small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.mk-m-label {
  margin: 20px 0 6px;
  color: #9a988f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-m-chips a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

.mk-m-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 18px;
}

.mk-m-foot .mk-btn {
  justify-content: center;
}

/* With JavaScript: the full-screen panel */
.mk-m-panel.mk-m-js {
  position: fixed;
  z-index: 50;
  top: var(--mk-m-top, 104px);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: none;
  padding: 0;
  border: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.5s;
}

.mk-m-panel.mk-m-js.is-open {
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}

/* The root locks the scroll. The body (which has its own overflow-x) must go back to visible while it is locked: once the root
 * has an overflow value the body stops being the viewport's and becomes a scroll box of its own, and the sticky header (logo
 * and close button) would scroll away with the page instead of staying at the top. */
html.mk-menu-open {
  overflow: hidden;
}

html.mk-menu-open body {
  overflow: visible;
}

/* With the menu open the header is solid: the page behind it must not show through the logo row */
html.mk-menu-open .mk-header {
  background: var(--bg);
}

.mk-m-js .mk-m-views {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.mk-m-js .mk-m-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(36px);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, visibility 0s 0.45s;
}

.mk-m-js .mk-m-view.is-left {
  transform: translateX(-36px);
}

.mk-m-js .mk-m-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mk-m-js .mk-m-scroll {
  height: 100%;
  padding: 6px 20px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mk-m-js .mk-m-title {
  margin: 4px 0 6px;
  color: var(--ink);
  font-family: inherit;
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: none;
}

.mk-m-js .mk-m-root .mk-m-scroll {
  padding-top: 10px;
}

.mk-m-js .mk-m-row {
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-align: left;
  cursor: pointer;
}

.mk-m-row svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-m-row:active svg {
  transform: translateX(4px);
}

.mk-m-back {
  display: none;
  align-items: center;
  gap: 6px;
  height: 36px;
  margin: 6px 0 18px -4px;
  padding: 0 16px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.mk-m-js .mk-m-back {
  display: inline-flex;
}

.mk-m-back svg {
  width: 18px;
  height: 18px;
}

.mk-m-js .mk-m-label {
  margin: 26px 0 4px;
}

.mk-m-js .mk-m-item {
  padding: 12px 0;
  border-bottom: 0;
}

.mk-m-js .mk-m-item .mk-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.mk-m-js .mk-m-links a {
  font-size: 1.05rem;
}

.mk-m-js .mk-m-foot {
  flex: none;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mk-m-js .mk-m-foot .mk-btn {
  min-height: 48px;
}

/* The items of the view that opens rise one after the other */
@keyframes mk-m-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.mk-m-js .mk-m-view.is-active .mk-m-stagger {
  animation: mk-m-rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 40ms + 90ms);
}

@media (prefers-reduced-motion: reduce) {
  .mk-m-panel.mk-m-js,
  .mk-m-js .mk-m-view,
  .mk-burger i {
    transition: none;
  }

  .mk-m-js .mk-m-view.is-active .mk-m-stagger {
    animation: none;
  }
}

/* Hero and sections */

.mk-hero {
  padding: 72px 0 24px;
  text-align: center;
}

.mk-hero h1 {
  margin: 0 auto 22px;
  max-width: 17ch;
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.mk-hero h1 em,
.mk-h2 em {
  font-style: italic;
}

.mk-lead {
  margin: 0 auto 30px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.mk-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mk-note svg {
  width: 16px;
  height: 16px;
  color: #0e7a5a;
}

.mk-eyebrow {
  margin: 0 0 14px;
  color: #6b695f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-section {
  padding: 88px 0;
}

.mk-section-tight {
  padding: 56px 0;
}

.mk-soft {
  background: var(--band);
}

.mk-h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mk-h2.mk-center,
.mk-sub.mk-center {
  margin-left: auto;
  margin-right: auto;
}

.mk-sub {
  margin: 0 0 40px;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.mk-crumbs {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.mk-crumbs a {
  color: var(--muted);
}

/* The sand frame holds a product visual */

.mk-frame {
  margin-top: 44px;
  padding: 44px 40px 0;
  border-radius: 20px;
  background: var(--sand);
  overflow: hidden;
  text-align: left;
}

.mk-frame-full {
  padding-bottom: 40px;
}

.mk-frame-lilac {
  background: #dedbfa;
}

.mk-frame-mint {
  background: #d3eadb;
}

.mk-frame-sky {
  background: #dce4e8;
}

.mk-frame-rose {
  background: #eedfd7;
}

.mk-frame-ink {
  background: #141414;
  color: #fff;
}

/* Product window (the real dashboard, flat) */

.mk-app {
  max-width: 980px;
  margin: 0 auto -1px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
  overflow: hidden;
}

.mk-frame-full .mk-app {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 12px;
}

.mk-app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid #ece9e0;
  background: var(--bg);
  color: #8a887f;
  font-size: 0.78rem;
}

.mk-app-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dcd8cc;
}

.mk-app-bar span {
  margin-left: 12px;
}

.mk-app-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 300px;
}

.mk-app aside {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 18px 14px;
  border-right: 1px solid #ece9e0;
  background: var(--bg);
  font-size: 0.9rem;
}

.mk-app aside b {
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mk-app aside a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #55534c;
  text-decoration: none;
}

.mk-app aside a.on {
  background: #ece9e0;
  color: #111;
  font-weight: 600;
}

.mk-app section {
  padding: 22px 26px;
}

.mk-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.mk-app-head h4 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.mk-app-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.mk-app table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.mk-app th {
  padding: 8px 6px;
  border-bottom: 1px solid #ece9e0;
  color: #8a887f;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: left;
}

.mk-app td {
  padding: 12px 6px;
  border-bottom: 1px solid #f1eee6;
}

.mk-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: #eee;
  color: #3d3d3a;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}

.mk-tag-ok {
  background: #d9f2e3;
  color: #0e6b49;
}

.mk-tag-warn {
  background: #fff0b8;
  color: #7a5b00;
}

.mk-tag-bad {
  background: #fbdcd8;
  color: #9a2a1d;
}

.mk-tag-info {
  background: #dedbfa;
  color: #3b3596;
}

/* Bento cards, each one a coloured block with a small interface inside */

.mk-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.mk-bn {
  position: relative;
  padding: 24px;
  border: 1px solid #111;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  text-align: left;
}

.mk-bn small {
  display: block;
  margin-bottom: 14px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-bn h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.mk-bn p {
  margin: 0 0 14px;
  color: inherit;
  opacity: 0.8;
}

.mk-bn-y {
  background: #f1e7b8;
}

.mk-bn-l {
  background: #e4e1ea;
}

.mk-bn-g {
  background: #dfe6d6;
}

.mk-bn-s {
  background: #dce4e8;
}

.mk-bn-r {
  background: #eedfd7;
}

.mk-bn-k {
  background: #111;
  color: #fff;
}

.mk-big {
  display: block;
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.mk-spark {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.mk-spark i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #111;
}

.mk-mini {
  padding: 16px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  color: #111;
}

.mk-mini .m-h {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.mk-mini .m-i {
  height: 70px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: linear-gradient(120deg, #9aa5ff, #cfd4ff);
}

.mk-mini .m-l {
  height: 7px;
  margin-bottom: 7px;
  border-radius: 4px;
  background: #e6e3da;
}

.mk-mini .m-l.s {
  width: 55%;
}

.mk-mini .m-b {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.mk-steps {
  display: grid;
  justify-items: start;
}

.mk-steps span {
  padding: 9px 14px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 0.85rem;
  font-weight: 600;
}

.mk-steps span.on {
  background: var(--yellow);
}

.mk-steps i {
  width: 2px;
  height: 16px;
  margin-left: 20px;
  background: #111;
}

/* The journey of an email */

.mk-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 40px 0;
  text-align: center;
}

.mk-journey-line {
  position: absolute;
  top: 75px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #111 0 8px, transparent 8px 14px);
}

.mk-jr {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.mk-jr-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  border: 1px solid #111;
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-head);
  font-size: 1.8rem;
}

.mk-jr-dot.on {
  background: #111;
  color: #fff;
}

.mk-jr b {
  font-size: 1.05rem;
}

.mk-jr span {
  max-width: 16ch;
  color: #4f4d46;
  font-size: 0.88rem;
}

/* Audience tabs (CSS only) */

.mk-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.mk-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mk-tabs > label {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.mk-tabs > label svg {
  width: 17px;
  height: 17px;
}

.mk-tabs > input:checked + label {
  border-color: #111;
  background: #111;
  color: #fff;
}

.mk-tabs > input:focus-visible + label {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.mk-tabpanel {
  display: none;
  order: 2;
  flex: 0 0 100%;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 22px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
}

.mk-tabs > input:checked + label + .mk-tabpanel {
  display: grid;
}

/* Split blocks: text on one side, a visual on the other */

.mk-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.mk-split-rev .mk-split-visual {
  order: -1;
}

.mk-split-copy h2,
.mk-split-copy h3,
.mk-tab-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mk-split-copy p,
.mk-tab-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.mk-checks {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.mk-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mk-checks svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #0e7a5a;
}

.mk-split-visual {
  padding: 28px;
  border-radius: 16px;
  background: var(--sand);
}

/* Code window */

.mk-code {
  border-radius: 10px;
  background: #111;
  color: #e9e6dd;
  overflow: hidden;
  text-align: left;
}

.mk-code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #a8a69c;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
}

.mk-code-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #444;
}

.mk-code-bar span {
  margin-left: 10px;
}

/* The copy button, added by marketing.js at the right of the title bar */
.mk-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  margin: -4px 0 -4px auto;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #e9e6dd;
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mk-code-copy:hover,
.mk-code-copy:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.mk-code-copy span {
  margin: 0;
}

.mk-code pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

.mk-code-ok {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.mk-code-ok span {
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #1f7a52;
  color: #fff;
  font-family: "DM Mono", ui-monospace, monospace;
}

/* Cards, lists and strips */

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

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

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

.mk-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

a.mk-card:hover {
  border-color: #111;
}

.mk-card h3 {
  margin: 18px 0 6px;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.mk-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.mk-card .mk-more {
  font-size: 0.92rem;
}

.mk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid #111;
}

.mk-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.mk-stats span {
  color: var(--muted);
}

.mk-strip {
  padding: 36px 0 8px;
  text-align: center;
}

.mk-strip p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.mk-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  color: #8a887f;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* Questions */

.mk-faq {
  display: grid;
  max-width: 820px;
  margin: 72px auto 0;
  border-top: 1px solid var(--line);
}

.mk-faq details {
  border-bottom: 1px solid var(--line);
}

.mk-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease, padding 0.2s ease;
}

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

.mk-faq summary:hover {
  color: #5f5e5a;
}

.mk-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.mk-faq-a {
  overflow: hidden;
}

.mk-faq p {
  margin: 0 0 22px;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.6;
}

/* Closing band */

.mk-cta-band {
  padding: 96px 0;
  background: #111;
  color: #fff;
  text-align: center;
}

.mk-cta-band h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.mk-cta-band p {
  margin: 0 0 28px;
  color: #c9c7be;
  font-size: 1.1rem;
}

.mk-cta-band .mk-cta {
  justify-content: center;
}

.mk-cta-band .mk-btn-link {
  color: #fff;
}

/* Footer */

.mk-footer {
  padding: 72px 0 32px;
}

.mk-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 32px 24px;
}

.mk-footer p {
  margin: 12px 0 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.mk-footer h2 {
  margin: 0 0 12px;
  color: #8a887f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-footer li a {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}

.mk-footer li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The giant wordmark sits on top of the footer, cut by a hairline at about 60% of its height and fading out above it */
.mk-footer .footer-mark {
  position: relative;
  aspect-ratio: 921.284 / 86;
  margin: 0 0 56px;
  border-bottom: 1px solid var(--line);
  color: #e3e0d6;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, rgba(0, 0, 0, 0.12) 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 55%, rgba(0, 0, 0, 0.12) 100%);
}

.mk-footer .footer-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.mk-footer-bottom {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 1000px) {
  .mk-nav,
  .mk-actions .mk-hide-m {
    display: none;
  }

  .mk-mobile {
    display: block;
  }

  .mk-header {
    position: sticky;
  }

  .mk-grid,
  .mk-bento,
  .mk-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .mk-tabpanel,
  .mk-split,
  .mk-grid,
  .mk-grid-2,
  .mk-grid-4,
  .mk-bento,
  .mk-bento-2,
  .mk-stats {
    grid-template-columns: 1fr;
  }

  .mk-split-rev .mk-split-visual {
    order: 0;
  }

  .mk-journey {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .mk-journey-line {
    display: none;
  }

  .mk-jr {
    grid-template-columns: 70px 1fr;
    justify-items: start;
    align-items: center;
    column-gap: 16px;
  }

  .mk-jr-dot {
    grid-row: span 2;
    margin: 0;
  }

  .mk-frame {
    padding: 24px 16px 0;
  }

  .mk-frame-full {
    padding-bottom: 16px;
  }

  .mk-app-body {
    grid-template-columns: 1fr;
  }

  .mk-app aside {
    display: none;
  }

  .mk-section {
    padding: 56px 0;
  }

  .mk-footer-bottom {
    flex-direction: column;
  }
}

/* Bar heights (the Content-Security-Policy forbids inline styles) */
.mk-h5 { height: 5%; }
.mk-h10 { height: 10%; }
.mk-h15 { height: 15%; }
.mk-h20 { height: 20%; }
.mk-h25 { height: 25%; }
.mk-h30 { height: 30%; }
.mk-h35 { height: 35%; }
.mk-h40 { height: 40%; }
.mk-h45 { height: 45%; }
.mk-h50 { height: 50%; }
.mk-h55 { height: 55%; }
.mk-h60 { height: 60%; }
.mk-h65 { height: 65%; }
.mk-h70 { height: 70%; }
.mk-h75 { height: 75%; }
.mk-h80 { height: 80%; }
.mk-h85 { height: 85%; }
.mk-h90 { height: 90%; }
.mk-h95 { height: 95%; }
.mk-h100 { height: 100%; }

/* Legacy components (plan cards, legal text, 404) get the flat look of the new pages */

body.mk .card {
  border-radius: 14px;
  box-shadow: none;
}

body.mk .legal-body {
  border-radius: 14px;
}

body.mk .not-found-card .icon-badge {
  background: var(--sand);
  color: #111;
}

body.mk .legal-nav a[aria-current="page"],
body.mk .segmented button[aria-pressed="true"] {
  background: #111;
  color: #fff;
}

/* Soft background elements, so the pages are not just flat colour and text: dots, rings and a fine grid. They sit behind the content. */

.mk-hero,
.mk-soft,
.mk-cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.mk-hero::before,
.mk-hero::after,
.mk-soft::before,
.mk-cta-band::before,
.mk-cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* Hero: a dot grid that fades downwards, and large rings leaking in from both sides */
.mk-hero::before {
  inset: 0 0 auto;
  height: 560px;
  background-image: radial-gradient(rgba(17, 17, 17, 0.17) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 62% 100% at 50% 0, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 100% at 50% 0, #000 15%, transparent 72%);
}

.mk-hero::after {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2244%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2288%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22132%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22176%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22220%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22264%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22308%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2244%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2288%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22132%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22176%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22220%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22264%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22308%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: 640px, 520px;
  background-position: left -330px top 150px, right -270px top -40px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
}

/* Soft sections: a fine grid, strongest in the middle */
.mk-soft::before {
  inset: 0;
  background-image: linear-gradient(rgba(17, 17, 17, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 10%, transparent 75%);
}

/* Closing band: dots and yellow rings on black */
.mk-cta-band::before {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 100% at 50% 100%, #000 10%, transparent 70%);
}

.mk-cta-band::after {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2244%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2288%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22132%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22176%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22220%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22264%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22308%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2244%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2288%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22132%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22176%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22220%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22264%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22308%22%20fill%3D%22none%22%20stroke%3D%22%23ffe01b%22%20stroke-opacity%3D%220.22%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: 560px, 480px;
  background-position: left -300px bottom -260px, right -240px top -220px;
}

/* The sand frames and blocks carry a fine dot pattern */
.mk-frame,
.mk-split-visual {
  background-image: radial-gradient(rgba(17, 17, 17, 0.1) 1px, transparent 1.4px);
  background-size: 20px 20px;
}

.mk-frame-lilac,
.mk-frame-mint,
.mk-frame-sky,
.mk-frame-rose {
  background-image: radial-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1.4px);
}

.mk-frame-ink {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.4px);
}

/* Plain sections get a few rings in a corner, alternating sides, so long pages have rhythm */
.mk-section:not(.mk-soft) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.mk-section:not(.mk-soft)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20640%22%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2244%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%2288%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22132%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22176%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22220%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22264%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%22320%22%20r%3D%22308%22%20fill%3D%22none%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: 560px;
  pointer-events: none;
}

.mk-section:not(.mk-soft):nth-of-type(odd)::before {
  background-position: right -300px top -160px;
}

.mk-section:not(.mk-soft):nth-of-type(even)::before {
  background-position: left -300px bottom -180px;
}

/* Legacy buttons (plan cards, legal pages, 404) match the lighter weight */
body.mk .btn {
  height: 42px;
  padding: 0 20px;
  font-weight: 500;
}

body.mk .btn-sm {
  height: 42px;
  padding: 0 20px;
}

body.mk .btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
}

/* One height for every pill control: 42px, the height of the main button */
body.mk .segmented button,
body.mk .legal-nav a {
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
}

/* Buttons: a light motion on hover. A soft fill sweeps in from the left, and the arrow slides. */

.mk-btn {
  position: relative;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  transition: background-size 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, color 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-btn svg {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-btn-dark {
  background-image: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
}

.mk-btn-inv {
  background-image: linear-gradient(rgba(17, 17, 17, 0.09), rgba(17, 17, 17, 0.09));
}

.mk-btn-dark:hover,
.mk-btn-inv:hover {
  background-size: 100% 100%;
}

.mk-btn:hover svg {
  transform: translateX(5px);
}

.mk-btn:active {
  transform: scale(0.98);
}

/* Link buttons: the underline sweeps out to the right and draws itself again from the left */
.mk-btn-link {
  height: auto;
  padding: 0 0 4px;
  border-bottom: 0;
  border-radius: 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 100% 1.5px;
  opacity: 1;
}

.mk-btn-link:hover {
  opacity: 1;
  background-size: 100% 1.5px;
  animation: mk-underline 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mk-underline {
  0% {
    background-position: 100% 100%;
    background-size: 100% 1.5px;
  }

  45% {
    background-position: 100% 100%;
    background-size: 0 1.5px;
  }

  46% {
    background-position: 0 100%;
    background-size: 0 1.5px;
  }

  100% {
    background-position: 0 100%;
    background-size: 100% 1.5px;
  }
}

.mk-more svg {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-more:hover svg,
a.mk-card:hover .mk-more svg {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .mk-btn,
  .mk-btn svg,
  .mk-more svg {
    transition: none;
  }

  .mk-btn:hover svg,
  .mk-more:hover svg {
    transform: none;
  }

  .mk-btn-link:hover {
    animation: none;
  }
}


/*
 * Every other pill control (plan buttons, plan switchers, legal tabs, language switch, code tabs, copy button and the
 * audience tabs) follows the same light look as .mk-btn: weight 500, a soft fill that enters from the left on hover
 * and a short colour transition. The selected state keeps its solid colour.
 */

body.mk .btn,
body.mk .segmented button,
body.mk .legal-nav a,
body.mk .lang-switch a,
body.mk .code-tab,
body.mk .code-copy,
body.mk .mk-tabs > label {
  font-weight: 500;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  transition: background-size 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease, transform 0.15s ease;
}

body.mk .btn-primary {
  background-image: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
}

body.mk .btn-ghost,
body.mk .legal-nav a:not([aria-current="page"]),
body.mk .mk-tabs > label {
  background-image: linear-gradient(rgba(17, 17, 17, 0.07), rgba(17, 17, 17, 0.07));
}

body.mk .segmented button:not([aria-pressed="true"]),
body.mk .lang-switch a:not([aria-current="true"]) {
  background-image: linear-gradient(rgba(17, 17, 17, 0.07), rgba(17, 17, 17, 0.07));
}

body.mk .segmented button[aria-pressed="true"],
body.mk .legal-nav a[aria-current="page"],
body.mk .lang-switch a[aria-current="true"] {
  background-image: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
}

body.mk .code-tab,
body.mk .code-copy {
  background-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
}

body.mk .code-tab[aria-selected="true"] {
  background-image: linear-gradient(rgba(17, 17, 17, 0.1), rgba(17, 17, 17, 0.1));
}

body.mk .mk-tabs > input:checked + label {
  background-image: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
}

body.mk .btn:hover,
body.mk .segmented button:hover,
body.mk .legal-nav a:hover,
body.mk .lang-switch a:hover,
body.mk .code-tab:hover,
body.mk .code-copy:hover,
body.mk .mk-tabs > label:hover {
  background-size: 100% 100%;
}

body.mk .btn:active,
body.mk .mk-tabs > label:active {
  transform: scale(0.98);
}

/* Plan buttons: the arrow that the link buttons have, drawn by CSS (the cards are built by site.js) */
body.mk .plan .btn::after,
body.mk .not-found-card .btn::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.mk .plan .btn:hover::after,
body.mk .not-found-card .btn:hover::after {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  body.mk .btn,
  body.mk .segmented button,
  body.mk .legal-nav a,
  body.mk .lang-switch a,
  body.mk .code-tab,
  body.mk .code-copy,
  body.mk .mk-tabs > label,
  body.mk .plan .btn::after,
  body.mk .not-found-card .btn::after {
    transition: none;
  }

  body.mk .plan .btn:hover::after,
  body.mk .not-found-card .btn:hover::after {
    transform: none;
  }
}


/*
 * The shared dropdown (class .mk-js on the nav, set by marketing.js): every panel sits in the same place, hidden; the
 * open one fades in sliding down, and one white surface (.mk-morph) glides and resizes to the open panel, so moving from
 * a menu to the next never closes and reopens it. The content slides sideways towards the side the pointer went.
 */

.mk-js .mk-panel {
  display: grid;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--panel-x, 0), 10px);
  transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.35s;
  z-index: 2;
}

.mk-js .mk-item.is-open > .mk-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.25s ease 0.05s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

/* The side column sits inside the shared surface's 1px border and follows its rounded right corners. */
.mk-js .mk-panel-side {
  margin: 1px 1px 1px 0;
  border-radius: 0 17px 17px 0;
}

.mk-js .mk-item.is-open > .mk-link {
  background: var(--soft);
}

.mk-js .mk-item.is-open .chev {
  transform: rotate(180deg);
}

.mk-morph {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px -16px rgba(17, 17, 17, 0.22);
  opacity: 0;
  visibility: hidden;
  transform-origin: top left;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  pointer-events: none;
}

.mk-morph.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

.mk-morph.is-moving {
  transition: opacity 0.2s ease, visibility 0s, left 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .mk-js .mk-panel,
  .mk-js .mk-item.is-open > .mk-panel,
  .mk-morph,
  .mk-morph.is-moving,
  .mk-feature .mk-ico,
  .mk-feature-arrow {
    transition: none;
  }

  .mk-feature:hover .mk-ico {
    transform: none;
  }
}

/* Question sections stay plain: no grid or rings behind the separating lines */
.mk-section:has(.mk-faq)::before,
.mk-section:has(.mk-faq)::after {
  content: none;
  background: none;
}

/* The rotating word of the home title: its letters flicker and lock in, left to right, until the next word is built (italic, as the other title accents). */

.mk-rotor .mk-rotor-word {
  font-style: italic;
}

.mk-rotor.is-ready {
  display: inline-block;
  vertical-align: bottom;
  text-align: left;
  white-space: nowrap;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-rotor.is-ready .mk-rotor-word {
  display: inline-block;
  padding-right: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .mk-rotor.is-ready {
    transition: none;
  }
}


/* Softer tones: muted tints of sand instead of saturated fills; cards and icon tiles share the same five tones */
.mk-card {
  --card-tint: #f0ede3;
  --tile-tint: #e2ddcd;
  background: var(--card-tint);
  border-color: #e0dccf;
}

.mk-grid > .mk-card:nth-child(5n + 1) {
  --card-tint: #eaeee2;
  --tile-tint: #d9e1cd;
}

.mk-grid > .mk-card:nth-child(5n + 2) {
  --card-tint: #f4eed4;
  --tile-tint: #ebe0ae;
}

.mk-grid > .mk-card:nth-child(5n + 3) {
  --card-tint: #ebe9f0;
  --tile-tint: #dcd8e6;
}

.mk-grid > .mk-card:nth-child(5n + 4) {
  --card-tint: #e6ecef;
  --tile-tint: #d2dde3;
}

.mk-grid > .mk-card:nth-child(5n + 5) {
  --card-tint: #f3e9e3;
  --tile-tint: #e8d5ca;
}

.mk-card .mk-ico {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--tile-tint);
  transition: background 0.25s ease, color 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mk-card .mk-ico svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

a.mk-card:hover .mk-ico {
  background: #111;
  color: #fff;
  transform: rotate(-6deg);
}

.mk-feature .mk-ico svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  a.mk-card:hover .mk-ico {
    transform: none;
  }
}

/* A long code line must scroll inside its window instead of widening the column */
.mk-split > * {
  min-width: 0;
}

.mk-code pre {
  overflow-x: auto;
}

/* Guarujá Neue numerals sit low in their line box: nudge them up so the digit is centred in its circle */
.mk-jr-dot,
.ly-step-num,
.fb-num {
  padding-bottom: 0.14em;
  line-height: 1;
}

/* Six menu entries need less room per entry between the mobile breakpoint and a wide screen */
.mk-actions .mk-btn {
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .mk-nav .mk-link {
    padding: 0 9px;
    font-size: 0.9rem;
  }

  .mk-header-row {
    gap: 12px;
  }
}

@media (max-width: 1120px) {
  .mk-actions .mk-btn-quiet {
    display: none;
  }
}

/* Closed menu panels sit off to the side: they must not widen the page */
.mk-header {
  overflow-x: clip;
}

/* The hover arrow has its own room: the text never runs under it */
.mk-feature-text {
  padding-right: 30px;
}

.mk-feature-arrow {
  right: 22px;
}

/* Language dropdown in the footer, under the text about Postal: a <details> whose menu opens downwards */
.mk-lang {
  position: relative;
  display: inline-block;
  margin-top: 20px;
}

.mk-lang summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.mk-lang summary:hover,
.mk-lang[open] summary {
  border-color: var(--line-strong);
}

.mk-lang-chev {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
}

.mk-lang[open] .mk-lang-chev {
  transform: rotate(180deg);
}

.mk-flag {
  width: 20px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.mk-lang-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transform: translateX(-50%);
}

.mk-footer-grid .mk-lang-menu {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  transform: none;
}

.mk-lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

.mk-lang-menu a:hover {
  background: var(--soft);
}

.mk-lang-menu a[aria-current="true"] {
  font-weight: 600;
}

/* The link for AI agents under the plans: the same pricing as Markdown, built by the API from the current plans. */
.mk-agent-note {
  /* The plans section ends with 96px of padding: pull the link up so it sits close to the note above it. */
  margin: -80px 0 0;
  padding: 0 0 56px;
  text-align: center;
  font-size: 15px;
}

.mk-agent-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.mk-agent-note a:hover,
.mk-agent-note a:focus-visible {
  color: var(--ink);
}
