/* Aid Back sales site. Builds on site.css tokens; layout follows Warp It's marketing pages
   (white hero + video, navy stats band with orange figures, feature cards, FAQ, orange CTA band, navy footer). */

.mk { background: #fff; }
.mk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.mk-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.mk-top-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.mk-logo { color: var(--ink); font-size: 1.5rem; }
.mk-nav { display: flex; gap: 4px; }
.mk-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.mk-nav a:hover { background: var(--brand-tint); }
.mk-nav a.on { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
.mk-top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mk-signin { color: var(--ink); font-weight: 600; text-decoration: none; }
.mk-btn-sm { padding: 9px 16px; }
.mk-menu { display: none; min-height: 44px; background: none; border: 1.5px solid var(--ink); border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 600; color: var(--ink); }
.mk-logo, .mk-signin { display: inline-flex; align-items: center; min-height: 44px; }

/* Sections */
.mk-section { padding: 72px 0; }
.mk-section.tint { background: var(--bg); }
.mk-section.navy { background: var(--ink); color: #fff; }
.mk-section.navy h2, .mk-section.navy h3 { color: #fff; }
.mk-section.navy p { color: #cbd5e1; }
.mk-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.navy .mk-eyebrow { color: var(--orange); }
.mk-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 14px; max-width: 760px; }
.mk-sub { font-size: 1.15rem; color: var(--muted); max-width: 720px; margin-bottom: 0; }
.mk-center { text-align: center; }
.mk-center .mk-h2, .mk-center .mk-sub { margin-left: auto; margin-right: auto; }

/* Hero */
.mk-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--brand-tint) 100%); }
.mk-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.mk-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 18px; }
.mk-hero h1 em { font-style: normal; color: var(--orange); }
.mk-hero .mk-sub { font-size: 1.2rem; }
.mk-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.mk-actions .btn { padding: 14px 22px; font-size: 1.05rem; }
.mk-proof { font-size: .92rem; color: var(--muted); }
.mk-media { position: relative; }
.mk-video { width: 100%; display: block; border-radius: 14px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35); aspect-ratio: 16 / 10; object-fit: cover; }
.mk-phone {
  position: absolute; right: -14px; bottom: -40px; width: 24%; height: auto; border-radius: 22px; border: 6px solid var(--ink);
  box-shadow: 0 24px 40px -14px rgba(15, 23, 42, .45); background: #fff;
}
.mk-caption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* Stats band */
.mk-stats { background: var(--ink); color: #fff; padding: 34px 0; }
.mk-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mk-stat-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--orange); line-height: 1.1; }
.mk-stat-l { color: #cbd5e1; font-size: .95rem; }
.mk-stat-src { color: #94a3b8; font-size: .75rem; }

/* Cards */
.mk-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.mk-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.navy .mk-card { background: #1e293b; border-color: #334155; }
.mk-card h3 { font-family: var(--font-body); font-size: 1.1rem; margin: 10px 0 6px; }
.mk-card p { color: var(--muted); margin: 0; }
.mk-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; color: var(--orange-dark); }
.mk-icon svg { width: 24px; height: 24px; }
/* Step numbers: navy on an orange disc (orange text on white is only 2.3:1). */
.mk-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange);
  color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.mk-video-wrap { position: relative; }
.mk-pause { position: absolute; left: 12px; bottom: 12px; min-height: 44px; padding: 8px 14px; border-radius: 22px; border: 0;
  background: rgba(15, 23, 42, .82); color: #fff; font: inherit; font-weight: 600; cursor: pointer; z-index: 2; }

/* Split rows: text + screenshot */
.mk-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-top: 56px; }
.mk-split.rev .mk-split-media { order: -1; }
.mk-split h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 10px; }
.mk-split ul { padding-left: 1.1rem; color: var(--muted); }
.mk-split li { margin-bottom: 6px; }
.mk-shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, .35); display: block; }
.mk-shot.phone { max-width: 300px; margin: 0 auto; border-radius: 28px; border: 8px solid var(--ink); }
.mk-browser img { height: auto; }
.mk-browser { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, .35); background: #fff; }
.mk-browser-bar { height: 28px; background: #f1f5f9; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.mk-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.mk-browser img { display: block; width: 100%; }

/* Tiers */
.mk-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.mk-tier { border: 1.5px solid var(--line); border-radius: 18px; padding: 28px; background: #fff; display: flex; flex-direction: column; }
.mk-tier.featured { border-color: var(--orange); box-shadow: 0 0 0 4px var(--brand-tint); }
.mk-tier h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0; }
.mk-price { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; margin: 10px 0 0; }
.mk-price small { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--muted); }
.mk-tier ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.mk-tier li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid var(--line); }
.mk-tier li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange-dark); border-bottom: 2.5px solid var(--orange-dark); transform: rotate(-45deg); }
.mk-tier .btn { width: 100%; }

/* Video tour */
.mk-tour { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin-top: 32px; align-items: start; }
.mk-tour-list { display: grid; gap: 10px; }
.mk-tour-list button { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; font: inherit; color: var(--ink); cursor: pointer; }
.mk-tour-list button[aria-pressed="true"] { border-color: var(--orange); background: var(--brand-tint); }
.mk-tour-list strong { display: block; }
.mk-tour-list span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.mk-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.mk-faq .mk-card h3 { margin-top: 0; }

/* Plain layouts: content in columns, no card chrome. Cards are kept for the tiers and forms,
   where the box means "this is one thing you can choose or fill in". */
.mk-plain { gap: 32px 36px; }
.mk-plain .mk-card { background: none; border: 0; border-radius: 0; padding: 0; }
.mk-plain .mk-card h3 { font-size: 1.15rem; margin-top: 12px; }
.mk-faq.mk-plain .mk-card { border-top: 2px solid var(--ink); padding-top: 14px; }
.mk-faq.mk-plain .mk-card h3 { margin-top: 0; font-family: var(--font-display); font-size: 1.2rem; }
.navy .mk-plain .mk-card p { color: #cbd5e1; }
/* Icon or step number sits beside its heading, text underneath, so the three read as one block. */
.mk-plain .mk-card:has(> .mk-icon:first-child, > .mk-num:first-child) {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 8px; align-items: center; align-content: start; }
.mk-plain .mk-card:has(> .mk-icon:first-child, > .mk-num:first-child) > h3 { margin: 0; }
.mk-plain .mk-card:has(> .mk-icon:first-child, > .mk-num:first-child) > :not(.mk-icon, .mk-num, h3) { grid-column: 1 / -1; }
.mk-audience { font-weight: 600; color: var(--muted); margin-bottom: 14px; font-size: 1.05rem; }

/* Quote / pull */
.mk-pull { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; max-width: 860px; margin: 0 auto; }
.mk-pull-src { margin-top: 12px; color: var(--muted); }

/* Calculator */
.mk-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.mk-result { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; }
.mk-result .mk-stat-n { font-size: 2.4rem; }
.mk-result dl { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.mk-result dt { color: #cbd5e1; font-size: .95rem; }
.mk-result dd { margin: 0; }

/* Forms on marketing pages */
.mk-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* CTA band */
.mk-cta { background: var(--orange); padding: 64px 0; text-align: center; }
.mk-cta h2 { color: var(--ink); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 10px; }
.mk-cta p { color: var(--ink); font-size: 1.1rem; }
.mk-cta .btn { background: var(--ink); color: #fff; }
.mk-cta .btn:hover { background: var(--brand-dark); }
.mk-cta .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.mk-cta .mk-actions { justify-content: center; }

/* Footer */
.mk-footer { background: var(--ink); color: #cbd5e1; padding: 52px 0 40px; }
.mk-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.mk-footer h2 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #94a3b8; margin: 4px 0 12px; }
.mk-footer a { display: block; color: #fff; text-decoration: none; padding: 12px 0; }
.mk-footer a:hover { color: var(--orange); }
.mk-footer .logo { font-size: 1.5rem; margin-bottom: 10px; }
.mk-small { font-size: .85rem; color: #94a3b8; }

/* Prose pages */
.mk-prose { max-width: 760px; }
.mk-prose h2 { margin-top: 2rem; }
.mk-prose li { margin-bottom: 6px; }
.mk-status { display: grid; gap: 10px; margin: 18px 0; }
.mk-status div { display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; }

@media (max-width: 920px) {
  .mk-hero-grid, .mk-split, .mk-calc, .mk-tour { grid-template-columns: 1fr; }
  .mk-split.rev .mk-split-media { order: 0; }
  .mk-grid3, .mk-faq { grid-template-columns: 1fr 1fr; }
  .mk-stats-grid { grid-template-columns: 1fr 1fr; }
  .mk-footer-grid { grid-template-columns: 1fr 1fr; }
  .mk-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); }
  .mk-nav.open { display: flex; }
  .mk-menu { display: inline-block; }
  .mk-phone { width: 34%; right: -6px; }
}
@media (max-width: 600px) {
  .mk-grid3, .mk-faq, .mk-tiers, .mk-grid2 { grid-template-columns: 1fr; }
  .mk-section { padding: 52px 0; }
  .mk-signin { display: none; }
  .mk-top-inner { gap: 10px; }
  .mk-btn-sm { padding: 8px 12px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .mk-video { animation: none; } }
.mk-nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Warp It page */
.mk-stats-grid.mk-stats3 { grid-template-columns: repeat(3, 1fr); }
.mk-explainer { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--line); background: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, .35); display: block; }
.mk-split-media .mk-small { margin-top: 8px; color: var(--muted); }
.mk-warpit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .mk-stats-grid.mk-stats3 { grid-template-columns: 1fr; } .mk-warpit { grid-template-columns: 1fr; gap: 20px; } }
.mk-split.mk-split-first { margin-top: 0; }

/* Powered by Warp It */
.mk-powered { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line); color: var(--muted); text-decoration: none; max-width: 520px; }
.mk-powered img { height: 36px; width: auto; display: block; }
.mk-powered-by { font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.mk-powered-note { flex-basis: 100%; font-size: .9rem; }
.mk-powered:hover .mk-powered-note { color: var(--ink); text-decoration: underline; }
.mk-powered-dark { border-top: 0; padding-top: 0; margin-top: 14px; }
.mk-powered-dark .mk-powered-by { color: #cbd5e1; }
.mk-logo img { height: 36px; }
.mk-footer .logo img { height: 42px; }
@media (max-width: 600px) { .mk-logo img { height: 30px; } }
/* Header buttons: same height, radius and text size so their labels line up */
.mk-top-actions .btn, .mk-menu { min-height: 44px; border-radius: 10px; line-height: 1.2; white-space: nowrap; flex-shrink: 0; }
.mk-top-actions { gap: 10px; }
.mk-menu { align-items: center; justify-content: center; }
@media (max-width: 920px) { .mk-menu { display: inline-flex; } }
@media (max-width: 600px) { .mk-top-actions .btn, .mk-menu { font-size: .95rem; padding: 8px 12px; } }
@media (max-width: 360px) { .mk-logo img { height: 26px; } .mk-top-actions .btn, .mk-menu { padding: 8px 10px; } }

/* Webinars */
.mk-small-h { font-family: var(--font-body); font-size: 1rem; margin: 26px 0 8px; }
.mk-list { margin: 0 0 18px; padding-left: 1.2em; color: var(--muted); display: grid; gap: 6px; }
.mk-sessions { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; min-width: 0; }
.mk-sessions legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.mk-session { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; min-height: 44px; }
.mk-session:has(input:checked) { border-color: var(--orange); background: var(--brand-tint, #fef6ec); }
.mk-session input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange-dark); flex: none; }
.mk-session > span { display: grid; gap: 2px; }

/* Savings calculator: inputs left; headline figure and today/target table right. On phones the headline
   sticks to the bottom of the screen while the calculator is in view, so the answer moves as you slide. */
.mk-calc { grid-template-areas: "form head" "form result"; align-items: start; }
.mk-calc > form { grid-area: form; }
.mk-calc > .mk-headline { grid-area: head; }
.mk-calc > .mk-result { grid-area: result; }
.mk-headline { background: var(--ink); color: #fff; border-radius: 18px; padding: 22px 26px; }
.mk-headline p { margin: 0; }
.mk-headline-l { color: #cbd5e1; font-size: .95rem; }
.mk-headline-n { font-family: var(--font-display); color: var(--orange); font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.mk-headline-s { color: #cbd5e1; font-size: .92rem; }
.mk-result { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 20px 22px; }
.mk-result .mk-small { color: var(--muted); margin: 12px 0 0; }
.mk-compare-wrap { overflow-x: auto; }
.mk-compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mk-compare th, .mk-compare td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mk-compare th[scope=row] { text-align: left; font-weight: 600; white-space: normal; }
.mk-compare thead th { font-size: .82rem; color: var(--muted); font-weight: 600; }
.mk-compare td:last-child { font-weight: 700; color: #9a4a00; }
.mk-compare tr:last-child th, .mk-compare tr:last-child td { border-bottom: 0; }
.mk-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mk-range output { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.mk-range input[type=range] { width: 100%; height: 44px; accent-color: var(--orange-dark); margin: 0; }
.mk-more { margin: 4px 0 0; }
.mk-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: #9a4a00; }
@media (max-width: 920px) {
  .mk-calc { grid-template-areas: "form" "head" "result"; }
  .mk-calc > .mk-headline { position: sticky; bottom: 0; z-index: 5; border-radius: 14px 14px 0 0; padding: 12px 18px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .5); }
  .mk-headline-n { font-size: 2rem; }
}
.mk-compare th, .mk-compare td, .mk-compare thead th { background: none; }
.mk-more summary .mk-change { margin-left: 8px; text-decoration: underline; font-weight: 400; }
