/* digitpeak.com's stylesheet (lib/marketingSite.js renders every marketing page; plans/2026-10-12-marketing-site.md).
   The width is the app's (styles.css --content-max: 1320px with 36px gutters). The motion follows x.ai/bot, measured
   12 Oct 2026: the hero comes in from a blur over 1s, sections rise 8px and grow from 0.97 on an overshooting curve,
   menus scale in, demo windows loop. The owner lifted the no-autoplay / no-glow rule for these pages only (12 Oct
   2026); under prefers-reduced-motion every bit of it stops (the last block). Sections are visible by default: only
   .mk-js (set by site.js) hides them until they scroll in, so with no JavaScript the page reads whole. */

/* One violet with the app (styles.css: --brand-solid #5b33f5, --brand mixed 60/40 with white in
   dark; DigitPeak, owner 7 Oct 2026). --brand-solid fills the buttons; --brand is the violet used as text. */
:root {
  --brand-solid: #5b33f5;
  --brand: var(--brand-solid);
  --on-brand: #FFFFFF;
  --ink: #14161D;
  --muted: #5F6577;
  --line: #E5E8F0;
  --bg: #FFFFFF;
  --tint: #F6F8FE;
  --panel: #FFFFFF;
  --shadow: 0 18px 50px rgba(20, 22, 29, 0.10), 0 2px 6px rgba(20, 22, 29, 0.05);
  --good: #12A150; --average: #E7A400; --bad: #E5484D;
  --focus: #6B7080; /* neutral, never the violet: 4.9:1 on white (owner, 12 Oct 2026: no coloured rings) */
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --brand: color-mix(in srgb, var(--brand-solid) 60%, white); --on-brand: #FFFFFF;
    --ink: #E9EBF2; --muted: #949AAE; --line: #252A37;
    --bg: #0C0E14; --tint: #121623; --panel: #141824; --focus: #8A90A2;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
  }
}
html[data-theme="dark"] {
  --brand: color-mix(in srgb, var(--brand-solid) 60%, white); --on-brand: #FFFFFF;
  --ink: #E9EBF2; --muted: #949AAE; --line: #252A37;
  --bg: #0C0E14; --tint: #121623; --panel: #141824; --focus: #8A90A2;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* Plus Jakarta Sans, the app's one typeface (owner, 11 Oct 2026, after Zalando Sans), headings included; the system face behind it. */
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  word-spacing: 0.04em; /* Jakarta's word space is narrow; see styles.css. */
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* The browser's bold is 700 or 900; 620 is the app's bold, Jakarta's match for Manrope's 700 (styles.css). */
b, strong, th, h1, h2, h3, h4, h5, h6 { font-weight: 620; }
a { color: var(--brand); }
/* Focus: a click or a tap shows nothing; the keyboard gets one neutral ring (owner, 12 Oct 2026). A text field
   matches :focus-visible on a click too, so fields darken their border instead (.mk-tool below). */
.mk :focus:not(:focus-visible) { outline: none; }
.mk :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; }

.mk-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .mk-wrap { padding: 0 16px; } }
.mk-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---- Buttons ---- */
.mk-btn, .mk-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 560;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.15), background 0.2s;
}
.mk-btn { background: var(--brand-solid); color: var(--on-brand); border: 0; }
.mk-btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--brand-solid) 88%, black); }
.mk-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.mk-btn-ghost:hover { background: var(--tint); }
.mk-signin { color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 10px; white-space: nowrap; }
.mk-signin:hover { color: var(--brand); }

/* ---- Header ---- */
.mk-head { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s; }
.mk-head--solid { background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.mk-head-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.mk-brand { display: flex; align-items: center; flex: none; }
.mk-brand img { height: 25px; width: auto; display: block; }
.mk-logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .mk-logo-light { display: none !important; }
  html:not([data-theme="light"]) .mk-logo-dark { display: block !important; }
}
html[data-theme="dark"] .mk-logo-light { display: none !important; }
html[data-theme="dark"] .mk-logo-dark { display: block !important; }
.mk-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.mk-nav-item { position: relative; }
.mk-nav-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mk-nav-link.mk-nav-plain { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.mk-menu-btn, .mk-nav-plain {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px;
  background: none; border: 0; font: inherit; font-size: 15px; color: var(--ink); text-decoration: none; cursor: pointer;
}
.mk-menu-btn::after {
  content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.25s;
}
.mk-menu-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.mk-menu-btn:hover, .mk-nav-plain:hover, .mk-menu-btn[aria-expanded="true"] { background: var(--tint); }
.mk-head-cta { display: flex; align-items: center; gap: 6px; }
.mk-head-cta .mk-btn { height: 40px; }

/* The mega-menus (Localo's layout): groups on the left, their features in the middle, a panel on the right. */
.mk-mega {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 60;
  display: none; grid-template-columns: minmax(420px, 1fr) 260px; width: max-content; max-width: min(1000px, calc(100vw - 48px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  transform-origin: top left; animation: mk-menu-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.mk-mega-grouped { grid-template-columns: 180px minmax(480px, 1fr) 260px; }
/* Open on hover, or on click and keyboard through site.js (.open). Not :focus-within: Escape hands focus back to the
   button, and focus inside would hold the menu open. Without JS the group headings are plain links. */
.mk-nav-item:hover > .mk-mega, .mk-nav-item.open > .mk-mega { display: grid; }
.mk-nav-item.shut:hover > .mk-mega { display: none; }
.mk-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@keyframes mk-menu-in { from { opacity: 0; transform: scale(0.95) translateY(-4px); } to { opacity: 1; transform: none; } }
.mk-groups { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-right: 1px solid var(--line); }
.mk-group { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 560; font-size: 15px; }
.mk-group::after { content: "›"; color: var(--muted); }
.mk-group.on, .mk-group:hover { background: var(--tint); }
.mk-mega-main { padding: 14px; }
.mk-items { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px 8px; }
/* A group not on show stays hidden: an author display rule would otherwise beat the hidden attribute. */
.mk-items[hidden] { display: none; }
.mk-mega:not(.mk-mega-grouped) .mk-items { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.mk-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.mk-item:hover { background: var(--tint); }
.mk-item .mk-ic { flex: none; margin-top: 2px; color: var(--brand); }
.mk-item-t { display: block; font-weight: 560; font-size: 15px; line-height: 1.35; }
.mk-item-l { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.mk-mega-panel { background: var(--tint); padding: 22px; border-left: 1px solid var(--line); }
.mk-mega-pt { margin: 0 0 6px; font-weight: 620; }
.mk-mega-pl { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.mk-mega-cta { font-weight: 560; text-decoration: none; }

/* The phone menu. */
.mk-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.mk-burger span { width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.mk-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.mk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mk-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mk-phone { border-top: 1px solid var(--line); background: var(--bg); padding: 8px 16px 20px; max-height: calc(100vh - 72px); overflow-y: auto; }
.mk-ph-group { border-bottom: 1px solid var(--line); }
.mk-ph-group summary { list-style: none; padding: 14px 4px; font-weight: 560; cursor: pointer; display: flex; justify-content: space-between; }
.mk-ph-group summary::-webkit-details-marker { display: none; }
.mk-ph-group summary::after { content: "+"; color: var(--muted); }
.mk-ph-group[open] summary::after { content: "–"; }
.mk-ph-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 560; }
.mk-ph-cta { display: flex; gap: 10px; align-items: center; padding-top: 16px; }
@media (max-width: 1080px) {
  .mk-nav, .mk-head-cta { display: none; }
  .mk-burger { display: flex; }
}
@media (min-width: 1081px) { .mk-phone { display: none !important; } }

/* ---- Footer ---- */
.mk-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 56px 0 32px; color: var(--muted); font-size: 14.5px; }
.mk-foot-top { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.mk-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.mk-foot-col { display: flex; flex-direction: column; gap: 9px; }
.mk-foot-t { margin: 0 0 4px; color: var(--ink); font-weight: 620; }
.mk-foot a { color: var(--muted); text-decoration: none; }
.mk-foot a:hover { color: var(--ink); }
.mk-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; }
@media (max-width: 720px) { .mk-foot-top { grid-template-columns: 1fr; } }

/* ---- Sections ---- */
.mk-main { overflow-x: clip; }
.mk-hero { text-align: center; padding-top: 88px; padding-bottom: 40px; } /* top and bottom only: .mk-wrap owns the sides */
.mk-hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 900px; }
.mk-lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; line-height: 1.6; }
.mk-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mk-section { padding: 80px 0 0; }
.mk-section > .mk-wrap > h2, .mk-h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
.mk-sub { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 36px; }
.mk-center { text-align: center; }
.mk-center .mk-sub { margin-left: auto; margin-right: auto; }

/* The large rounded panels (x.ai): words on one side, a window on the other. */
.mk-panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; background: var(--tint); border: 1px solid var(--line); border-radius: 28px; padding: 56px; margin-top: 28px; }
.mk-panel h2, .mk-panel h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.mk-panel p { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.mk-panel .mk-more { font-weight: 560; text-decoration: none; }
.mk-panel--flip > :first-child { order: 2; }
@media (max-width: 960px) { .mk-panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; } .mk-panel--flip > :first-child { order: 0; } }

/* Numbered steps (Semrush's three-step walkthrough). */
.mk-step-n { display: inline-flex; width: 32px; height: 32px; border-radius: 999px; align-items: center; justify-content: center; background: var(--brand-solid); color: var(--on-brand); font-weight: 620; font-size: 14px; margin-bottom: 14px; }

/* Cards. */
.mk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mk-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.15), box-shadow 0.3s; }
.mk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mk-card .mk-ic { color: var(--brand); margin-bottom: 14px; }
.mk-card h3 { margin: 0 0 8px; font-size: 18px; }
.mk-card p { margin: 0; color: var(--muted); font-size: 15px; }
.mk-card a { display: inline-block; margin-top: 14px; font-weight: 560; text-decoration: none; }

/* FAQ. */
.mk-faqs { max-width: 860px; margin: 0 auto; }
.mk-faq { border-bottom: 1px solid var(--line); }
.mk-faq summary { list-style: none; cursor: pointer; padding: 22px 4px; font-size: 18px; font-weight: 560; display: flex; justify-content: space-between; gap: 16px; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform 0.3s; }
.mk-faq[open] summary::after { transform: rotate(45deg); }
.mk-faq p { margin: 0; padding: 0 4px 22px; color: var(--muted); }

/* The closing call to action. */
.mk-cta { text-align: center; padding: 72px 24px; margin-top: 96px; border-radius: 28px; background: var(--brand-solid); color: var(--on-brand); }
.mk-cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin: 0 0 12px; }
.mk-cta p { margin: 0 auto 28px; max-width: 560px; opacity: 0.88; font-size: 18px; }
.mk-cta .mk-btn { background: #FFFFFF; color: #14161D; }
.mk-cta .mk-btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); }
.mk-cta .mk-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---- Product windows: the app's look, rebuilt for the demos (lib/marketingSite.js demoWindow) ---- */
.mk-window { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.mk-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mk-window-bar i { width: 10px; height: 10px; border-radius: 999px; background: var(--line); display: inline-block; }
.mk-window-bar b { margin-left: 8px; color: var(--ink); font-weight: 560; }
.mk-window-body { padding: 20px; }
.mk-hero-window { max-width: 980px; margin: 56px auto 0; }
/* Heat map: a grid of rank pins over a soft map. */
.mk-heat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 22px; border-radius: 14px; background: color-mix(in srgb, var(--tint) 70%, var(--line)); }
.mk-pin { aspect-ratio: 1; border-radius: 999px; display: grid; place-items: center; color: #FFFFFF; font-weight: 620; font-size: 15px; max-width: 54px; margin: 0 auto; width: 100%; }
.mk-pin.good { background: var(--good); } .mk-pin.average { background: var(--average); } .mk-pin.bad { background: var(--bad); }
.mk-heat-meta { display: flex; gap: 24px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.mk-heat-meta strong { display: block; color: var(--ink); font-size: 22px; }
/* Reviews: a review arriving, then its reply drafted. */
.mk-review { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.mk-review-who { display: flex; justify-content: space-between; font-weight: 560; font-size: 14.5px; }
.mk-stars { color: var(--average); letter-spacing: 1px; }
.mk-review p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.mk-reply { border-left: 3px solid var(--brand-solid); background: var(--tint); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }
.mk-reply-t { font-weight: 560; font-size: 13px; color: var(--brand); margin-bottom: 4px; display: block; }
/* Audit: checks ticking off. */
.mk-check { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mk-check:last-child { border-bottom: 0; }
.mk-tag { font-size: 12.5px; font-weight: 560; padding: 3px 10px; border-radius: 999px; }
.mk-tag.good { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.mk-tag.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }
.mk-tag.average { color: #B07C00; background: color-mix(in srgb, var(--average) 18%, transparent); }
.mk-score { font-size: 44px; font-weight: 620; letter-spacing: -0.02em; }
/* A demo window's steps come in one by one while it is on screen (site.js); without JS they all show. */
.mk-js [data-mk-step] { transition: opacity 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15), transform 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
.mk-js [data-mk-demo] [data-mk-step]:not(.on) { opacity: 0; transform: translateY(6px) scale(0.97); }

/* ---- Motion ---- */
.mk-blur-in { animation: mk-blur-in 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mk-blur-in.mk-d1 { animation-delay: 0.12s; } .mk-blur-in.mk-d2 { animation-delay: 0.24s; } .mk-blur-in.mk-d3 { animation-delay: 0.36s; }
@keyframes mk-blur-in { from { opacity: 0; filter: blur(14px); transform: translateY(10px); } to { opacity: 1; filter: blur(0); transform: none; } }
.mk-shimmer {
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, var(--brand) 50%, var(--ink) 62%, var(--ink) 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mk-shimmer 6s linear infinite;
}
@keyframes mk-shimmer { from { background-position: 150% center; } to { background-position: -150% center; } }
.mk-reveal { transition: opacity 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15), transform 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
.mk-js .mk-reveal:not(.mk-in) { opacity: 0; transform: translateY(8px) scale(0.97); }

/* Anyone who asked their system for less motion gets none: no blur, rise, shimmer or loop, every step shown. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mk-blur-in { filter: none; opacity: 1; transform: none; }
  .mk-js .mk-reveal:not(.mk-in), .mk-js [data-mk-demo] [data-mk-step]:not(.on) { opacity: 1; transform: none; }
  .mk-shimmer { color: var(--ink); background: none; }
}
.mk-score-of { font-size: 18px; color: var(--muted); }

/* ---- Free tools (lib/marketingSite.js toolForm): the forms, and the app classes imagetools.js renders into ---- */
.mk-hero-tool { padding-bottom: 24px; }
.mk-crumb { margin: 0 0 14px; font-size: 14px; }
.mk-crumb a { text-decoration: none; }
.mk-tool { max-width: 880px; }
.mk-tool .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); margin-bottom: 18px; }
.mk-tool .form-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 14px; }
.mk-tool .form-row:last-child { margin-bottom: 0; }
.mk-tool .field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.mk-tool .form-row .field { margin-bottom: 0; }
.mk-tool label, .mk-tool legend { font-size: 14px; font-weight: 560; color: var(--ink); }
.mk-tool input[type="text"], .mk-tool input[type="url"], .mk-tool input[type="number"], .mk-tool input[type="file"], .mk-tool textarea, .mk-tool select {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%;
}
.mk-tool textarea { resize: vertical; }
.mk-tool input:focus, .mk-tool textarea:focus, .mk-tool select:focus { outline: none; border-color: var(--focus); }
.mk-tool { --fail: var(--bad); }
.mk-check-l { display: inline-flex; align-items: center; gap: 6px; margin: 4px 16px 4px 0; font-weight: 400 !important; }
.mk-tool .btn, .mk-tool .btn-secondary { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 560; cursor: pointer; text-decoration: none; }
.mk-tool .btn { background: var(--brand-solid); color: var(--on-brand); border: 0; }
.mk-tool .btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.mk-tool .btn:disabled { opacity: 0.6; cursor: default; }
.mk-tool-out pre, .mk-tool .raw-json { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow: auto; max-height: 420px; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.mk-tool-msg { color: var(--muted); font-size: 14.5px; min-height: 1.4em; }
.mk-tool .hint, .mk-tool .kpi-sub { color: var(--muted); font-size: 14px; }
.mk-tool .check-group-title { font-weight: 620; margin: 0 0 8px; }
.mk-tool .tool-batch-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mk-tool .tool-batch-head .check-group-title { margin: 0; }
.mk-tool .tool-file strong { display: block; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .mk-tool .tool-file strong { max-width: 150px; } }
.mk-tool .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.mk-tool .data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mk-tool .data-table th, .mk-tool .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.mk-tool .data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.mk-tool .wa-button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: #25D366; color: #0B2E17; font-weight: 620; text-decoration: none; }
.mk-tool input[type="range"] { accent-color: var(--brand-solid); }
/* The loader stand-in site.js gives imagetools.js (window.ZW.loadingHtml): a thin moving bar in the brand violet. */
.mk-loading { padding: 18px 0; }
.mk-loading-bar { display: block; width: 72px; height: 3px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 18%, transparent); position: relative; overflow: hidden; }
.mk-loading-bar::after { content: ""; position: absolute; inset: 0 60% 0 0; background: var(--brand); border-radius: 999px; animation: mk-load 1.2s ease-in-out infinite; }
@keyframes mk-load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---- Privacy and Terms inside the frame (their words from public/privacy.html and terms.html) ---- */
.mk-legal { max-width: 820px; padding-top: 56px; }
.mk-legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
.mk-legal h2 { font-size: 22px; margin: 40px 0 10px; }
.mk-legal h3 { font-size: 17px; margin: 24px 0 8px; }
.mk-legal p, .mk-legal li { color: var(--ink); }
.mk-legal .doc-head p, .mk-legal .muted { color: var(--muted); }
.mk-legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0; display: block; overflow-x: auto; }
.mk-legal th, .mk-legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mk-legal th { color: var(--muted); font-weight: 560; }
