/* Marketing pages: /, /pricing, /privacy, /terms. Loads after styles.css and overrides it. */

/* Links inside running text need an underline to read as links. */
.mk-faq-answer a,
.legal-copy a,
.mk-faq-more a,
.mk-contact a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.mk-preview-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid #ffffff38;
  border-radius: 40px;
  background: #070c10b8;
  color: #eef0f7;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.mk-preview-button svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}
.mk-preview-button:hover {
  border-color: #b5fff180;
}
/* The caption grew to hold the preview button: keep the note above it. */
.mk-hero .note-right {
  bottom: 190px;
}

/* ── Shared section frame ─────────────────────────────────────────────────── */
.mk-shots,
.mk-steps,
.mk-features,
.mk-trust,
.mk-pricing,
.mk-faq {
  border-top: 1px solid var(--line);
}

/* ── Product screenshots ──────────────────────────────────────────────────── */
.mk-shots-top,
.mk-shots-bottom {
  display: grid;
  gap: 26px;
  align-items: start;
}
/* 0.2888 = (780 / 1688) / (1600 / 1000): the phone and the wide shot share one height. */
.mk-shots-top {
  grid-template-columns: minmax(0, 0.2888fr) minmax(0, 1fr);
}
.mk-shots-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}
.mk-shot {
  margin: 0;
}
.mk-shot-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #0d1019;
  box-shadow:
    0 0 0 1px #ffffff21,
    0 24px 60px #0007;
}
.mk-shot-frame img {
  width: 100%;
  height: auto;
}
.mk-shot-phone .mk-shot-frame {
  border-radius: 28px;
  box-shadow:
    0 0 0 5px #1a1d27,
    0 0 0 6px #ffffff26,
    0 24px 60px #0007;
}
.mk-shot figcaption {
  margin-top: 16px;
}
.mk-shot figcaption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #eceaf3;
  letter-spacing: -0.01em;
}
.mk-shot figcaption span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.mk-step-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.mk-step {
  border: 1px solid #ffffff1a;
  border-radius: 21px;
  padding: 30px;
  background: linear-gradient(160deg, #13161f, #0f1118);
}
.mk-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mk-step-top .step-icon {
  margin: 0;
}
.mk-step-top .step-index {
  padding: 0;
}
.mk-step h3 {
  margin-bottom: 12px;
}
.mk-step p {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── Use cases ────────────────────────────────────────────────────────────── */
.possibilities .purpose-tabs button {
  min-height: 44px;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.mk-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.mk-feature {
  border: 1px solid #ffffff1a;
  border-radius: 21px;
  padding: 34px;
  background:
    radial-gradient(ellipse at top right, #b5fff108, transparent 70%),
    #101219;
}
.mk-feature-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mk-feature-head .step-icon {
  margin: 0;
}
.mk-feature h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.mk-feature > p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.mk-feature .check-list li {
  font-size: 0.86rem;
}

/* ── Trust and safety ─────────────────────────────────────────────────────── */
.mk-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.mk-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 44px;
}
.mk-trust-grid article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.mk-trust-grid svg {
  color: var(--cyan);
  width: 20px;
  height: 20px;
}
.mk-trust-grid h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.mk-trust-grid p {
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pack-price {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border: 1px solid #b5fff14a;
  border-radius: 30px;
  color: var(--cyan);
  font-size: 0.75rem;
  white-space: nowrap;
}
.credit-costs {
  max-width: 850px;
  margin: 26px auto 0;
  padding: 32px 36px;
  border: 1px solid #ffffff1c;
  border-radius: 21px;
  background: #0e1017;
}
.credit-costs-head {
  margin-bottom: 18px;
}
.credit-costs-head h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.credit-costs-head p {
  font-size: 0.86rem;
}
.credit-notes {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}
.credit-notes li {
  padding: 3px 0;
}
.mk-more {
  text-align: center;
  margin-top: 26px;
}
/* Lists sit under the button, not at the card's foot. */
.price-card > .check-list {
  margin-top: 0;
}
.price-card:not(.pro) .price > span,
.price > span.price-per {
  margin-left: 10px;
}
.final-cta > .quiet-link {
  margin: 12px 0 0 24px;
}

/* ── Tables ───────────────────────────────────────────────────────────────── */
.table-scroll {
  overflow-x: auto;
}
.mk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}
.mk-table th,
.mk-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.mk-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8f9baa;
  border-bottom-color: #ffffff26;
}
.mk-table td {
  color: #c3c8d6;
}
.mk-table tbody th {
  font-weight: 500;
  color: #eceaf3;
}
.mk-table tr > :first-child {
  padding-left: 0;
}
.mk-table tr > :last-child {
  padding-right: 0;
}
.credit-table td:last-child {
  width: 34%;
  color: var(--cyan);
}
.compare-table td,
.compare-table thead th:not(:first-child) {
  width: 28%;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.mk-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: start;
}
.mk-faq .section-heading {
  margin-bottom: 0;
}
.mk-faq .section-heading a {
  color: var(--cyan);
}
.mk-faq-item {
  border-bottom: 1px solid var(--line);
}
.mk-faq-item:first-child {
  border-top: 1px solid var(--line);
}
.mk-faq-item summary {
  min-height: 44px;
  padding: 20px 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: #eceaf3;
  line-height: 1.45;
}
.mk-faq-answer p {
  max-width: 680px;
  padding: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.85;
}
.mk-faq-compact {
  display: block;
  max-width: 850px;
  margin: 70px auto 0;
  padding-top: 50px;
}
.mk-faq-compact h2,
.mk-compare h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}
.mk-faq-more {
  margin-top: 22px;
  font-size: 0.88rem;
}

/* ── Pricing page ─────────────────────────────────────────────────────────── */
.mk-compare {
  max-width: 850px;
  margin: 70px auto 0;
}

/* ── Legal pages ──────────────────────────────────────────────────────────── */
.mk-legal h1 {
  margin-bottom: 18px;
}
.mk-updated {
  font-size: 0.86rem;
  color: #a6abba;
  margin-bottom: 22px;
}
.mk-toc {
  margin-top: 40px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0e1017;
}
.mk-toc h2 {
  font-size: 0.75rem;
  letter-spacing: 0.19em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.mk-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 40px;
  color: #6f7c90;
  font-size: 0.88rem;
}
.mk-toc li {
  padding: 4px 0;
  break-inside: avoid;
}
.mk-toc a {
  color: #dddfeb;
}
.mk-toc a:hover {
  color: var(--cyan);
}
.legal-copy section {
  scroll-margin-top: 24px;
}
.legal-copy ul {
  margin: 0 0 15px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.9;
}
.legal-copy p + p {
  margin-top: 12px;
}
.legal-copy .table-scroll {
  margin: 8px 0 4px;
}
.legal-copy .mk-table {
  font-size: 0.86rem;
}
.mk-legal .legal-copy,
.mk-legal .lede {
  max-width: 780px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.mk-footer {
  flex-wrap: wrap;
}
.mk-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 0.8rem;
  color: #8a93a6;
}
.mk-footer nav a:hover {
  color: var(--cyan);
}
.mk-contact a {
  color: #d6dae6;
}

/* ── Narrow screens ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .mk-step-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .mk-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mk-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .mk-shots-top,
  .mk-shots-bottom,
  .mk-feature-grid,
  .mk-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mk-shots-top {
    gap: 40px;
  }
  .mk-shot-phone {
    width: min(300px, 100%);
    margin: 0 auto;
  }
  .mk-shots-bottom {
    gap: 40px;
    margin-top: 40px;
  }
  .mk-step,
  .mk-feature {
    padding: 26px 22px;
  }
  .mk-feature h3 {
    font-size: 1.4rem;
  }
  .credit-costs {
    padding: 26px 20px;
  }
  .mk-table th,
  .mk-table td {
    padding: 11px 10px;
  }
  .mk-toc {
    padding: 22px 20px;
  }
  .mk-toc ol {
    columns: 1;
  }
  /* Three-column tables become one block per row, each value under its label. */
  .mk-stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .mk-stack,
  .mk-stack tbody,
  .mk-stack tr,
  .mk-stack th,
  .mk-stack td {
    display: block;
    width: auto;
  }
  .mk-stack tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .mk-table.mk-stack th,
  .mk-table.mk-stack td {
    border: 0;
    padding: 2px 0;
  }
  .mk-stack tr > :first-child {
    color: #eceaf3;
    font-weight: 500;
  }
  .mk-stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8f9baa;
  }
  .mk-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-caption .mk-preview-button {
    font-size: 0.78rem;
  }
  .final-cta > .quiet-link {
    display: flex;
    justify-content: center;
    margin: 22px 0 0;
  }
}
