/* ════════════════════════════════════════════════════════════════════════
   Marketing / landing page — ported from the Claude Design "Clause Landing"
   handoff, brand-mapped to Trovaru's teal palette + Google Sans.

   Loaded only by layouts/marketing.html.erb. The design's bespoke components
   (grid hero, floating avatars, dark product mockups, integration marquee,
   toggle cards) can't be expressed in Tabler utilities, so they live here as
   `mk-`-prefixed classes — the prefix avoids colliding with Tabler's own
   .btn/.badge/.card which also load on this layout.

   Pricing (pages/pricing.html.erb) shares this file: it relies on .hero-title,
   .landing-cta, .pricing-popular, .downgrade-dialog and .section-sm — those are
   kept at the bottom. Don't remove them.
   ════════════════════════════════════════════════════════════════════════ */

/* Landing uses Google Sans (font link in the marketing layout). Overriding the
   Tabler font var on body keeps every component on-brand without touching the
   app shell — this stylesheet only loads on the marketing layout. */
body {
  --tblr-font-sans-serif: "Google Sans", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--tblr-font-sans-serif);
}

/* The app shell pins html/body to the viewport height (height:100%), which caps the
   sticky nav's containing block to one screen — it unsticks past the hero. The
   marketing pages scroll normally, so let body grow with content (full-page sticky). */
html, body { height: auto; min-height: 100%; }


/* ── Design tokens, brand-mapped ─────────────────────────────────────────── */
.mk-landing {
  /* Clip any horizontal overflow (decorative blobs, marquee) so the document never
     grows wider than the viewport — otherwise a white gap appears to the right of the
     full-width hero on large screens. clip (not hidden) avoids a scroll container. */
  overflow-x: clip;
  /* Sticky landing nav height — drives the hero's full-viewport min-height calc.
     Measured constant (73px) across desktop/mobile; bump here if the nav changes. */
  --mk-nav-h: 73px;
  --mk-warm: #f4f7f7;
  --mk-warm-2: #eef2f2;
  --mk-ink: #1c2a2e;
  --mk-muted: #5f6b6e;
  --mk-primary: var(--tblr-primary);
  --mk-primary-d: #0c6675;
  /* highlighter band under hero words — the design's lime, mapped to teal */
  --mk-accent: rgba(var(--tblr-primary-rgb), 0.26);
  --mk-dark: #0b1726;
  --mk-dark-2: #070f1a;
  --mk-line: rgba(28, 42, 46, 0.10);
  color: var(--mk-ink);
}
.mk-landing h1, .mk-landing h2, .mk-landing h3, .mk-landing h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mk-ink);
}
.mk-landing a { text-decoration: none; color: inherit; }

/* ── Buttons (design's pill buttons, not Tabler's) ───────────────────────── */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; font-weight: 600; font-size: 15px;
  border-radius: 12px; padding: 13px 22px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.mk-btn:active { transform: translateY(1px); }
.mk-btn svg { width: 16px; height: 16px; }
/* Scoped under .mk-landing so they out-specify `.mk-landing a { color: inherit }` */
.mk-landing .mk-btn-primary { background: var(--mk-primary); color: #fff; }
.mk-landing .mk-btn-primary:hover { background: var(--mk-primary-d); color: #fff; }
.mk-landing .mk-btn-white { background: #fff; color: var(--mk-primary); border-color: var(--mk-line); box-shadow: 0 2px 8px rgba(28, 42, 46, 0.05); }
.mk-landing .mk-btn-white:hover { background: #fafafa; }
.mk-landing .mk-btn-outline { align-self: flex-start; background: transparent; border: 1.5px solid var(--mk-primary); color: var(--mk-primary); }
.mk-landing .mk-btn-outline:hover { background: var(--mk-primary); color: #fff; }

/* ── Eyebrow pill ────────────────────────────────────────────────────────── */
/* Filled with the accent teal (white text/icon via currentColor). */
.mk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mk-primary); border: 1px solid transparent; border-radius: 999px;
  padding: 7px 14px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  box-shadow: 0 6px 16px -6px rgba(15, 124, 140, 0.45);
}
.mk-eyebrow svg { width: 13px; height: 13px; }

/* Lime-style marker highlight, mapped to a teal band */
.mk-hl {
  position: relative; white-space: nowrap; padding: 0 2px;
  background: linear-gradient(transparent 62%, var(--mk-accent) 62%, var(--mk-accent) 86%, transparent 86%);
}

/* ════════════════════════════ HERO ═════════════════════════════════════ */
/* Header (sticky, in-flow) + hero fill the viewport: the hero takes the leftover
   height (100dvh − nav) and centres its content as a flex column, so the space that
   used to sit as a white gap below the registrar row becomes internal spacing.
   min-height (never fixed) lets content overflow + scroll on short screens. dvh tracks
   the mobile address-bar collapse; vh is the fallback for older browsers. */
.mk-hero {
  background: var(--mk-warm); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: calc(100vh - var(--mk-nav-h));
  min-height: calc(100dvh - var(--mk-nav-h));
  padding: clamp(40px, 5vh, 110px) 0 clamp(70px, 7vh, 140px);
}
.mk-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28, 42, 46, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 42, 46, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  /* Wide ellipse so the grid reaches the full viewport width; the fade now only
     softens the top/bottom edges (x-radius extends past the viewport). */
  -webkit-mask-image: radial-gradient(ellipse 130% 80% at 50% 45%, #000 55%, transparent 95%);
  mask-image: radial-gradient(ellipse 130% 80% at 50% 45%, #000 55%, transparent 95%);
  opacity: 1; pointer-events: none;
}
/* Let the hero container widen on very large screens (Bootstrap caps .container at
   1320px) so the content + framing bubbles don't get stranded in empty grid. */
.mk-hero > .container { position: relative; z-index: 1; max-width: min(1500px, 92vw); }
.mk-hero-inner { text-align: center; max-width: clamp(760px, 56vw, 1020px); margin: 0 auto; padding: 24px 0; }
.mk-hero h1 { font-size: clamp(40px, 5.4vw, 92px); margin: 26px 0 0; }
.mk-hero .mk-sub { max-width: clamp(540px, 40vw, 680px); margin: 24px auto 0; color: #8a949a; font-size: clamp(17px, 1.1vw, 20px); line-height: 1.6; }
.mk-hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.mk-hero-actions .mk-btn { padding: 15px 26px; }
.mk-hero-note { margin-top: 18px; font-size: 13.5px; color: var(--mk-muted); }

/* Floating decorative avatars (large screens only) */
.mk-avatar { position: absolute; z-index: 3; animation: mkFloat 6s ease-in-out infinite; will-change: transform; }
/* Stagger duration + negative delay so the four bubbles drift independently. */
.mk-a1 { animation-duration: 6s;   animation-delay: 0s; }
.mk-a2 { animation-duration: 7.2s; animation-delay: -2s; }
.mk-a3 { animation-duration: 6.6s; animation-delay: -3.4s; }
.mk-a4 { animation-duration: 7.8s; animation-delay: -1.1s; }
@keyframes mkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@media (prefers-reduced-motion: reduce) { .mk-avatar { animation: none; } }
.mk-avatar .ring { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); padding: 5px; box-shadow: 0 12px 30px rgba(28, 42, 46, 0.1); }
.mk-avatar .photo { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; }
/* The page glyph masked in brand teal — mask = the PNG's alpha shape, so the
   solid-black source renders as a clean teal icon (never appears black). The white
   circle behind it comes from .ring; the teal fill is clipped to the glyph. */
.mk-avatar-icon {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: var(--mk-primary);
  -webkit-mask: var(--icon) center / 75% no-repeat;
  mask: var(--icon) center / 75% no-repeat;
}
.mk-avatar .tail { position: absolute; width: 0; height: 0; }
.mk-a1 { top: 120px; left: 6%; }
.mk-a1 .tail { bottom: -6px; right: -2px; border-left: 11px solid transparent; border-top: 16px solid var(--mk-dark); transform: rotate(-18deg); }
.mk-a2 { top: 120px; right: 6%; }
.mk-a2 .tail { bottom: -6px; left: -2px; border-right: 11px solid transparent; border-top: 16px solid var(--mk-dark); transform: rotate(18deg); }
.mk-a3 { top: 330px; left: 14%; }
.mk-a3 .tail { top: 24px; right: -22px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid var(--mk-dark); }
.mk-a4 { top: 340px; right: 13%; }
.mk-a4 .tail { top: -8px; left: -20px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-right: 18px solid var(--mk-dark); }

/* Hero stat cards */
.mk-hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 24px 0; text-align: left; }
.mk-hcard { background: #fff; border: 1px solid var(--mk-line); border-radius: 18px; padding: 24px 26px 22px; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(28, 42, 46, 0.05); }
.mk-hpill { align-self: flex-start; background: var(--mk-primary); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.mk-hcard-top { display: flex; align-items: center; justify-content: space-between; }
.mk-live { display: inline-flex; align-items: center; gap: 6px; background: #e3f3e6; color: #1f8a4c; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 8px; }
.mk-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #27a35a; }
.mk-hnum { font-weight: 700; font-size: 50px; color: var(--mk-ink); line-height: 1; margin-top: 18px; letter-spacing: -0.02em; }
.mk-hsub { color: var(--mk-muted); font-size: 14px; margin-top: 9px; }
.mk-spark { width: 100%; height: 46px; margin-top: 14px; color: var(--mk-primary); }
.mk-hfoot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--mk-muted); }
.mk-chips { display: flex; }
.mk-chips span { width: 26px; height: 26px; border-radius: 7px; background: var(--mk-primary); color: #fff; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.mk-chips span:first-child { margin-left: 0; }
.mk-hcard-title { font-size: 23px; font-weight: 700; color: var(--mk-ink); margin-top: 18px; line-height: 1.2; }
.mk-hcard-text { color: var(--mk-muted); font-size: 14.5px; margin-top: 14px; line-height: 1.6; }
.mk-hcard .mk-btn-outline { margin-top: 26px; }
.mk-barmini { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-top: auto; padding-top: 18px; }
.mk-barmini span { flex: 1; background: var(--mk-primary); border-radius: 4px 4px 0 0; }
.mk-legend { display: flex; gap: 20px; margin-top: 18px; font-size: 13px; color: var(--mk-muted); }
.mk-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.mk-legend .val { background: var(--mk-primary); }
.mk-legend .exp { background: #c4cbc4; }

/* Partner logo row — centered, all 7 registrars in full colour */
.mk-partners { display: flex; flex-direction: column; align-items: center; gap: 26px; margin-top: 48px;}
/* Section header with a leading icon. */
.mk-partners .pl {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0 0 4px; color: #5c666c;
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.01em;
}
.mk-partners .pl svg {
  width: clamp(24px, 2.6vw, 32px); height: clamp(24px, 2.6vw, 32px);
  color: var(--mk-primary); flex-shrink: 0;
}
/* Marquee viewport — full width with soft edge fade; the track slides inside it. */
.mk-logos { width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mk-logos-track { display: flex; align-items: center; gap: 14px; width: max-content; animation: mkScrollL 34s linear infinite; }
.mk-logos:hover .mk-logos-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .mk-logos-track { animation: none; justify-content: center; flex-wrap: wrap; width: 100%; }
}
/* Provider pill — bare logo + name, brand colour on text + outline, no fill */
.mk-pbadge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px 7px 7px; border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--c) 20%, var(--mk-line));
  color: color-mix(in srgb, var(--c) 80%, #000);
  font-weight: 600; font-size: 15px;
  box-shadow: 0 2px 10px -5px rgba(28, 42, 46, 0.22);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.mk-pbadge:hover { box-shadow: 0 8px 20px -8px rgba(28, 42, 46, 0.3); transform: translateY(-1px); }
/* Uniform white circular chip so every logo (square or round) reads consistently. */
.mk-pbadge-icon {
  width: 30px; height: 30px; flex: none; padding: 5px;
  display: grid; place-items: center;
  background: #fff; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(28, 42, 46, 0.07);
}
.mk-pbadge-icon img { width: 100%; height: 100%; object-fit: contain; }

/* ═══════════════════════════ FEATURES ═══════════════════════════════════ */
.mk-features { background: #fff; padding: 90px 0 40px; }
.mk-sec-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.mk-sec-head h2 { font-size: 36px; margin: 18px 0 0; }
.mk-sec-head p { color: var(--mk-muted); margin-top: 16px; font-size: 16px; }

.mk-feat-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; background: var(--mk-warm-2); border-radius: 22px; overflow: hidden; border: 1px solid var(--mk-line); }
.mk-feat-left { padding: 46px 44px; display: flex; flex-direction: column; }
.mk-feat-left h3 { font-size: 26px; }
.mk-feat-left p { color: var(--mk-muted); margin-top: 14px; font-size: 15px; max-width: 320px; }
.mk-feat-left .mk-btn { margin-top: 38px; align-self: flex-start; }
.mk-dash { background: #fcfcfa; margin: 24px 24px 24px 0; border-radius: 14px; border: 1px solid var(--mk-line); padding: 22px 24px; }
.mk-dash-head { display: flex; align-items: center; justify-content: space-between; }
.mk-dash-head .co { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--mk-ink); }
.mk-dash-avs { display: flex; }
.mk-dash-avs span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fcfcfa; background: #cdd4cc; margin-left: -8px; }
.mk-chart { display: flex; align-items: flex-end; height: 200px; margin-top: 18px; position: relative; padding-left: 34px; }
.mk-yaxis { position: absolute; left: 0; top: 0; bottom: 22px; display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: #9aa49d; }
.mk-bars { display: flex; align-items: flex-end; gap: 14px; width: 100%; height: 100%; border-bottom: 1px solid var(--mk-line); }
.mk-bar { flex: 1; background: #d9ddd4; border-radius: 6px 6px 0 0; }
.mk-bar.hot { background: var(--mk-primary); }

.mk-feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.mk-fcard { background: var(--mk-warm-2); border: 1px solid var(--mk-line); border-radius: 22px; overflow: hidden; }
.mk-fcard-head { text-align: center; padding: 36px 32px 28px; }
.mk-fcard-head h3 { font-size: 24px; }
.mk-fcard-head p { color: var(--mk-muted); margin-top: 12px; font-size: 14px; max-width: 340px; margin-left: auto; margin-right: auto; }
.mk-fcard-body { background: #fcfcfa; margin: 0 22px 22px; border-radius: 14px; border: 1px solid var(--mk-line); padding: 22px 24px; }

/* Important feature → related sub-features list */
.mk-subfeat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mk-subfeat-item { display: flex; align-items: flex-start; gap: 14px; }
.mk-subfeat-item .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; background: rgba(var(--tblr-primary-rgb), 0.10); color: var(--mk-primary); display: grid; place-items: center; }
.mk-subfeat-item .ic svg { width: 18px; height: 18px; }
.mk-subfeat-item h4 { font-size: 15px; font-weight: 700; color: var(--mk-ink); margin: 0; }
.mk-subfeat-item p { font-size: 13.5px; color: var(--mk-muted); line-height: 1.5; margin: 3px 0 0; }
.mk-panel-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--mk-line); padding-bottom: 16px; }
.mk-panel-head h4 { font-weight: 700; font-size: 15px; color: var(--mk-ink); }
.mk-panel-head .save { font-size: 13px; font-weight: 600; color: var(--mk-muted); }
.mk-togrow { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--mk-line); font-size: 14px; color: #3a463f; }
.mk-togrow:last-child { border-bottom: none; }
.mk-togrow.off { color: #aab2ab; }
.mk-toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--mk-primary); position: relative; flex: none; }
.mk-toggle.off { background: #cfd5cd; }
.mk-toggle::after { content: ""; position: absolute; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; right: 3px; transition: 0.2s; }
.mk-toggle.off::after { right: auto; left: 3px; }
.mk-act { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.mk-dns { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 12px 14px; }
.mk-dns .badge { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; line-height: 1; }
.mk-dns .badge.add { background: #e3f3e6; color: #1f8a4c; }
.mk-dns .badge.rem { background: #fbe7e7; color: #d6453f; }
.mk-dns-t { font-weight: 600; font-size: 13.5px; color: var(--mk-ink); }
.mk-dns-s { font-size: 12px; color: #8b958d; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mk-dns-foot { font-size: 12px; color: #8b958d; margin-top: 14px; }

/* ════════════════════ CAPABILITY SHOWCASE ═══════════════════════════════ */
/* Warm grid backdrop, matching the hero. */
.mk-show {
  background-color: var(--mk-warm);
  background-image:
    linear-gradient(rgba(28, 42, 46, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 42, 46, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  padding: 36px 0 24px;
}
.mk-srow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; padding: 66px 0; border-top: 1px solid var(--mk-line); }
/* Image cell stretches to the copy column's height so the shot lines up top-to-bottom. */
.mk-srow > div:last-child { display: flex; }
.mk-srow:first-child { border-top: none; }
.mk-srow.rev .mk-scopy { order: 2; }

/* Capabilities carousel — one slide in view, track slides by whole viewport widths. */
.mk-ccar { padding: 28px 0 8px; }
.mk-cviewport { overflow: hidden; }
.mk-ctrack { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.mk-cslide { flex: 0 0 100%; min-width: 0; }
/* Each slide owns the spacing; drop the stacked-row borders the original layout used. */
.mk-cslide .mk-srow { border-top: none; padding: 24px 0 8px; }
.mk-cctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 8px; }
.mk-cbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-primary); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.mk-cbtn:hover { background: var(--mk-primary); border-color: var(--mk-primary); color: #fff; }
.mk-cbtn svg { width: 20px; height: 20px; }
.mk-cdots { display: flex; align-items: center; gap: 10px; }
.mk-cdot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: rgba(28, 42, 46, 0.22); cursor: pointer; transition: width 0.2s, background 0.2s, border-radius 0.2s; }
.mk-cdot:hover { background: rgba(28, 42, 46, 0.4); }
.mk-cdot.active { width: 26px; border-radius: 5px; background: var(--mk-primary); }
@media (prefers-reduced-motion: reduce) { .mk-ctrack { transition: none; } }
.mk-snum { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 14px; color: var(--mk-primary); margin-bottom: 22px; }
.mk-snum .sline { flex: 1; height: 1px; background: var(--mk-line); }
.mk-stag { background: #eef0ea; color: #5f6b62; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 7px; flex: none; }
.mk-scopy h3 { font-size: 30px; line-height: 1.18; }
.mk-scopy > p { color: var(--mk-muted); font-size: 16px; line-height: 1.72; margin-top: 18px; }
.mk-scopy > p b { color: var(--mk-primary); font-weight: 600; }
.mk-schips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.mk-schips span { background: rgba(var(--tblr-primary-rgb), 0.10); color: var(--mk-primary); border: 1px solid rgba(var(--tblr-primary-rgb), 0.22); font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 9px; }
/* dark browser mockup */
.mk-win { background: #11221b; border-radius: 14px; overflow: hidden; box-shadow: 0 26px 54px rgba(13, 28, 20, 0.26); background: var(--mk-dark); }
/* Transparent screenshot used in place of a built mockup — no card framing. */
.mk-shot { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; background: transparent; }
.mk-win-bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: rgba(255, 255, 255, 0.04); }
.mk-dots { display: flex; gap: 7px; flex: none; }
.mk-dots i { width: 11px; height: 11px; border-radius: 50%; }
.mk-dots i:nth-child(1) { background: #ff5f57; }
.mk-dots i:nth-child(2) { background: #febc2e; }
.mk-dots i:nth-child(3) { background: #28c840; }
.mk-url { flex: 1; background: rgba(0, 0, 0, 0.25); color: #8aa094; font-size: 12.5px; padding: 6px 14px; border-radius: 7px; text-align: center; }
.mk-win-body { padding: 20px 20px 22px; }
.mk-win-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; color: #eaf1ed; font-weight: 600; font-size: 15px; }
.mk-win-head .mut { color: #8aa094; font-weight: 500; font-size: 13px; }
.mk-drow { display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 13px 15px; margin-bottom: 9px; }
.mk-drow:last-child { margin-bottom: 0; }
.mk-drow .dn { color: #eef3f0; font-weight: 600; font-size: 14px; }
.mk-drow .reg { color: #8aa094; font-size: 13px; }
.mk-drow .badge { margin-left: auto; background: rgba(255, 255, 255, 0.08); color: #bcd0c5; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 7px; }
.mk-drow .badge.warn { background: #3a2f1c; color: #f1c66b; }
.mk-drow .badge.crit { background: #3a221c; color: #f0a08f; }
.mk-dnsr { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 11px 15px; margin-bottom: 9px; font-size: 13px; color: #cfe0d6; }
.mk-dnsr.add { border-color: #27513a; }
.mk-dnsr.rem { border-color: #4a2f2c; }
.mk-dnsr .op { color: #5fcf8e; }
.mk-dnsr.rem .op { color: #f0857a; }
.mk-dnsr .sub { color: #7e948a; font-size: 12px; margin-top: 4px; }
.mk-dnsfoot { color: #7e948a; font-size: 12px; margin-top: 14px; }
.mk-regrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-regc { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 14px 15px; border-left: 3px solid var(--mk-primary); }
.mk-regc.add { border-left-color: #2a4034; color: #7e948a; }
.mk-regc .rn { color: #eef3f0; font-weight: 600; font-size: 14px; }
.mk-regc .rd { color: #8aa094; font-size: 12.5px; margin-top: 3px; }
.mk-regc.add .rn { color: #9fb3a8; }
.mk-winfoot { margin-top: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 11px 15px; color: #8aa094; font-size: 13px; }

/* ═══════════════════════ INTEGRATIONS ═══════════════════════════════════ */
.mk-integrations { background: #fff; padding: 50px 0 70px; }
.mk-int-box { background: var(--mk-dark); border-radius: 26px; padding: 28px 0; overflow: hidden; position: relative; }
.mk-int-box .mk-eyebrow { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); color: #cdd6cf; }
.mk-int-head { text-align: center; color: #fff; padding: 0 24px; }
.mk-int-head h2 { color: #fff; font-size: 38px; margin-top: 18px; }
.mk-int-head p { color: #aebab2; margin: 16px auto 0; max-width: 480px; font-size: 15px; }
.mk-int-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 3px; margin-top: 24px; }
.mk-int-link svg { width: 14px; }
.mk-marquee { margin-top: 46px; display: flex; flex-direction: column; gap: 22px; }
.mk-mrow { display: flex; gap: 22px; width: max-content; animation: mkScrollL 38s linear infinite; }
.mk-mrow.r2 { animation-name: mkScrollR; }
.mk-tile { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.mk-tile img { width: 46px; height: 46px; object-fit: contain; }
@keyframes mkScrollL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mkScrollR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mk-mrow { animation: none; } }

/* Single sliding row of provider cards (Tabler widgets profile-card style). */
.mk-int-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mk-int-track { display: flex; gap: 16px; width: max-content; animation: mkScrollL 42s linear infinite; }
.mk-int-marquee:hover .mk-int-track { animation-play-state: paused; }
.mk-int-card {
  display: flex; align-items: center; gap: 11px; flex: none; min-width: 215px;
  background: #fff; border-radius: 12px; padding: 8px 18px 8px 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.mk-int-logo {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: #f6f9fa; display: grid; place-items: center;
}
.mk-int-logo img { width: 22px; height: 22px; object-fit: contain; }
.mk-int-meta .name { font-weight: 700; color: #1c2a3a; line-height: 1.2; }
.mk-int-meta .sub { font-size: 13px; color: #8a949a; }
@media (prefers-reduced-motion: reduce) { .mk-int-track { animation: none; } }

/* ═══════════════════════ TESTIMONIALS ═══════════════════════════════════ */
/* ── Pricing preview ── four plan cards, Pro lifted, link to the full page. */
.mk-pricing { background: #fff; padding: 84px 0 90px; scroll-margin-top: calc(var(--mk-nav-h) + 12px); }
.mk-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.mk-price-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--mk-line); border-radius: 20px;
  box-shadow: 0 10px 30px -20px rgba(28, 42, 46, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mk-price-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(28, 42, 46, 0.28); }
.mk-price-card.is-popular { border: 2px solid var(--mk-primary); box-shadow: 0 28px 56px -26px rgba(15, 124, 140, 0.5); }
/* Full-bleed teal header bar on the popular card. */
.mk-price-flag { background: var(--mk-primary); color: #fff; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 11px 12px; }
.mk-price-inner { display: flex; flex-direction: column; flex: 1; padding: 30px 26px; }
.mk-price-name { font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: var(--mk-muted); }
.mk-price-amt { display: flex; align-items: baseline; gap: 2px; margin-top: 10px; font-size: 46px; font-weight: 800; letter-spacing: -0.03em; color: var(--mk-ink); }
.mk-price-amt .cur { font-size: 26px; font-weight: 800; }
.mk-price-amt .per { font-size: 15px; font-weight: 600; color: var(--mk-muted); letter-spacing: 0; }
.mk-price-sub { margin-top: 4px; color: var(--mk-muted); font-size: 14px; }
.mk-price-feats { list-style: none; margin: 22px 0; padding: 22px 0 0; border-top: 1px solid var(--mk-line); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.mk-price-feats li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; }
.mk-price-feats li.ok { color: #41504a; }
.mk-price-feats li.no { color: #aab2ad; }
.mk-price-feats svg { width: 17px; height: 17px; flex: none; }
.mk-price-feats .ic-ok { color: var(--mk-primary); }
.mk-price-feats .ic-no { color: #c4ccc6; }
.mk-price-card .mk-btn { width: 100%; margin-top: 4px; }
.mk-price-more { text-align: center; margin-top: 40px; }
.mk-landing .mk-price-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--mk-primary); }
.mk-price-link svg { width: 17px; height: 17px; transition: transform 0.16s ease; }
.mk-landing .mk-price-link:hover svg { transform: translateX(4px); }

.mk-testi { background: var(--mk-warm); padding: 84px 0 96px; }

.mk-testi-top { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.mk-testi-top h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; }
/* Gradient pill around the accent word (pink→orange, like the reference). */
.mk-testi-pill {
  display: inline-block; color: #fff; border-radius: 16px;
  padding: 2px 16px; margin-left: 6px;
  background: linear-gradient(95deg, var(--mk-primary), var(--mk-primary-d));
  -webkit-text-fill-color: #fff;
}
.mk-testi-top p { margin: 18px auto 0; max-width: 600px; color: var(--mk-muted); font-size: 17px; line-height: 1.6; }

.mk-tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mk-tcard {
  background: #fff; border: 1px solid var(--mk-line); border-radius: 22px;
  padding: 28px 30px 30px; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px -18px rgba(28, 42, 46, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mk-tcard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(28, 42, 46, 0.28); }
/* First card lifted + tilted, matching the reference's lead card. */
.mk-tcard:first-child { transform: rotate(-2.4deg); box-shadow: 0 26px 50px -22px rgba(28, 42, 46, 0.3); }
.mk-tcard:first-child:hover { transform: rotate(-2.4deg) translateY(-3px); }
.mk-tcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* Company name set as a faux wordmark (per-card brand colour via inline style).
   Tight tracking + heavy weight reads as a logo rather than body copy. */
.mk-tlogo { font-weight: 800; font-size: 20px; letter-spacing: -0.04em; line-height: 1; }
.mk-trate { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 15px; color: var(--mk-ink); }
.mk-trate svg { width: 17px; height: 17px; color: #2fb344; }
.mk-tquote { margin: 22px 0 0; color: #41504a; font-size: 15.5px; line-height: 1.66; flex: 1; }
.mk-tfoot { margin-top: 26px; }
.mk-tname { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--mk-ink); }
.mk-tco { font-size: 14px; color: var(--mk-muted); margin-top: 3px; }
.mk-t-bar { display: flex; align-items: center; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.mk-t-bar .item { display: flex; align-items: center; gap: 9px; padding: 4px 30px; font-size: 15px; color: var(--mk-muted); border-right: 1px solid var(--mk-line); }
.mk-t-bar .item:last-child { border-right: none; }
.mk-t-bar .item b { color: var(--mk-ink); font-weight: 700; }
.mk-t-bar .mk-stars svg { width: 16px; height: 16px; }

/* ═══════════════════════ FOUNDER LETTER ═════════════════════════════════ */
/* Warm grid backdrop, matching the hero. */
.mk-founder {
  background-color: var(--mk-warm);
  background-image:
    linear-gradient(rgba(28, 42, 46, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 42, 46, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  padding: 84px 0;
}
.mk-founder .fhead { margin-bottom: 34px; }
.mk-founder h2 { font-size: 44px; margin-top: 18px; }
.mk-fletter { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--mk-line); border-radius: 22px; padding: 52px 58px; box-shadow: 0 8px 28px rgba(28, 42, 46, 0.05); }
/* Handwritten feel — Playwrite GB J for the letter body + signature only (sized up +
   looser leading since handwriting faces are tall/narrow). Signoff block stays Google Sans. */
.mk-fletter p, .mk-fsign { font-family: "Playwrite GB J", cursive; }
.mk-fletter p { color: #41504a; font-size: 20px; line-height: 2.1; margin-bottom: 22px; max-width: 840px; }
.mk-fletter p.greet { font-weight: 500; font-size: 22px; color: var(--mk-primary); margin-bottom: 18px; }
.mk-fletter p.strong { color: var(--mk-primary); font-weight: 500; }
.mk-fletter p.em { color: #3a463f; font-size: 20.5px; margin-bottom: 0; }
.mk-fsign { font-size: 26px; color: var(--mk-primary); line-height: 1.1; margin-bottom: 6px; }
.mk-fletter .sign { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding-top: 28px; border-top: 1px solid var(--mk-line); flex-wrap: wrap; }
.mk-fletter .person { display: flex; align-items: center; gap: 16px; }
.mk-fletter .rav { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; flex: none; }
.mk-fletter .pname { font-weight: 700; font-size: 17px; color: var(--mk-ink); }
.mk-fletter .prole { font-size: 14px; color: var(--mk-muted); margin-top: 2px; }
.mk-sign-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════ STATS ══════════════════════════════════════ */
.mk-stats-wrap { background: #fff; padding: 0 0 64px; }
/* Premium stat panel — soft white→warm gradient, teal top accent, gradient dividers. */
.mk-stats {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--mk-warm) 100%);
  border: 1px solid var(--mk-line); border-radius: 24px;
  box-shadow: 0 24px 60px -32px rgba(15, 124, 140, 0.3);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 0;
}
@media (max-width: 700px) { .mk-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; } }
.mk-stats::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, transparent, var(--mk-primary), transparent);
}
.mk-stat { position: relative; text-align: center; padding: 4px 16px; }
.mk-stat + .mk-stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px;
  background: linear-gradient(180deg, transparent, var(--mk-line), transparent);
}
.mk-stat .num { font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -0.02em; color: var(--mk-primary); }
.mk-stat .lbl { color: var(--mk-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; }

/* ═════════════════════════ CTA BAND ═════════════════════════════════════ */
.mk-cta { background: var(--mk-dark); padding: 64px 0; }

/* ── Newsletter ── shares the footer's background so the two read as one dark
   section; the teal hairline + glow mark the top of that combined block. */
.mk-news { position: relative; background: #070f1a; padding: 72px 0 56px; }
.mk-news::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--tblr-primary-rgb), 0.6), transparent); }
.mk-news::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 200px; background: radial-gradient(ellipse at top, rgba(var(--tblr-primary-rgb), 0.16), transparent 70%); pointer-events: none; }
.mk-news-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.mk-news-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.10); color: #cdd6d0; border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.mk-news-badge svg { width: 13px; height: 13px; }
.mk-landing .mk-news-copy h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin: 16px 0 0; }
.mk-news-copy p { color: #9aa59d; font-size: 15.5px; line-height: 1.6; margin: 12px 0 0; max-width: 440px; }
.mk-news-form { display: flex; gap: 12px; flex-wrap: wrap; }
.mk-news-field { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 0 16px; }
.mk-news-field svg { width: 18px; color: #8a948d; flex: none; }
.mk-news-field input { flex: 1; border: 0; outline: 0; background: none; padding: 15px 0; font-size: 15px; color: #fff; font-family: inherit; }
.mk-news-field input::placeholder { color: #7e8a82; }
.mk-news-form .mk-btn { flex: none; }

/* FAQ — icon + question + chevron rows, divided, no card chrome */
.mk-faq { background: var(--mk-warm); padding: 80px 0 96px; }
.mk-faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

/* ── Left rail ── */
.mk-faq-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--mk-primary); color: #fff;
  border-radius: 999px; padding: 8px 18px;
  font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgba(15, 124, 140, 0.45);
}
.mk-faq-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.mk-faq-aside h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; margin: 18px 0 0; }
.mk-faq-card {
  margin-top: 32px; background: #fff; border: 1px solid var(--mk-line); border-radius: 22px;
  padding: 30px; box-shadow: 0 18px 44px -26px rgba(28, 42, 46, 0.28);
}
.mk-faq-av { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: var(--mk-primary); background: #fff; border: 1.5px solid rgba(var(--tblr-primary-rgb), 0.35); }
.mk-faq-av svg { width: 42px; height: 42px; }
.mk-faq-card h3 { font-size: 26px; margin: 22px 0 0; color: var(--mk-ink); }
.mk-faq-card p { margin: 12px 0 0; color: var(--mk-muted); font-size: 15px; line-height: 1.6; }
.mk-landing .mk-faq-cta {
  display: block; text-align: center; margin-top: 24px; background: var(--mk-primary);
  color: #fff; font-weight: 600; font-size: 15px; padding: 15px 24px; border-radius: 999px;
  transition: background 0.18s ease, transform 0.15s ease;
}
.mk-landing .mk-faq-cta:hover { background: var(--mk-primary-d); color: #fff; transform: translateY(-2px); }

/* ── Right accordion ── */
.mk-faq-list { display: flex; flex-direction: column; gap: 16px; }
.mk-faq-acc {
  background: #fff; border: 1px solid var(--mk-line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px -20px rgba(28, 42, 46, 0.2);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
/* Open card gets a faint teal wash + lift, echoing the reference's tinted panel. */
.mk-faq-acc.is-open,
.mk-faq-acc:has(.mk-faq-acc-q[aria-expanded="true"]) { border-color: rgba(var(--tblr-primary-rgb), 0.25); box-shadow: 0 20px 44px -24px rgba(15, 124, 140, 0.3); background: linear-gradient(120deg, #fff 60%, rgba(var(--tblr-primary-rgb), 0.06)); }
/* Drop the static fallback tint once JS-driven state takes over. */
.mk-faq-acc.is-open:has(.mk-faq-acc-q[aria-expanded="false"]) { border-color: var(--mk-line); box-shadow: 0 10px 30px -20px rgba(28, 42, 46, 0.2); background: #fff; }
.mk-faq-acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  background: none; border: 0; text-align: left; cursor: pointer;
  padding: 22px 26px; font-weight: 700; font-size: 18px; color: var(--mk-ink); font-family: inherit;
}
/* Plus glyph drawn from two bars; rotates into an × when the panel opens. */
.mk-faq-acc-ico { position: relative; width: 20px; height: 20px; flex: none; color: var(--mk-muted); transition: transform 0.22s ease, color 0.18s ease; }
.mk-faq-acc-ico::before, .mk-faq-acc-ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.mk-faq-acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.mk-faq-acc-q[aria-expanded="true"] .mk-faq-acc-ico { transform: rotate(45deg); color: var(--mk-primary); }
.mk-faq-acc-a { padding: 0 26px 24px; color: var(--mk-muted); font-size: 15.5px; line-height: 1.66; }
.mk-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.mk-cta h2 { color: #fff; font-size: 40px; line-height: 1.1; }
.mk-cta h2 .u { position: relative; color: #fff; }
.mk-cta h2 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 4px; background: var(--mk-primary); border-radius: 3px; }
.mk-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 992px) {
  .mk-hero h1 { font-size: 48px; }
  .mk-hero-cards { grid-template-columns: 1fr; }
  .mk-price-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .mk-tgrid { grid-template-columns: 1fr; }
  .mk-tcard:first-child { transform: none; }
  .mk-tcard:first-child:hover { transform: translateY(-3px); }
  .mk-faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .mk-news-in { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
  .mk-founder h2 { font-size: 32px; }
  .mk-fletter { padding: 30px 24px; }
  .mk-fletter p { font-size: 16px; }
  .mk-fletter .sign { align-items: flex-start; }
  .mk-srow { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .mk-srow.rev .mk-scopy { order: 0; }
  .mk-scopy h3 { font-size: 25px; }
  .mk-feat-top { grid-template-columns: 1fr; }
  .mk-dash { margin: 0 24px 24px; }
  .mk-feat-row { grid-template-columns: 1fr; }
  .mk-avatar { display: none; }
  .mk-cta-in { flex-direction: column; align-items: flex-start; }
  .mk-stat .num { font-size: 34px; }
}

/* ════════════════════════════════════════════════════════════════════════
   Shared — used by BOTH home and pricing. Do not remove.
   ════════════════════════════════════════════════════════════════════════ */

/* Sticky translucent top nav */
.landing-navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0; z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
}
.landing-navbar .nav-link,
.landing-navbar .btn { font-size: 1rem; }
/* Underline-style nav items — no box, just a bottom border that accents on hover/active. */
.landing-navbar .navbar-nav .nav-link {
  padding: 6px 10px; border: 0; border-radius: 0 !important;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.landing-navbar .navbar-nav .nav-link:hover {
  border-bottom-color: rgba(var(--tblr-primary-rgb), 0.5);
}
.landing-navbar .navbar-nav .nav-link.active {
  border-bottom-color: var(--mk-primary);
  color: var(--mk-primary);
}
.landing-navbar .navbar-brand { font-size: 1.4rem; }
.section-sm { padding-top: 3rem; padding-bottom: 3rem; }

.hero-title { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(2.4rem, 5vw, 4rem); }

/* Dark CTA band (pricing) */
.landing-cta { background: linear-gradient(135deg, #0b1726, #11324c); border-radius: var(--tblr-border-radius-lg); }
.landing-cta, .landing-cta h1, .landing-cta h2, .landing-cta h3, .landing-cta p { color: #fff; }

/* Pricing popular ribbon */
.pricing-popular { background: var(--tblr-primary); color: #fff; font-weight: 700; letter-spacing: 0.08em; }

/* Comparison-table PRO column highlight — tints the whole recommended column.
   !important overrides Tabler's striped/hover row backgrounds on .card-table. */
.pricing-pro-col { background: rgba(var(--tblr-primary-rgb), 0.06) !important; }
.pricing-pro-head { background: rgba(var(--tblr-primary-rgb), 0.12) !important; box-shadow: inset 0 3px 0 var(--tblr-primary); }
.pricing-pro-tag { font-size: 0.65rem; letter-spacing: 0.08em; margin-top: 2px; }

/* ── Premium plan cards ──────────────────────────────────────────────────── */
.pricing-cards .pricing-card {
  position: relative;
  background: #fff;
  /* Stronger than --mk-line (0.10) so each card reads as a distinct box on white. */
  border: 1px solid rgba(28, 42, 46, 0.18);
  border-radius: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pricing-cards .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 23, 38, 0.10);
  border-color: rgba(var(--tblr-primary-rgb), 0.35);
}
.pricing-card-body { padding: 26px 24px 28px; }

/* Recommended tier is lifted and ringed so the eye lands on it first. */
.pricing-card.is-popular {
  border-color: var(--tblr-primary);
  box-shadow: 0 22px 50px rgba(15, 124, 140, 0.18);
}
@media (min-width: 992px) {
  .pricing-card.is-popular { transform: scale(1.035); z-index: 2; }
  .pricing-card.is-popular:hover { transform: scale(1.035) translateY(-5px); }
}

.pricing-ribbon {
  background: linear-gradient(135deg, var(--tblr-primary), var(--mk-primary-d));
  color: #fff; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center; padding: 8px; border-radius: 18px 18px 0 0;
}

.pricing-card .plan-name { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-size: 0.78rem; color: var(--mk-muted); margin-bottom: 10px; }
.pricing-card .plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.pricing-card .plan-price { font-size: 2.85rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--mk-ink); }
.pricing-card .plan-per { color: var(--mk-muted); font-weight: 500; }
.pricing-card .plan-sub { color: var(--mk-muted); font-size: 0.85rem; margin: 6px 0 22px; }

.pricing-feat-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--mk-ink); }
.pricing-feat-item.is-off { color: var(--mk-muted); }
.pricing-feat-ic {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--tblr-primary-rgb), 0.12); color: var(--tblr-primary);
}
.pricing-feat-item.is-off .pricing-feat-ic { background: rgba(28, 42, 46, 0.07); color: var(--mk-muted); }
.pricing-feat-ic svg { width: 12px; height: 12px; }

/* ── Categorized comparison table ────────────────────────────────────────── */
.pricing-table-card { border-radius: 16px; overflow: hidden; }
.pricing-cat-row td {
  background: var(--mk-warm) !important;
  text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.72rem; font-weight: 700;
  color: var(--mk-muted); padding-top: 13px; padding-bottom: 13px;
}

/* Dark footer (home + pricing), ported from the design */
/* Dark footer with a teal hairline + glow up top so it reads as a deliberate
   bookend to the page rather than a dumping ground for links. */
.mk-footer { position: relative; background: #070f1a; color: #c5cdc7; padding: 24px 0 30px; }
.mk-footer .container { position: relative; z-index: 1; }
.mk-footer .foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 40px 30px; }

.mk-footer .foot-brand { max-width: 320px; }
.mk-footer .brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 18px; text-decoration: none; }
.mk-footer .brand img { border-radius: 8px; }
.mk-footer .foot-tag { font-size: 14px; color: #93a09a; margin-bottom: 20px; line-height: 1.6; }
.mk-footer .foot-mail { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #cdd6d0; text-decoration: none; transition: color 0.16s ease; }
.mk-footer .foot-mail:hover { color: var(--tblr-primary); }
.mk-footer .foot-mail svg { width: 17px; color: var(--tblr-primary); }

.mk-footer .foot-socials { display: flex; gap: 10px; margin-top: 24px; }
.mk-footer .foot-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); display: grid; place-items: center; transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease; }
.mk-footer .foot-socials a:hover { background: var(--tblr-primary); border-color: var(--tblr-primary); transform: translateY(-2px); }
.mk-footer .foot-socials svg { width: 16px; fill: #c5cdc7; transition: fill 0.16s ease; }
.mk-footer .foot-socials a:hover svg { fill: #fff; }

.mk-footer .foot-col h5 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 18px; }
.mk-footer .foot-col a { display: block; width: fit-content; font-size: 14px; color: #93a09a; margin-bottom: 13px; text-decoration: none; transition: color 0.14s ease, transform 0.14s ease; }
.mk-footer .foot-col a:hover { color: #fff; transform: translateX(3px); }

.mk-footer .foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 56px; padding-top: 26px; }
.mk-footer .foot-bottom .cp { font-size: 13px; color: #7e8a82; }
.mk-footer .foot-legal { display: flex; gap: 24px; }
.mk-footer .foot-legal a { font-size: 13px; color: #93a09a; text-decoration: none; transition: color 0.14s ease; }
.mk-footer .foot-legal a:hover { color: var(--tblr-primary); }

@media (max-width: 992px) {
  .mk-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .mk-footer .foot-brand { grid-column: 1 / -1; max-width: none; }
}

/* Downgrade confirmation dialog (pricing, signed-in) */
dialog.downgrade-dialog {
  margin: auto; padding: 0;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius-lg);
  width: 100%; max-width: 420px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}
dialog.downgrade-dialog::backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px); }

/* ── Legal pages (privacy / terms) ─────────────────────────────────────── */
.mk-legal { background: #fff; padding: 64px 0 88px; }
.mk-legal .container-narrow { max-width: 760px; }
.mk-legal-head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--mk-line); }
.mk-legal-head h1 { font-size: 42px; line-height: 1.1; margin: 18px 0 10px; }
.mk-legal-updated { color: var(--mk-muted); font-size: 14px; margin: 0; }
.mk-legal-body { color: var(--mk-ink); font-size: 16px; line-height: 1.75; }
.mk-legal-body > p { color: var(--mk-muted); margin: 0 0 20px; }
.mk-legal-body h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 14px; }
.mk-legal-body ul { color: var(--mk-muted); margin: 0 0 20px; padding-left: 22px; }
.mk-legal-body li { margin-bottom: 9px; }
.mk-legal-body strong { color: var(--mk-ink); font-weight: 600; }
.mk-legal-body a { color: var(--mk-primary); font-weight: 500; }
.mk-legal-body a:hover { color: var(--mk-primary-d); }
@media (max-width: 640px) {
  .mk-legal { padding: 40px 0 56px; }
  .mk-legal-head h1 { font-size: 32px; }
}

/* ── Error pages (404 / 422 / 500) ─────────────────────────────────────────
   On-brand DNS theme: the big code sits behind a faux `dig` lookup that returns
   an NXDOMAIN/FORMERR/SERVFAIL status — a domain-tooling joke that doubles as
   the empty-state. Centered, works in the marketing layout for guests + users. */
.err-wrap {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  padding: 56px 0 72px;
  background: radial-gradient(120% 90% at 50% -10%, rgba(var(--tblr-primary-rgb), 0.10), transparent 60%), var(--mk-warm);
}
.err-card { max-width: 620px; margin: 0 auto; text-align: center; }

.err-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.74rem; letter-spacing: 0.04em; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(var(--tblr-primary-rgb), 0.10); color: var(--mk-primary-d);
  border: 1px solid rgba(var(--tblr-primary-rgb), 0.20);
}
.err-badge-danger { background: rgba(214, 57, 57, 0.10); color: #b42318; border-color: rgba(214, 57, 57, 0.22); }

.err-code {
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.9;
  font-size: clamp(5.5rem, 16vw, 9.5rem);
  background: linear-gradient(160deg, var(--mk-ink) 30%, var(--mk-primary) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.err-title { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 8px 0 12px; color: var(--mk-ink); }
.err-lead { color: var(--mk-muted); font-size: 1.05rem; line-height: 1.65; max-width: 30rem; margin: 0 auto 28px; }

/* Faux terminal */
.err-term {
  text-align: left; border-radius: 12px; overflow: hidden; margin: 0 auto 30px;
  max-width: 30rem; border: 1px solid var(--mk-line);
  background: var(--mk-dark); box-shadow: 0 18px 44px rgba(11, 23, 38, 0.22);
}
.err-term-bar { display: flex; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.err-term-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.err-term-bar span:first-child { background: #ff5f57; }
.err-term-bar span:nth-child(2) { background: #febc2e; }
.err-term-bar span:nth-child(3) { background: #28c840; }
.err-term-body {
  margin: 0; padding: 16px 18px; color: #cdd6d0; background: transparent;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem; line-height: 1.6; white-space: pre-wrap; word-break: break-all;
}
.err-term-body .t-dim { color: #6c7a72; }
.err-term-body .t-accent { color: #5cc9d8; }
.err-term-body .t-warn { color: #febc2e; font-weight: 600; }
.err-term-body .t-danger { color: #ff7a70; font-weight: 600; }

.err-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
/* mk-landing sets a dark inherited color; keep the primary CTA's label + icon white. */
.err-actions .btn-primary { color: #fff; }
.err-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; font-size: 0.9rem; }
.err-links a { color: var(--mk-primary); font-weight: 500; text-decoration: none; }
.err-links a:hover { color: var(--mk-primary-d); text-decoration: underline; }
