/* 2Mobile Design System — component styles. Built from components/src/*.css by tools/stage_publish.py; edit the sources. */

/* ---- web-sections.css ---- */
/* ==========================================================================
   2Mobile Design System: marketing web foundation + section components
   Source: ~/Documents/2M Website 2026/build (page/sections.html, header/hdr.css,
   footer/ftr.css, ai/src_viber.html). Literal colours swapped for tokens.
   Shared classes (used by web-cards.css too): .m2-block .m2-wrap .m2-section
   .m2-section--tint .m2-dots .m2-eyebrow .m2-h2 .m2-h3 .m2-h4 .m2-lead .m2-head
   .m2-btn .m2-btn__disc .m2-btn--glass .m2-btn--sm .m2-go .m2-glass .m2-chip
   .m2-reveal
   ========================================================================== */

/* ---------- 1. Block root + page colour --------------------------------- */
.m2-block {
  box-sizing: border-box;
  --page: var(--page-pogovorni);
  --page-tint: var(--page-pogovorni-tint);
  --page-ink: var(--page-pogovorni-ink);
  /* section dots: page colour pulled toward navy (light) */
  --page-dot: color-mix(in srgb, var(--page) 45%, var(--ink-navy));
  /* hero canvas palette: deep = page + navy .38, ink = page + navy .62 */
  --page-deep: color-mix(in srgb, var(--page) 62%, var(--ink-navy));
  --page-hero-ink: color-mix(in srgb, var(--page) 38%, var(--ink-navy));
  /* how strong page colour glows are (CTA band, hero blobs); lowered in dark */
  --page-glow: 85%;
  --mint-glow: 45%;
  container-type: inline-size;
  position: relative;
  display: block;
  width: 100%;
  background: transparent;
  color: var(--text);
  font: 400 17px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
.m2-block a { text-decoration: none; color: inherit; }

.m2-block[data-page="ai"], .m2-block [data-page="ai"] { --page: var(--page-ai); --page-tint: var(--page-ai-tint); --page-ink: var(--page-ai-ink); }
.m2-block[data-page="pogovorni"], .m2-block [data-page="pogovorni"] { --page: var(--page-pogovorni); --page-tint: var(--page-pogovorni-tint); --page-ink: var(--page-pogovorni-ink); }
.m2-block[data-page="glasovni"], .m2-block [data-page="glasovni"] { --page: var(--page-glasovni); --page-tint: var(--page-glasovni-tint); --page-ink: var(--page-glasovni-ink); }
.m2-block[data-page="viber"], .m2-block [data-page="viber"] { --page: var(--page-viber); --page-tint: var(--page-viber-tint); --page-ink: var(--page-viber-ink); }
.m2-block[data-page="sms"], .m2-block [data-page="sms"] { --page: var(--page-sms); --page-tint: var(--page-sms-tint); --page-ink: var(--page-sms-ink); }
.m2-block[data-page="ostale"], .m2-block [data-page="ostale"] { --page: var(--page-ostale); --page-tint: var(--page-ostale-tint); --page-ink: var(--page-ostale-ink); }
/* re-derive the mixes wherever the page changes */
.m2-block[data-page], .m2-block [data-page] {
  --page-dot: color-mix(in srgb, var(--page) 45%, var(--ink-navy));
  --page-deep: color-mix(in srgb, var(--page) 62%, var(--ink-navy));
  --page-hero-ink: color-mix(in srgb, var(--page) 38%, var(--ink-navy));
}
/* warm page rule: peach + navy turns brown, so SMS dots are coral */
.m2-block[data-page="sms"], .m2-block [data-page="sms"] { --page-dot: var(--sms-coral); --page-hero-ink: var(--sms-coral); --page-deep: var(--sms-coral); }
/* dark theme: dots and glows lean on the page colour itself */
[data-theme="dark"] .m2-block, [data-theme="dark"].m2-block { --page-glow: 35%; --mint-glow: 22%; }
[data-theme="dark"] .m2-block, [data-theme="dark"] .m2-block [data-page], [data-theme="dark"] .m2-block[data-page] {
  --page-dot: var(--page);
  --page-deep: var(--page);
  --page-hero-ink: var(--page);
}
[data-theme="dark"] .m2-block[data-page="sms"], [data-theme="dark"] .m2-block [data-page="sms"] { --page-dot: var(--sms-coral); --page-deep: var(--sms-coral); --page-hero-ink: var(--sms-coral); }

/* ---------- 2. Layout --------------------------------------------------- */
.m2-wrap { position: relative; width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--fluid-gutter); }
.m2-section { position: relative; padding: var(--fluid-section) 0; }
.m2-section--tint { background: linear-gradient(180deg, transparent 0%, var(--page-tint) 50%, transparent 100%); }
.m2-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle, var(--page-dot) 0 26%, transparent 29%);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(60% 70% at 80% 50%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 80% 50%, #000, transparent 75%);
}
.m2-dots--left {
  -webkit-mask-image: radial-gradient(60% 70% at 20% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 20% 40%, #000, transparent 75%);
}

/* ---------- 3. Typography ----------------------------------------------- */
.m2-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font: 700 13px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-text);
}
.m2-eyebrow::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 1px; background: var(--mint-signal); }
.m2-h2 { margin: 0; font: 800 var(--fluid-h2)/1.06 var(--font-display); letter-spacing: -.025em; color: var(--text-heading); text-wrap: balance; }
.m2-h2 em { font-style: normal; font-weight: 700; color: var(--text-secondary); }
.m2-h3 { margin: 0; font: 700 var(--fluid-h3)/1.25 var(--font-display); color: var(--text-heading); }
.m2-h4 { margin: 0; font: 700 18px/1.3 var(--font-sans); color: var(--text-heading); }
.m2-lead { margin: 0; font: 400 var(--fluid-lead)/1.6 var(--font-sans); color: var(--text-secondary); }
.m2-head { max-width: var(--section-head-max); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: var(--fluid-head-gap); }
.m2-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.m2-head--flush { margin-bottom: 0; }

/* ---------- 4. Surfaces ------------------------------------------------- */
.m2-glass {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
}
.m2-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--radius-pill);
  font: 700 13px/1 var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--text-heading);
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
}
.m2-chip::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint-signal) 25%, transparent); }
.m2-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* phone / device panel: the page colour as a soft stage for a demo (viber.css:193-199) */
.m2-panel {
  position: relative; overflow: hidden; isolation: isolate; width: 100%;
  display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4cqw, 48px);
  border-radius: var(--radius-xl); border: 1px solid var(--glass-border); box-shadow: var(--shadow-panel);
  background:
    radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--surface) 95%, transparent), transparent 72%),
    linear-gradient(160deg, var(--page-tint), color-mix(in srgb, var(--page) 45%, var(--surface)));
}
.m2-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .45;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--page) 70%, var(--page-dot)) 1.6px, transparent 2.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, transparent 35%, #000 95%);
  mask-image: radial-gradient(75% 75% at 50% 50%, transparent 35%, #000 95%);
}
/* a generic phone placeholder for slots (the real demos live in Conversation demos) */
.m2-phone-slot {
  width: min(250px, 70%); aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 54px 16px 16px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
}
.m2-phone-slot i { display: block; height: 34px; width: 74%; border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) 6px; background: var(--surface); box-shadow: var(--shadow-sm); }
.m2-phone-slot i:nth-child(2n) { align-self: flex-end; width: 58%; border-radius: var(--radius-bubble) var(--radius-bubble) 6px var(--radius-bubble); background: var(--ink-navy); }
.m2-phone-slot i:nth-child(3) { width: 82%; height: 52px; }

/* ---------- 5. Buttons and links (CtaButton) --------------------------- */
.m2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 220px; padding: 16px 30px; border-radius: var(--radius-pill); cursor: pointer;
  font: 600 16px/1 var(--font-sans); white-space: nowrap; text-decoration: none;
  background: var(--action); color: var(--on-action);
  border: 1px solid var(--action-border); box-shadow: var(--shadow-cta);
  transition: background-color var(--duration-hover), box-shadow var(--duration-hover);
}
.m2-block a.m2-btn, .m2-btn { color: var(--on-action); }
.m2-btn:hover, .m2-btn.is-hover { background: var(--action-hover); }
.m2-btn__disc { flex: none; width: 20px; height: 20px; transition: transform var(--duration-hover); }
.m2-btn__disc circle { fill: var(--midnight-black); }
.m2-btn__disc path { fill: none; stroke: var(--action); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m2-btn:hover .m2-btn__disc, .m2-btn.is-hover .m2-btn__disc { transform: translateX(3px); }
.m2-btn:focus-visible, .m2-btn.is-focus { outline: 3px solid var(--focus); outline-offset: 3px; }
/* secondary: glass pill, outlined disc */
.m2-btn--glass, .m2-block a.m2-btn--glass {
  background: var(--glass); color: var(--text-heading); border-color: var(--glass-border); box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.m2-btn--glass:hover, .m2-btn--glass.is-hover { background: color-mix(in srgb, var(--glass) 60%, var(--surface)); }
.m2-btn--glass .m2-btn__disc circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.m2-btn--glass .m2-btn__disc path { stroke: currentColor; }
/* small: header CTA (no disc) */
.m2-btn--sm { min-width: 0; height: 46px; padding: 0 24px; gap: 9px; font-size: 15px; }
.m2-btn--sm .m2-btn__disc { display: none; }
.m2-btn--hero { min-width: 200px; padding: 16px 28px; }
@container (max-width: 560px) {
  .m2-btn--block-sm { width: 100%; }
}
/* text link with arrow */
.m2-go {
  display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--font-sans); color: var(--mint-text);
  border-radius: 4px; text-decoration: none;
}
.m2-block a.m2-go { color: var(--mint-text); }
.m2-go svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--duration-base); }
.m2-go:hover svg, .m2-go.is-hover svg, a:hover .m2-go svg { transform: translateX(4px); }
.m2-go:focus-visible, .m2-go.is-focus { outline: 3px solid var(--focus); outline-offset: 3px; }
/* preview rows */
.m2-btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.m2-btnlab { display: block; margin: 0 0 10px; font: 600 12px/1.2 var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); }

/* ---------- 6. Scroll reveal -------------------------------------------- */
.m2-reveal { transition: opacity 800ms ease-out, transform var(--duration-reveal) var(--ease-out-expo); transition-delay: calc(var(--d, 0) * 90ms); }
.m2-block.is-js .m2-reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .m2-reveal { transition: none; }
  .m2-block.is-js .m2-reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ---------- 7. PageTheme preview --------------------------------------- */
.m2-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.m2-theme { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.m2-theme__band { position: relative; height: 120px; display: flex; align-items: flex-end; gap: 10px; padding: 14px 16px;
  background: linear-gradient(180deg, transparent 0%, var(--page-tint) 50%, var(--page-tint) 100%); }
.m2-theme__band .m2-dots { opacity: .5; -webkit-mask-image: radial-gradient(70% 90% at 80% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 90% at 80% 40%, #000, transparent 80%); }
.m2-theme__body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.m2-theme__name { margin: 0; font: 700 18px/1.2 var(--font-display); color: var(--text-heading); }
.m2-theme__sw { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 4px 10px; margin: 0; font: 500 12.5px/1.3 var(--font-mono); color: var(--text-secondary); }
.m2-theme__sw dt { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--border); }
.m2-theme__sw dd { margin: 0; }
.m2-theme__sw b { font-family: var(--font-sans); font-weight: 600; color: var(--text-heading); }
.m2-theme__ink { margin: 0; font: 700 14px/1.3 var(--font-sans); color: var(--page-ink); }
@container (max-width: 860px) { .m2-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) { .m2-themes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 8. Hero (static rendition of the .m2p canvas hero) --------- */
.m2-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; width: 100%;
  min-height: min(100vh, 920px); border-radius: var(--radius-hero); color: var(--text-heading);
  background:
    radial-gradient(42% 60% at 64% 30%, color-mix(in srgb, var(--page) var(--page-glow), transparent), transparent 70%),
    radial-gradient(32% 48% at 92% 38%, color-mix(in srgb, var(--page-deep) calc(var(--page-glow) * .5), transparent), transparent 70%),
    radial-gradient(40% 52% at 72% 100%, color-mix(in srgb, color-mix(in srgb, var(--page) 55%, var(--surface-page)) var(--page-glow), transparent), transparent 72%),
    linear-gradient(90deg, var(--surface-page) 0%, color-mix(in srgb, var(--page) 12%, var(--surface-page)) 45%, color-mix(in srgb, var(--page) 22%, var(--surface-page)) 100%);
}
.m2-hero__dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--page-hero-ink) 26%, transparent) 0 30%, transparent 33%),
    radial-gradient(circle, color-mix(in srgb, var(--page-deep) 24%, transparent) 0 22%, transparent 25%);
  background-size: max(26px, 3.4cqw) max(26px, 3.4cqw), max(52px, 6.8cqw) max(52px, 6.8cqw);
  background-position: 0 0, calc(max(26px, 3.4cqw) / 2) calc(max(26px, 3.4cqw) / 2);
  -webkit-mask-image: radial-gradient(46% 68% at 70% 45%, #000 0%, rgba(0,0,0,.55) 45%, transparent 82%);
  mask-image: radial-gradient(46% 68% at 70% 45%, #000 0%, rgba(0,0,0,.55) 45%, transparent 82%);
}
.m2-hero__inner {
  flex: 1; width: 100%; max-width: max(1320px, 92cqw); margin: 0 auto; min-height: inherit;
  padding: clamp(40px, 7vh, 88px) var(--fluid-gutter) 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 3cqw, 40px); align-items: center;
}
.m2-hero__copy { position: relative; z-index: 3; min-width: 0; padding-bottom: clamp(40px, 7vh, 88px); }
.m2-hero__title { display: block; margin: 0; overflow-wrap: break-word; font: 800 var(--fluid-hero)/1.0 var(--font-display); letter-spacing: -.025em; color: var(--text-heading); }
.m2-hero__w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .26em; margin: 0 -.08em -.26em; }
.m2-hero__w span { display: inline-block; animation: m2-rise var(--duration-rise) var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
@keyframes m2-rise { from { transform: translateY(105%); } to { transform: none; } }
.m2-hero__lead { margin: 20px 0 0; max-width: 460px; font: 500 clamp(17px, 1.45cqw, 21px)/1.45 var(--font-sans); color: var(--text-secondary);
  animation: m2-subin 900ms 500ms var(--ease-out-expo) both; }
@keyframes m2-subin { from { opacity: 0; transform: translateY(12px); } }
.m2-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; animation: m2-fade 800ms ease-out 600ms both; }
@keyframes m2-fade { from { opacity: 0; } to { opacity: 1; } }
.m2-hero__stage { position: relative; align-self: stretch; min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 0 6% 12% 8%; }
.m2-hero__bubble {
  margin: 0; max-width: min(320px, 100%); padding: 12px 16px; border-radius: var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) 6px;
  font: 500 clamp(15px, 1.1cqw, 19px)/1.4 var(--font-sans); color: var(--text-heading);
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.m2-hero__bubble--user { align-self: flex-end; border-radius: var(--radius-bubble) var(--radius-bubble) 6px var(--radius-bubble); background: var(--ink-navy); color: var(--soft-white); border-color: color-mix(in srgb, var(--ink-navy) 60%, transparent); }
.m2-hero__haze { position: absolute; right: -10%; bottom: -6%; width: 80%; height: 30%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 60%, color-mix(in srgb, var(--surface-page) 95%, transparent) 0%, color-mix(in srgb, color-mix(in srgb, var(--page) 55%, var(--surface-page)) 80%, transparent) 45%, transparent 75%); filter: blur(10px); }
@container (max-width: 860px) {
  .m2-hero { min-height: 0; }
  .m2-hero__inner { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; padding-top: clamp(40px, 7cqw, 72px); }
  .m2-hero__copy { padding-bottom: 12px; }
  .m2-hero__title { font-size: clamp(44px, 8.4cqw, 76px); }
  .m2-hero__stage { min-height: 0; height: clamp(360px, 70cqw, 560px); padding: 24px 0 15% 0; }
}
@container (max-width: 560px) {
  .m2-hero__title { font-size: clamp(38px, 11cqw, 52px); }
  .m2-hero__lead { margin-top: 12px; font-size: 16px; }
  .m2-hero__ctas { margin-top: 24px; gap: 10px; }
  .m2-hero__ctas .m2-btn { flex: 1 1 100%; padding: 13px 20px; font-size: 15px; }
  .m2-hero__bubble { padding: 9px 12px; font-size: 13px; line-height: 1.35; }
}

/* ---------- 9. Header (.m2h) ------------------------------------------- */
.m2-header { position: relative; z-index: var(--z-topbar); font: 400 15px/1.4 var(--font-sans); color: var(--text-heading); text-align: left; }
.m2-header ul { list-style: none; margin: 0; padding: 0; }
.m2-header a, .m2-header button { color: inherit; }
.m2-header button { -webkit-appearance: none; appearance: none; margin: 0; font: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.m2-header a:focus-visible, .m2-header button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-header__bar {
  position: relative; width: 100%; max-width: var(--content-wide); margin: 0 auto; border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: var(--blur-bar); backdrop-filter: var(--blur-bar);
  transition: background-color .4s, box-shadow .4s;
}
.m2-header.is-scrolled .m2-header__bar { background: color-mix(in srgb, var(--glass) 58%, var(--surface)); box-shadow: var(--shadow-hover); }
.m2-header__in { position: relative; display: flex; align-items: center; gap: 18px; height: 68px; padding: 0 10px 0 22px; transition: height .4s var(--ease-out-expo); }
.m2-header.is-scrolled .m2-header__in { height: 62px; }
.m2-header__logo { flex: none; display: flex; align-items: center; height: 100%; border-radius: 8px; }
.m2-header__logo img { display: block; height: 34px; width: auto; }
.m2-header__logo .is-dark { display: none; }
[data-theme="dark"] .m2-header__logo .is-light { display: none; }
[data-theme="dark"] .m2-header__logo .is-dark { display: block; }
.m2-header__nav { position: relative; flex: 1; display: flex; justify-content: center; min-width: 0; }
.m2-header__nav ul { position: relative; display: flex; align-items: center; gap: 2px; }
.m2-header__nav li { position: relative; }
.m2-header__hl { position: absolute; left: 0; top: 50%; height: 42px; margin-top: -21px; width: 0; border-radius: var(--radius-pill); pointer-events: none; opacity: 0;
  background: color-mix(in srgb, var(--text-heading) 6%, transparent);
  transition: transform .45s var(--ease-out-expo), width .45s var(--ease-out-expo), opacity .25s; }
.m2-header__hl.is-on { opacity: 1; }
.m2-header__top { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 15px; border-radius: var(--radius-pill);
  font: 500 15px/1 var(--font-sans); color: var(--text-heading); white-space: nowrap; }
.m2-header__top svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .35s var(--ease-out-expo), opacity .3s; }
.m2-header li.is-open .m2-header__top svg { transform: rotate(180deg); opacity: 1; }
.m2-header__top[aria-current="page"] { font-weight: 700; background: color-mix(in srgb, var(--mint-signal) 24%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mint-text) 18%, transparent); }
.m2-header__rt { flex: none; display: flex; align-items: center; gap: 8px; }
.m2-header__burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-navy); box-shadow: var(--shadow-md); }
[data-theme="dark"] .m2-header__burger { background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border-strong); }
.m2-header__burger i { position: absolute; left: 15px; width: 18px; height: 2px; border-radius: 2px; background: var(--soft-white); }
.m2-header__burger i:nth-child(1) { top: 17px; } .m2-header__burger i:nth-child(2) { top: 23px; } .m2-header__burger i:nth-child(3) { top: 29px; }
/* language switch: SL | EN with a sliding knob */
.m2-lang { position: relative; display: inline-flex; align-items: center; flex: none; height: 40px; padding: 4px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--text-heading) 7%, transparent); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--ink-navy) 8%, transparent);
  font: 700 12.5px/1 var(--font-sans); letter-spacing: .06em; color: var(--text-secondary); }
.m2-lang span { position: relative; z-index: 1; width: 38px; text-align: center; transition: color .35s; }
.m2-lang i { position: absolute; left: 4px; top: 4px; bottom: 4px; width: 38px; border-radius: var(--radius-pill); background: var(--text-heading); box-shadow: var(--shadow-md); transition: transform .5s var(--ease-out-expo); }
.m2-lang--sl span:first-of-type, .m2-lang--en span:last-of-type { color: var(--surface-page); }
.m2-lang--en i { transform: translateX(38px); }
.m2-lang--sl:hover i { transform: translateX(7px); }
.m2-lang--en:hover i { transform: translateX(31px); }
/* mega menu: one glass panel under the bar, its height morphs between menus */
.m2-header__mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); max-width: var(--content-wide); margin: 0 auto; pointer-events: none; opacity: 0;
  transform: translateY(-8px) scale(.985); transform-origin: 50% 0; transition: opacity .3s ease, transform .45s var(--ease-out-expo); }
.m2-header.is-mega .m2-header__mega { opacity: 1; transform: none; pointer-events: auto; }
.m2-header__mgi { position: relative; height: var(--mh, 360px); border-radius: 26px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 96%, transparent); border: 1px solid var(--glass-border); box-shadow: var(--shadow-menu);
  -webkit-backdrop-filter: var(--blur-menu) saturate(1.5); backdrop-filter: var(--blur-menu) saturate(1.5); transition: height .5s var(--ease-out-expo); }
.m2-header__mgi::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text-heading) 16%, transparent) 0 1.4px, transparent 2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(80% 100% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(80% 100% at 100% 0%, #000, transparent 70%); }
.m2-header__panel { position: absolute; left: 0; top: 0; width: 100%; display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(20px, 3cqw, 40px); padding: 28px 30px 30px;
  opacity: 0; visibility: hidden; transform: translateX(var(--dx, 0)); transition: opacity .3s ease, transform .5s var(--ease-out-expo), visibility 0s .3s;
  background: radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--mc, var(--periwinkle)) 55%, transparent), transparent 70%); }
.m2-header__panel--multi { background:
  radial-gradient(40% 80% at 100% 0%, color-mix(in srgb, var(--viber-lavender) 50%, transparent), transparent 70%),
  radial-gradient(40% 80% at 65% 0%, color-mix(in srgb, var(--apricot-cream) 45%, transparent), transparent 70%),
  radial-gradient(40% 80% at 30% 0%, color-mix(in srgb, var(--celadon) 40%, transparent), transparent 70%),
  radial-gradient(40% 80% at 0% 0%, color-mix(in srgb, var(--periwinkle) 45%, transparent), transparent 70%); }
.m2-header__panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease .05s, transform .5s var(--ease-out-expo), visibility 0s; }
.m2-header__pl, .m2-header__pr { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.m2-header__ph { display: inline-flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; border-radius: 8px;
  font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--text-heading); }
.m2-header__links { display: flex; flex-direction: column; gap: 2px; }
.m2-header__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; margin: 0 -12px; border-radius: 12px;
  font: 500 14.5px/1.35 var(--font-sans); color: var(--text-secondary); transition: background-color .25s, color .25s; }
.m2-header__links a:hover { background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--text-heading); }
.m2-header .m2-header__go { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .3s var(--ease-out-expo); }
.m2-header a:hover .m2-header__go, .m2-header a:focus-visible .m2-header__go { opacity: 1; transform: none; }
.m2-header__ph .m2-header__go { width: 22px; height: 22px; opacity: .55; transform: none; }
.m2-header__ph:hover .m2-header__go { opacity: 1; transform: translateX(3px); }
.m2-header__pt { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 12.5px/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-text); }
.m2-header__pt::before { content: ""; width: 22px; height: 2px; border-radius: 1px; background: var(--mint-signal); }
.m2-header__tiles { display: grid; gap: 14px; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.m2-header__tile { display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; border-radius: var(--radius-bubble);
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease-out-expo), box-shadow .45s; }
.m2-header__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.m2-header__im { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: color-mix(in srgb, var(--mc, var(--periwinkle)) 40%, var(--surface)); color: var(--ink-navy); }
.m2-header__im svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
[data-theme="dark"] .m2-header__im { color: var(--text-heading); }
.m2-header__tt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px; font: 700 15px/1.25 var(--font-display); color: var(--text-heading); }
.m2-header__tile .m2-header__go { opacity: .5; transform: none; }
.m2-header__tile:hover .m2-header__go { opacity: 1; transform: translateX(3px); }
@container (max-width: 1180px) { .m2-header__top { padding: 0 11px; font-size: 14.5px; } .m2-header__in { gap: 12px; } }
@container (max-width: 1000px) {
  .m2-header__nav, .m2-header__mega { display: none; }
  .m2-header__burger { display: block; }
  .m2-header__in { justify-content: space-between; }
}
@container (max-width: 560px) {
  .m2-header__bar { border-radius: var(--radius-bubble); }
  .m2-header__in, .m2-header.is-scrolled .m2-header__in { height: 60px; padding: 0 6px 0 16px; }
  .m2-header__logo img { height: 27px; }
  .m2-header__rt .m2-lang, .m2-header__rt .m2-btn { display: none; }
  .m2-header__burger { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .m2-header *, .m2-header *::before { transition: none !important; animation: none !important; }
}

/* ---------- 10. Footer (.m2f) ------------------------------------------ */
.m2-footer { container-type: inline-size; display: block; width: 100%; font: 400 15px/1.5 var(--font-sans); color: var(--text-on-dark); text-align: left; }
.m2-footer ul { list-style: none; margin: 0; padding: 0; }
.m2-footer a { color: inherit; text-decoration: none; }
.m2-footer a:focus-visible, .m2-footer button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-footer__card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-hero) var(--radius-hero) 0 0;
  padding: clamp(28px, 5cqw, 64px) clamp(22px, 5cqw, 64px) 28px;
  background:
    radial-gradient(55% 70% at 85% 18%, color-mix(in srgb, var(--violet-twilight) 42%, transparent), transparent 70%),
    radial-gradient(50% 60% at 70% 55%, color-mix(in srgb, var(--mint-signal) 22%, transparent), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, color-mix(in srgb, var(--sky-slate-blue) 28%, transparent), transparent 70%),
    linear-gradient(160deg, var(--ink-navy) 0%, var(--midnight-black) 60%, #0C1520 100%); }
.m2-footer__card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(159,235,212,.28) 0 1.5px, transparent 2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 80% at 78% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 78% 30%, #000, transparent 75%); }
.m2-footer__lw { max-width: 1192px; margin: 0 auto; }
.m2-footer__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4cqw, 56px); align-items: center; min-height: clamp(300px, 34cqw, 440px); }
.m2-footer__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.m2-footer .m2-eyebrow { color: var(--mint-signal); }
.m2-footer__hl { margin: 0; font: 800 clamp(38px, 5.4cqw, 72px)/1.02 var(--font-display); letter-spacing: -.025em; color: var(--text-on-dark); }
.m2-footer__hl em { font-style: normal; color: var(--mint-signal); }
.m2-footer__lead { margin: 0; max-width: 460px; font: 400 clamp(16px, 1.3cqw, 19px)/1.55 var(--font-sans); color: color-mix(in srgb, var(--text-on-dark) 72%, transparent); }
.m2-footer .m2-btn { box-shadow: 0 10px 30px color-mix(in srgb, var(--mint-signal) 30%, transparent); }
.m2-footer .m2-btn:hover { box-shadow: 0 14px 36px color-mix(in srgb, var(--mint-signal) 42%, transparent); }
.m2-footer__stage { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.m2-footer__stage img { display: block; width: min(78%, 360px); height: auto; }
.m2-footer__sols { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4cqw, 48px); }
.m2-footer__sol { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; border-radius: 22px;
  background: color-mix(in srgb, var(--text-on-dark) 5%, transparent); border: 1px solid color-mix(in srgb, var(--text-on-dark) 10%, transparent);
  transition: transform .45s var(--ease-out-expo), border-color .35s, background-color .35s; }
.m2-footer__sol::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); margin-bottom: 12px; }
.m2-footer__sol i { position: absolute; z-index: -1; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--c); opacity: .18; filter: blur(30px);
  transition: opacity .45s, transform .6s var(--ease-out-expo); }
.m2-footer__nm { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 700 clamp(19px, 1.7cqw, 23px)/1.15 var(--font-display); letter-spacing: -.01em; color: var(--text-on-dark); }
.m2-footer__ds { font: 400 14px/1.45 var(--font-sans); color: color-mix(in srgb, var(--text-on-dark) 60%, transparent); }
.m2-footer__nm svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--c); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out-expo); }
.m2-footer__sol:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--text-on-dark) 8%, transparent); }
.m2-footer__sol:hover i { opacity: .42; transform: scale(1.15); }
.m2-footer__sol:hover svg { transform: translateX(4px); }
.m2-footer__mid { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin-top: clamp(26px, 3.5cqw, 40px); padding-top: clamp(22px, 3cqw, 30px); border-top: 1px solid color-mix(in srgb, var(--text-on-dark) 10%, transparent); }
.m2-footer__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.m2-footer__contact a { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font-sans); color: var(--text-on-dark); border-radius: 4px; transition: color .25s; }
.m2-footer__contact a:hover { color: var(--mint-signal); }
.m2-footer__contact svg { width: 18px; height: 18px; fill: none; stroke: var(--mint-signal); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-footer__soc { display: flex; gap: 8px; }
.m2-footer__soc a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: color-mix(in srgb, var(--text-on-dark) 7%, transparent); border: 1px solid color-mix(in srgb, var(--text-on-dark) 12%, transparent);
  color: var(--text-on-dark); transition: background-color .25s, color .25s, transform .35s var(--ease-out-expo); }
.m2-footer__soc a:hover { background: var(--mint-signal); color: var(--midnight-black); transform: translateY(-3px); }
.m2-footer__soc svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-footer__soc svg .f { fill: currentColor; stroke: none; }
.m2-footer__bot { position: relative; z-index: 2; display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 14px 28px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--text-on-dark) 8%, transparent); }
.m2-footer__bot ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.m2-footer__legal ul { justify-content: flex-end; }
.m2-footer__bot a { position: relative; display: inline-block; padding: 2px 0; font: 500 14px/1.4 var(--font-sans); transition: color .25s; }
.m2-footer__more a { color: color-mix(in srgb, var(--text-on-dark) 82%, transparent); }
.m2-footer__legal a { color: color-mix(in srgb, var(--text-on-dark) 50%, transparent); }
.m2-footer__more a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--mint-signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out-expo); }
.m2-footer__bot a:hover { color: var(--text-on-dark); }
.m2-footer__more a:hover::after { transform: none; }
.m2-footer__more a[aria-current="page"] { color: var(--mint-signal); }
.m2-footer__copyr { grid-column: 1 / -1; justify-self: center; text-align: center; margin: 18px 0 0; font: 500 12.5px/1.4 var(--font-sans); color: color-mix(in srgb, var(--text-on-dark) 50%, transparent); }
@container (max-width: 1000px) { .m2-footer__sols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 860px) {
  .m2-footer__top { grid-template-columns: minmax(0, 1fr); }
  .m2-footer__stage { order: -1; min-height: clamp(230px, 56cqw, 340px); margin: 6px 0 -4px; }
  .m2-footer__bot { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .m2-footer__bot ul, .m2-footer__legal ul { justify-content: center; }
}
@container (max-width: 560px) {
  .m2-footer .m2-btn { width: 100%; }
  .m2-footer__sols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .m2-footer__sol { padding: 18px 18px 20px; }
  .m2-footer__sol::before { display: none; }
  .m2-footer__mid { flex-direction: column; align-items: center; }
  .m2-footer__contact { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .m2-footer * { transition: none !important; animation: none !important; } }

/* ---------- 11. Value cards (.vcard) ----------------------------------- */
.m2-vcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.m2-vcard { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s, opacity 800ms ease-out; }
.m2-vcard.m2-reveal { transition: opacity 800ms ease-out, transform var(--duration-reveal) var(--ease-out-expo), box-shadow .35s; }
.m2-vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover), inset 0 1px 0 color-mix(in srgb, var(--surface) 75%, transparent); }
.m2-vcard .m2-lead { font-size: var(--fluid-lead); }
.m2-vcard__icon { width: 58px; height: 58px; flex: none; border-radius: var(--radius-md); display: grid; place-items: center; color: var(--text-heading);
  background: linear-gradient(160deg, var(--page-tint), var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-heading) 6%, transparent); }
.m2-vcard__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-vcard__icon svg .ac { stroke: var(--mint-text); }
.m2-vcard__icon svg * { stroke-dasharray: 80; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-draw) .25s; }
.m2-block.is-js .m2-vcard:not(.is-in) .m2-vcard__icon svg * { stroke-dashoffset: 80; }
@container (max-width: 1000px) { .m2-vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) { .m2-vcards { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .m2-vcard__icon svg * { transition: none; stroke-dashoffset: 0 !important; } .m2-vcard { transition: none; } }

/* ---------- 12. Step timeline (.steps) --------------------------------- */
.m2-how { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6cqw, 90px); align-items: center; }
.m2-how__demo { display: flex; justify-content: center; }
.m2-steps { position: relative; display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.m2-steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--border); }
.m2-steps::after { content: ""; position: absolute; left: 31px; top: 30px; width: 2px; height: var(--fill, 0px); background: linear-gradient(var(--mint-signal), var(--mint-text)); transition: height .8s cubic-bezier(.4, 0, .2, 1); }
.m2-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 18px 20px 18px 0; border-radius: var(--radius-bubble); transition: background-color .5s, box-shadow .5s; }
.m2-step__num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font: 800 18px/1 var(--font-display); color: var(--text-secondary); background: var(--surface); border: 2px solid var(--border); transition: all .5s; }
.m2-step__txt { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.m2-step.is-on { background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--shadow-glass); }
.m2-step.is-on .m2-step__num { color: var(--on-action); background: var(--mint-signal); border-color: var(--mint-text); box-shadow: var(--shadow-step-active); }
.m2-step.is-done .m2-step__num { color: var(--mint-text); border-color: var(--mint-signal); }
@container (max-width: 860px) { .m2-how { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .m2-step, .m2-step__num, .m2-steps::after { transition: none; } }

/* ---------- 13. Feature rows (.row) ------------------------------------ */
.m2-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6cqw, 96px); align-items: center; }
.m2-row + .m2-row { margin-top: clamp(80px, 10cqw, 140px); }
.m2-row--flip .m2-row__text { order: 2; }
.m2-row__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 520px; }
.m2-row__media { display: flex; justify-content: center; }
.m2-row__media .m2-panel { max-width: 560px; aspect-ratio: 4 / 3; }
.m2-row__card { display: flex; flex-direction: column; gap: 12px; width: min(320px, 90%); padding: 20px; }
.m2-row__card svg { width: 24px; height: 24px; fill: none; stroke: var(--mint-text); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-row__card b { font: 700 16px/1.3 var(--font-sans); color: var(--text-heading); }
.m2-row__bar { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--text-heading) 12%, transparent); }
.m2-row__bar--mint { width: 62%; background: var(--mint-signal); }
.m2-row__bar--short { width: 44%; }
@container (max-width: 860px) {
  .m2-row { grid-template-columns: minmax(0, 1fr); }
  .m2-row--flip .m2-row__text { order: 0; }
}

/* ---------- 14. FAQ ----------------------------------------------------- */
.m2-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6cqw, 90px); align-items: start; }
.m2-faq__side { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.m2-faq__ask { padding: 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-top: 10px; }
.m2-faq__item { border-bottom: 1px solid var(--border); }
.m2-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; border-radius: 8px; }
.m2-faq__item summary::-webkit-details-marker { display: none; }
.m2-faq__item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-faq__pm { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--text-heading); background: var(--page-tint);
  transition: transform .35s, background-color .35s, color .35s; }
.m2-faq__pm svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.m2-faq__pm.is-open, .m2-faq__item[open] .m2-faq__pm { transform: rotate(45deg); background: var(--mint-signal); color: var(--on-action); }
.m2-faq__ans { padding: 0 56px 24px 4px; }
.m2-faq__item[open] .m2-faq__ans { animation: m2-open .45s ease-out; }
@keyframes m2-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@container (max-width: 860px) { .m2-faq { grid-template-columns: minmax(0, 1fr); } .m2-faq__side { position: static; } }
@container (max-width: 560px) { .m2-faq__ans { padding-right: 4px; } .m2-faq__ask .m2-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .m2-faq__pm { transition: none; } .m2-faq__item[open] .m2-faq__ans { animation: none; } }

/* ---------- 15. CTA band (.cta) ---------------------------------------- */
.m2-section--cta { padding-top: 0; }
.m2-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--fluid-cta-radius); padding: clamp(56px, 7cqw, 96px) clamp(28px, 5cqw, 72px); text-align: center;
  background:
    radial-gradient(80% 120% at 85% 10%, color-mix(in srgb, var(--page) var(--page-glow), var(--surface)), transparent 60%),
    radial-gradient(70% 110% at 10% 100%, color-mix(in srgb, var(--mint-signal) var(--mint-glow), var(--surface)), transparent 60%),
    linear-gradient(160deg, var(--surface), var(--page-tint)); }
.m2-cta .m2-dots { z-index: -1; opacity: .45;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, transparent 30%, #000 80%); mask-image: radial-gradient(70% 80% at 50% 50%, transparent 30%, #000 80%); }
.m2-cta__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: var(--section-head-max); margin: 0 auto; }
.m2-cta .m2-lead { color: var(--text); }
@container (max-width: 560px) { .m2-cta .m2-btn { width: 100%; } }

/* ---------- 16. Newsletter modal (intentional addition) ---------------- */
.m2-modal { position: relative; display: grid; place-items: center; min-height: 100%; padding: 40px var(--fluid-gutter);
  background: color-mix(in srgb, var(--midnight-black) 38%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.m2-modal--fixed { position: fixed; inset: 0; z-index: var(--z-dialog); }
.m2-news { position: relative; overflow: hidden; isolation: isolate; width: min(100%, 480px); padding: 36px 32px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-menu);
  background: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--page) 45%, transparent), transparent 70%), color-mix(in srgb, var(--surface) 92%, transparent); }
.m2-news__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 0; color: var(--text-heading); background: color-mix(in srgb, var(--text-heading) 7%, transparent); transition: background-color var(--duration-base); }
.m2-news__x:hover { background: color-mix(in srgb, var(--text-heading) 12%, transparent); }
.m2-news__x:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-news__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-news__form { display: flex; flex-direction: column; gap: 14px; width: 100%; margin-top: 6px; }
.m2-news__label { font: 600 14px/1.3 var(--font-sans); color: var(--text-heading); }
.m2-news__field { display: flex; flex-direction: column; gap: 8px; }
.m2-news__input { width: 100%; height: 52px; padding: 0 20px; border-radius: var(--radius-pill); font: 400 16px/1 var(--font-sans); color: var(--text-heading);
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); transition: border-color var(--duration-base); }
.m2-news__input::placeholder { color: var(--text-secondary); }
.m2-news__input:hover { border-color: var(--text-secondary); }
.m2-news__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-color: var(--focus); }
.m2-news__input[aria-invalid="true"] { border-color: var(--danger); }
.m2-news__err { margin: 0; font: 500 13px/1.4 var(--font-sans); color: var(--danger); }
.m2-news__check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font: 400 14px/1.45 var(--font-sans); color: var(--text-secondary); cursor: pointer; }
.m2-news__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--mint-text); cursor: pointer; }
.m2-news__check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-news__check a, .m2-news__fine a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.m2-news__fine { margin: 0; font: 400 12.5px/1.45 var(--font-sans); color: var(--text-secondary); }
.m2-news .m2-btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .m2-news { animation: m2-pop var(--duration-slow) var(--ease-out-expo) both; }
  @keyframes m2-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
}

/* ---------- preview helper: padded stage for a single component -------- */
.m2-demo { padding: 32px var(--fluid-gutter); display: flex; flex-direction: column; gap: 28px; }
.m2-demo--dark { background: var(--surface-page); color: var(--text); border-radius: var(--radius-lg); padding: 24px; }
.m2-theme__sw dt.is-page { background: var(--page); }
.m2-theme__sw dt.is-tint { background: var(--page-tint); }
.m2-theme__sw dt.is-ink { background: var(--page-ink); }
.m2-theme__sw dt.is-dot { background: var(--page-dot); }
.m2-theme__band .m2-faq__pm { position: relative; }
.m2-theme__band .m2-vcard__icon { position: relative; width: 48px; height: 48px; border-radius: 14px; }
.m2-theme__band .m2-vcard__icon svg { width: 24px; height: 24px; }
[data-theme="dark"] .m2-hero__haze { display: none; }
/* header preview stage: the bar floats in a padded header section, the mega menu hangs below it */
.m2-header-stage { padding: 16px 16px 24px; min-height: 500px; }
@media (prefers-reduced-motion: reduce) {
  .m2-hero__w span, .m2-hero__lead, .m2-hero__ctas { animation: none; }
}
.m2-section--cta + .m2-section--cta { padding-top: 0; margin-top: calc(var(--fluid-section) * -.5); }
/* dark theme: the page colour itself is bright, so dot textures step back */
[data-theme="dark"] .m2-dots { opacity: .18; }
[data-theme="dark"] .m2-cta .m2-dots { opacity: .22; }



/* ---- web-cards.css ---- */
/* ==========================================================================
   2Mobile Design System: web cards + conversation demos
   PartnerCard, OfferingCard, UseCaseCard, ClientGrid, CaseStudyCard, TeamCard,
   ChatBubbles, QuickReplies, VoiceCallCard, DeviceFrame, ViberMessage.
   Source: ~/Documents/2M Website 2026/build (page/sections_home.html, ai/src_*.html,
   page/viber.css, sms.css, ost.css, zg.css, onas.css, sms/iphone.py, hero/v4.html).
   Shared classes (.m2-block, .m2-glass, .m2-h3, .m2-go, ...) live in web-sections.css.
   Raw hex values below are third-party brand / device-chrome colours only; each one is
   declared once as a scoped custom property and documented in the component README.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared bits: section dot texture used inside card scenes and device panels
   (sections.html:21-22, viber.css:197-199)
   -------------------------------------------------------------------------- */
@keyframes m2-card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes m2-card-bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes m2-card-bar { to { width: 100%; } }

/* ==========================================================================
   1. PartnerCard  (sections_home.html:11-25)
   ========================================================================== */
.m2-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.m2-partner { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); color: var(--text); }
.m2-glass.m2-partner { background: color-mix(in srgb, var(--surface) 90%, transparent); padding: 0; }
.m2-partner__logo { height: 220px; display: grid; place-items: center; border-bottom: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: radial-gradient(45% 75% at 50% 50%, color-mix(in srgb, var(--mint-signal) 20%, transparent), transparent 75%), color-mix(in srgb, var(--surface) 92%, transparent); }
.m2-partner--viber { --m2-viber-brand: #7360F2; }
.m2-partner--viber .m2-partner__logo { background: radial-gradient(45% 75% at 50% 50%, color-mix(in srgb, var(--m2-viber-brand) 16%, transparent), transparent 75%), color-mix(in srgb, var(--surface) 92%, transparent); }
.m2-partner__badgeimg { height: 164px; width: auto; filter: drop-shadow(0 14px 24px color-mix(in srgb, var(--ink-navy) 18%, transparent)); }
.m2-partner__wordmark { width: min(300px, 78%); height: auto; }
.m2-partner__body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.m2-partner__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.m2-partner__name { margin: 0; font: 700 26px/1.25 var(--font-display); color: var(--text-heading); }
.m2-partner__text { margin: 0; font: 400 var(--fluid-lead)/1.6 var(--font-sans); color: var(--text-secondary); }
.m2-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 16px; font: 700 12px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--mint-text); background: color-mix(in srgb, var(--mint-signal) 18%, transparent); border: 1px solid color-mix(in srgb, var(--mint-signal) 45%, transparent); }
.m2-badge svg { width: 16px; height: 16px; flex: none; }
.m2-partner--viber .m2-badge { color: var(--page-viber-ink); background: color-mix(in srgb, var(--m2-viber-brand) 10%, transparent); border-color: color-mix(in srgb, var(--m2-viber-brand) 32%, transparent); }
.m2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.m2-tags li, .m2-tags span { font: 600 12.5px/1 var(--font-sans); padding: 9px 12px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--border); color: var(--text); }
@container (max-width: 1000px) { .m2-partners { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 560px) { .m2-partner__logo { height: 180px; } }

/* ==========================================================================
   2. OfferingCard  (sections_home.html:26-77)
   Each card is coloured by its product line: AI = page-ai, Viber = page-viber,
   SMS = page-sms (source used blue), Ostale = page-ostale (source used peach).
   ========================================================================== */
.m2-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.m2-offer { --o: var(--page-ai); --o-tint: var(--page-ai-tint); --o-ink: var(--page-ai-ink);
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-lg); color: var(--text); text-decoration: none;
  transition: transform .4s var(--ease-out-expo), box-shadow .4s; }
.m2-glass.m2-offer { padding: 0; }
.m2-offer--viber { --o: var(--page-viber); --o-tint: var(--page-viber-tint); --o-ink: var(--page-viber-ink); }
.m2-offer--sms { --o: var(--page-sms); --o-tint: var(--page-sms-tint); --o-ink: var(--page-sms-ink); }
.m2-offer--ostale { --o: var(--page-ostale); --o-tint: var(--page-ostale-tint); --o-ink: var(--page-ostale-ink); }
.m2-offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.m2-offer:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.m2-offer__scene { position: relative; display: block; height: 210px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(160deg, var(--o-tint), color-mix(in srgb, var(--o) 60%, var(--o-tint))); }
[data-theme="dark"] .m2-offer__scene { background: linear-gradient(160deg, var(--o-tint), color-mix(in srgb, var(--o) 24%, var(--o-tint))); }
.m2-offer__scene::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--o) 45%, var(--ink-navy)) 0 26%, transparent 29%); background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent 85%); mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent 85%); }
.m2-offer__text { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.m2-offer__text .m2-go { margin-top: auto; padding-top: 4px; }
.m2-offer:hover .m2-go svg { transform: translateX(4px); }
/* AI: chat bubbles (sections_home.html:37-41) */
.m2-offer__sb { position: absolute; max-width: 72%; padding: 9px 12px; border-radius: 14px; font: 500 13px/1.35 var(--font-sans); opacity: 0; transform: translateY(10px);
  animation: m2-offer-bub 7s ease-out infinite; }
.m2-offer__sb--u { right: 18px; background: var(--ink-navy); color: var(--white); border-radius: 14px 14px 4px 14px; }
.m2-offer__sb--a { left: 18px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); border-radius: 14px 14px 14px 4px; }
@keyframes m2-offer-bub { 0% { opacity: 0; transform: translateY(10px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
/* Viber: compact business message (.m2-vmsg--mini, see ViberMessage) pops gently */
.m2-offer .m2-vmsg--mini { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: m2-offer-pop 6s ease-in-out infinite; }
@keyframes m2-offer-pop { 0%, 100% { transform: translate(-50%, -50%) scale(.98); } 50% { transform: translate(-50%, -53%) scale(1); } }
/* SMS: iOS-style notification with the OTP digits (sections_home.html:55-63) */
.m2-offer__notif { --m2-ios-green: #34C759;
  position: absolute; left: 50%; top: 50%; width: min(240px, 86%); transform: translate(-50%, -50%); padding: 12px 14px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.m2-offer__nh { display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-sans); color: var(--text-secondary); }
.m2-offer__nh i { color: var(--white); width: 20px; height: 20px; border-radius: 6px; background: var(--m2-ios-green); display: grid; place-items: center; }
.m2-offer__nh i svg { width: 12px; height: 12px; }
.m2-offer__nh span { margin-left: auto; }
.m2-offer__nt { display: block; margin-top: 8px; font: 500 12.5px/1.35 var(--font-sans); color: var(--text); }
.m2-offer__otp { display: flex; gap: 5px; margin-top: 9px; }
.m2-offer__otp b { width: 26px; height: 32px; border-radius: 7px; background: var(--o-tint); display: grid; place-items: center; font: 800 15px/1 var(--font-display); color: var(--text); opacity: 0;
  animation: m2-offer-dig 6s ease-out infinite; animation-delay: calc(var(--i, 0) * .18s); }
@keyframes m2-offer-dig { 0% { opacity: 0; transform: translateY(6px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* Ostale: a browser window with a self-drawing chart + an e-mail tile (sections_home.html:64-73) */
.m2-offer__web { position: absolute; left: 12%; right: 12%; top: 18%; bottom: 14%; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.m2-offer__wb { height: 18px; display: flex; gap: 4px; align-items: center; padding: 0 8px; background: var(--o-tint); }
.m2-offer__wb i { width: 6px; height: 6px; border-radius: 50%; background: var(--o); }
.m2-offer__web svg { display: block; width: 100%; height: calc(100% - 18px); }
.m2-offer__web .m2-offer__bar1 { fill: var(--o); }
.m2-offer__web .m2-offer__bar2 { fill: var(--o-tint); }
.m2-offer__line { fill: none; stroke: var(--o-ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: m2-offer-draw 6s var(--ease-draw) infinite; }
@keyframes m2-offer-draw { 0% { stroke-dashoffset: 240; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 240; } }
.m2-offer__mail { position: absolute; right: 8%; bottom: 8%; width: 58px; height: 42px; border-radius: 9px; background: var(--o-ink); color: var(--surface);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--o-ink) 35%, transparent); display: grid; place-items: center; animation: m2-offer-pop2 4s ease-in-out infinite; }
.m2-offer__mail svg { width: 28px; height: 22px; }
@keyframes m2-offer-pop2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@container (max-width: 1000px) { .m2-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) { .m2-offers { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   3. UseCaseCard  (sections.html:40-47 .vcard, sections_home.html "Kje pomagamo")
   ========================================================================== */
.m2-usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.m2-usecase { display: flex; flex-direction: column; gap: 14px; border-radius: var(--radius-lg); color: var(--text); transition: transform .4s var(--ease-out-expo), box-shadow .4s; }
.m2-glass.m2-usecase { padding: 30px 28px 32px; }
.m2-usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.m2-usecase__icon { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--page-tint, var(--page-pogovorni-tint)), var(--surface)); box-shadow: inset 0 0 0 1px var(--border); color: var(--text); }
.m2-usecase__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-usecase__icon .m2-ac { stroke: var(--mint-text); }
.m2-usecase__title { margin: 0; font: 700 18px/1.3 var(--font-sans); color: var(--text-heading); }
.m2-usecase__text { margin: 0; font: 400 var(--fluid-lead)/1.6 var(--font-sans); color: var(--text-secondary); }
@container (max-width: 1000px) { .m2-usecases { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   4. ClientGrid  (sections_home.html:79-157, build_home.py:20-56)
   ========================================================================== */
.m2-clients { display: flex; flex-direction: column; }
.m2-clients__tabs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 20px 30px; margin: -10px -20px -4px; scroll-padding-inline: 20px; scrollbar-width: none; }
.m2-clients__tabs::-webkit-scrollbar { display: none; }
/* logo tiles stay light in both themes: client logos are dark-on-transparent artwork */
.m2-clients__tab { position: relative; flex: none; display: grid; place-items: center; width: 132px; height: 62px; padding: 0 14px; border-radius: var(--radius-md); cursor: pointer; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--white) 95%, transparent); background: color-mix(in srgb, var(--white) 60%, transparent); box-shadow: var(--shadow-sm);
  transition: background-color .3s, box-shadow .3s, transform .3s; font: inherit; color: inherit; }
.m2-clients__tab img { display: block; width: 96px; height: 30px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.m2-clients__tab:hover img, .m2-clients__tab[aria-selected="true"] img { filter: none; opacity: 1; }
.m2-clients__tab[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.m2-clients__tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.m2-clients__pr { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--mint-signal), var(--mint-text)); }
.m2-clients__tab[aria-selected="true"] .m2-clients__pr { animation: m2-card-bar 5.5s linear forwards; }
.m2-clients__panels { display: grid; }
.m2-clients__case { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 22px; align-items: stretch; }
.m2-clients__case[hidden] { display: none; }
.m2-clients__info { display: flex; flex-direction: column; gap: 14px; justify-content: center; border-radius: var(--radius-lg); }
.m2-glass.m2-clients__info { padding: 34px 32px; }
.m2-clients__logo { display: block; width: 190px; max-width: 100%; height: 46px; object-fit: contain; object-position: left center; margin-bottom: 6px; }
.m2-clients__media { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 24px 50px color-mix(in srgb, var(--ink-navy) 12%, transparent); }
.m2-clients__also { display: flex; align-items: center; gap: clamp(20px, 3cqw, 40px); margin-top: clamp(40px, 5cqw, 64px); padding-top: clamp(28px, 3.5cqw, 40px); border-top: 1px solid var(--border); }
.m2-clients__also .m2-eyebrow { flex: none; white-space: nowrap; }
.m2-clients__logos { flex: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 2cqw, 28px); align-items: center; margin: 0; padding: 0; list-style: none; }
.m2-clients__lt { display: grid; place-items: center; height: 56px; min-width: 0; border-radius: 12px; }
.m2-clients__lt img { width: 100%; max-width: 104px; height: 40px; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .3s, opacity .3s; }
.m2-clients__lt:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .m2-clients__lt { background: color-mix(in srgb, var(--white) 88%, transparent); padding: 0 10px; }
[data-theme="dark"] .m2-clients__lt img { opacity: .7; }
@container (max-width: 1000px) { .m2-clients__also { flex-direction: column; align-items: flex-start; } .m2-clients__logos { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (max-width: 860px) { .m2-clients__case { grid-template-columns: minmax(0, 1fr); } .m2-glass.m2-clients__info { padding: 24px; } .m2-clients__tab { width: 108px; height: 54px; } .m2-clients__tab img { width: 76px; height: 28px; } .m2-clients__media { border-radius: 22px; } }
@container (max-width: 560px) { .m2-clients__logos { gap: 10px 14px; } }

/* ==========================================================================
   5. CaseStudyCard + testimonial quote  (zg.css:8-11,56-76; onas.css:37-63)
   Category inks are the system's accessible page inks (replace #B8661B / #2F8A4A).
   ========================================================================== */
.m2-story { --cc: var(--page-pogovorni); --cd: var(--page-pogovorni-ink); --cl: var(--page-pogovorni-tint); }
.m2-story[data-cat="sms"] { --cc: var(--page-sms); --cd: var(--page-sms-ink); --cl: var(--page-sms-tint); }
.m2-story[data-cat="web"] { --cc: var(--page-ostale); --cd: var(--page-ostale-ink); --cl: var(--page-ostale-tint); }
.m2-story[data-cat="viber"] { --cc: var(--page-viber); --cd: var(--page-viber-ink); --cl: var(--page-viber-tint); }
.m2-stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.m2-story { position: relative; min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); color: var(--text); transition: transform .4s var(--ease-out-expo), box-shadow .4s; }
.m2-glass.m2-story { padding: 10px 10px 20px; }
.m2-story:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.m2-story__cover { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--cl); }
.m2-story__cover::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(circle, color-mix(in srgb, var(--cc) 40%, var(--ink-navy)) 0 1.6px, transparent 2.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, transparent 40%, #000 90%); mask-image: radial-gradient(60% 60% at 50% 50%, transparent 40%, #000 90%); }
.m2-story__cover > img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out-expo); }
.m2-story:hover .m2-story__cover > img { transform: scale(1.04); }
/* logo cover (no illustration yet): logo on a white plate */
.m2-story__plate { position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 2 / 1; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-md); }
.m2-story__plate img { width: 72%; height: 60%; object-fit: contain; }
.m2-story__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 8px 0; flex: 1; }
.m2-story__tag { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--cd); }
.m2-story__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc) 40%, transparent); }
.m2-story__name { margin: 0; font: 700 clamp(19px, 1.5cqw, 22px)/1.25 var(--font-display); color: var(--text-heading); }
.m2-story__result { margin: 0; font: 500 15px/1.45 var(--font-sans); color: var(--text-secondary); }
.m2-story__go { margin-top: auto; padding: 10px 0 0; display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--font-sans); color: var(--text); background: none; border: 0; cursor: pointer; text-align: left; }
.m2-story__go::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.m2-story__go:focus-visible { outline: none; }
.m2-story:has(.m2-story__go:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-story__go span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: var(--on-action); transition: transform .4s var(--ease-out-expo), background-color .3s; }
.m2-story__go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m2-story.is-open { box-shadow: 0 0 0 2px var(--mint-text), var(--shadow-hover); }
.m2-story.is-open .m2-story__go span { transform: rotate(45deg); background: var(--ink-navy); color: var(--white); }
@container (max-width: 1140px) { .m2-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (max-width: 860px) { .m2-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) { .m2-stories { grid-template-columns: minmax(0, 1fr); } }

.m2-quote { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); color: var(--text); margin: 0; }
.m2-glass.m2-quote { padding: clamp(30px, 4cqw, 52px); }
.m2-quote__mark { width: 48px; height: 36px; flex: none; margin-bottom: 18px; fill: var(--mint-text); }
.m2-quote__text { margin: 0; padding: 0; border: 0; font: 600 clamp(19px, 1.75cqw, 25px)/1.45 var(--font-display); letter-spacing: -.005em; color: var(--text-heading); }
.m2-quote__by { display: flex; align-items: center; gap: 14px; margin-top: 26px; font: 500 14px/1.35 var(--font-sans); color: var(--text-secondary); }
.m2-quote__by b { display: block; font: 700 16px/1.25 var(--font-sans); color: var(--text-heading); }
.m2-quote__av { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--page-tint, var(--page-ai-tint));
  font: 700 18px/1 var(--font-display); color: var(--text-heading); box-shadow: 0 0 0 3px var(--action), var(--shadow-md); }
.m2-quote__av img { width: 100%; height: 100%; object-fit: cover; }
.m2-quote__bar { position: absolute; left: clamp(30px, 4cqw, 52px); right: clamp(30px, 4cqw, 52px); bottom: 18px; height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.m2-quote__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint-signal), var(--mint-text)); animation: m2-card-bar var(--t, 8s) linear forwards; }
.m2-quote:hover .m2-quote__bar i { animation-play-state: paused; }

/* ==========================================================================
   6. TeamCard: flip card  (onas.css:15-35)
   ========================================================================== */
.m2-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.m2-team > li { perspective: 1400px; }
.m2-flip { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
.m2-flip__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.m2-flip[aria-pressed="true"] .m2-flip__in { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .m2-flip:hover .m2-flip__in { transform: rotateY(180deg); }
  .m2-flip[aria-pressed="true"]:hover .m2-flip__in { transform: none; }
}
.m2-flip__face { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(160deg, var(--pearl-aqua), var(--mint-signal)); box-shadow: 0 20px 44px color-mix(in srgb, var(--ink-navy) 14%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--white) 35%, transparent); }
.m2-flip__face--back { transform: rotateY(180deg); background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--mint-signal) 28%, transparent), transparent 60%), linear-gradient(160deg, var(--ink-navy), var(--midnight-black)); color: var(--text-on-dark); }
.m2-flip__face > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.m2-flip__face > img.m2-flip__chuck { inset: 8% 10% 16%; width: 80%; height: 76%; object-fit: contain; filter: drop-shadow(0 14px 18px color-mix(in srgb, var(--ink-navy) 22%, transparent)); }
.m2-flip__face--back > img.m2-flip__chuck { inset: auto 6% 12% auto; width: 54%; height: auto; }
.m2-flip__initials { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12%; font: 800 clamp(48px, 6cqw, 72px)/1 var(--font-display); letter-spacing: -.025em; color: var(--ink-navy); }
.m2-flip__details { position: absolute; left: 22px; right: 22px; top: 22px; display: flex; flex-direction: column; gap: 8px; }
.m2-flip__name { margin: 0; font: 800 clamp(22px, 2cqw, 28px)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--text-on-dark); }
.m2-flip__role { margin: 0; font: 400 15px/1.5 var(--font-sans); color: var(--text-on-dark-muted); }
.m2-flip__lb { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--radius-pill); font: 700 12.5px/1 var(--font-sans); color: var(--ink-navy);
  background: color-mix(in srgb, var(--white) 78%, transparent); border: 1px solid color-mix(in srgb, var(--white) 95%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.m2-flip__lb i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.m2-flip__face--back .m2-flip__lb i { background: var(--hot-fuchsia); box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot-fuchsia) 50%, transparent); animation: m2-flip-live 1.6s infinite; }
@keyframes m2-flip-live { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.m2-flip__tw { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-navy);
  background: color-mix(in srgb, var(--white) 78%, transparent); border: 1px solid color-mix(in srgb, var(--white) 95%, transparent); transition: transform .5s var(--ease-out-expo); }
.m2-flip:hover .m2-flip__tw { transform: rotate(180deg); }
.m2-flip__tw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-flip:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 28px; }
@container (max-width: 1000px) { .m2-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  /* no flip: the front fills the card, the details sit on the lower part, both visible */
  .m2-flip__in, .m2-flip:hover .m2-flip__in, .m2-flip[aria-pressed="true"] .m2-flip__in { transform: none; transition: none; }
  .m2-flip__face--back { transform: none; top: auto; height: 46%; border-radius: 0 0 28px 28px; box-shadow: none; }
  .m2-flip__details { top: 16px; }
  .m2-flip__face--front .m2-flip__lb, .m2-flip__tw { display: none; }
  .m2-flip__face--back .m2-flip__lb i { animation: none; }
}

/* ==========================================================================
   7. ChatBubbles  (src_viber.html:67-77, src.html:49-51; Chuck widget styles.css:120-125)
   ========================================================================== */
.m2-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.m2-bubble { align-self: flex-start; max-width: 100%; padding: 12px 16px; border-radius: 20px 20px 20px 6px; font: 500 clamp(15px, .84vw, 19px)/1.4 var(--font-sans); color: var(--text);
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform-origin: 0 100%; }
.m2-bubble--user { align-self: flex-end; background: var(--ink-navy); color: var(--white); border-color: color-mix(in srgb, var(--ink-navy) 60%, transparent); border-radius: 20px 20px 6px 20px; transform-origin: 100% 100%; }
[data-theme="dark"] .m2-bubble--user { border-color: var(--border-strong); }
.m2-bubble--human { background: var(--glass-product); }
/* pop-in: add .m2-bubble--pop, then .is-in (src_viber.html:71-73) */
.m2-bubble--pop { opacity: 0; transform: translate(var(--fx, -40px), var(--fy, 60px)) scale(.4); transition: opacity .45s ease-out, transform .7s var(--ease-pop); }
.m2-bubble--pop.m2-bubble--user { --fx: 40px; }
.m2-bubble--pop.is-in { opacity: 1; transform: none; }
.m2-bubble__who { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font: 600 12.5px/1 var(--font-sans); color: var(--mint-text); }
.m2-bubble__who i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font: 700 11px/1 var(--font-display); font-style: normal; color: var(--ink-navy); background: var(--soft-periwinkle); }
.m2-typing { display: flex; gap: 5px; padding: 4px 2px; }
.m2-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text); animation: m2-typing 1s ease-in-out infinite; }
.m2-typing i:nth-child(2) { background: var(--mint-text); animation-delay: .12s; }
.m2-typing i:nth-child(3) { animation-delay: .24s; }
@keyframes m2-typing { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
/* Chuck avatar: a white-to-mint disc with Chuck's head and a pulsing mint glow */
.m2-avatar { position: relative; display: block; width: 40px; height: 40px; flex: none; border-radius: 50%; animation: m2-avatar-glow 2.8s ease-in-out infinite; }
.m2-avatar--sm { width: 22px; height: 22px; }
.m2-avatar__disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, var(--white) 0%, var(--page-ai-tint) 70%); }
[data-theme="dark"] .m2-avatar__disc { background: radial-gradient(circle at 50% 35%, var(--white) 0%, var(--pearl-aqua) 70%); }
.m2-avatar__disc img { position: absolute; width: 150%; max-width: none; height: auto; left: -25%; top: -6%; display: block; user-select: none; -webkit-user-drag: none; }
@keyframes m2-avatar-glow {
  0%, 100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--mint-signal) 55%, transparent), 0 0 10px 2px color-mix(in srgb, var(--mint-signal) 35%, transparent); }
  50% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--mint-signal) 80%, transparent), 0 0 18px 5px color-mix(in srgb, var(--mint-signal) 50%, transparent); }
}
.m2-chat-row { display: flex; align-items: flex-end; gap: 10px; }
@container (max-width: 600px) { .m2-bubble { padding: 9px 12px; font-size: 13px; line-height: 1.35; } }

/* ==========================================================================
   8. QuickReplies  (src.html:53-56)
   ========================================================================== */
.m2-qr { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.m2-qr__btn { white-space: nowrap; padding: 9px 16px; border-radius: var(--radius-pill); font: 600 clamp(14px, .78vw, 17px)/1 var(--font-sans); color: var(--text); cursor: pointer;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: background-color .35s, box-shadow .35s; }
.m2-qr__btn:hover { background: color-mix(in srgb, var(--page, var(--page-pogovorni)) 30%, var(--glass)); }
.m2-qr__btn[aria-pressed="true"] { background: color-mix(in srgb, var(--page, var(--page-pogovorni)) 62%, transparent); box-shadow: var(--shadow-hover); }
[data-theme="dark"] .m2-qr__btn[aria-pressed="true"] { background: color-mix(in srgb, var(--page, var(--page-pogovorni)) 28%, transparent); border-color: color-mix(in srgb, var(--page, var(--page-pogovorni)) 60%, transparent); }
.m2-qr__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@container (max-width: 600px) { .m2-qr__btn { padding: 8px 12px; font-size: 13px; } }

/* ==========================================================================
   9. VoiceCallCard  (hero/v4.html:351-385 voice screen; src_voice.html:40-50 ring)
   Always dark; text pairs are checked on #1C2D44.
   ========================================================================== */
.m2-call { --spk: var(--mint-signal); position: relative; width: 100%; max-width: 390px; padding: 22px 20px 26px; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; color: var(--white); text-align: center;
  background: linear-gradient(180deg, var(--ink-navy), var(--midnight-black)); box-shadow: var(--shadow-lg); }
.m2-call[data-speaker="caller"] { --spk: var(--hot-fuchsia); }
.m2-call::before { content: ""; position: absolute; left: 50%; top: 188px; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--spk) 22%, transparent), transparent); transition: background .5s; }
.m2-call__pill { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 14px 0 12px; border-radius: 15px; font: 600 14px/1 var(--font-sans); color: var(--cherry-blossom);
  background: color-mix(in srgb, var(--hot-fuchsia) 16%, transparent); }
.m2-call__pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--hot-fuchsia); animation: m2-call-dot 1.6s ease-in-out infinite; }
@keyframes m2-call-dot { 50% { transform: scale(1.25); } }
.m2-call__stage { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin: 44px 0 26px; }
.m2-call__ring { position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--spk) 45%, transparent); opacity: 0; animation: m2-call-ring 1.25s linear infinite; }
.m2-call__ring:nth-child(2) { animation-delay: -.42s; }
.m2-call__ring:nth-child(3) { animation-delay: -.83s; }
@keyframes m2-call-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.06); opacity: 0; } }
.m2-call__av { position: relative; width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, var(--white), var(--pearl-aqua) 75%);
  box-shadow: 0 0 30px color-mix(in srgb, var(--spk) 70%, transparent); transition: box-shadow .5s; }
.m2-call__av img { position: absolute; width: 130%; max-width: none; left: -15%; top: 2%; }
.m2-call__name { margin: 0; font: 800 24px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--white); }
.m2-call__state { margin: 6px 0 0; font: 400 14px/1.3 var(--font-sans); color: var(--text-on-dark-muted); font-variant-numeric: tabular-nums; }
.m2-call__wave { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 64px; margin: 18px 0 14px; padding: 0 20px; }
.m2-call__wave b { width: 5px; height: 6px; border-radius: 2.5px; background: color-mix(in srgb, var(--white) 28%, transparent); transition: background-color .3s; }
.m2-call:not([data-speaker="idle"]) .m2-call__wave b { background: var(--spk); animation: m2-call-wave .9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -73ms); }
@keyframes m2-call-wave { 0%, 100% { height: 6px; } 50% { height: calc(10px + var(--h, .6) * 50px); } }
.m2-call__lines { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; }
.m2-call__line { padding: 12px 16px 13px; border-radius: 18px; background: color-mix(in srgb, var(--white) 8%, transparent); font: 500 14.5px/1.32 var(--font-sans); color: var(--white); }
.m2-call__line b { display: block; margin-bottom: 6px; font: 600 12.5px/1 var(--font-sans); color: var(--mint-signal); }
.m2-call__line--caller b { color: var(--cherry-blossom); }
.m2-call__line[hidden] { display: block; visibility: hidden; }
.m2-call__keys { display: flex; justify-content: center; gap: 46px; margin-top: 26px; }
.m2-call__key { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: color-mix(in srgb, var(--white) 14%, transparent); border: 0; cursor: pointer; }
.m2-call__key--end { background: var(--hot-fuchsia); }
.m2-call__key svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-call__key:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[data-theme="dark"] .m2-call { box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); }

/* ==========================================================================
   10. DeviceFrame: page-tinted panel + HTML iPhone + iPad
       (viber.css:193-207, ost.css:244-250, sms/iphone.py:77-101, ost.css:249-264)
   ========================================================================== */
.m2-devpanel { --p: var(--page, var(--page-pogovorni)); --pt: var(--page-tint, var(--page-pogovorni-tint)); --pi: var(--page-ink, var(--page-pogovorni-ink));
  position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3cqw, 40px); width: 100%; padding: clamp(22px, 2.4cqw, 32px) 18px;
  border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--surface) 95%, transparent), transparent 72%), linear-gradient(160deg, var(--pt), color-mix(in srgb, var(--p) 45%, var(--surface)));
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-panel), inset 0 1px 0 color-mix(in srgb, var(--white) 80%, transparent); }
.m2-devpanel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--p) 70%, var(--pi)) 1.6px, transparent 2.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, transparent 35%, #000 95%); mask-image: radial-gradient(75% 75% at 50% 50%, transparent 35%, #000 95%); }
[data-theme="dark"] .m2-devpanel { background: radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--p) 14%, var(--surface)), transparent 72%), linear-gradient(160deg, var(--pt), color-mix(in srgb, var(--p) 20%, var(--surface))); }
.m2-devpanel > * { animation: m2-card-float 6s ease-in-out infinite; }
.m2-devpanel > * + * { animation-delay: -3s; }
.m2-devpanel > .m2-ipad { animation-duration: 7s; }
.m2-devpanel--one .m2-phone { width: min(76%, 280px); }

/* HTML iPhone: everything scales with the phone's width (container units).
   Device chrome and iOS Messages colours are Apple UI, not brand colours. */
.m2-phone { --ios-bezel-1: #5B5A70; --ios-bezel-2: #2A2A36; --ios-bezel-3: #3E3D52; --ios-rim: #1A1A22; --ios-grey: #E9E9EB; --ios-fill: #F2F2F4; --ios-label2: #8E8E93; --ios-green: #34C759; --ios-link: #0A63D8; --ios-ink: #000; --ios-avatar-1: #B7BCC7; --ios-avatar-2: #9298A6;
  container: m2phone / inline-size; display: block; flex: none; width: min(47%, 280px); aspect-ratio: 486 / 1000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--font-sans); -webkit-font-smoothing: antialiased;
  filter: drop-shadow(0 16px 24px color-mix(in srgb, var(--ink-navy) 16%, transparent)); }
.m2-phone__body { width: 100%; height: 100%; padding: 2.4cqw; border-radius: 15.5cqw; background: linear-gradient(145deg, var(--ios-bezel-1), var(--ios-bezel-2) 40%, var(--ios-bezel-3)); box-shadow: inset 0 0 0 .6cqw var(--ios-rim); }
.m2-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 13.4cqw; background: var(--white); overflow: hidden; display: flex; flex-direction: column; color: var(--ios-ink); }
.m2-phone__status { display: flex; align-items: center; justify-content: space-between; flex: none; height: 11.5cqw; padding: 4.4cqw 7.5cqw 0 9.5cqw; font-weight: 600; font-size: 3.9cqw; line-height: 1; letter-spacing: -.01em; }
.m2-phone__icons { display: flex; align-items: center; gap: 1.3cqw; }
.m2-phone__icons svg { width: 4.4cqw; height: 3cqw; fill: currentColor; }
.m2-phone__bat { position: relative; width: 6.4cqw; height: 3.1cqw; border-radius: .9cqw; border: .3cqw solid color-mix(in srgb, var(--ios-ink) 35%, transparent); padding: .35cqw; }
.m2-phone__bat::before { content: ""; display: block; width: 72%; height: 100%; border-radius: .4cqw; background: currentColor; }
.m2-phone__head { position: relative; display: flex; flex-direction: column; align-items: center; flex: none; padding: 2.2cqw 0 1.6cqw; }
.m2-phone__back { position: absolute; left: 5cqw; top: 3.4cqw; width: 9.6cqw; height: 9.6cqw; border-radius: 50%; background: var(--ios-fill); display: grid; place-items: center; }
.m2-phone__back svg { width: 2.4cqw; height: 4cqw; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m2-phone__av { width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: var(--white); font: 800 4cqw/1 var(--font-display);
  background: linear-gradient(180deg, var(--ios-avatar-1), var(--ios-avatar-2)); }
.m2-phone__av svg { width: 100%; height: 100%; }
.m2-phone__name { display: inline-flex; align-items: center; gap: .8cqw; margin-top: 1.4cqw; padding: 1cqw 2.6cqw; border-radius: 99px; background: var(--ios-fill); font-weight: 600; font-size: 3.5cqw; line-height: 1.1; }
.m2-phone__name i { font-style: normal; color: var(--ios-label2); font-weight: 500; }
.m2-phone__name svg { width: 3.4cqw; height: 3.4cqw; }
.m2-phone__thread { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.2cqw; padding: 2.2cqw 4.4cqw 0; overflow: hidden; }
.m2-phone__meta { align-self: stretch; text-align: center; margin-bottom: 1.6cqw; font-weight: 500; font-size: 2.55cqw; line-height: 1.35; color: var(--ios-label2); }
.m2-phone__bb { position: relative; max-width: 78%; padding: 2.2cqw 3.5cqw 2.4cqw; border-radius: 5cqw; font-weight: 400; font-size: 4.3cqw; line-height: 1.28; letter-spacing: -.005em; background: var(--ios-grey); overflow-wrap: anywhere; }
.m2-phone__bb--out { align-self: flex-end; background: var(--ios-green); color: var(--white); }
.m2-phone__bb u { text-decoration: underline; text-underline-offset: .4cqw; text-decoration-thickness: .25cqw; color: var(--ios-link); }
.m2-phone__bb--tail::before { content: ""; position: absolute; bottom: 0; left: -1.5cqw; width: 4.6cqw; height: 4.2cqw; background: inherit; border-bottom-right-radius: 3.6cqw; }
.m2-phone__bb--tail::after { content: ""; position: absolute; bottom: 0; left: -2.9cqw; width: 2.9cqw; height: 4.2cqw; background: var(--white); border-bottom-right-radius: 2.2cqw; }
.m2-phone__input { display: flex; align-items: center; gap: 2cqw; padding: 2cqw 4cqw 3cqw; flex: none; }
.m2-phone__plus { width: 8.6cqw; height: 8.6cqw; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ios-fill); }
.m2-phone__plus svg { width: 4cqw; height: 4cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .75; }
.m2-phone__field { flex: 1; display: flex; align-items: center; height: 8.6cqw; padding: 0 3cqw 0 3.6cqw; border-radius: 99px; border: .3cqw solid var(--ios-grey); font-size: 3.3cqw; color: var(--ios-label2); }
.m2-phone__home { display: block; width: 34%; height: 1.1cqw; margin: 0 auto 2.2cqw; border-radius: 9px; background: var(--ios-ink); flex: none; }
/* Viber chat inside the phone: lavender chat ground, the rich message as the bubble */
.m2-phone__thread--viber { align-items: stretch; padding-top: 3cqw; background: color-mix(in srgb, var(--viber-lavender) 22%, var(--white)); }

/* iPad (ost.css:249-264) */
.m2-ipad { --ipad-1: #3A3F48; --ipad-2: #15181D; --ipad-3: #22262D; --ipad-edge: #8B919B; --ios-fill: #F2F2F4; --ios-line: #E1E1E6;
  position: relative; width: 100%; padding: 2.4%; border-radius: clamp(16px, 2.6cqw, 30px); background: linear-gradient(160deg, var(--ipad-1), var(--ipad-2) 40%, var(--ipad-3));
  box-shadow: 0 26px 50px color-mix(in srgb, var(--ink-navy) 24%, transparent), 0 0 0 1px color-mix(in srgb, var(--white) 8%, transparent) inset, 0 0 0 2px var(--ipad-edge); }
.m2-ipad__screen { position: relative; container-type: inline-size; aspect-ratio: 1.43; border-radius: clamp(8px, 1.4cqw, 16px); overflow: hidden; background: var(--white); display: flex; flex-direction: column; color: var(--ink-navy); }
.m2-ipad__status { flex: none; display: flex; justify-content: space-between; align-items: center; padding: .7cqw 2.6cqw 0; font: 600 1.5cqw/1.6 var(--font-sans); background: var(--ios-fill); }
.m2-ipad__url { flex: none; display: flex; justify-content: center; padding: .8cqw 0 1cqw; background: var(--ios-fill); border-bottom: 1px solid var(--ios-line); }
.m2-ipad__pill { display: inline-flex; align-items: center; gap: .7cqw; min-width: 34%; justify-content: center; padding: .65cqw 2cqw; border-radius: 99px; background: var(--white); font: 500 1.55cqw/1.2 var(--font-sans); }
.m2-ipad__pill svg { width: 1.3cqw; height: 1.3cqw; fill: none; stroke: currentColor; stroke-width: 2; }
.m2-ipad__view { position: relative; flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; }
/* a tiny web-app form for the demo screen */
.m2-ipad__form { width: 46%; display: flex; flex-direction: column; gap: 1.4cqw; font: 400 1.5cqw/1.3 var(--font-sans); }
.m2-ipad__form h4 { margin: 0; font: 700 2.6cqw/1.15 var(--font-sans); color: var(--ink-navy); }
.m2-ipad__in { padding: 1.2cqw 1.4cqw; border: 1px solid var(--pale-slate); border-radius: .6cqw; color: var(--ink-navy); background: var(--white); }
.m2-ipad__ck { display: flex; align-items: center; gap: .8cqw; color: var(--ink-navy); }
.m2-ipad__ck b { width: 1.7cqw; height: 1.7cqw; border-radius: .3cqw; background: var(--light-green); display: grid; place-items: center; }
.m2-ipad__ck b::after { content: ""; width: .5cqw; height: .9cqw; border: solid var(--ink-navy); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-.05cqw, -.1cqw); }
.m2-ipad__go { padding: 1.4cqw; border-radius: 99px; background: var(--light-green); color: var(--ink-navy); font: 600 1.6cqw/1 var(--font-sans); text-align: center; }
@container (max-width: 560px) { .m2-devpanel { padding: 20px 12px; } .m2-phone { width: 66%; } }

/* ==========================================================================
   11. ViberMessage: rich business message  (src_viber.html:127-157; sections_home.html:42-52)
   Viber purple #7360F2 is Rakuten Viber's brand colour (button, verified tick).
   ========================================================================== */
.m2-vmsg { --m2-viber-brand: #7360F2; --m2-viber-deep: #5B4BD0;
  display: block; width: min(300px, 100%); border-radius: 22px; overflow: hidden; color: var(--text);
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--glass-border);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--violet-twilight) 16%, transparent), inset 0 1px 0 color-mix(in srgb, var(--white) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
[data-theme="dark"] .m2-vmsg { box-shadow: var(--shadow-glass); }
.m2-vmsg__head { display: flex; align-items: center; gap: 8px; padding: 11px 13px 9px; font: 700 13px/1.1 var(--font-sans); color: var(--text-heading); }
.m2-vmsg__av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 10px/1 var(--font-display); font-style: normal; color: var(--midnight-black);
  background: linear-gradient(135deg, var(--sms-coral), var(--sandy-brown)); }
.m2-vmsg__name { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m2-vmsg__name svg { flex: none; width: 13px; height: 13px; }
.m2-vmsg__tick { fill: var(--m2-viber-brand); }
.m2-vmsg__check { fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m2-vmsg__tag { margin-left: auto; flex: none; padding: 5px 9px; border-radius: var(--radius-pill); font: 700 10.5px/1 var(--font-sans); letter-spacing: .02em; color: var(--page-viber-ink);
  background: color-mix(in srgb, var(--m2-viber-brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--m2-viber-brand) 25%, transparent); }
.m2-vmsg__app { margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--m2-viber-brand); display: grid; place-items: center; }
.m2-vmsg__app svg { width: 14px; height: 14px; fill: var(--white); }
.m2-vmsg__body { padding: 0 13px 13px; }
.m2-vmsg__img { height: 96px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--midnight-black);
  background: linear-gradient(120deg, var(--sms-coral), var(--sandy-brown)); }
.m2-vmsg__img--ad { background: linear-gradient(120deg, var(--viber-lavender), var(--mint-signal)); }
.m2-vmsg__img b { font: 800 34px/1 var(--font-display); letter-spacing: -.02em; }
.m2-vmsg__img b.m2-vmsg__t { font-size: 21px; letter-spacing: -.01em; }
.m2-vmsg__img small { font: 600 11.5px/1.3 var(--font-sans); margin-top: 4px; }
.m2-vmsg__tx { margin: 0; font: 500 13.5px/1.42 var(--font-sans); color: var(--text); }
.m2-vmsg__tx--dim { color: var(--text-secondary); font-size: 12px; margin-top: 6px; }
.m2-vmsg .m2-vmsg__btn { display: grid; place-items: center; width: 100%; margin-top: 11px; height: 34px; border-radius: 17px; border: 0; font: 700 12.5px/1 var(--font-sans); color: var(--white); background: var(--m2-viber-deep); cursor: pointer; text-decoration: none; }
.m2-vmsg .m2-vmsg__btn--ghost { background: color-mix(in srgb, var(--m2-viber-brand) 10%, transparent); color: var(--page-viber-ink); }
.m2-vmsg .m2-vmsg__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2-vmsg__ord { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: color-mix(in srgb, var(--mint-signal) 14%, transparent); margin-bottom: 10px; }
.m2-vmsg__ord i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-signal); color: var(--midnight-black); }
.m2-vmsg__ord i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2-vmsg__ord b { display: block; font: 700 13px/1.2 var(--font-sans); color: var(--text-heading); }
.m2-vmsg__ord span { display: block; font: 500 11.5px/1.3 var(--font-sans); color: var(--text-secondary); margin-top: 2px; }
.m2-vmsg__otp { display: flex; gap: 6px; margin: 10px 0 2px; }
.m2-vmsg__otp b { width: 34px; height: 42px; border-radius: 10px; display: grid; place-items: center; font: 800 20px/1 var(--font-display); color: var(--text-heading); background: color-mix(in srgb, var(--m2-viber-brand) 10%, transparent); }
/* compact size: the homepage offering card (sections_home.html:42-52) */
.m2-vmsg--mini { width: min(232px, 84%); border-radius: var(--radius-md); background: var(--surface); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.m2-vmsg--mini .m2-vmsg__head { padding: 8px 10px; font-size: 11.5px; line-height: 1; }
.m2-vmsg--mini .m2-vmsg__av { width: 24px; height: 24px; font-size: 9px; }
.m2-vmsg--mini .m2-vmsg__name svg { width: 12px; height: 12px; }
.m2-vmsg--mini .m2-vmsg__body { padding: 0; }
.m2-vmsg--mini .m2-vmsg__img { height: 66px; border-radius: 0; margin: 0; }
.m2-vmsg--mini .m2-vmsg__img b { font-size: 26px; }
.m2-vmsg--mini .m2-vmsg__img small { font-size: 10px; line-height: 1.2; margin-top: 2px; }
.m2-vmsg--mini .m2-vmsg__tx { padding: 8px 11px 0; font-size: 11.5px; line-height: 1.35; }
.m2-vmsg--mini .m2-vmsg__btn { width: auto; margin: 8px 11px 11px; height: 28px; border-radius: 14px; font-size: 11px; }
@container (max-width: 600px) {
  .m2-vmsg:not(.m2-vmsg--mini) { width: min(250px, 100%); border-radius: 18px; }
  .m2-vmsg:not(.m2-vmsg--mini) .m2-vmsg__head { padding: 9px 10px 7px; font-size: 11.5px; }
  .m2-vmsg:not(.m2-vmsg--mini) .m2-vmsg__img { height: 70px; }
  .m2-vmsg:not(.m2-vmsg--mini) .m2-vmsg__img b { font-size: 26px; }
  .m2-vmsg:not(.m2-vmsg--mini) .m2-vmsg__tx { font-size: 12px; }
  .m2-vmsg:not(.m2-vmsg--mini) .m2-vmsg__otp b { width: 27px; height: 34px; font-size: 16px; }
}
/* inside the phone: scale with the phone instead of the block */
.m2-phone .m2-phone__screen .m2-vmsg { width: 100%; border-radius: 4.5cqw; box-shadow: 0 1cqw 3cqw color-mix(in srgb, var(--violet-twilight) 14%, transparent); background: var(--white); color: var(--ink-navy); border: 0; }
.m2-phone .m2-phone__screen .m2-vmsg__head { padding: 2.6cqw 3cqw 2cqw; gap: 1.8cqw; font-size: 3.3cqw; color: var(--ink-navy); }
.m2-phone .m2-phone__screen .m2-vmsg__av { width: 6.6cqw; height: 6.6cqw; font-size: 2.4cqw; }
.m2-phone .m2-phone__screen .m2-vmsg__name svg { width: 3.2cqw; height: 3.2cqw; }
.m2-phone .m2-phone__screen .m2-vmsg__tag { padding: 1.2cqw 2cqw; font-size: 2.5cqw; color: var(--violet-twilight); }
.m2-phone .m2-phone__screen .m2-vmsg__body { padding: 0 3cqw 3cqw; }
.m2-phone .m2-phone__screen .m2-vmsg__img { height: 22cqw; border-radius: 3.2cqw; margin-bottom: 2.4cqw; }
.m2-phone .m2-phone__screen .m2-vmsg__img b { font-size: 8cqw; }
.m2-phone .m2-phone__screen .m2-vmsg__img small { font-size: 2.7cqw; }
.m2-phone .m2-phone__screen .m2-vmsg__tx { font-size: 3.2cqw; color: var(--ink-navy); }
.m2-phone .m2-phone__screen .m2-vmsg__btn { height: 8cqw; margin-top: 2.6cqw; border-radius: 4cqw; font-size: 3cqw; }

/* --------------------------------------------------------------------------
   Reduced motion: everything shows in its final state
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .m2-offer, .m2-usecase, .m2-story, .m2-story__cover > img { transition: none; }
  .m2-offer:hover, .m2-usecase:hover, .m2-story:hover { transform: none; }
  .m2-offer__sb, .m2-offer__otp b { opacity: 1; transform: none; animation: none; }
  .m2-offer .m2-vmsg--mini, .m2-offer__mail { animation: none; }
  .m2-offer__line { animation: none; stroke-dashoffset: 0; }
  .m2-clients__tab[aria-selected="true"] .m2-clients__pr { animation: none; width: 100%; }
  .m2-quote__bar i { animation: none; width: 100%; }
  .m2-typing i, .m2-avatar, .m2-call__pill i, .m2-call__ring, .m2-devpanel > * { animation: none; }
  .m2-bubble--pop { opacity: 1; transform: none; transition: none; }
  .m2-call__wave b, .m2-call:not([data-speaker="idle"]) .m2-call__wave b { animation: none; height: calc(8px + var(--h, .6) * 30px); }
  .m2-call__ring { opacity: 0; }
}


/* ---- product.css ---- */
/* 2Mobile Design System — Product (Pulse) components.
   Recreated from the Pulse kit (~/Documents/2mobile-pulse/web/components/dots/kit.module.css,
   sidebar.module.css, top-bar.module.css, dots.module.css, help-hint.module.css,
   dots/shared.module.css). Pulse --p-* variables are swapped for system tokens.
   Product UI is fixed-size: no container-query or viewport-fluid type here.
   Radius: Pulse card 18 -> --radius-md, panel 24 -> --radius-lg, hero 32 -> --radius-xl,
   Pulse md 12 -> --radius-sm (fields, key caps) or --radius-md (rows, popovers, tiles). */

/* ── App frame ───────────────────────────────────────────────────────────── */

.p-app {
  --p-sidebar-w: 236px;
  --p-sidebar-w-collapsed: 60px;
  --p-glass-blur: blur(18px) saturate(1.35);
  --p-bar-blur: blur(20px) saturate(1.3);
  --p-tint-active: color-mix(in srgb, var(--mint-signal) 22%, var(--surface));
  --p-tint-active-edge: color-mix(in srgb, var(--mint-signal) 55%, transparent);
  box-sizing: border-box;
  padding: var(--space-6);
  background: var(--surface-canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-feature-settings: "cv11", "ss01", "ss03";
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] .p-app {
  color-scheme: dark;
}

.p-app *,
.p-app *::before,
.p-app *::after {
  box-sizing: border-box;
}

.p-app h1, .p-app h2, .p-app h3, .p-app p {
  margin: 0;
}

.p-app svg {
  flex: none;
}

.p-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
}

.p-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.p-row-top {
  align-items: flex-start;
}

.p-demo-label {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Page offset next to the fixed sidebar. Pulse pinned at 220px while the
   sidebar was 236px wide (globals.css:336 vs sidebar.tsx:167); one variable now. */
.p-page-offset {
  margin-left: var(--p-sidebar-w);
  transition: margin-left var(--duration-base) var(--ease-out);
}

.p-page-offset[data-sidebar="collapsed"] {
  margin-left: var(--p-sidebar-w-collapsed);
}

/* ── AppSidebar ─────────────────────────────────────────────────────────── */

.p-sidebar {
  --sb-bg: color-mix(in srgb, var(--surface) 86%, transparent);
  --sb-edge: var(--glass-product-edge);
  --sb-text: var(--text);
  --sb-muted: var(--text-secondary);
  --sb-faint: var(--text-secondary);
  --sb-hover: var(--surface-sunken);
  --sb-active: color-mix(in srgb, var(--mint-signal) 24%, var(--surface));
  --sb-accent: var(--mint-text);
  position: fixed;
  z-index: var(--z-sidebar);
  top: 0;
  left: 0;
  display: flex;
  width: var(--p-sidebar-w);
  height: 100dvh;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--sb-edge);
  background: var(--sb-bg);
  color: var(--sb-text);
  font-family: var(--font-sans);
  -webkit-backdrop-filter: var(--p-bar-blur);
  backdrop-filter: var(--p-bar-blur);
  transition: width var(--duration-base) var(--ease-out);
}

[data-theme="dark"] .p-sidebar {
  --sb-bg:
    radial-gradient(120% 40% at 0% 100%, color-mix(in srgb, var(--mint-signal) 7%, transparent), transparent 70%),
    var(--midnight-black);
  --sb-hover: color-mix(in srgb, var(--white) 5%, transparent);
  --sb-active: color-mix(in srgb, var(--mint-signal) 12%, transparent);
  --sb-accent: var(--mint-signal);
}

.p-sidebar[data-expanded="false"] {
  width: var(--p-sidebar-w-collapsed);
}

/* Documentation previews: in flow instead of fixed to the viewport. */
.p-sidebar.p-sidebar-static {
  position: relative;
  z-index: auto;
  height: 100%;
}

.p-sidebar-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3) var(--space-3) 14px;
  border-bottom: 1px solid var(--sb-edge);
}

.p-sidebar[data-expanded="false"] .p-sidebar-header {
  justify-content: center;
  padding-inline: 0;
}

.p-sidebar-logo {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
}

.p-sidebar-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.p-sidebar-logo .p-logo-dark { display: none; }
[data-theme="dark"] .p-sidebar-logo .p-logo-light { display: none; }
[data-theme="dark"] .p-sidebar-logo .p-logo-dark { display: block; }

.p-sidebar-header-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.p-sidebar-brand {
  overflow: hidden;
  color: var(--sb-text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.p-sidebar-brand span {
  color: var(--sb-accent);
}

.p-sidebar-version {
  color: var(--sb-faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.p-sidebar-pin {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--sb-muted);
  cursor: pointer;
}

.p-sidebar-pin:hover {
  background: var(--sb-hover);
  color: var(--sb-text);
}

.p-sidebar-pin svg {
  width: 18px;
  height: 18px;
}

.p-sidebar-pin-fill { fill: var(--mint-signal); fill-opacity: 0.9; }
.p-sidebar-pin-crease { stroke: var(--midnight-black); stroke-opacity: 0.36; }

.p-sidebar-nav {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--space-2) 10px var(--space-3);
  scrollbar-color: var(--sb-edge) transparent;
  scrollbar-width: thin;
}

.p-sidebar[data-expanded="false"] .p-sidebar-nav {
  padding-inline: 6px;
}

.p-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-sidebar-group-label {
  padding: var(--space-4) 10px 6px;
  color: var(--sb-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.p-sidebar-group-gap {
  height: 10px;
}

.p-sidebar-link {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: var(--space-3);
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-md);
  color: var(--sb-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.p-sidebar[data-expanded="false"] .p-sidebar-link {
  width: 46px;
  justify-content: center;
  margin-inline: auto;
  padding: 4px;
}

.p-sidebar-link:hover {
  background: var(--sb-hover);
  color: var(--sb-text);
}

.p-sidebar-link[aria-current="page"] {
  background: var(--sb-active);
  color: var(--sb-text);
  font-weight: 650;
}

.p-sidebar-link[aria-current="page"]::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--mint-signal);
  content: "";
}

.p-sidebar[data-expanded="false"] .p-sidebar-link[aria-current="page"]::before {
  left: -6px;
}

.p-sidebar-link:focus-visible,
.p-sidebar-pin:focus-visible,
.p-sidebar-foot-button:focus-visible,
.p-locale-option:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* The collapsed rail is 60px and clips sideways: the ring goes inside. */
.p-sidebar[data-expanded="false"] .p-sidebar-link:focus-visible,
.p-sidebar[data-expanded="false"] .p-sidebar-foot-button:focus-visible {
  outline-offset: -3px;
}

.p-sidebar-icon {
  position: relative;
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--sb-muted);
}

.p-sidebar-link[aria-current="page"] .p-sidebar-icon {
  color: var(--sb-accent);
}

.p-sidebar-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.p-sidebar-initials {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--sb-active);
  color: var(--sb-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.p-sidebar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Monitoring and Data Sync carry their health on the icon. */
.p-sidebar-signal {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--surface);
  border-radius: var(--radius-pill);
  background: var(--text-secondary);
}

.p-sidebar-signal[data-tone="success"] { background: var(--success); }
.p-sidebar-signal[data-tone="warning"] { background: var(--warning); }
.p-sidebar-signal[data-tone="danger"] { background: var(--danger); }
.p-sidebar-signal[data-tone="info"] { background: var(--info); }

.p-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-2) 10px var(--space-3);
  border-top: 1px solid var(--sb-edge);
}

.p-sidebar[data-expanded="false"] .p-sidebar-footer {
  align-items: center;
  padding-inline: 6px;
}

.p-sidebar-foot-button {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: var(--space-3);
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--sb-muted);
  font: 500 13px / 1 var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
}

.p-sidebar[data-expanded="false"] .p-sidebar-foot-button {
  width: 40px;
  justify-content: center;
  padding: 0;
}

.p-sidebar-foot-button:hover {
  background: var(--sb-hover);
  color: var(--sb-text);
}

.p-sidebar-signout:hover {
  color: var(--danger);
}

/* SL / EN switch in the sidebar foot (components/i18n/locale-toggle.module.css). */
.p-locale {
  display: inline-flex;
  align-self: flex-start;
  margin: 2px 4px 6px;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
}

.p-locale-option {
  min-width: 34px;
  min-height: 28px;
  padding: 0 var(--space-2);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font: 700 11px / 1 var(--font-sans);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.p-locale-option:hover {
  color: var(--text);
}

.p-locale-option[aria-pressed="true"] {
  background: color-mix(in srgb, var(--mint-signal) 28%, var(--surface));
  color: var(--text);
}

.p-locale-single {
  display: inline-grid;
  width: 36px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--text);
  font: 700 11px / 1 var(--font-sans);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.p-locale-single:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ── TopBar ─────────────────────────────────────────────────────────────── */

.p-topbar {
  position: sticky;
  z-index: var(--z-topbar);
  top: 0;
  min-width: 0;
  border-bottom: 1px solid var(--glass-product-edge);
  background: color-mix(in srgb, var(--surface-page) 78%, transparent);
  -webkit-backdrop-filter: var(--p-bar-blur);
  backdrop-filter: var(--p-bar-blur);
}

.p-topbar-inner {
  display: flex;
  min-width: 0;
  min-height: 60px;
  align-items: center;
  gap: var(--space-3);
  padding: 0 24px;
}

.p-topbar-search {
  display: inline-flex;
  width: min(440px, 100%);
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: var(--space-3);
  padding: 0 6px 0 var(--space-4);
  border: 1px solid var(--border-product);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-secondary);
  font: 400 14px / 1 var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.p-topbar-search:hover {
  border-color: var(--border-strong);
}

.p-topbar-search-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--text-secondary);
  font: 600 11px / 1 var(--font-sans);
}

.p-topbar-tour {
  display: inline-flex;
  min-height: 40px;
  flex: none;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  border: 1px solid var(--border-product);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font: 600 13px / 1 var(--font-sans);
  cursor: pointer;
}

.p-topbar-tour:hover {
  border-color: var(--mint-signal);
}

.p-topbar-tour svg {
  color: var(--mint-text);
}

.p-topbar-alerts {
  position: relative;
  margin-left: auto;
}

.p-topbar-status {
  --tone: var(--text-secondary);
  --tone-surface: var(--surface);
  display: inline-flex;
  min-height: 40px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone) 35%, var(--border-product));
  border-radius: var(--radius-pill);
  background: var(--tone-surface);
}

.p-topbar-status[data-state="operational"] { --tone: var(--success); --tone-surface: var(--surface); }
.p-topbar-status[data-state="degraded"] { --tone: var(--warning); --tone-surface: var(--warning-surface); }
.p-topbar-status[data-state="outage"] { --tone: var(--danger); --tone-surface: var(--danger-surface); }

.p-topbar-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 13px / 1 var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
}

.p-topbar-trigger:hover {
  background: color-mix(in srgb, var(--tone) 8%, transparent);
}

.p-topbar-trigger-services {
  padding-left: var(--space-4);
}

.p-topbar-trigger-bell {
  color: var(--text-secondary);
}

.p-topbar-dot {
  position: relative;
  display: inline-grid;
  width: 10px;
  height: 10px;
  place-items: center;
}

.p-topbar-dot-core {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--tone);
}

/* A halo only while something is actually wrong; healthy is still. */
.p-topbar-dot-ping {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-pill);
  background: var(--tone);
  opacity: 0;
}

.p-topbar-status[data-state="degraded"] .p-topbar-dot-ping,
.p-topbar-status[data-state="outage"] .p-topbar-dot-ping {
  animation: p-topbar-halo 2s var(--ease-out) infinite;
}

@keyframes p-topbar-halo {
  0% { opacity: 0.45; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.8); }
}

.p-topbar-chevron {
  color: var(--text-secondary);
  transition: transform var(--duration-fast) var(--ease-out);
}

[aria-expanded="true"] > .p-topbar-chevron {
  transform: rotate(180deg);
}

.p-topbar-divider {
  width: 1px;
  margin: 8px 0;
  background: color-mix(in srgb, var(--tone) 30%, var(--border-product));
}

.p-topbar-alert-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--tone-surface);
  border-radius: var(--radius-pill);
  background: var(--danger);
}

.p-topbar-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: flex;
  width: min(380px, calc(100vw - 24px));
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}

.p-topbar-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.p-topbar-menu-head b {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--text-secondary);
  font: 700 11px / 1 var(--font-sans);
}

.p-topbar-menu-head b[data-state="outage"] { background: var(--danger-surface); color: var(--danger); }
.p-topbar-menu-head b[data-state="degraded"] { background: var(--warning-surface); color: var(--warning); }
.p-topbar-menu-head b[data-state="operational"] { background: var(--success-surface); color: var(--success); }

.p-topbar-menu-intro {
  color: var(--text-secondary);
  font-size: 14px;
}

.p-topbar-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.p-topbar-item-dot {
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 6px;
  border-radius: var(--radius-pill);
  background: var(--info);
}

.p-topbar-item-dot[data-state="outage"] { background: var(--danger); }
.p-topbar-item-dot[data-state="degraded"] { background: var(--warning); }
.p-topbar-item-dot[data-state="operational"] { background: var(--success); }

.p-topbar-item-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.p-topbar-item-copy strong { font-weight: 650; }
.p-topbar-item-copy span { color: var(--text-secondary); font-size: 13px; }

.p-topbar-item-meta {
  flex: none;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.p-topbar-menu-actions {
  display: flex;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-product);
}

.p-topbar-menu-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 var(--space-4);
  border: 1px solid var(--border-product);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.p-topbar-menu-actions a:hover {
  border-color: var(--mint-signal);
}

.p-topbar-search:focus-visible,
.p-topbar-tour:focus-visible,
.p-topbar-trigger:focus-visible,
.p-topbar-menu-actions a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ── PageShell (DotsPage hero) ──────────────────────────────────────────── */

.p-page {
  --page: var(--page-ai);
  --page-ink: var(--mint-text);
  --dot-mix: var(--text);
  --dot-ink: color-mix(in srgb, var(--page) 45%, var(--dot-mix));
  --dot-ink-deep: color-mix(in srgb, var(--page) 20%, var(--dot-mix));
  --page-wash: color-mix(in srgb, var(--page) 46%, var(--surface-page));
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-6);
}

.p-page[data-color="boost"] { --page: var(--page-pogovorni); --page-ink: var(--page-pogovorni-ink); }
.p-page[data-color="voice"] { --page: var(--page-glasovni); --page-ink: var(--page-glasovni-ink); }
.p-page[data-color="sms"] { --page: var(--page-sms); --page-ink: var(--page-sms-ink); --dot-mix: var(--sms-coral); }
.p-page[data-color="viber"] { --page: var(--page-viber); --page-ink: var(--page-viber-ink); }
.p-page[data-color="support"] { --page: var(--page-ai); --page-ink: var(--page-ai-ink); }

[data-theme="dark"] .p-page {
  --dot-mix: var(--page);
  --dot-ink: color-mix(in srgb, var(--page) 70%, transparent);
  --dot-ink-deep: var(--page);
  --page-wash: color-mix(in srgb, var(--page) 13%, var(--surface-page));
}

.p-page-hero {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  overflow: hidden;
  padding: var(--space-10) var(--space-10) var(--space-8);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-xl);
  background: linear-gradient(100deg, var(--surface-page) 30%, var(--page-wash) 100%);
}

.p-page-dots {
  position: absolute;
  inset: 0 0 0 auto;
  display: block;
  width: min(62%, 760px);
  height: 100%;
  opacity: 0.32;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 90% at 88% 50%, var(--midnight-black) 0%, transparent 78%);
  mask-image: radial-gradient(70% 90% at 88% 50%, var(--midnight-black) 0%, transparent 78%);
}

[data-theme="dark"] .p-page-dots {
  opacity: 0.2;
}

.p-page-dot { fill: var(--dot-ink); }
.p-page-dot-deep { fill: var(--dot-ink-deep); }

.p-page-copy,
.p-page-actions {
  position: relative;
  min-width: 0;
}

.p-page-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.p-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--page-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.p-page-eyebrow::before {
  width: 22px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--mint-signal);
  content: "";
}

.p-page-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.p-page-title {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.p-page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-1);
  color: var(--text-secondary);
  font-size: 13px;
}

.p-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.p-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-secondary);
  font-size: 13px;
}

.p-fact b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.p-page-actions {
  display: flex;
  max-width: 100%;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

/* The website's primary button: a mint pill with a dark arrow disc. */
.p-hero-button,
.p-hero-button-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border-radius: var(--radius-pill);
  font: 600 15px / 1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.p-hero-button {
  padding: 6px 6px 6px 22px;
  background: var(--action);
  color: var(--on-action);
}

.p-hero-button:hover {
  background: var(--action-hover);
}

.p-hero-button-disc {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--midnight-black);
  color: var(--mint-signal);
  transition: transform var(--duration-fast) var(--ease-out);
}

.p-hero-button:hover .p-hero-button-disc {
  transform: translateX(3px);
}

.p-hero-button-secondary {
  padding: 0 var(--space-5);
  border: 1px solid var(--glass-product-edge);
  background: var(--glass-product);
  color: var(--text);
}

.p-hero-button-secondary:hover {
  border-color: var(--border-strong);
}

.p-hero-button:active,
.p-hero-button-secondary:active {
  transform: translateY(1px);
}

.p-hero-button:focus-visible,
.p-hero-button-secondary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-back-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--space-1);
  min-height: 32px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.p-back-link svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.p-back-link:hover {
  color: var(--mint-text);
}

.p-back-link:hover svg {
  transform: translateX(-2px);
}

.p-text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mint-text);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.p-text-link:hover {
  text-decoration: underline;
}

.p-back-link:focus-visible,
.p-text-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ── Panel / Section / Grid ─────────────────────────────────────────────── */

.p-panel {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-lg);
  background: var(--glass-product);
  box-shadow: var(--shadow-glass);
  color: var(--text);
  -webkit-backdrop-filter: var(--p-glass-blur);
  backdrop-filter: var(--p-glass-blur);
}

.p-panel-compact {
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
}

/* A product colour along the top edge. */
.p-panel[data-channel]::before {
  position: absolute;
  top: -1px;
  right: 22px;
  left: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--channel);
  content: "";
}

.p-panel[data-tone="warning"],
.p-panel[data-tone="danger"] {
  border-color: color-mix(in srgb, var(--tone) 40%, var(--glass-product-edge));
}

.p-panel-selected {
  border-color: var(--mint-signal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint-signal) 30%, transparent), var(--shadow-glass);
}

.p-panel-head,
.p-section-head {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
}

.p-panel-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.p-section-head .p-panel-note {
  margin-top: var(--space-1);
}

.p-heading-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 2px;
  color: var(--mint-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.p-heading-panel {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.p-panel-compact .p-heading-panel {
  font-size: 17px;
}

.p-panel-note {
  color: var(--text-secondary);
  font-size: 13px;
}

.p-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.p-section {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
}

.p-heading-section {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.p-grid {
  --grid-min: 260px;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min)), 1fr));
}

.p-grid-fill { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min)), 1fr)); }
.p-grid-sm { gap: var(--space-3); }
.p-grid-lg { gap: var(--space-6); }

.p-app mark {
  padding: 0 2px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--mint-signal) 38%, transparent);
  color: inherit;
}

/* Tone and channel resolve once to variables everything reads. */
.p-panel[data-tone="success"], .p-chip[data-tone="success"], .p-status-dot[data-tone="success"], .p-callout[data-tone="success"] { --tone: var(--success); --tone-surface: var(--success-surface); --tone-text: var(--success); }
.p-panel[data-tone="warning"], .p-chip[data-tone="warning"], .p-status-dot[data-tone="warning"], .p-callout[data-tone="warning"] { --tone: var(--warning); --tone-surface: var(--warning-surface); --tone-text: var(--warning); }
.p-panel[data-tone="danger"], .p-chip[data-tone="danger"], .p-status-dot[data-tone="danger"], .p-callout[data-tone="danger"] { --tone: var(--danger); --tone-surface: var(--danger-surface); --tone-text: var(--danger); }
.p-panel[data-tone="info"], .p-chip[data-tone="info"], .p-status-dot[data-tone="info"], .p-callout[data-tone="info"] { --tone: var(--info); --tone-surface: var(--info-surface); --tone-text: var(--info); }
.p-panel[data-tone="mint"], .p-chip[data-tone="mint"], .p-status-dot[data-tone="mint"], .p-callout[data-tone="mint"] { --tone: var(--mint-signal); --tone-surface: color-mix(in srgb, var(--mint-signal) 22%, var(--surface)); --tone-text: var(--mint-text); }
.p-panel[data-tone="neutral"], .p-chip[data-tone="neutral"], .p-status-dot[data-tone="neutral"], .p-callout[data-tone="neutral"] { --tone: var(--text-secondary); --tone-surface: var(--surface-sunken); --tone-text: var(--text-secondary); }

.p-app [data-channel="boost"] { --channel: var(--chart-1-boost); }
.p-app [data-channel="voice"] { --channel: var(--chart-2-voice); }
.p-app [data-channel="sms"] { --channel: var(--chart-3-sms); }
.p-app [data-channel="viber"] { --channel: var(--chart-4-viber); }
.p-app [data-channel="support"] { --channel: var(--chart-5-support); }
.p-app [data-channel="mint"],
.p-app [data-channel="chuck"] { --channel: var(--chart-6-mint); }

/* ── Button ─────────────────────────────────────────────────────────────── */

.p-button {
  display: inline-flex;
  min-height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 600 13px / 1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.p-button:active:not(:disabled) {
  transform: translateY(1px);
}

.p-button:disabled,
.p-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.5;
}

.p-button[aria-busy="true"] {
  cursor: progress;
}

.p-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-button svg {
  width: 16px;
  height: 16px;
}

.p-button-sm {
  min-height: 32px;
  padding: 0 var(--space-3);
}

.p-button-sm svg,
.p-button svg.p-button-ext,
.p-tab svg.p-button-ext {
  width: 14px;
  height: 14px;
}

.p-button-primary {
  background: var(--action);
  color: var(--on-action);
}

.p-button-primary:hover:not(:disabled) {
  background: var(--action-hover);
}

.p-button-secondary {
  border-color: var(--border-product);
  background: var(--surface);
  color: var(--text);
}

.p-button-secondary:hover:not(:disabled) {
  border-color: var(--mint-signal);
}

.p-button-quiet {
  padding-inline: var(--space-2);
  background: transparent;
  color: var(--text-secondary);
}

.p-button-quiet:hover:not(:disabled) {
  color: var(--text);
}

.p-button-danger {
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
  background: var(--surface);
  color: var(--danger);
}

.p-button-danger:hover:not(:disabled) {
  background: var(--danger-surface);
}

/* Icon-only buttons are square-ish pills. */
.p-button-icon {
  padding-inline: 0;
  min-width: 40px;
}

.p-button-icon.p-button-sm {
  min-width: 32px;
}

.p-spin {
  animation: p-spin 0.9s linear infinite;
}

@keyframes p-spin {
  to { transform: rotate(360deg); }
}

/* A control with a status line under it (ReportEmailButton, ManualSyncControl). */
.p-control {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.p-control-status {
  max-width: 280px;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.p-control-status[data-tone="danger"] { color: var(--danger); }
.p-control-status[data-tone="success"] { color: var(--success); }

/* ── Tabs / TabLinks / PeriodSwitch ─────────────────────────────────────── */

.p-tabs {
  display: inline-flex;
  max-width: 100%;
  flex: none;
  align-self: flex-start;
  gap: var(--space-1);
  overflow-x: auto;
  padding: var(--space-1);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-pill);
  background: var(--glass-product);
  scrollbar-width: none;
}

.p-tab,
.p-chip-toggle {
  display: inline-flex;
  min-height: 40px;
  flex: none;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font: 500 13px / 1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.p-tab svg {
  width: 15px;
  height: 15px;
}

.p-tab:hover,
.p-chip-toggle:hover {
  color: var(--text);
}

.p-tab[aria-selected="true"],
.p-tab[aria-current="page"],
.p-tab[aria-pressed="true"],
.p-tab[aria-checked="true"],
.p-chip-toggle[aria-pressed="true"] {
  border-color: var(--p-tint-active-edge);
  background: var(--p-tint-active);
  color: var(--text);
  font-weight: 650;
}

.p-tab-count {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--text-secondary);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.p-tab:focus-visible,
.p-chip-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ── Filters: Field / FilterBar / MultiSelect / ChipToggle / Checkbox / Switch ── */

.p-chip-toggle {
  min-height: 34px;
  padding: 0 var(--space-3);
  border-color: var(--border-product);
  background: var(--surface);
}

.p-chip-toggle svg {
  width: 14px;
  height: 14px;
}

.p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.p-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.p-field-wide {
  grid-column: 1 / -1;
}

.p-field-label {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: 400 14px / 1.4 var(--font-sans);
  transition: border-color var(--duration-fast) var(--ease-out);
}

select.p-input {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

textarea.p-input {
  min-height: 96px;
  padding: var(--space-2) var(--space-3);
  resize: vertical;
}

.p-input::placeholder {
  color: var(--text-secondary);
}

.p-input:hover {
  border-color: color-mix(in srgb, var(--mint-signal) 45%, var(--border-strong));
}

.p-input:focus,
.p-input[data-focus] {
  border-color: var(--mint-signal);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint-signal) 25%, transparent);
}

.p-input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-input:disabled {
  opacity: 0.6;
}

.p-input[aria-invalid="true"] {
  border-color: var(--danger);
}

.p-hint {
  color: var(--text-secondary);
  font-size: 11px;
}

.p-error {
  color: var(--danger);
  font-size: 13px;
}

.p-filter-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.p-filter-fields {
  display: grid;
  align-items: end;
  gap: var(--space-3) var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

.p-filter-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-product);
}

.p-filter-summary {
  color: var(--text-secondary);
  font-size: 13px;
}

/* MultiSelect: a field-shaped trigger that opens a floating list of toggles. */
.p-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  text-align: left;
  cursor: pointer;
}

.p-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}

.p-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-menu-list {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-1);
  overflow-y: auto;
}

.p-menu-list > .p-chip-toggle {
  justify-content: flex-start;
}

.p-menu-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.p-menu-item:hover,
.p-menu-item:focus-visible {
  border-color: color-mix(in srgb, var(--mint-signal) 60%, transparent);
  background: color-mix(in srgb, var(--mint-signal) 14%, var(--surface-raised));
}

.p-menu-item:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Checkbox: a tick in a list or table row. */
.p-check {
  position: relative;
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--text);
  font: 500 13px / 1.3 var(--font-sans);
  cursor: pointer;
}

.p-check input {
  display: grid;
  width: 20px;
  height: 20px;
  flex: none;
  place-content: center;
  margin: 0;
  border: 1px solid var(--text-secondary);
  border-radius: 6px;
  appearance: none;
  background: var(--surface);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.p-check input::before {
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--on-action);
  border-left: 2px solid var(--on-action);
  content: "";
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform var(--duration-fast) var(--ease-out);
}

.p-check:hover input:not(:disabled) {
  border-color: var(--mint-text);
}

.p-check input:checked,
.p-check input:indeterminate,
.p-check input[data-indeterminate] {
  border-color: var(--mint-text);
  background: var(--action);
}

.p-check input:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.p-check input:indeterminate::before,
.p-check input[data-indeterminate]::before {
  width: 10px;
  height: 0;
  border-left: 0;
  transform: none;
}

.p-check input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-check:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.5;
}

.p-check input:disabled {
  cursor: not-allowed;
}

/* Switch: an on/off setting that takes effect at once. */
.p-switch {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-1);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font: 550 13px / 1.3 var(--font-sans);
  text-align: left;
  cursor: pointer;
}

.p-switch-track {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 22px;
  flex: none;
  align-items: center;
  padding: 0 3px;
  border: 1px solid var(--text-secondary);
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.p-switch-thumb {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-pill);
  background: var(--text-secondary);
  transition:
    transform var(--duration-base) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.p-switch:hover:not(:disabled) .p-switch-track {
  border-color: var(--mint-text);
}

.p-switch[aria-checked="true"] .p-switch-track {
  border-color: var(--mint-text);
  background: var(--action);
}

.p-switch[aria-checked="true"] .p-switch-thumb {
  background: var(--on-action);
  transform: translateX(16px);
}

.p-switch:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-switch:disabled {
  cursor: default;
  opacity: 0.6;
}

.p-switch[aria-busy="true"] {
  cursor: progress;
}

/* ── Dialog / CommandPalette ────────────────────────────────────────────── */

.p-scrim {
  position: fixed;
  z-index: var(--z-dialog);
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  overflow-y: auto;
  background: color-mix(in srgb, var(--midnight-black) 55%, transparent);
}

.p-scrim-palette {
  z-index: var(--z-palette);
  place-items: start center;
  padding-top: 12vh;
}

/* Documentation previews: the scrim fills its box instead of the viewport. */
.p-scrim.p-scrim-static {
  position: relative;
  z-index: auto;
  inset: auto;
  min-height: 100%;
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-lg);
}

.p-dialog {
  width: min(560px, 100%);
  max-height: calc(100dvh - 32px);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}

.p-dialog:focus {
  outline: none;
}

.p-dialog-wide {
  width: min(960px, 100%);
}

.p-dialog-body {
  min-height: 0;
  overflow-y: auto;
}

.p-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-product);
}

.p-palette {
  display: flex;
  width: min(640px, 100%);
  max-height: min(580px, calc(100dvh - 24vh));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

/* The header row is the field. Focus shows as a mint rule along its foot. */
.p-palette-field {
  display: flex;
  min-height: 64px;
  flex: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-5);
  border-bottom: 1px solid var(--border-product);
  cursor: text;
  transition: box-shadow var(--duration-fast) var(--ease-out);
}

.p-palette-field:focus-within,
.p-palette-field[data-focus] {
  border-bottom-color: transparent;
  box-shadow: inset 0 -2px 0 var(--mint-text);
}

.p-palette-search-icon {
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.p-palette-field:focus-within .p-palette-search-icon,
.p-palette-field[data-focus] .p-palette-search-icon {
  color: var(--mint-text);
}

.p-palette-input {
  width: 0;
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font: 500 16px / 1.4 var(--font-sans);
  appearance: none;
}

.p-palette-input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.p-key {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  padding: 0 6px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text-secondary);
  font: 600 11px / 1 var(--font-sans);
}

.p-palette-list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-2);
}

.p-palette-group + .p-palette-group {
  margin-top: var(--space-2);
}

.p-palette-group-label {
  padding: var(--space-2) var(--space-3) var(--space-1);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-palette-option {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

/* Active row: mint fill, mint border and the Enter glyph: never colour alone. */
.p-palette-option[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--mint-signal) 60%, transparent);
  background: color-mix(in srgb, var(--mint-signal) 14%, var(--surface-raised));
}

.p-palette-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border: 1px solid var(--border-product);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  color: var(--channel, var(--text-secondary));
}

.p-palette-option[aria-selected="true"] .p-palette-icon {
  background: var(--surface-raised);
}

.p-palette-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.p-palette-label,
.p-palette-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-palette-label {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.p-palette-meta {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
}

.p-palette-trail {
  color: var(--text-secondary);
}

.p-palette-enter {
  color: var(--mint-text);
  opacity: 0;
}

.p-palette-option[aria-selected="true"] .p-palette-enter {
  opacity: 1;
}

.p-palette-foot {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--border-product);
  background: var(--surface-sunken);
  color: var(--text-secondary);
  font-size: 11px;
}

.p-palette-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.p-palette-hint .p-key + .p-key {
  margin-left: -2px;
}

.p-palette-note {
  margin-left: auto;
}

/* ── HelpHint ───────────────────────────────────────────────────────────── */

.p-hint-wrap {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.4em;
  line-height: 0;
  letter-spacing: normal;
}

.p-hint-trigger {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-secondary);
  font: 700 11px / 1 var(--font-sans);
  cursor: help;
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.p-hint-trigger:hover,
.p-hint-trigger[aria-expanded="true"] {
  border-color: var(--text-secondary);
  background: var(--text-secondary);
  color: var(--surface);
}

.p-hint-trigger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Touch: a 40px target around the 18px circle. */
.p-hint-trigger::before {
  position: absolute;
  inset: -11px;
  border-radius: var(--radius-pill);
  content: "";
}

.p-hint-bubble {
  position: fixed;
  z-index: 2147483000;
  width: max-content;
  max-width: min(21rem, calc(100vw - 2rem));
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-product);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  color: var(--text-secondary);
  font: 400 13px / 1.55 var(--font-sans);
  letter-spacing: normal;
  text-align: left;
  text-wrap: pretty;
  white-space: normal;
  animation: p-hint-in var(--duration-fast) var(--ease-out) both;
}

.p-hint-bubble.p-hint-static {
  position: relative;
  z-index: auto;
}

.p-hint-title {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--text);
  font-weight: 650;
}

@keyframes p-hint-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Data tooltip (dots/shared.module.css .tip): a value explained on hover. */
.p-tip {
  position: fixed;
  z-index: 90;
  display: flex;
  width: min(336px, calc(100vw - 24px));
  flex-direction: column;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: none;
}

.p-tip.p-hint-static {
  position: relative;
  z-index: auto;
}

.p-tip strong {
  color: var(--text);
  font-weight: 650;
}

/* ── Callout / EmptyState ───────────────────────────────────────────────── */

.p-callout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1px solid color-mix(in srgb, var(--tone, var(--info)) 22%, transparent);
  border-radius: var(--radius-md);
  background: var(--tone-surface, var(--info-surface));
  color: var(--text);
}

.p-callout-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--tone-text, var(--info));
}

.p-callout-body {
  min-width: 0;
  flex: 1;
}

.p-callout-title {
  font-size: 14px;
  font-weight: 650;
}

.p-callout-text {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.p-callout-text code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.p-callout-action {
  flex: none;
}

.p-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-6) 0;
}

.p-empty-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.p-empty-text {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ── KpiCard: KpiGrid / Kpi / Sparkline ─────────────────────────────────── */

.p-kpi-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.p-kpi-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

a.p-kpi-card {
  transition:
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

a.p-kpi-card:hover {
  border-color: var(--mint-signal);
  transform: translateY(-2px);
}

a.p-kpi-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-kpi-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

/* Fixed sizes for product UI (Pulse: clamp(26px, 15cqi, 34px)). */
.p-kpi-value {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.p-kpi-value[data-size="mid"] { font-size: 30px; }
.p-kpi-value[data-size="long"] { font-size: 26px; }

.p-kpi-note {
  color: var(--text-secondary);
  font-size: 13px;
}

.p-kpi-delta {
  color: var(--text-secondary);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.p-kpi-delta > svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}

.p-kpi-delta > .p-chip {
  margin-right: 6px;
}

.p-kpi-trend {
  margin-top: auto;
  padding-top: var(--space-2);
}

.p-spark {
  --spark: var(--chart-6-mint);
  position: relative;
  display: block;
  width: 100%;
  height: 40px;
  animation: p-spark-in var(--duration-slow) var(--ease-out) both;
}

.p-spark[data-channel] { --spark: var(--channel); }

.p-spark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.p-spark-line {
  fill: none;
  stroke: var(--spark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
}

.p-spark-area {
  fill: color-mix(in srgb, var(--spark) 14%, transparent);
}

.p-spark-end {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--spark);
  box-shadow: 0 0 0 2px var(--surface);
  transform: translate(-50%, -50%);
}

@keyframes p-spark-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ── StatusBadge: Chip / StatusDot / ChannelDot ─────────────────────────── */

.p-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--tone-surface, var(--surface-sunken));
  color: var(--tone-text, var(--text-secondary));
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.p-chip svg {
  width: 12px;
  height: 12px;
}

.p-chip i {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.p-marker,
.p-status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--channel, var(--tone, var(--text-secondary)));
}

.p-status-dot {
  width: 8px;
  height: 8px;
}

.p-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text);
  font-size: 13px;
}

/* ── DataTable: Table / numeric cells / Pagination ──────────────────────── */

.p-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.p-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.p-table thead th {
  position: sticky;
  z-index: var(--z-sticky);
  top: 0;
  padding: 0 var(--space-3) var(--space-3);
  border-bottom: 1px solid var(--border-product);
  background: var(--glass-product);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Sticky head over scrolling rows: an opaque head and a little room above. */
.p-table-wrap[data-scroll] thead th {
  padding-top: var(--space-2);
  background: var(--surface);
}

.p-table tbody td,
.p-table tbody th {
  padding: var(--space-3);
  border-bottom: 1px solid var(--border-product);
  color: var(--text-secondary);
  text-align: left;
  vertical-align: top;
}

.p-table tbody th,
.p-table tbody td:first-child {
  color: var(--text);
  font-weight: 600;
}

.p-table tbody tr:last-child > * {
  border-bottom: 0;
}

.p-table tbody tr:hover > * {
  background: color-mix(in srgb, var(--surface-sunken) 60%, transparent);
}

.p-table th:first-child,
.p-table td:first-child {
  padding-left: 0;
}

.p-table th:last-child,
.p-table td:last-child {
  padding-right: 0;
}

.p-table tbody th[scope="rowgroup"] {
  padding-top: var(--space-5);
  color: var(--mint-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.p-table td > .p-check {
  margin-block: calc(-1 * var(--space-2));
}

.p-num,
.p-table .p-num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.p-sub {
  display: block;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 400;
}

.p-cell-button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  cursor: pointer;
}

.p-cell-button:hover {
  text-decoration-color: var(--mint-text);
}

.p-cell-button[aria-pressed="true"] {
  padding: 0 var(--space-1);
  border-radius: 4px;
  background: color-mix(in srgb, var(--mint-signal) 28%, transparent);
  font-weight: 700;
  text-decoration-color: var(--mint-text);
}

.p-cell-button:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
}

.p-pagination-summary {
  color: var(--text-secondary);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.p-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
}

.p-page-button {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font: 500 13px / 1 var(--font-sans);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.p-page-button:hover:not(:disabled) {
  border-color: var(--border-product);
  color: var(--text);
}

.p-page-button[aria-current="page"] {
  border-color: var(--p-tint-active-edge);
  background: var(--p-tint-active);
  color: var(--text);
  font-weight: 650;
}

.p-page-button:disabled {
  cursor: default;
  opacity: 0.6;
}

.p-page-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.p-page-gap {
  min-width: 20px;
  color: var(--text-secondary);
  text-align: center;
}

.p-page-size {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.p-page-size .p-input {
  width: auto;
  min-width: 80px;
}

/* ── Chart ──────────────────────────────────────────────────────────────── */

.p-chart {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.p-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.p-chart-grid line {
  stroke: var(--border-product);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.p-chart-axis text {
  fill: var(--text-secondary);
  font: 500 11px / 1.3 var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.p-chart-label {
  fill: var(--text);
  font: 600 11px / 1.3 var(--font-sans);
}

.p-chart-line {
  fill: none;
  stroke: var(--series);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.p-chart-area {
  fill: color-mix(in srgb, var(--series) 8%, transparent);
}

.p-chart-bar {
  fill: var(--series);
}

.p-chart-dot {
  fill: var(--series);
  stroke: var(--surface-raised);
  stroke-width: 2;
}

/* Period B (the previous period) in every compare view. */
.p-chart-line-compare {
  stroke: var(--chart-compare);
  stroke-dasharray: 6 4;
}

.p-chart-cursor {
  fill: var(--border-product);
  opacity: 0.5;
}

.p-series-1, .p-app [data-series="1"] { --series: var(--chart-1-boost); }
.p-series-2, .p-app [data-series="2"] { --series: var(--chart-2-voice); }
.p-series-3, .p-app [data-series="3"] { --series: var(--chart-3-sms); }
.p-series-4, .p-app [data-series="4"] { --series: var(--chart-4-viber); }
.p-series-5, .p-app [data-series="5"] { --series: var(--chart-5-support); }
.p-series-6, .p-app [data-series="6"] { --series: var(--chart-6-mint); }
.p-series-compare, .p-app [data-series="compare"] { --series: var(--chart-compare); }

.p-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  list-style: none;
}

.p-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.p-legend-swatch {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--series);
}

/* A line swatch: solid for the current period, dashed for the previous one. */
.p-legend-line {
  width: 18px;
  height: 0;
  flex: none;
  border-top: 2.5px solid var(--series);
}

.p-legend-line[data-series="compare"] {
  border-top-style: dashed;
}

.p-chart-tooltip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--glass-product-edge);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.p-chart-tooltip b {
  margin-bottom: 4px;
  font-weight: 650;
}

.p-chart-tooltip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.p-palette-swatches {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.p-palette-swatch {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-product);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 12px;
}

.p-palette-swatch i {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--series);
}

.p-palette-swatch span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.p-palette-swatch small {
  color: var(--text-secondary);
  font-size: 11px;
}

/* ── CompareView ────────────────────────────────────────────────────────── */

.p-compare-fields {
  display: grid;
  gap: var(--space-3) var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
}

.p-compare-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── ExportPanel ────────────────────────────────────────────────────────── */

.p-export {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.p-export-row {
  display: grid;
  align-items: end;
  gap: var(--space-3) var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.p-export-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-product);
}

.p-export-file {
  color: var(--text-secondary);
  font-size: 13px;
}

.p-export-file code {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
}

.p-export-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-2);
}

/* ── Motion ─────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .p-sidebar,
  .p-sidebar-link,
  .p-page-offset,
  .p-button,
  .p-tab,
  .p-chip-toggle,
  .p-locale-option,
  .p-input,
  .p-check input,
  .p-check input::before,
  .p-switch-track,
  .p-switch-thumb,
  .p-palette-field,
  .p-palette-search-icon,
  .p-palette-option,
  .p-menu-item,
  .p-page-button,
  .p-hint-trigger,
  .p-back-link,
  .p-back-link svg,
  .p-hero-button,
  .p-hero-button-disc,
  .p-hero-button-secondary,
  .p-topbar-chevron,
  a.p-kpi-card {
    transition: none;
  }

  .p-spin,
  .p-spark,
  .p-hint-bubble,
  .p-topbar-dot-ping {
    animation: none;
  }

  a.p-kpi-card:hover,
  .p-hero-button:hover .p-hero-button-disc,
  .p-back-link:hover svg,
  .p-button:active:not(:disabled) {
    transform: none;
  }
}


/* ---- templates.css ---- */
/* 2Mobile Design System — Brand + Templates (.m2t-)
   Fixed-ground artefacts (paper, social, slides, e-mail) pin their theme with
   data-theme="light|dark" on the root so the semantic tokens resolve to that ground. */

/* ───────── shared ───────── */
.m2t-board { font-family: var(--font-sans); color: var(--text); display: grid; gap: var(--space-6); padding: var(--space-6); }
.m2t-label { font-family: var(--font-sans); font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); margin: 0; }
.m2t-caption { font-size: 12px; line-height: 1.45; color: var(--text-secondary); margin: 0; }
.m2t-caption b { color: var(--text); font-weight: 600; }
.m2t-mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-secondary); }
.m2t-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; }

/* Scaled frame: real-size artwork shown smaller. Set --w, --h (lengths) and --s (number). */
.m2t-scale { width: calc(var(--w) * var(--s)); height: calc(var(--h) * var(--s)); overflow: hidden; flex: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.m2t-scale > * { width: var(--w); height: var(--h); transform: scale(var(--s)); transform-origin: 0 0; }

/* Do / don't badges */
.m2t-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text); }
.m2t-badge svg { width: 16px; height: 16px; flex: none; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2t-badge--do svg { stroke: var(--success); }
.m2t-badge--dont svg { stroke: var(--danger); }

/* ───────── LogoSuite ───────── */
.m2t-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--space-3); }
.m2t-logo-tile { margin: 0; display: grid; grid-template-rows: 120px auto; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.m2t-logo-tile__ground { display: grid; place-items: center; padding: var(--space-4); }
.m2t-logo-tile__ground img { max-width: 100%; max-height: 52px; display: block; }
.m2t-logo-tile__ground--icon img { max-height: 64px; }
.m2t-logo-tile__ground--square img { max-height: 88px; border-radius: var(--radius-sm); }
.m2t-logo-tile figcaption { padding: 10px 12px 12px; display: grid; gap: 2px; font-size: 12px; color: var(--text-secondary); border-top: 1px solid var(--border); }
.m2t-logo-tile figcaption b { font-size: 13px; color: var(--text); font-weight: 600; }
.m2t-ground--light { background: var(--soft-white); }
.m2t-ground--white { background: var(--white); }
.m2t-ground--dark { background: var(--midnight-black); }
.m2t-ground--mint { background: var(--mint-signal); }

.m2t-logo-rules { display: grid; grid-template-columns: minmax(280px, 1.3fr) minmax(220px, 1fr); gap: var(--space-4); }
.m2t-clearspace { display: grid; place-items: center; padding: var(--space-8); background: var(--soft-white); border-radius: var(--radius-md); border: 1px solid var(--border); }
.m2t-clearspace__box { --x: 40px; position: relative; padding: var(--x); outline: 1px solid var(--mint-text); }
.m2t-clearspace__box img { height: var(--x); display: block; }
.m2t-clearspace__x { position: absolute; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--mint-text); background: color-mix(in srgb, var(--mint-signal) 16%, transparent); }
.m2t-clearspace__x--t { left: 0; right: 0; top: 0; height: var(--x); }
.m2t-clearspace__x--l { top: 0; bottom: 0; left: 0; width: var(--x); }
.m2t-minsize { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-6); border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); }
.m2t-minsize__item { display: flex; align-items: center; gap: var(--space-4); }
.m2t-minsize__item span { display: grid; place-items: center; min-width: 96px; height: 56px; border-radius: var(--radius-sm); background: var(--soft-white); }
[data-theme="dark"] .m2t-minsize__item span { background: var(--soft-white); }

.m2t-donts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--space-3); }
.m2t-dont { margin: 0; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.m2t-dont__art { height: 86px; display: grid; place-items: center; background: var(--white); overflow: hidden; }
.m2t-dont__art img { height: 26px; display: block; }
.m2t-dont figcaption { padding: 8px 10px 10px; }
.m2t-dont--stretch img { transform: scaleX(1.45); }
.m2t-dont--recolour img { filter: hue-rotate(150deg) saturate(1.6); }
.m2t-dont--rotate img { transform: rotate(-12deg); }
.m2t-dont--shadow img { filter: drop-shadow(4px 6px 3px rgba(15, 26, 38, .45)); }
.m2t-dont--darkondark .m2t-dont__art { background: var(--deep-space-blue); }
.m2t-dont--busy .m2t-dont__art { background: linear-gradient(160deg, var(--cherry-blossom) 15%, var(--soft-periwinkle) 85%); }

/* ───────── ColorPalette ───────── */
.m2t-palette { display: grid; gap: var(--space-6); }
.m2t-palette__group { display: grid; gap: var(--space-3); }
.m2t-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: var(--space-3); }
.m2t-swatch { margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.m2t-swatch__chip { height: 64px; background: var(--c); box-shadow: inset 0 -1px 0 var(--border); }
.m2t-swatch figcaption { padding: 8px 10px 10px; display: grid; gap: 1px; }
.m2t-swatch figcaption b { font-size: 13px; font-weight: 600; color: var(--text); }
.m2t-swatch--core .m2t-swatch__chip { height: 96px; }
.m2t-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); }
.m2t-pageset { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--pt); }
.m2t-pageset__bar { display: flex; height: 40px; }
.m2t-pageset__bar i { flex: 1; background: var(--pc); }
.m2t-pageset__bar i + i { background: var(--pt); }
.m2t-pageset__body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.m2t-pageset__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--pi); }
.m2t-pageset .m2t-mono { color: var(--text-secondary); }

/* ───────── TypeSpecimen ───────── */
.m2t-type { display: grid; gap: var(--space-2); }
.m2t-type__row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: var(--space-4); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border); }
.m2t-type__meta { display: grid; gap: 2px; }
.m2t-type__meta b { font-size: 13px; font-weight: 600; color: var(--text); }
.m2t-type__sample { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-heading); }
.m2t-type__sample em { font-style: normal; color: var(--text-secondary); font-weight: 700; }
.m2t-type__sample.eyebrow, .m2t-type__sample.p-eyebrow { text-transform: uppercase; color: var(--mint-text); }
.m2t-type__sample.lead, .m2t-type__sample.body, .m2t-type__sample.p-body, .m2t-type__sample.p-compact, .m2t-type__sample.p-micro { color: var(--text); }
.m2t-type__office { display: flex; flex-wrap: wrap; gap: var(--space-6); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunken); }
.m2t-type__office span { font-size: 13px; color: var(--text-secondary); }
.m2t-type__office b { display: block; color: var(--text-heading); font-size: 20px; }

/* ───────── Chuck ───────── */
.m2t-chuck { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); }
.m2t-chuck__pose { margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.m2t-chuck__stage { height: 170px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--mint-signal) 30%, transparent), transparent 70%), var(--page-ai-tint); }
.m2t-chuck__stage img { max-height: 140px; max-width: 80%; display: block; }
.m2t-chuck__pose figcaption { padding: 10px 12px 12px; display: grid; gap: 2px; font-size: 12px; color: var(--text-secondary); }
.m2t-chuck__pose figcaption b { font-size: 14px; color: var(--text); font-weight: 600; }
.m2t-chuck__where { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.m2t-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--text); }
.m2t-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-signal); }
.m2t-chip--off::before { background: var(--text-secondary); }

/* ───────── Iconography ───────── */
.m2t-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: var(--space-2); }
.m2t-icon { margin: 0; display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); color: var(--text-heading); }
.m2t-icon svg, .m2t-icon-sizes svg, .m2t-icon-dd svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }
.m2t-icon svg { width: 24px; height: 24px; }
.m2t-icon figcaption { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-secondary); text-align: center; }
.m2t-icon-sizes { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-end; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--text-heading); }
.m2t-icon-sizes div { display: grid; justify-items: center; gap: 8px; }
.m2t-icon-sizes .m2t-icon-sizes__set { display: flex; gap: 10px; }
.m2t-icon-dd { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--space-3); }
.m2t-icon-dd figure { margin: 0; display: grid; gap: 10px; padding: var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); color: var(--text-heading); }
.m2t-icon-dd .m2t-icon-dd__art { display: flex; gap: 12px; }
.m2t-icon-dd svg { width: 24px; height: 24px; }
.m2t-icon-dd .m2t-is-thin svg { stroke-width: 1; }
.m2t-icon-dd .m2t-is-heavy svg { stroke-width: 2.75; }
.m2t-icon-dd .m2t-is-filled svg { fill: currentColor; stroke: none; }
.m2t-icon-dd .m2t-is-mint { color: var(--mint-signal); }
[data-theme="dark"] .m2t-icon-dd .m2t-is-mint { color: var(--mint-signal); }
.m2t-icon-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: linear-gradient(160deg, var(--page-ai-tint), var(--surface)); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-heading); }
.m2t-icon-tile svg .m2t-ac { stroke: var(--mint-text); }

/* ───────── SocialPost (1080 artboards) ───────── */
.m2t-social { position: relative; overflow: hidden; font-family: var(--font-sans); }
.m2t-social--dark { background: var(--midnight-black); color: var(--soft-white); }
.m2t-social__dots { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--mint-signal) 55%, var(--midnight-black)) 16.5px, transparent 17.5px),
    radial-gradient(circle, var(--deep-space-blue) 16.5px, transparent 17.5px);
  background-size: 240px 160px, 80px 80px;
  background-position: 40px 40px, 0 0;
  -webkit-mask-image: radial-gradient(60% 50% at 100% 70%, black 45%, transparent 100%), radial-gradient(50% 36% at 0 100%, black 40%, transparent 100%), radial-gradient(46% 34% at 100% 0, black 30%, transparent 100%);
          mask-image: radial-gradient(60% 50% at 100% 70%, black 45%, transparent 100%), radial-gradient(50% 36% at 0 100%, black 40%, transparent 100%), radial-gradient(46% 34% at 100% 0, black 30%, transparent 100%); }
.m2t-social__bubble { position: absolute; left: 72px; top: 72px; height: 116px; }
.m2t-social__headline { position: absolute; left: 560px; right: 72px; top: 300px; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 76px; line-height: 1.04; letter-spacing: -0.025em; }
.m2t-social__headline em { font-style: normal; color: var(--mint-signal); }
.m2t-social__sub { position: absolute; left: 560px; right: 72px; top: 640px; margin: 0; font-size: 30px; line-height: 1.4; font-weight: 500; color: var(--text-on-dark-muted); }
.m2t-social__logo { position: absolute; left: 50%; bottom: 64px; height: 66px; transform: translateX(-50%); }
.m2t-phone { position: absolute; left: 96px; top: 224px; width: 390px; height: 660px; border-radius: 64px; background: var(--mint-signal); padding: 22px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.m2t-phone__screen { height: 100%; border-radius: 44px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; color: var(--ink-navy); }
.m2t-phone__bar { display: flex; align-items: center; gap: 14px; padding: 40px 22px 18px; background: var(--viber-lavender); }
.m2t-phone__bar img { width: 46px; height: 46px; border-radius: 50%; background: var(--white); padding: 6px; }
.m2t-phone__bar b { font-size: 22px; font-weight: 700; }
.m2t-phone__bar small { display: block; font-size: 16px; color: var(--ink-navy); opacity: .8; }
.m2t-phone__chat { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; background: var(--page-viber-tint); }
.m2t-msg { max-width: 82%; padding: 14px 18px; border-radius: var(--radius-bubble); font-size: 19px; line-height: 1.35; font-weight: 500; }
.m2t-msg--in { background: var(--white); border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(28, 45, 68, .08); }
.m2t-msg--out { align-self: flex-end; background: var(--ink-navy); color: var(--soft-white); border-bottom-right-radius: 6px; }
.m2t-msg__btn { display: block; margin-top: 12px; padding: 10px; border-radius: 12px; text-align: center; font-weight: 700; font-size: 17px; background: var(--viber-lavender); color: var(--ink-navy); }

.m2t-social--glass { background: var(--soft-white); color: var(--ink-navy); }
.m2t-social--glass::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(38% 30% at 12% 74%, color-mix(in srgb, var(--periwinkle) 85%, transparent), transparent 70%),
    radial-gradient(40% 34% at 90% 64%, color-mix(in srgb, var(--soft-periwinkle) 55%, transparent), transparent 72%),
    radial-gradient(34% 26% at 78% 96%, color-mix(in srgb, var(--pearl-aqua) 80%, transparent), transparent 70%); }
.m2t-social--glass > * { position: absolute; }
.m2t-social__logo-tl { left: 72px; top: 72px; height: 76px; }
.m2t-social__eyebrow { right: 72px; top: 92px; margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-text); }
.m2t-social__glass-h { left: 90px; right: 90px; top: 196px; margin: 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1.08; letter-spacing: -0.02em; }
.m2t-social__glass-p { left: 120px; right: 120px; top: 340px; margin: 0; text-align: center; font-size: 28px; line-height: 1.4; font-weight: 600; color: var(--text-secondary); }
.m2t-social__glass-p em { font-style: normal; color: var(--mint-text); }
.m2t-glasscard { left: 250px; right: 250px; top: 500px; height: 360px; border-radius: var(--radius-lg); background: var(--glass); border: 2px solid var(--glass-border); box-shadow: var(--shadow-glass); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); padding: 34px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.m2t-glasscard i { border-radius: 12px; background: color-mix(in srgb, var(--white) 70%, transparent); border: 1px solid var(--border); position: relative; }
.m2t-glasscard i::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--sky-slate-blue); left: var(--x); top: var(--y); }
.m2t-social__source { left: 50%; bottom: 72px; transform: translateX(-50%); margin: 0; white-space: nowrap; padding: 14px 30px; border-radius: var(--radius-pill); background: var(--glass); border: 2px solid var(--glass-border); font-size: 20px; color: var(--text-secondary); }

/* ───────── EmailSignature (real size, table-based) ───────── */
.m2t-sigpanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--space-4); }
.m2t-sigpane { border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 20px 22px 24px; }
.m2t-sigpane__mail { font-size: 14px; line-height: 1.6; margin: 0 0 18px; color: var(--text); }
.m2t-sig { border-collapse: collapse; font-family: "Inter", Arial, Helvetica, sans-serif; color: var(--text); }
.m2t-sig td { padding: 0; vertical-align: top; }
.m2t-sig__logo { padding-right: 16px !important; }
.m2t-sig__logo span { display: inline-block; padding: 8px 10px; border-radius: 8px; background: var(--soft-white); line-height: 0; }
.m2t-sig__logo img { width: 112px; height: auto; display: block; }
.m2t-sig__rule { width: 1px; background: var(--mint-signal); }
.m2t-sig__body { padding-left: 16px !important; font-size: 13px; line-height: 20px; }
.m2t-sig__name { font-family: "Outfit", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--text-heading); margin: 0; }
.m2t-sig__role { margin: 0 0 6px; color: var(--text-secondary); }
.m2t-sig__line { margin: 0; color: var(--text); }
.m2t-sig__line span { color: var(--text-secondary); }
.m2t-sig a { color: var(--link); text-decoration: none; }
.m2t-sig__cta { margin: 8px 0 0; font-weight: 600; }
.m2t-sig__legal { margin: 10px 0 0; font-size: 11px; line-height: 16px; color: var(--text-secondary); }

/* ───────── Letterhead (A4) ───────── */
.m2t-a4 { --w: 210mm; --h: 297mm; }
.m2t-letter { position: relative; box-sizing: border-box; background: var(--white); color: var(--ink-navy); font-family: var(--font-sans); padding: 52mm 18mm 34mm; overflow: hidden; }
.m2t-letter__dots { position: absolute; right: 0; top: 0; width: 92mm; height: 58mm; pointer-events: none;
  background-image: radial-gradient(circle, var(--pearl-aqua) 1.6mm, transparent 1.7mm), radial-gradient(circle, var(--periwinkle) 1.6mm, transparent 1.7mm);
  background-size: 15mm 15mm, 15mm 15mm; background-position: 0 0, 7.5mm 7.5mm;
  -webkit-mask-image: radial-gradient(85% 90% at 100% 0, black 30%, transparent 75%); mask-image: radial-gradient(85% 90% at 100% 0, black 30%, transparent 75%); }
.m2t-letter__logo { position: absolute; left: 18mm; top: 16mm; height: 11mm; }
.m2t-letter__date { margin: 0 0 14mm; text-align: right; font-size: 9pt; color: var(--text-secondary); }
.m2t-letter__to { margin: 0 0 12mm; font-size: 10pt; line-height: 1.5; }
.m2t-letter__subject { margin: 0 0 6mm; font-family: var(--font-display); font-weight: 700; font-size: 14pt; line-height: 1.3; color: var(--ink-navy); }
.m2t-letter p.m2t-letter__p { margin: 0 0 4mm; font-size: 10pt; line-height: 1.55; max-width: 160mm; }
.m2t-letter__sign { margin-top: 10mm; font-size: 10pt; line-height: 1.5; }
.m2t-letter__sign b { font-weight: 600; }
.m2t-letter__foot { position: absolute; left: 18mm; right: 18mm; bottom: 12mm; padding-top: 4mm; border-top: 0.3mm solid var(--pale-slate); display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 6mm; font-size: 7.5pt; line-height: 1.5; color: var(--text-secondary); }
.m2t-letter__foot b { color: var(--ink-navy); font-weight: 700; }
.m2t-letter__foot div:first-child { padding-left: 3mm; border-left: 0.8mm solid var(--mint-signal); }
.m2t-letter__foot a { color: var(--link); text-decoration: none; }
.m2t-letter__guide { position: absolute; inset: 0; pointer-events: none; outline: 0.3mm dashed color-mix(in srgb, var(--mint-text) 60%, transparent); outline-offset: -18mm; }

/* ───────── DeckSlide (1280×720) ───────── */
.m2t-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: var(--space-4); }
.m2t-deck figure { margin: 0; display: grid; gap: 8px; }
.m2t-169 { --w: 1280px; --h: 720px; --s: .3125; }
.m2t-slide { position: relative; box-sizing: border-box; overflow: hidden; font-family: var(--font-sans); padding: 72px 80px; }
.m2t-slide--dark { background:
    radial-gradient(40% 55% at 100% 0, color-mix(in srgb, var(--violet-twilight) 55%, transparent), transparent 70%),
    radial-gradient(38% 50% at 0 100%, color-mix(in srgb, var(--mint-signal) 30%, transparent), transparent 70%),
    linear-gradient(160deg, var(--ink-navy), var(--midnight-black)); color: var(--soft-white); }
.m2t-slide--light { background: var(--soft-white); color: var(--ink-navy); }
.m2t-slide--section { background: var(--midnight-black); color: var(--soft-white); }
.m2t-slide--section .m2t-social__dots { -webkit-mask-image: linear-gradient(90deg, transparent 38%, black 80%); mask-image: linear-gradient(90deg, transparent 38%, black 80%); }
.m2t-slide__logo-tl { position: absolute; left: 80px; top: 60px; height: 34px; }
.m2t-slide__logo-bl { position: absolute; left: 80px; bottom: 48px; height: 36px; }
.m2t-slide__no { position: absolute; right: 80px; bottom: 54px; font-size: 16px; font-weight: 600; color: var(--text-secondary); }
.m2t-slide__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-text); }
.m2t-slide__eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--mint-signal); }
.m2t-slide__title { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
.m2t-slide__title em { font-style: normal; font-weight: 700; color: var(--text-secondary); }
.m2t-slide--dark .m2t-slide__title em, .m2t-slide--section .m2t-slide__title em { color: var(--mint-signal); }
.m2t-slide__lead { margin: 26px 0 0; font-size: 24px; line-height: 1.5; color: var(--text-secondary); max-width: 640px; }
.m2t-slide--dark .m2t-slide__lead { color: var(--text-on-dark-muted); }
.m2t-slide__chuck { position: absolute; right: 90px; bottom: 70px; height: 440px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.m2t-slide__glow { position: absolute; right: 70px; bottom: 40px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mint-signal) 32%, transparent), transparent 68%); }
.m2t-slide__big { position: absolute; left: 80px; top: 200px; font-family: var(--font-display); font-weight: 800; font-size: 200px; line-height: 1; color: var(--mint-signal); letter-spacing: -0.04em; }
.m2t-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.m2t-kpi { padding: 30px 30px 28px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass); position: relative; overflow: hidden; }
.m2t-kpi::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--kc, var(--mint-signal)); }
.m2t-kpi b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.025em; color: var(--ink-navy); }
.m2t-kpi span { display: block; margin-top: 12px; font-size: 20px; line-height: 1.4; color: var(--text-secondary); }
.m2t-slide__tint { position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, var(--page-pogovorni) 0, transparent 70%); opacity: .7; }
.m2t-contact { position: absolute; right: 80px; top: 150px; width: 430px; padding: 34px; border-radius: var(--radius-lg); background: var(--white); color: var(--ink-navy); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.m2t-contact b { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.m2t-contact small { display: block; font-size: 17px; color: var(--text-secondary); margin-bottom: 22px; }
.m2t-contact p { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 19px; }
.m2t-contact svg { width: 24px; height: 24px; fill: none; stroke: var(--mint-text); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m2t-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 16px 18px 16px 30px; border-radius: var(--radius-pill); background: var(--action); color: var(--on-action); font-weight: 600; font-size: 19px; box-shadow: var(--shadow-cta); }
.m2t-cta i { width: 26px; height: 26px; border-radius: 50%; background: var(--midnight-black); display: grid; place-items: center; }
.m2t-cta i svg { width: 16px; height: 16px; fill: none; stroke: var(--mint-signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── SystemEmail (600px, table-based) ───────── */
.m2t-mailwrap { background: var(--surface-canvas); padding: 32px 16px; font-family: "Inter", Arial, Helvetica, sans-serif; color: var(--text); }
.m2t-mail { width: 100%; max-width: 600px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border-product); border-radius: var(--radius-lg); overflow: hidden; }
.m2t-mail td { padding: 0; }
.m2t-mail__band { background: var(--mint-signal); padding: 18px 32px !important; }
.m2t-mail__band table { width: 100%; border-collapse: collapse; }
.m2t-mail__brand { display: flex; align-items: center; gap: 10px; font-family: "Outfit", Arial, Helvetica, sans-serif; font-weight: 800; font-size: 18px; color: var(--midnight-black); }
.m2t-mail__brand img { height: 30px; width: auto; display: block; }
.m2t-mail__date { text-align: right; font-size: 13px; font-weight: 600; color: var(--midnight-black); }
.m2t-mail__body { padding: 32px 32px 8px !important; }
.m2t-mail__eyebrow { margin: 0 0 10px; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-text); }
.m2t-mail__h1 { margin: 0 0 6px; font-family: "Outfit", Arial, Helvetica, sans-serif; font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--text-heading); }
.m2t-mail__meta { margin: 0 0 16px; font-size: 13px; color: var(--text-secondary); }
.m2t-mail__p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.m2t-mail__kpis { width: 100%; border-collapse: separate; border-spacing: 8px 0; margin: 0 -8px 24px; }
.m2t-mail__kpi { width: 33.33%; padding: 16px !important; border-radius: 16px; background: var(--surface-sunken); vertical-align: top; }
.m2t-mail__kpi b { display: block; font-family: "Outfit", Arial, Helvetica, sans-serif; font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--text-heading); }
.m2t-mail__kpi span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--text-secondary); }
.m2t-mail__delta { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }
.m2t-mail__delta--up { color: var(--success); background: var(--success-surface); }
.m2t-mail__delta--down { color: var(--danger); background: var(--danger-surface); }
.m2t-mail__btn { display: inline-block; padding: 12px 24px; border-radius: var(--radius-pill); background: var(--action); color: var(--on-action); font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; }
.m2t-mail__btn:focus-visible, .m2t-mail__foot a:focus-visible, .m2t-sig a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m2t-mail__foot { padding: 24px 32px 28px !important; border-top: 1px solid var(--border-product); font-size: 12px; line-height: 1.6; color: var(--text-secondary); }
.m2t-mail__foot b { color: var(--text); }
.m2t-mail__foot a { color: var(--link); }

/* ───────── PricingTable ───────── */
.m2t-pricing { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.m2t-pricing thead th:first-child { border-top-left-radius: var(--radius-lg); }
.m2t-pricing thead th:last-child { border-top-right-radius: var(--radius-lg); }
.m2t-pricing caption { caption-side: top; text-align: left; padding: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text-heading); }
.m2t-pricing th, .m2t-pricing td { padding: 11px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.m2t-pricing tr:last-child > * { border-bottom: 0; }
.m2t-pricing thead th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); background: var(--surface-sunken); }
.m2t-pricing tbody th { text-align: left; font-weight: 600; color: var(--text); }
.m2t-pricing .m2t-pricing__hl { background: var(--page-viber-tint); }
.m2t-pricing thead .m2t-pricing__hl { color: var(--page-viber-ink); background: var(--page-viber-tint); box-shadow: inset 0 3px 0 var(--page-viber); }
.m2t-pricing small { display: block; font-size: 12px; color: var(--text-secondary); }
.m2t-yes, .m2t-no { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.m2t-yes { color: var(--mint-text); }
.m2t-no { color: var(--text-secondary); font-weight: 500; }
.m2t-yes svg, .m2t-no svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Print table (CMYK + Pantone) in ColorPalette. "Tisk ≈" chips use the measured print hex, not tokens. */
.m2t-swatch__print { opacity: .85; }
.m2t-print { width: 100%; border-collapse: collapse; font: 400 13px/1.4 var(--font-sans); color: var(--text); }
.m2t-print th { text-align: left; font: 700 11px/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border-strong); }
.m2t-print td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); vertical-align: middle; }
.m2t-print small { color: var(--text-secondary); font-size: 11px; }
.m2t-print__pair { display: inline-flex; margin-right: var(--space-2); vertical-align: middle; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.m2t-print__pair i { display: block; width: 20px; height: 20px; }

/* TwoMOS: 2M OS screenshots in a phone frame (Brand card) */
.m2t-os { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-5); }
.m2t-os__shot { margin: 0; display: grid; gap: var(--space-2); align-content: start; }
.m2t-os__frame { border-radius: 26px; padding: 6px; background: var(--midnight-black); border: 1px solid var(--border); box-shadow: var(--shadow-glass); }
.m2t-os__frame img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 20px; }
.m2t-os__shot figcaption { font-size: 13px; line-height: 1.35; color: var(--text-secondary); }
.m2t-os__shot figcaption b { display: block; color: var(--text-heading); font-weight: 600; }
