/* UvioCall website, 2026 redesign (direction C: blue-to-violet gradient). Marketing pages only (body.mk2): Home, Features, How it works.
   Loaded after /call.css. Light is the standard; dark follows the device or the Dark mode button (html[data-theme], set by /theme.js).
   Nothing here touches the app pages. Styles live in this file (the production CSP blocks inline styles). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/figtree-latin-800-normal.woff2") format("woff2"); }

body.mk2 {
  --s-bg: #ffffff; --s-alt: #f4f7fd; --s-card: #ffffff; --s-line: #e1e7f5; --s-text: #1c2542; --s-head: #071957;
  --s-muted: #5a6385; --s-blue: #103fd3; --s-lav: #ecebff; --s-num: #c9c7ff; --s-shadow: 0 30px 60px -34px rgba(7, 25, 87, .4);
  --s-grad: linear-gradient(135deg, #071957 0%, #103fd3 52%, #807dfe 100%);
  --s-pad: clamp(20px, 4.4vw, 32px);
  background: var(--s-bg); color: var(--s-text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root[data-theme="dark"] body.mk2 {
  --s-bg: #060b26; --s-alt: #0a1030; --s-card: #0e1536; --s-line: #232c5c; --s-text: #e7ebfa; --s-head: #ffffff;
  --s-muted: #a9b3d9; --s-blue: #8fa8ff; --s-lav: #1b2250; --s-num: #2e3a86; --s-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8);
  --s-grad: linear-gradient(135deg, #050c33 0%, #0c2a9a 55%, #5b52e0 100%);
}
body.mk2 .app { height: auto; min-height: 100vh; min-height: 100dvh; }
body.mk2 main { overflow: visible; display: block; padding-bottom: 0; }
body.mk2 a { text-underline-offset: 3px; }
body.mk2 :focus-visible { outline: 3px solid #a9a7ff; outline-offset: 2px; }

/* ---- header and hero share one gradient ---- */
.m2-top { position: relative; overflow: hidden; background: var(--s-grad); color: #fff; }
.m2-top::after { content: ""; position: absolute; right: -180px; top: -220px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .2), transparent 70%); pointer-events: none; }
.m2-top > * { position: relative; z-index: 1; }
body.mk2 header.bar { position: relative; z-index: 5; background: transparent; border-bottom: 0; color: #fff; }
body.mk2 header.bar .brand, body.mk2 header.bar .brand .wm { color: #fff; font-weight: 800; letter-spacing: -.02em; font-size: 22px; }
body.mk2 header.bar .brand .wm i { color: #c9c7ff; }
body.mk2 header.bar .mk-nav a { color: rgba(255, 255, 255, .86); font-weight: 600; }
body.mk2 header.bar .mk-nav a:hover, body.mk2 header.bar .mk-nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; }
body.mk2 header.bar .mk-signin { color: #071957; background: #fff; border-color: #fff; font-weight: 700; border-radius: 999px; padding: 9px 18px; }
body.mk2 header.bar .mk-signin:hover { background: #ecebff; color: #071957; }
body.mk2 header.bar .theme-btn, body.mk2 header.bar .menu-btn { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
body.mk2 header.bar .menu-btn:hover, body.mk2 header.bar .theme-btn:hover { background: rgba(255, 255, 255, .26); color: #fff; }
body.mk2 header.bar .theme-btn { margin-left: 0; padding: 8px 14px; font-weight: 600; }
body.mk2 header.bar .mk-menu { color: var(--text); }

.m2-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--s-pad); }
.m2-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 28px; padding-bottom: 96px; }
.m2-eyebrow { display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .16); color: #fff; }
.m2-h1 { margin: 0 0 18px; font-size: clamp(36px, 7.4vw, 70px); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; color: #fff; }
.m2-h1 em { font-style: normal; color: #d9d7ff; }
.m2-lead { margin: 0 0 26px; max-width: 34em; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .9); }
.m2-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.m2-chips li { margin: 0; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.m2-cta { display: flex; flex-wrap: wrap; gap: 12px; }
body.mk2 a.m2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
body.mk2 a.m2-btn.primary { background: var(--s-blue); color: #fff; box-shadow: 0 12px 26px -10px rgba(16, 63, 211, .6); }
:root[data-theme="dark"] body.mk2 a.m2-btn.primary { background: #807dfe; color: #060b26; }
body.mk2 a.m2-btn.ghost { background: transparent; border-color: var(--s-line); color: var(--s-head); }
body.mk2 .m2-top a.m2-btn.primary, body.mk2 .m2-band a.m2-btn.primary { background: #fff; color: #071957; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
body.mk2 .m2-top a.m2-btn.ghost, body.mk2 .m2-band a.m2-btn.ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: #fff; }
.m2-art { position: relative; margin: 0; }
.m2-art img { display: block; width: 100%; height: auto; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 50px 90px -30px rgba(3, 10, 50, .7); }
.m2-float { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: #fff; color: #071957; font-size: 14px; font-weight: 700; box-shadow: 0 18px 40px -14px rgba(7, 25, 87, .45); }
.m2-float b { width: 10px; height: 10px; border-radius: 50%; background: #18a957; }
.m2-float.f1 { left: 10px; bottom: 14px; }
.m2-float.f2 { right: 10px; top: 14px; }
.m2-page-hero { padding-top: 24px; padding-bottom: 76px; }
.m2-page-hero .m2-h1 { max-width: 14em; font-size: clamp(34px, 6.4vw, 60px); }
.m2-page-hero .m2-lead { margin-bottom: 0; }

/* ---- facts strip that overlaps the hero ---- */
.m2-stat { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); margin: -48px 0 0; background: var(--s-card); border: 1px solid var(--s-line); border-radius: 24px; box-shadow: var(--s-shadow); overflow: hidden; }
.m2-stat div { padding: 20px 24px; border-bottom: 1px solid var(--s-line); }
.m2-stat div:last-child { border-bottom: 0; }
.m2-stat b { display: block; margin-bottom: 3px; font-size: 19px; font-weight: 800; color: var(--s-head); }
.m2-stat span { color: var(--s-muted); font-size: 15px; line-height: 1.45; }

/* ---- sections ---- */
.m2-sec { padding: clamp(48px, 8vw, 84px) 0; }
.m2-sec.alt { background: var(--s-alt); }
.m2-sh { max-width: 720px; margin: 0 0 36px; }
.m2-sh.c { margin-left: auto; margin-right: auto; text-align: center; }
body.mk2 .m2-sh h2, body.mk2 .m2-split h2, body.mk2 .m2-band h2, body.mk2 .m2-prose h2 { margin: 0 0 12px; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--s-head); }
.m2-sh h2 em { font-style: normal; background: linear-gradient(100deg, #103fd3, #807dfe); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .m2-sh h2 em { background: linear-gradient(100deg, #8fa8ff, #c2b8ff); -webkit-background-clip: text; background-clip: text; }
.m2-sub { margin: 0; font-size: clamp(17px, 2vw, 19px); line-height: 1.55; color: var(--s-muted); }
.m2-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.m2-card { margin: 0; padding: 26px; border: 1px solid var(--s-line); border-radius: 22px; background: var(--s-card); }
.m2-card h3 { margin: 16px 0 8px; font-size: 20px; letter-spacing: -.01em; font-weight: 800; color: var(--s-head); }
.m2-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--s-muted); }
.m2-card.grad { background: linear-gradient(150deg, #071957, #103fd3 60%, #807dfe); border-color: transparent; }
.m2-card.grad h3 { color: #fff; }
.m2-card.grad p { color: rgba(255, 255, 255, .9); }
.m2-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--s-lav); color: var(--s-blue); }
.m2-card.grad .m2-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.m2-ico svg { width: 24px; height: 24px; }

.m2-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.m2-tile { position: relative; height: 420px; margin: 0; border-radius: 26px; overflow: hidden; background: var(--s-alt); border: 1px solid var(--s-line); }
.m2-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.m2-tile figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: #1c2542; }
:root[data-theme="dark"] .m2-tile figcaption { background: rgba(6, 11, 38, .86); color: #e7ebfa; border: 1px solid rgba(169, 167, 255, .3); }
.m2-tile b { display: block; font-size: 18px; font-weight: 800; color: #071957; }
:root[data-theme="dark"] .m2-tile b { color: #fff; }
.m2-tile span { font-size: 15px; line-height: 1.4; }

.m2-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.m2-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.m2-list li { position: relative; margin: 0; padding-left: 40px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--s-text); }
.m2-list li::before { content: ""; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--s-lav); border: 1.5px solid var(--s-blue); }
.m2-list li::after { content: ""; position: absolute; left: 9px; top: 3px; width: 6px; height: 11px; border: solid var(--s-blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.m2-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.m2-pair img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--s-line); box-shadow: var(--s-shadow); }
.m2-pair img + img { margin-top: 44px; }

.m2-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.m2-step { margin: 0; padding: 28px; border: 1px solid var(--s-line); border-radius: 22px; background: var(--s-card); }
.m2-num { display: block; font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(135deg, #103fd3, #807dfe); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .m2-num { background: linear-gradient(135deg, #8fa8ff, #c2b8ff); -webkit-background-clip: text; background-clip: text; }
.m2-step h3 { margin: 12px 0 8px; font-size: 21px; font-weight: 800; color: var(--s-head); }
.m2-step p { margin: 0; line-height: 1.55; color: var(--s-muted); }

.m2-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.m2-plan { margin: 0; padding: 22px; border: 1px solid var(--s-line); border-radius: 20px; background: var(--s-card); }
.m2-plan.hot { border-color: var(--s-blue); box-shadow: 0 20px 40px -22px rgba(16, 63, 211, .55); }
.m2-plan small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); }
.m2-plan strong { display: block; margin: 6px 0 2px; font-size: 32px; letter-spacing: -.03em; color: var(--s-head); }
.m2-plan span { font-size: 15px; line-height: 1.4; color: var(--s-muted); }
.m2-fine { margin: 18px 0 0; font-size: 15px; color: var(--s-muted); }
body.mk2 .m2-fine a, body.mk2 .m2-prose a, body.mk2 .m2-sub a { color: var(--s-blue); font-weight: 600; }

.m2-faq { max-width: 820px; margin: 0 auto; }
body.mk2 .mk-q { border: 1px solid var(--s-line); border-radius: 16px; background: var(--s-card); margin: 0 0 10px; padding: 0 20px; }
body.mk2 .mk-q summary { padding: 18px 0; font-size: 18px; font-weight: 700; color: var(--s-head); }
body.mk2 .mk-q p { margin: 0 0 18px; color: var(--s-muted); line-height: 1.6; }

.m2-band { margin: clamp(48px, 8vw, 80px) 0; padding: clamp(30px, 6vw, 56px); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; border-radius: 32px; background: linear-gradient(120deg, #071957, #103fd3 65%, #807dfe); color: #fff; }
body.mk2 .m2-band h2 { margin: 0; max-width: 14em; color: #fff; }

/* ---- Features page rows ---- */
.m2-rows { display: grid; gap: 44px; padding: clamp(40px, 7vw, 72px) 0 0; }
.m2-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.m2-row h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--s-head); }
.m2-row p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--s-muted); }
.m2-row img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--s-line); box-shadow: var(--s-shadow); }

/* ---- How it works ---- */
.m2-tl { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.m2-tl li { position: relative; margin: 0; padding: 20px 22px 20px 74px; border: 1px solid var(--s-line); border-radius: 20px; background: var(--s-card); counter-increment: t; font-size: 16px; line-height: 1.55; color: var(--s-muted); }
.m2-tl li::before { content: counter(t); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #103fd3, #807dfe); color: #fff; font-weight: 800; }
.m2-tl b { display: block; margin-bottom: 3px; font-size: 19px; color: var(--s-head); }
.m2-phone { margin: 0; padding: 28px; border-radius: 26px; background: var(--s-alt); border: 1px solid var(--s-line); }
.m2-phone img { display: block; width: min(300px, 74%); height: auto; margin: 0 auto; border-radius: 26px; box-shadow: var(--s-shadow); }

/* ---- long text and the older card lists, restyled to match ---- */
.m2-prose { padding-top: clamp(40px, 7vw, 72px); }
body.mk2 .m2-prose h2 { margin-top: 64px; }
body.mk2 .m2-prose > h2:first-child { margin-top: 0; }
.m2-prose p, .m2-prose li { font-size: 17px; line-height: 1.6; }
.m2-prose p { color: var(--s-text); }
body.mk2 .mk-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.mk2 .mk-grid li { padding: 22px; border: 1px solid var(--s-line); border-radius: 20px; background: var(--s-card); box-shadow: none; }
body.mk2 .mk-grid h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--s-head); }
body.mk2 .mk-grid p { color: var(--s-muted); font-size: 16px; }
body.mk2 .fine { color: var(--s-muted); }
body.mk2 .m2-prose .fine { font-size: 14px; }

body.mk2 .mk-foot { margin-top: 0; padding: 32px var(--s-pad) 40px; border-top: 1px solid var(--s-line); color: var(--s-muted); background: var(--s-bg); }
body.mk2 .mk-foot a { color: var(--s-muted); }
body.mk2 .mk-foot a:hover { color: var(--s-head); }

/* ---- download section under the header ---- */
.m2-get { padding-bottom: clamp(36px, 6vw, 64px); }
.m2-getgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.m2-get .m2-eyebrow { background: rgba(16, 63, 211, .09); color: var(--s-blue); }
:root[data-theme="dark"] .m2-get .m2-eyebrow { background: rgba(128, 125, 254, .18); color: #c2b8ff; }
body.mk2 .m2-get h2 { margin: 0 0 14px; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--s-head); }
.m2-stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
body.mk2 a.m2-store, .m2-store.off { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 12px; background: #000; color: #fff; border: 1px solid #5c5c5c; text-decoration: none; }
.m2-store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.m2-store small { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.m2-store b { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
body.mk2 a.m2-store:hover { background: #1a1a1a; }
.m2-store.off { opacity: .6; cursor: default; }
.m2-store em { position: absolute; top: -9px; right: -6px; padding: 2px 8px; border-radius: 999px; background: var(--s-blue); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.m2-fine { margin: 0; font-size: 14px; line-height: 1.5; color: var(--s-muted); }
.m2-devices { margin: 0; }
.m2-devices img { display: block; width: 100%; height: auto; border-radius: 24px; }
@media (min-width: 900px) {
  .m2-getgrid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
}

/* ---- tablets: 700px and wider ---- */
@media (min-width: 700px) {
  .m2-stat { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -52px; border-radius: 28px; }
  .m2-stat div { border-bottom: 0; border-right: 1px solid var(--s-line); padding: 24px 28px; }
  .m2-stat div:last-child { border-right: 0; }
  .m2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m2-tile { height: 460px; }
  .m2-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m2-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.mk2 .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2-band { flex-direction: row; align-items: center; }
  .m2-float.f1 { left: -18px; bottom: 30px; }
  .m2-float.f2 { right: -14px; top: 24px; }
}
/* ---- laptops and landscape tablets: 960px and wider ---- */
@media (min-width: 960px) {
  .m2-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; padding-top: 40px; padding-bottom: 104px; }
  .m2-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .m2-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .m2-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; }
  .m2-row.rev > :first-child { order: 2; }
  .m2-rows { gap: 64px; }
  body.mk2 .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ---- small phones ---- */
@media (max-width: 480px) {
  body.mk2 header.bar .brand, body.mk2 header.bar .brand .wm { font-size: 20px; }
  body.mk2 header.bar .theme-btn { padding: 7px 11px; font-size: 12px; }
  body.mk2 header.bar .mk-signin { padding: 7px 13px; font-size: 13px; }
  .m2-hero { padding-bottom: 80px; }
  .m2-cta a.m2-btn { flex: 1 1 100%; }
  .m2-card, .m2-step { padding: 22px; }
  .m2-pair img + img { margin-top: 28px; }
  .m2-tile { height: 380px; }
  .m2-tl li { padding-left: 66px; }
  .m2-tl li::before { left: 16px; }
  .m2-band a.m2-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { body.mk2 * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- inner pages (Pricing, FAQ, Blog, USB camera pages and guides): gradient hero, then a content column ---- */
.m2-crumb { margin: 0 0 14px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.m2-crumb a { color: #fff; text-decoration: underline; }
.m2-hero-cta { margin-top: 26px; }
body.mk2 .m2-prose.mk-wrap { margin: 0 auto; }
body.mk2 .m2-prose h3 { color: var(--s-head); }
body.mk2 .m2-prose .mk-steps, body.mk2 .m2-prose .mk-list { padding-left: 24px; }
body.mk2 .m2-prose .mk-steps li, body.mk2 .m2-prose .mk-list li { margin: 10px 0; color: var(--s-text); }
body.mk2 .mk-wrap a.mk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--s-card); border: 1.5px solid var(--s-line); color: var(--s-head); }
body.mk2 .mk-wrap a.mk-btn.primary { background: var(--s-blue); border-color: var(--s-blue); color: #fff; }
:root[data-theme="dark"] body.mk2 .mk-wrap a.mk-btn.primary { background: #807dfe; border-color: #807dfe; color: #060b26; }
body.mk2 .mk-wrap a.mk-btn.primary:hover { filter: brightness(1.08); }
body.mk2 .cta-band { border: 0; border-radius: 28px; background: var(--s-alt); }
body.mk2 .pcard { border-color: var(--s-line); border-radius: 22px; }
body.mk2 .pcard.featured { border-color: var(--s-blue); }
body.mk2 .billing-toggle button.active { background: var(--s-blue); color: #fff; }
:root[data-theme="dark"] body.mk2 .billing-toggle button.active { background: #807dfe; color: #060b26; }
body.mk2 .blog-card { border-color: var(--s-line); border-radius: 22px; background: var(--s-card); }
body.mk2 .blog-card h2 { font-size: 19px; line-height: 1.3; margin: 0; letter-spacing: 0; }
body.mk2 .blog-body h2 { color: var(--s-head); }

/* Home: selectable cards (cards.js) */
.m2-cards.pick .m2-card { cursor: pointer; transition: background .25s, border-color .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.m2-cards.pick .m2-card:focus-visible { outline: 3px solid var(--s-blue); outline-offset: 3px; }
.m2-cards.pick .m2-card h3, .m2-cards.pick .m2-card p, .m2-cards.pick .m2-ico { transition: color .25s, background .25s; }

/* Home: drop shadows behind the image tiles */
body.mk2 .m2-tile { box-shadow: 0 2px 6px rgba(7, 25, 87, .10), 0 18px 40px -8px rgba(7, 25, 87, .28), 0 40px 70px -30px rgba(7, 25, 87, .35); }
:root[data-theme="dark"] body.mk2 .m2-tile { box-shadow: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 40px -8px rgba(0, 0, 0, .65), 0 40px 70px -30px rgba(0, 0, 0, .8); }

/* Home: image tiles grow slightly on hover (mouse devices only; skipped when the person prefers reduced motion) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.mk2 .m2-tile { transition: transform .3s ease, box-shadow .3s ease; will-change: transform; }
  body.mk2 .m2-tile:hover { transform: scale(1.04); z-index: 2; box-shadow: 0 4px 10px rgba(7, 25, 87, .12), 0 28px 54px -8px rgba(7, 25, 87, .36), 0 50px 80px -30px rgba(7, 25, 87, .42); }
  :root[data-theme="dark"] body.mk2 .m2-tile:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, .55), 0 28px 54px -8px rgba(0, 0, 0, .75), 0 50px 80px -30px rgba(0, 0, 0, .9); }
}
