/* Mist Web widgets, scoped under .mw so they never clash with the DigiPlus theme. Generated from style.css, demo-apps.css, demo-extra.css, banners.css. Light colours only. */

/* ==== style.css ==== */
/*
  LNXIA design system.
  Brand: deep navy #0B0F1E, blue #2563FF, purple #8B5CF6, background #F4F7FF, gradient cyan > blue > purple.
  Fonts: Manrope (headings) and Inter (body), as in the LNXIA brand board.
  Layout concept: dark-first studio page, glass header, bento service grid, device mock-ups in the hero.
  Light mode follows the visitor's OS. The hero is always dark, like the brand's hero design.
*/
.mw {
  --bg: #0B0F1E; --surface: #111733; --wash: #182042; --fg: #F4F7FF; --muted: #A5AFCC;
  --line: #232C52; --line2: #36427A;
  --accent: #2563FF; --accent-ink: #FFFFFF; --accent-text: #7FA3FF; --accent2: #8B5CF6;
  --grad: linear-gradient(115deg, #00D8FF 0%, #2563FF 52%, #8B5CF6 100%);
  --teal: #3DDBB8; --ok: #3DDBB8;
  --glow-a: rgba(37, 99, 255, 0.24); --glow-b: rgba(139, 92, 246, 0.20);
  --shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.8);
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 18px;
  color-scheme: dark;
}
.mw {
    --bg: #F4F7FF; --surface: #FFFFFF; --wash: #E8EEFF; --fg: #0B0F1E; --muted: #525C7E;
    --line: #DAE2F8; --line2: #B3C0E6;
    --accent: #2563FF; --accent-ink: #FFFFFF; --accent-text: #1D4ED8; --accent2: #7C3AED;
    --grad: linear-gradient(115deg, #0891B2 0%, #2563FF 52%, #8B5CF6 100%);
    --teal: #0B6B63; --ok: #0B6B63;
    --glow-a: rgba(37, 99, 255, 0.16); --glow-b: rgba(139, 92, 246, 0.14);
    --shadow: 0 30px 60px -36px rgba(20, 30, 80, 0.35);
    color-scheme: light;
  }
.mw * { box-sizing: border-box; }
.mw { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.mw { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
.mw a { color: inherit; }
.mw img, .mw svg { max-width: 100%; }
.mw ::selection { background: var(--accent); color: var(--accent-ink); }
.mw :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mw .skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 200; }
.mw .skip:focus { left: 8px; }
.mw .wrap { max-width: 1180px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.mw h1, .mw h2, .mw h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.025em; font-weight: 600; }
.mw h1 { font-size: clamp(2.1rem, 5.6vw, 4.3rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.mw h2 { font-size: clamp(1.6rem, 3.8vw, 2.7rem); }
.mw h3 { font-size: 1.12rem; letter-spacing: -0.015em; }
.mw .h1-md { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; }
.mw .h3-lg { font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.mw .h3 { font-size: 1.2rem; font-weight: 600; }
.mw p { margin: 0; }
.mw .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.mw .eyebrow { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-text); display: inline-flex; align-items: center; gap: 10px; }
.mw .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.mw .lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.mw section { padding-block: clamp(56px, 8vw, 104px); }
.mw .sm { font-size: 0.85rem; color: var(--muted); }
.mw .note { margin-top: 24px; font-size: 0.88rem; color: var(--muted); }
.mw code { font-family: var(--font-mono); font-size: 0.85em; background: var(--wash); padding: 2px 6px; border-radius: 5px; }

/* ---------- header ---------- */
.mw .top { position: sticky; top: 0; z-index: 90; padding-top: env(safe-area-inset-top, 0px); background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(4px)) {
  .mw .top { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
}
.mw .bar-in { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.mw .logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.03em; flex: none; }
.mw .nav { margin-left: auto; margin-right: auto; }
.mw .nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mw .nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--muted); transition: color .15s, background .15s; }
.mw .nav a:hover { color: var(--fg); background: var(--wash); }
.mw .nav a.nav-cta { display: none; }
.mw .nav a[aria-current] { color: var(--fg); background: var(--wash); }
.mw .bar-cta { display: flex; gap: 10px; align-items: center; }
.mw .menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line2); background: transparent; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.mw .menu-btn span, .mw .menu-btn span::before, .mw .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.mw .menu-btn span::before, .mw .menu-btn span::after { content: ""; position: absolute; left: 0; }
.mw .menu-btn span::before { top: -6px; } .mw .menu-btn span::after { top: 6px; }
.mw .menu-btn[aria-expanded="true"] span { background: transparent; }
.mw .menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.mw .menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .mw .menu-btn { display: inline-flex; }
  .mw .bar-cta { display: none; }
  .mw .nav { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 69px); background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px max(18px, env(safe-area-inset-left, 0px)) 22px; display: none; margin: 0; max-height: calc(100vh - 80px); overflow-y: auto; }
  .mw .nav.open { display: block; }
  .mw .nav ul { flex-direction: column; gap: 2px; }
  .mw .nav a { font-size: 1.1rem; padding: 14px 12px; border-radius: 12px; }
  .mw .nav a.nav-cta { display: block; margin-top: 14px; text-align: center; color: #fff; }
}

/* ---------- buttons ---------- */
.mw .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, filter .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.mw .btn-primary { background: var(--grad); color: var(--accent-ink); box-shadow: 0 14px 30px -14px var(--accent); }
.mw .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.mw .btn-ghost { border-color: var(--line2); color: var(--fg); background: transparent; }
.mw .btn-ghost:hover { border-color: var(--fg); background: var(--wash); }
.mw .btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.mw .btn svg { width: 18px; height: 18px; }
.mw .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- hero (always dark, matches the LNXIA hero design) ---------- */
.mw .hero {
  --bg: #0B0F1E; --surface: #111733; --wash: #182042; --fg: #F4F7FF; --muted: #A5AFCC; --line: #232C52; --line2: #36427A;
  --accent-text: #7FA3FF; --grad: linear-gradient(115deg, #00D8FF 0%, #2563FF 52%, #8B5CF6 100%);
  position: relative; background: var(--bg); color: var(--fg); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); overflow: hidden; isolation: isolate; color-scheme: dark;
}
.mw .hero::before { content: ""; position: absolute; inset: -10% -10% auto -10%; height: 100%; background: radial-gradient(38% 46% at 74% 42%, rgba(37, 99, 255, 0.30), transparent 70%), radial-gradient(30% 40% at 90% 70%, rgba(139, 92, 246, 0.26), transparent 70%), radial-gradient(34% 40% at 6% 10%, rgba(0, 216, 255, 0.10), transparent 70%); z-index: -2; }
.mw .hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 140, 220, 0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 140, 220, 0.10) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); z-index: -1; }
.mw .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.mw .hero h1 { font-size: clamp(2.4rem, 4.9vw, 3.9rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.mw .hero .lede { margin-top: 24px; max-width: 44ch; }
.mw .hero .cta-row { margin-top: 32px; }
.mw .hero .btn-ghost { gap: 10px; }
.mw .hero .btn-ghost svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.mw .hero .btn-primary { box-shadow: 0 16px 34px -14px #2563FF; }

/* device mock-ups */
.mw .hero-devices { position: relative; width: 100%; max-width: 620px; justify-self: end; aspect-ratio: 1.12 / 1; }
.mw .dv { position: absolute; background: #070A16; border: 1.5px solid #2A3566; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; overflow: hidden; }
.mw .dv-screen { position: absolute; inset: 3.2%; border-radius: inherit; overflow: hidden; background: radial-gradient(90% 70% at 50% 100%, rgba(37, 99, 255, 0.28), transparent 70%), linear-gradient(180deg, #0A0E1F, #0B0F1E); }
.mw .dv-tablet { right: 0; top: 2%; width: 66%; aspect-ratio: 3 / 4; border-radius: 4.2% / 3.2%; animation: floaty 10s ease-in-out infinite; }
.mw .dv-tablet .dv-screen { border-radius: 2.6% / 2%; }
.mw .dv-phone { left: 2%; top: 12%; width: 31%; aspect-ratio: 9 / 18.5; border-radius: 16% / 8%; border-width: 2px; z-index: 2; animation: floaty 8s ease-in-out -2s infinite; }
.mw .dv-phone .dv-screen { inset: 3.4%; border-radius: 13% / 6.5%; }
.mw .dv-phone::before { content: ""; position: absolute; z-index: 3; top: 3.6%; left: 50%; width: 30%; height: 2.6%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.mw .dv-stat { right: -3%; bottom: 5%; width: 36%; border-radius: 16px; padding: 4.5% 5%; z-index: 3; background: linear-gradient(180deg, #121A3A, #0C1228); animation: floaty 9s ease-in-out -5s infinite; }
.mw .dv-stat small { display: block; font-size: clamp(0.55rem, 1.2vw, 0.72rem); color: var(--muted); }
.mw .dv-stat b { display: block; margin-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.6vw, 1.8rem); letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.mw .dv-stat svg { display: block; width: 100%; height: auto; margin-top: 4px; overflow: visible; }

/* glowing orb */
.mw .orb { position: absolute; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 110deg, rgba(139, 92, 246, 0.2), #8B5CF6 18%, #2563FF 42%, #00D8FF 62%, rgba(0, 216, 255, 0.15) 85%, rgba(139, 92, 246, 0.2)); filter: drop-shadow(0 0 26px rgba(37, 99, 255, 0.75)) drop-shadow(8px 10px 22px rgba(139, 92, 246, 0.45)); }
.mw .orb::before { content: ""; position: absolute; inset: 2% 9% 13% 2%; border-radius: 50%; background: #070A16; }
.mw .dv-tablet .orb { width: 54%; left: 23%; top: 9%; }
.mw .dv-phone .orb { width: 76%; left: 12%; top: 14%; }
.mw .dv-copy { position: absolute; left: 8%; right: 8%; bottom: 9%; }
.mw .dv-copy h3 { font-size: clamp(0.85rem, 2vw, 1.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 7ch; color: #F4F7FF; }
.mw .dv-copy .dv-btn { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 700; font-size: clamp(0.5rem, 1.1vw, 0.7rem); }
.mw .dv-phone .dv-copy { bottom: 11%; left: 10%; right: 10%; }
.mw .dv-phone .dv-copy h3 { font-size: clamp(0.62rem, 1.5vw, 0.95rem); }
.mw .dv-phone .dv-copy i { display: block; height: 5px; width: 80%; border-radius: 3px; background: rgba(244, 247, 255, 0.14); margin-top: 7px; }
.mw .dv-phone .dv-copy i + i { width: 55%; }
.mw .dv-phone .dv-copy .dv-btn { padding: 4px 10px; margin-top: 10px; }
.mw .dv-topbar { position: absolute; left: 6%; right: 6%; top: 5%; display: flex; align-items: center; gap: 5px; }
.mw .dv-topbar i { width: 6px; height: 6px; border-radius: 50%; background: #36427A; }
.mw .dv-topbar em { margin-left: auto; width: 34%; height: 5px; border-radius: 3px; background: #232C52; }

/* feature strip */
.mw .hero-feats { position: relative; margin-top: clamp(48px, 6vw, 76px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(17, 23, 51, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mw .hero-feats li { list-style: none; display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.mw .hero-feats li + li { border-left: 1px solid var(--line); }
.mw .hero-feats .fi { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 216, 255, 0.16), rgba(139, 92, 246, 0.22)); border: 1px solid #2A3566; color: #7FD7FF; }
.mw .hero-feats .fi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mw .hero-feats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.mw .hero-feats span { display: block; margin-top: 2px; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.mw .hero-feats ul, .mw ul.hero-feats { margin: 0; padding: 0; }

.mw .markets-band { padding-block: 22px; border-bottom: 1px solid var(--line); }
.mw .markets-band .markets { margin: 0; padding: 0; border: 0; justify-content: center; }
.mw .markets b { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.mw .markets { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--muted); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .mw .hero-grid { grid-template-columns: 1fr; }
  .mw .hero h1 { max-width: 16ch; }
  .mw .hero-devices { justify-self: center; max-width: 520px; }
  .mw .hero-feats { grid-template-columns: 1fr 1fr; }
  .mw .hero-feats li:nth-child(3) { border-left: 0; }
  .mw .hero-feats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .mw .hero-feats { grid-template-columns: 1fr; }
  .mw .hero-feats li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .mw .dv { animation: none !important; } .mw .marquee .track { animation: none !important; } }

/* ---------- marquee ---------- */
.mw .marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding-block: 0; }
.mw .marquee .track { display: flex; width: max-content; animation: scroll 44s linear infinite; }
.mw .marquee:hover .track { animation-play-state: paused; }
.mw .marquee ul { display: flex; list-style: none; margin: 0; padding: 0; flex: none; }
.mw .marquee li { display: inline-flex; align-items: center; gap: 22px; padding: 20px 22px 20px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: -0.02em; white-space: nowrap; color: var(--fg); }
.mw .marquee li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; margin-left: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.mw .sec-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 52px); max-width: 780px; }
.mw .sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.mw .band { background: var(--surface); border-block: 1px solid var(--line); }
.mw .more { margin-top: 34px; }

/* ---------- bento services ---------- */
.mw .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.mw .bc { position: relative; grid-column: span 4; display: grid; align-content: space-between; gap: 22px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden; min-width: 0; isolation: isolate; transition: border-color .2s, transform .2s; min-height: 280px; }
.mw .bc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--glow-a), transparent 60%); opacity: 0; transition: opacity .25s; z-index: -1; }
.mw .bc:hover { border-color: var(--accent); transform: translateY(-3px); }
.mw .bc:hover::before { opacity: 1; }
.mw .bc.w7 { grid-column: span 7; } .mw .bc.w5 { grid-column: span 5; } .mw .bc.w6 { grid-column: span 6; } .mw .bc.w8 { grid-column: span 8; }
.mw .bc .ico { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--wash); border: 1px solid var(--line); color: var(--accent-text); box-sizing: content-box; }
.mw .bc h3 { font-size: 1.3rem; margin-top: 12px; }
.mw .bc p { color: var(--muted); font-size: 0.98rem; margin-top: 8px; max-width: 46ch; }
.mw .bc .go { font-weight: 700; font-size: 0.92rem; color: var(--accent-text); margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }
.mw .bc .go::after { content: "\2192"; transition: transform .2s; } .mw .bc:hover .go::after { transform: translateX(4px); }
.mw .bc-vis { display: flex; align-items: flex-end; gap: 10px; min-height: 84px; pointer-events: none; }
.mw .bc.cta-card { background: var(--grad); color: var(--accent-ink); border: 0; }
.mw .bc.cta-card p { color: inherit; opacity: 0.85; } .mw .bc.cta-card .go { color: inherit; } .mw .bc.cta-card::before { display: none; }
.mw .bc.cta-card h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 1000px) { .mw .bc, .mw .bc.w7, .mw .bc.w5, .mw .bc.w6, .mw .bc.w8 { grid-column: span 6; } }
@media (max-width: 640px) { .mw .bc, .mw .bc.w7, .mw .bc.w5, .mw .bc.w6, .mw .bc.w8 { grid-column: span 12; min-height: 0; } }
/* mini visuals */
.mw .mv-browser { flex: 1; max-width: 330px; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mw .mv-browser b { display: block; height: 14px; background: var(--line); }
.mw .mv-browser div { padding: 10px; display: grid; gap: 6px; }
.mw .mv-browser i { display: block; height: 7px; border-radius: 4px; background: var(--line2); } .mw .mv-browser i.g { height: 26px; border-radius: 7px; background: var(--grad); }
.mw .mv-phone { width: 64px; height: 98px; border-radius: 14px; background: var(--wash); border: 1.5px solid var(--line2); padding: 8px 6px; display: grid; gap: 5px; align-content: start; flex: none; }
.mw .mv-phone i { display: block; height: 6px; border-radius: 3px; background: var(--line2); } .mw .mv-phone i.g { height: 30px; border-radius: 7px; background: var(--grad); }
.mw .mv-phone.b { transform: translateY(-10px) rotate(-5deg); } .mw .mv-phone.c { transform: translateY(4px) rotate(4deg); }
.mw .mv-ad { width: 70px; aspect-ratio: 1; border-radius: 12px; flex: none; display: grid; align-content: end; padding: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.mw .mv-ad.a1 { background: linear-gradient(135deg, #2563FF, #8B5CF6); } .mw .mv-ad.a2 { background: linear-gradient(135deg, #0891B2, #00D8FF); transform: translateY(-8px); } .mw .mv-ad.a3 { background: linear-gradient(135deg, #1E3A8A, #8B5CF6); }
.mw .mv-search { flex: 1; max-width: 300px; display: grid; gap: 7px; }
.mw .mv-search .q { height: 26px; border-radius: 13px; background: var(--wash); border: 1px solid var(--line); }
.mw .mv-search .r { display: grid; gap: 5px; padding: 8px 10px; border-radius: 10px; background: var(--wash); }
.mw .mv-search .r i { display: block; height: 6px; border-radius: 3px; background: var(--line2); width: 80%; } .mw .mv-search .r i.t { height: 8px; width: 60%; background: var(--accent); }
.mw .mv-bubbles { display: grid; gap: 6px; width: 100%; max-width: 230px; }
.mw .mv-bubbles i { display: block; font-style: normal; font-size: 0.74rem; padding: 7px 11px; border-radius: 12px 12px 12px 3px; background: var(--wash); color: var(--fg); border: 1px solid var(--line); line-height: 1.3; }
.mw .mv-bubbles i.me { justify-self: end; background: var(--teal); color: #04201C; border: 0; border-radius: 12px 12px 3px 12px; font-weight: 600; }
.mw .mv-video { flex: 1; max-width: 300px; display: grid; gap: 8px; }
.mw .mv-video .scr { aspect-ratio: 16/8; border-radius: 10px; background: var(--grad); position: relative; }
.mw .mv-video .scr::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border-left: 15px solid var(--accent-ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.mw .mv-video .tl { height: 18px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.mw .mv-video .tl i { position: absolute; top: 0; bottom: 0; background: var(--teal); opacity: .8; border-right: 2px solid var(--surface); }

/* ---------- demo scroller ---------- */
.mw .dscroll { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(18px, env(safe-area-inset-left, 0px)) 18px; margin-inline: calc(-1 * max(18px, env(safe-area-inset-left, 0px))); scrollbar-width: thin; }
.mw .dscroll .demo-card { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
.mw .demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .mw .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mw .demo-grid { grid-template-columns: 1fr; } }
.mw .demo-card { display: grid; gap: 8px; align-content: start; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 22px; min-width: 0; transition: border-color .2s, transform .2s; }
.mw .demo-card:hover { border-color: var(--d, var(--accent)); transform: translateY(-4px); }
.mw .demo-card h3 { font-size: 1.05rem; margin-top: 2px; }
.mw .demo-card p { color: var(--muted); font-size: 0.93rem; }
.mw .demo-card .meta { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px; color: var(--muted); }
.mw .demo-card .go { font-weight: 700; font-size: 0.92rem; color: var(--d, var(--accent-text)); margin-top: 6px; }
.mw .dc-thumb { aspect-ratio: 16 / 10; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.mw .dc-bar { display: flex; gap: 4px; padding: 7px 9px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mw .dc-bar span { width: 6px; height: 6px; border-radius: 50%; background: var(--line2); }
.mw .dc-body { display: grid; grid-template-columns: 22% 1fr; min-height: 0; }
.mw .dc-side { background: var(--d); padding: 10px 8px; display: grid; gap: 6px; align-content: start; }
.mw .dc-side i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.7); }
.mw .dc-main { padding: 10px; display: grid; gap: 7px; align-content: start; }
.mw .dc-hero { height: 26px; border-radius: 6px; background: var(--d); opacity: 0.85; }
.mw .dc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mw .dc-row i { height: 22px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); }
.mw .dc-line { height: 6px; border-radius: 3px; background: var(--line); } .mw .dc-line.s { width: 60%; }
.mw .demo-note { background: var(--wash); border: 1px dashed var(--line2); border-radius: 12px; padding: 12px 16px; font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.mw .demo-note b { color: var(--fg); }

/* ---------- why us ---------- */
.mw .why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .mw .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .mw .why { grid-template-columns: 1fr; } }
.mw .why > div { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.mw .why .ico { width: 28px; height: 28px; color: var(--accent-text); }
.mw .why h3 { font-size: 1.05rem; }
.mw .why p { color: var(--muted); font-size: 0.96rem; }

/* ---------- process ---------- */
.mw .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.mw .steps li { counter-increment: step; padding: 28px 26px 32px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); position: relative; }
.mw .steps li:last-child { border-right: 0; }
.mw .steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.04em; }
.mw .steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .mw .steps { grid-template-columns: repeat(2, 1fr); } .mw .steps li:nth-child(2) { border-right: 0; } .mw .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .mw .steps { grid-template-columns: 1fr; } .mw .steps li { border-right: 0; border-bottom: 1px solid var(--line); } .mw .steps li:last-child { border-bottom: 0; } }

/* ---------- pricing ---------- */
.mw .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .mw .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mw .price-grid { grid-template-columns: 1fr; } }
.mw .pcard { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.mw .pcard.pop { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 30px 60px -40px var(--accent); }
.mw .pcard .tag { position: absolute; top: -13px; left: 24px; background: var(--grad); color: var(--accent-ink); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.mw .pcard h3 { font-size: 1.1rem; }
.mw .pcard .pp { display: grid; gap: 2px; }
.mw .pcard .pp b { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mw .pcard .pp small { color: var(--muted); font-size: 0.84rem; }
.mw .pcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; color: var(--muted); align-content: start; }
.mw .pcard li { padding-left: 24px; position: relative; }
.mw .pcard li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: rotate(-45deg) translateY(-3px); }
.mw .pcard .acts { display: grid; gap: 8px; }
.mw .pcard .btn { width: 100%; }
.mw .pnote { margin-top: 22px; color: var(--muted); font-size: 0.9rem; max-width: 80ch; }

/* ---------- testimonials ---------- */
.mw .tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .mw .tgrid { grid-template-columns: 1fr; } }
.mw .tcard { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-content: space-between; }
.mw .tcard blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.mw .tcard figcaption { font-size: 0.9rem; color: var(--muted); } .mw .tcard figcaption b { color: var(--fg); display: block; }
.mw .stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; }

/* ---------- faq ---------- */
.mw .faq { max-width: 860px; border-top: 1px solid var(--line); }
.mw details { border-bottom: 1px solid var(--line); }
.mw summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; position: relative; letter-spacing: -0.015em; }
.mw summary::-webkit-details-marker { display: none; }
.mw summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--accent-text); font-size: 1.2rem; font-family: var(--font-body); }
.mw details[open] summary::after { content: "\2212"; }
.mw details p { padding: 0 0 24px; color: var(--muted); max-width: 66ch; }

/* ---------- cta band ---------- */
.mw .cta-band { padding-block: clamp(40px, 6vw, 72px); }
.mw .cta-box { position: relative; border-radius: 28px; padding: clamp(30px, 5vw, 64px); background: var(--grad); color: var(--accent-ink); overflow: hidden; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.mw .cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, 0.16); }
.mw .cta-box h2 { max-width: 20ch; position: relative; z-index: 1; font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.mw .cta-box p { position: relative; z-index: 1; margin-top: 10px; opacity: .85; max-width: 46ch; }
.mw .cta-box .btn { position: relative; z-index: 1; background: #fff; color: #0B0F1E; box-shadow: none; }
.mw .cta-box .btn { background: #0B0F1E; color: #fff; }
.mw .cta-in { display: contents; }
.mw .cta-box.has-photo { min-height: clamp(240px, 26vw, 330px); padding-right: clamp(24px, 4vw, 56px); }
.mw .cta-box.has-photo::after { display: none; }
.mw .cta-photo { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 70%; object-fit: cover; object-position: left center; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 82%, transparent 100%); }
.mw .cta-box.has-photo > div { max-width: 46%; }
@media (max-width: 760px) {
  .mw .cta-box.has-photo { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 0; padding: 0 22px 26px; gap: 16px; }
  .mw .cta-box.has-photo > div { max-width: none; }
  .mw .cta-photo { position: relative; order: -1; width: calc(100% + 44px); max-width: none; height: 200px; margin: 0 -22px -34px; right: auto; object-position: 60% 25%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .mw .cta-box.has-photo h2 { text-shadow: 0 2px 14px rgba(11, 15, 30, .35); }
}

/* ---------- footer ---------- */
.mw .foot { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px); }
.mw .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .mw .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mw .foot-grid { grid-template-columns: 1fr; } }
.mw .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.mw .foot a { text-decoration: none; color: var(--muted); } .mw .foot a:hover { color: var(--fg); }
.mw .foot-h { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; color: var(--fg); font-weight: 500; }
.mw .foot-text { margin-top: 14px; font-size: 0.93rem; color: var(--muted); max-width: 36ch; }
.mw .foot-base { margin-top: 44px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
.mw .foot-base nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mw .wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); z-index: 80; transition: transform .15s; }
.mw .wa-fab:hover { transform: scale(1.06); }

/* ---------- cookie banner ---------- */
.mw .cookie { position: fixed; left: max(14px, env(safe-area-inset-left, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); right: 84px; max-width: 520px; z-index: 85; background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.mw .cookie[hidden] { display: none; }
.mw .cookie p { font-size: 0.9rem; color: var(--muted); } .mw .cookie a { color: var(--accent-text); }
.mw .cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 520px) { .mw .cookie { right: 14px; bottom: 82px; } }

/* ---------- page heads, legal ---------- */
.mw .page-head { position: relative; padding-block: clamp(40px, 6vw, 84px) clamp(26px, 4vw, 44px); overflow: hidden; isolation: isolate; }
.mw .page-head::before { content: ""; position: absolute; inset: -40% 0 auto 30%; height: 120%; background: radial-gradient(40% 50% at 60% 40%, var(--glow-a), transparent 70%); z-index: -1; }
.mw .page-head h1 { max-width: 20ch; }
.mw .page-head .lede { margin-top: 18px; }
.mw .crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.mw .crumbs a { text-decoration: none; } .mw .crumbs a:hover { text-decoration: underline; }
.mw .prose { max-width: 780px; }
.mw .prose p, .mw .prose li { margin-top: 12px; color: var(--muted); }
.mw .prose h2 { margin-top: 40px; font-size: 1.35rem; }
.mw .prose ul { padding-left: 20px; display: grid; gap: 4px; }
.mw .prose a { color: var(--accent-text); }
.mw .prose .upd { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.mw .legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mw .legal-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); text-decoration: none; font-size: 0.88rem; color: var(--muted); }
.mw .legal-nav a[aria-current] { background: var(--wash); color: var(--fg); }
.mw .crumbs + h1 + .lede { max-width: 62ch; }

/* ---------- retained components ---------- */
/* mockup parts */
.mw .browser, .mw .phone, .mw .tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mw .browser .bar { display: flex; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--wash); }
.mw .browser .bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mw .browser .page { padding: 16px; display: grid; gap: 10px; }
.mw .ln { height: 9px; border-radius: 5px; background: var(--wash); }
.mw .ln.w60 { width: 60%; } .mw .ln.w40 { width: 40%; } .mw .ln.w80 { width: 80%; }
.mw .ln.big { height: 18px; background: var(--fg); opacity: 0.88; }
.mw .blk { border-radius: 8px; background: var(--wash); min-height: 54px; }
.mw .blk.hot { background: var(--accent); } .mw .blk.cool { background: var(--teal); opacity: 0.85; }
.mw .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mw .phone { border-radius: 22px; border-width: 2px; padding: 14px 10px 10px; display: grid; gap: 8px; box-shadow: 0 18px 40px -22px rgba(14, 23, 38, 0.5); }
.mw .phone .notch { width: 36%; height: 6px; border-radius: 3px; background: var(--line); justify-self: center; }
.mw .bubble { background: var(--teal); color: #fff; padding: 11px 14px; border-radius: 14px 14px 14px 3px; font-size: 0.85rem; line-height: 1.4; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6); }


.mw .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .mw .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mw .svc-grid { grid-template-columns: 1fr; } }
.mw .svc-card { display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; min-width: 0; transition: border-color .15s, transform .15s; }
.mw .svc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mw .svc-card p { color: var(--muted); font-size: 0.95rem; }
.mw .svc-card .go { font-weight: 600; font-size: 0.92rem; color: var(--accent); margin-top: 4px; }
.mw .ico { width: 30px; height: 30px; color: var(--accent); }
.mw .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; list-style: none; padding: 0; }
.mw .tags li { font-family: var(--font-mono); font-size: 0.7rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

.mw .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.mw .chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--fg); font-family: inherit; font-weight: 500; font-size: 0.9rem; cursor: pointer; }
.mw .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.mw .cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .mw .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mw .cases { grid-template-columns: 1fr; } }
.mw .case { display: grid; gap: 12px; min-width: 0; align-content: start; }
.mw .case[hidden] { display: none; }
.mw .thumb { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--wash); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; padding: 18px; }
.mw .thumb .browser { width: 100%; } .mw .thumb .phone { width: 46%; }
.mw .case h3 { font-size: 1.1rem; }
.mw .case .meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.mw .case p { color: var(--muted); font-size: 0.95rem; }
.mw .case a.link { font-weight: 600; font-size: 0.92rem; color: var(--accent); text-decoration: none; }
.mw .case a.link:hover { text-decoration: underline; }
.mw .ad-sq { width: 70%; aspect-ratio: 1; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; align-content: end; padding: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.6); }
.mw .ad-sq small { font-family: var(--font-mono); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.1em; margin-top: 8px; opacity: 0.85; }
.mw .vid { width: 100%; }
.mw .vid .frame { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--fg); display: grid; place-items: center; }
.mw .vid .frame::after { content: ""; border-left: 22px solid var(--bg); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.mw .vid .track, .mw .timeline { margin-top: 10px; height: 26px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.mw .vid .track i, .mw .timeline i { position: absolute; top: 0; bottom: 0; background: var(--teal); opacity: 0.8; border-right: 2px solid var(--surface); }

.mw .models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .mw .models { grid-template-columns: 1fr; } }
.mw .model { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.mw .model.pick { border-color: var(--accent); border-width: 2px; }
.mw .model ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; display: grid; gap: 6px; }
.mw .model .for { font-size: 0.92rem; color: var(--muted); }
.mw .reach { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .mw .reach { grid-template-columns: 1fr; } }
.mw .reach h2 { margin-bottom: 10px; }
.mw .reach p { color: var(--muted); }
.mw .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .mw .two-col { grid-template-columns: 1fr; } }
.mw .check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mw .check li { padding-left: 28px; position: relative; color: var(--muted); }
.mw .check li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) translateY(-4px); }

/* forms */
.mw label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.mw input, .mw select, .mw textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); width: 100%; min-height: 46px; }
.mw textarea { min-height: 110px; resize: vertical; }
.mw input[type="range"] { padding: 0; min-height: 28px; accent-color: var(--accent); }
.mw .lead-form, .mw .ad-form { display: grid; gap: 14px; }
.mw .lead-form { background: var(--surface); padding: 26px; border: 1px solid var(--line); border-radius: 16px; }
.mw .contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .mw .contact-grid { grid-template-columns: 1fr; } }
.mw .reach-list { display: grid; gap: 12px; color: var(--muted); }
.mw .reach-list strong, .mw .reach-list a:not(.btn) { color: var(--fg); }
.mw .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mw .err { color: #C2260F; font-size: 0.82rem; font-weight: 500; }
.mw .err.box { background: #FDEBE7; padding: 10px 14px; border-radius: 8px; }
.mw .form-ok { background: var(--surface); border: 2px solid var(--ok); border-radius: 16px; padding: 28px; display: grid; gap: 12px; }
.mw .form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- demos ---------- */
.mw .demo-sec { padding-block: clamp(40px, 6vw, 72px); }
.mw .demo { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 3vw, 28px); }
.mw .demo-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.mw .demo-readout { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-left: auto; }
/* responsive preview */
.mw .rp-stage { background: var(--wash); border-radius: 12px; padding: 18px; overflow-x: auto; display: flex; justify-content: center; }
.mw .rp-frame { width: 100%; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: width .35s ease; flex: none; }
.mw .rp-bar { display: flex; gap: 5px; align-items: center; padding: 9px 12px; background: var(--wash); border-bottom: 1px solid var(--line); }
.mw .rp-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mw .rp-bar em { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; margin-left: 10px; color: var(--muted); }
.mw .rp-site { container-type: inline-size; padding: 18px; display: grid; gap: 18px; }
.mw .rp-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mw .rp-links { display: flex; gap: 14px; font-size: 0.85rem; color: var(--muted); font-style: normal; }
.mw .rp-links i { font-style: normal; }
.mw .rp-hero { background: var(--teal); color: #fff; padding: 28px; border-radius: 12px; display: grid; gap: 10px; }
.mw .rp-hero h3 { font-size: 1.6rem; }
.mw .rp-btn { justify-self: start; background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 10px 16px; border-radius: 8px; font-size: 0.9rem; }
.mw .rp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw .rp-cards div { background: var(--wash); padding: 18px 12px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; }
@container (max-width: 520px) { .mw .rp-links { display: none; } .mw .rp-cards { grid-template-columns: 1fr; } .mw .rp-hero h3 { font-size: 1.3rem; } .mw .rp-hero { padding: 20px; } }
/* app prototype */
.mw .app-demo, .mw .wa-demo { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 700px) { .mw .app-demo, .mw .wa-demo { grid-template-columns: 1fr; justify-items: center; } }
.mw .app-side { display: grid; gap: 14px; align-content: center; justify-items: start; }
.mw .app-phone, .mw .wa-phone { width: 300px; max-width: 100%; background: var(--surface); border: 3px solid var(--fg); border-radius: 34px; padding: 14px 12px 12px; display: grid; gap: 10px; box-shadow: 0 24px 48px -28px rgba(14, 23, 38, 0.6); }
.mw .app-notch { width: 40%; height: 6px; background: var(--line); border-radius: 3px; justify-self: center; }
.mw .app-screen { min-height: 340px; padding: 6px 6px 0; }
.mw .scr[hidden] { display: none; }
.mw .scr { display: grid; gap: 12px; align-content: start; }
.mw .scr h3 { font-size: 1.3rem; }
.mw .app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mw .app-grid button { min-height: 72px; border: 1px solid var(--line); background: var(--wash); border-radius: 12px; font: inherit; font-weight: 600; color: var(--fg); cursor: pointer; }
.mw .app-grid button:hover { border-color: var(--accent); }
.mw .app-banner { background: var(--accent); color: var(--accent-ink); border-radius: 12px; padding: 16px; font-weight: 700; font-family: var(--font-display); }
.mw .slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mw .slot { min-height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; }
.mw .slot[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.mw .app-cta { min-height: 46px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; cursor: pointer; }
.mw .track-list { list-style: none; margin: 8px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--line); display: grid; gap: 18px; }
.mw .track-list li { position: relative; color: var(--muted); }
.mw .track-list li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); border: 2px solid var(--surface); }
.mw .track-list li.done { color: var(--fg); } .mw .track-list li.done::before { background: var(--teal); }
.mw .track-list li.now { color: var(--fg); font-weight: 700; } .mw .track-list li.now::before { background: var(--accent); }
.mw .app-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 8px; }
.mw .app-tabs button { border: 0; background: transparent; padding: 10px 0; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 8px; }
.mw .app-tabs button[aria-selected="true"] { color: var(--accent); }
/* ad builder */
.mw .ad-demo, .mw .g-demo, .mw .ph-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 800px) { .mw .ad-demo, .mw .g-demo, .mw .ph-demo { grid-template-columns: 1fr; } }
.mw .g-col, .mw .ph-col { display: grid; gap: 14px; min-width: 0; }
.mw fieldset.opt { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.mw fieldset.opt legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.mw label.radio { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mw label.radio input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--accent); }
.mw .swatches { display: flex; gap: 10px; }
.mw .sw { width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; }
.mw .sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--fg); }
.mw .ad-stage { display: grid; place-items: center; background: var(--wash); border-radius: 14px; padding: 22px; min-height: 340px; }
.mw .ad-card { background: var(--c); color: var(--t); border-radius: 14px; padding: 22px; display: grid; align-content: space-between; gap: 12px; width: min(100%, 320px); aspect-ratio: 1; box-shadow: 0 22px 40px -24px rgba(0, 0, 0, 0.6); transition: width .25s, aspect-ratio .25s; overflow: hidden; }
.mw .ad-card.story { aspect-ratio: 9 / 16; width: min(100%, 210px); }
.mw .ad-card.banner { aspect-ratio: 3 / 1; width: min(100%, 420px); padding: 14px 18px; align-content: center; }
.mw .ad-brand { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.mw .ad-card strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.02; overflow-wrap: anywhere; }
.mw .ad-card.banner strong { font-size: 1.25rem; }
.mw .ad-card.banner .ad-brand { display: none; }
.mw .ad-btn { justify-self: start; background: var(--t); color: var(--c); padding: 9px 16px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; }
/* google */
.mw .cnt { font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.78rem; margin-left: 6px; }
.mw .serp { background: #fff; color: #202124; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-family: Arial, sans-serif; display: grid; gap: 4px; }
.mw .serp-top { font-size: 0.8rem; color: #4d5156; }
.mw .serp-ad { font-weight: 700; color: #202124; }
.mw .serp-title { font-size: 1.15rem; color: #1a0dab; line-height: 1.3; overflow-wrap: anywhere; }
.mw .serp-desc { font-size: 0.88rem; color: #4d5156; line-height: 1.5; overflow-wrap: anywhere; }
.mw output { font-family: var(--font-mono); font-weight: 500; color: var(--accent); }
.mw .calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw .calc-out div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; display: grid; gap: 2px; text-align: center; }
.mw .calc-out span { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 4vw, 1.7rem); font-variant-numeric: tabular-nums; }
.mw .calc-out small { color: var(--muted); font-size: 0.75rem; }
/* whatsapp */
.mw .wa-phone { padding: 0; overflow: hidden; gap: 0; background: #E6DDD4; }
.mw .wa-head { display: flex; gap: 10px; align-items: center; background: #0B6B63; color: #fff; padding: 12px 14px; }
.mw .wa-head i { width: 34px; height: 34px; border-radius: 50%; background: #fff; opacity: 0.9; flex: none; }
.mw .wa-head strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.mw .wa-head small { opacity: 0.85; font-size: 0.74rem; }
.mw .wa-body { min-height: 300px; max-height: 340px; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.mw .msg { max-width: 82%; padding: 8px 12px; border-radius: 10px; font-size: 0.88rem; line-height: 1.4; background: #fff; color: #111; align-self: flex-start; }
.mw .msg.me { align-self: flex-end; background: #D9FDD3; }
.mw .wa-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 14px; background: var(--surface); border-top: 1px solid var(--line); min-height: 64px; }
.mw .wa-replies button { border: 1.5px solid #0B6B63; color: #0B6B63; background: transparent; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.mw .wa-replies button:hover { background: #0B6B63; color: #fff; }
/* photo */
.mw .scene { aspect-ratio: 16 / 10; border-radius: 12px; position: relative; overflow: hidden; background:
  radial-gradient(circle at 72% 28%, #FFD27A 0 9%, transparent 10%),
  linear-gradient(180deg, #7FB2E5 0 45%, #E9A268 45% 60%, transparent 60%),
  linear-gradient(180deg, transparent 60%, #2F5D50 60% 100%); }
.mw .scene::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 34%; background: linear-gradient(160deg, #1F3F36, #2F5D50); clip-path: polygon(0 60%, 18% 20%, 34% 55%, 52% 10%, 74% 50%, 100% 25%, 100% 100%, 0 100%); }
.mw .scene-before { position: absolute; inset: 0; border-radius: 0; filter: grayscale(0.7) brightness(0.8) contrast(0.8); clip-path: inset(0 50% 0 0); aspect-ratio: auto; }
.mw .ba { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mw .ba .scene { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.mw .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); pointer-events: none; }
.mw .ba-handle i { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.mw .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.mw .ba-tag { position: absolute; top: 10px; background: rgba(0, 0, 0, 0.6); color: #fff; font-family: var(--font-mono); font-size: 0.68rem; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.mw .ba-tag.l { left: 10px; } .mw .ba-tag.r { right: 10px; }
.mw .grade { border: 1px solid var(--line); }
.mw .ba:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .mw { scroll-behavior: auto; } .mw * { transition: none !important; } }

/* labels that mix text with counters or outputs */
.mw .ad-form label { display: block; }
.mw .ad-form label > input, .mw .ad-form label > textarea, .mw .ad-form label > select { margin-top: 6px; display: block; }
.mw .ad-form label > output { float: right; }

.mw .tags.big li { font-size: 0.8rem; padding: 6px 14px; color: var(--fg); }


/* ---------- polish: retained components restyled for the new system ---------- */
.mw .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .mw .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mw .svc-grid { grid-template-columns: 1fr; } }
.mw .svc-card { position: relative; display: grid; align-content: start; gap: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 0; transition: border-color .2s, transform .2s; overflow: hidden; isolation: isolate; }
.mw .svc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--glow-a), transparent 60%); opacity: 0; transition: opacity .25s; z-index: -1; }
.mw .svc-card:hover { border-color: var(--accent); transform: translateY(-3px); } .mw .svc-card:hover::before { opacity: 1; }
.mw .svc-card p { color: var(--muted); font-size: 0.95rem; }
.mw .svc-card .go { font-weight: 700; font-size: 0.92rem; color: var(--accent-text); margin-top: 4px; }
.mw .ico { width: 30px; height: 30px; color: var(--accent-text); }
.mw .svc-card .ico { width: 30px; height: 30px; padding: 7px; border-radius: 11px; background: var(--wash); border: 1px solid var(--line); box-sizing: content-box; margin-bottom: 4px; }
.mw .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; list-style: none; padding: 0; }
.mw .tags li { font-family: var(--font-mono); font-size: 0.7rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--wash); }
.mw .chip { border-color: var(--line2); } .mw .chip:hover { border-color: var(--fg); }
.mw .chip[aria-pressed="true"] { background: var(--grad); color: var(--accent-ink); border-color: transparent; }
.mw .case .thumb, .mw .thumb { border-radius: var(--radius); }
.mw .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.mw .thumb { position: relative; }
.mw .case a.link { color: var(--accent-text); }
.mw .ad-sq { background: var(--grad); color: var(--accent-ink); }
.mw .model { border-radius: var(--radius); } .mw .model.pick { border-color: var(--accent); }
.mw .app-phone, .mw .wa-phone { border: 3px solid var(--line2); }
.mw input, .mw select, .mw textarea { border-color: var(--line2); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.mw input:focus, .mw select:focus, .mw textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-a); }
.mw input::placeholder, .mw textarea::placeholder { color: var(--muted); opacity: .7; }
.mw .lead-form { border-radius: 22px; padding: clamp(22px, 3vw, 34px); background: var(--surface); }
.mw .demo { border-radius: 20px; background: var(--surface); } .mw .demo-sec { background: var(--bg); }
.mw .check li::before { border-color: var(--accent-text); }
.mw .reach h2 { font-size: 1.25rem; }
.mw .reach-list a:not(.btn) { color: var(--fg); }
.mw .btn-primary.sm { min-height: 42px; }
.mw .timeline i, .mw .vid .track i { background: var(--teal); }
.mw ::-webkit-scrollbar { height: 10px; width: 10px; } .mw ::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; } .mw ::-webkit-scrollbar-track { background: transparent; }
@media (prefers-reduced-motion: reduce) { .mw { scroll-behavior: auto; } .mw * { transition: none !important; animation: none !important; } }

/* ---- live demo frame + image thumbs ---- */
.mw .dc-thumb.has-img { display: block; background: var(--wash); }
.mw .dc-thumb.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mw .live-tools { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mw .live-tools .demo-note { margin: 0; flex: 1 1 320px; }
.mw .live-actions { display: flex; gap: 10px; align-items: center; }
.mw .seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; background: var(--surface); }
.mw .seg-b { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 0.88rem; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.mw .seg-b.on { background: var(--fg); color: var(--bg); }
.mw .liveframe { border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px -30px rgba(0,0,0,.5); transition: max-width .3s; margin-inline: auto; max-width: 100%; }
.mw .liveframe iframe { display: block; width: 100%; height: min(82vh, 820px); min-height: 560px; border: 0; background: #fff; }
.mw .liveframe.phone { max-width: 410px; }
.mw .liveframe.phone iframe { height: 760px; }
@media (max-width: 700px) { .mw .liveframe iframe { height: 78vh; } .mw .seg { display: none; } }
@media (prefers-reduced-motion: reduce) { .mw .liveframe { transition: none; } }
.mw .liveframe .dframe-bar { display: flex; gap: 5px; align-items: center; padding: 10px 14px; background: var(--wash); border-bottom: 1px solid var(--line); }
.mw .liveframe .dframe-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.mw .liveframe .dframe-bar em { font-style: normal; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); margin-left: 10px; }
/* trust badges + about image */
.mw .trust-badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
.mw .trust-badges > div { display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mw .trust-badges svg { color: var(--accent-text); }
.mw .trust-badges b { font-size: 0.98rem; }
.mw .trust-badges span { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
@media (max-width: 1000px) { .mw .trust-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mw .trust-badges { grid-template-columns: 1fr; } }
.mw .about-img { width: 100%; height: auto; aspect-ratio: 9 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }

.mw .logo-img{display:block;height:44px;width:auto;max-width:210px;object-fit:contain}
.mw .logo-for-light{display:none}
.mw .logo-for-dark{display:none}
.mw .logo-for-light{display:block}
.mw .foot-grid .logo-img{height:50px}


/* packages: not-included items, optional image; service card with uploaded image */
.mw .pcard li.no { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; opacity: .75; }
.mw .pcard li.no::before { content: "\2715"; border: 0; transform: none; width: auto; height: auto; top: 0.1em; font-size: 0.82rem; color: var(--muted); }
.mw .pcard .pimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }
.mw .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mw .bc-vis.has-img { display: block; min-height: 0; }
.mw .bc-vis.has-img img { width: 100%; max-height: 190px; object-fit: cover; border-radius: 12px; display: block; }

/* ---------- service cards with an uploaded photo ---------- */
.mw .svc-photo { display: block; overflow: hidden; background: var(--wash); aspect-ratio: 16 / 9; max-height: 230px; width: 100%; }
.mw .svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mw .bc:hover .svc-photo img, .mw .svc-card:hover .svc-photo img { transform: scale(1.04); }
.mw .bc.has-photo { padding: 0; gap: 0; align-content: start; grid-template-rows: auto 1fr; min-height: 0; }
.mw .bc.has-photo .bc-body { padding: clamp(18px, 2.2vw, 26px); display: grid; align-content: start; }
.mw .bc.has-photo .bc-body .ico { display: none; }
.mw .bc.has-photo .bc-body h3 { margin-top: 0; }
.mw .svc-card.has-photo { padding: 0; gap: 0; align-content: start; grid-auto-rows: auto; }
.mw .svc-card.has-photo > :not(.svc-photo) { margin-inline: 24px; }
.mw .svc-card.has-photo .svc-photo { margin: 0 0 18px; }
.mw .svc-card.has-photo .ico { display: none; }
.mw .svc-card.has-photo h2 { margin-bottom: 8px; }
.mw .svc-card.has-photo .go { margin-bottom: 24px; margin-top: 12px; }
.mw .svc-card.has-photo .tags { margin-top: 12px; }

/* ---------- phones: keep these blocks in TWO columns, with tighter spacing ---------- */
@media (max-width: 580px) {
  .mw .hero-feats { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .mw .hero-feats li { flex-direction: column; gap: 10px; padding: 16px 14px; }
  .mw .hero-feats li + li { border-top: 0; border-left: 0; }
  .mw .hero-feats li:nth-child(even) { border-left: 1px solid var(--line); }
  .mw .hero-feats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mw .hero-feats .fi { width: 34px; height: 34px; border-radius: 10px; }
  .mw .hero-feats b { font-size: 0.9rem; } .mw .hero-feats span { font-size: 0.78rem; }

  .mw .why { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mw .why > div { padding: 16px 14px; gap: 6px; border-radius: 16px; }
  .mw .why .ico { width: 24px; height: 24px; } .mw .why h3 { font-size: 0.95rem; } .mw .why p { font-size: 0.82rem; line-height: 1.5; }

  .mw .trust-badges { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .mw .trust-badges > div { padding: 14px 12px; gap: 4px; border-radius: 16px; }
  .mw .trust-badges > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mw .trust-badges svg { width: 24px; height: 24px; } .mw .trust-badges b { font-size: 0.9rem; } .mw .trust-badges span { font-size: 0.78rem; line-height: 1.45; }

  .mw .steps { grid-template-columns: 1fr 1fr; }
  .mw .steps li { padding: 18px 14px; border-bottom: 1px solid var(--line); }
  .mw .steps li:nth-child(odd) { border-right: 1px solid var(--line); }
  .mw .steps li:nth-child(even) { border-right: 0; }
  .mw .steps li:nth-child(n+3) { border-bottom: 0; }
  .mw .steps h3 { font-size: 0.98rem; } .mw .steps p { font-size: 0.82rem; line-height: 1.5; }
}

/* service photo: framed inside the card, never cropped (illustrations with white backgrounds look right in dark and light) */
.mw .svc-photo { margin: 12px 12px 0; width: auto; aspect-ratio: 16 / 10; max-height: none; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.mw .svc-photo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.mw .bc:hover .svc-photo img, .mw .svc-card:hover .svc-photo img { transform: scale(1.03); }
.mw .svc-card.has-photo .svc-photo { margin: 12px 12px 18px; }
.mw .bc.has-photo .bc-body { padding: 18px clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px); }
.mw .bc.has-photo .bc-body h3 { font-size: 1.25rem; }
.mw .bc.has-photo .bc-body .go { margin-top: 12px; }
@media (max-width: 640px) { .mw .svc-photo { aspect-ratio: 4 / 3; } }

/* ---------- service cards: picture as the background, gradient overlay, text on top ---------- */
.mw .bc.has-photo, .mw .svc-card.has-photo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 30vw, 400px); padding: 0; gap: 0; overflow: hidden; border-color: rgba(255,255,255,.08); isolation: isolate; }
.mw .bc.has-photo.w7, .mw .bc.has-photo.w8 { min-height: clamp(340px, 30vw, 400px); }
.mw .has-photo .svc-photo { position: absolute; inset: 0; z-index: -2; margin: 0 !important; width: auto; aspect-ratio: auto; max-height: none; border: 0; border-radius: 0; background: #fff; display: block; }
.mw .has-photo .svc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; padding: 0; transition: transform .6s ease; }
.mw .has-photo:hover .svc-photo img { transform: scale(1.05); }
.mw .has-photo::before { display: none !important; }
.mw .has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,15,30,0) 0%, rgba(11,15,30,.10) 32%, rgba(11,15,30,.82) 66%, #0B0F1E 100%),
              linear-gradient(135deg, rgba(37,99,255,.18), rgba(139,92,246,.22)); }
.mw .bc.has-photo .bc-body, .mw .svc-card.has-photo > :not(.svc-photo) { position: relative; }
.mw .bc.has-photo .bc-body { padding: 0 clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px); }
.mw .svc-card.has-photo > :not(.svc-photo) { margin-inline: clamp(20px, 2.4vw, 28px); }
.mw .has-photo h3, .mw .has-photo h2 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.mw .has-photo p { color: rgba(255,255,255,.86); }
.mw .has-photo .go { color: #7FD7FF; }
.mw .has-photo .tags li { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.mw .svc-card.has-photo .go { margin-bottom: clamp(20px, 2.4vw, 28px); }

/* ==== demo-apps.css ==== */
/* Styles for the interactive demo apps. --d is each demo's accent colour. */
.mw .dframe { --d-ink: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -40px rgba(14, 23, 38, 0.5); }
.mw .dframe-bar { display: flex; gap: 5px; align-items: center; padding: 10px 14px; background: var(--wash); border-bottom: 1px solid var(--line); }
.mw .dframe-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mw .dframe-bar em { font-style: normal; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); margin-left: 10px; }
.mw .dapp { min-height: 480px; color: var(--fg); }
.mw .dapp * { min-width: 0; }
.mw .d-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; background: var(--d); color: var(--d-ink); }
.mw .d-top strong { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.01em; }
.mw .d-top .d-sub { font-size: 0.82rem; opacity: 0.85; }
.mw .d-tabs { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; background: var(--surface); }
.mw .d-tabs button { flex: none; min-height: 38px; padding: 0 14px; border-radius: 9px; border: 1.5px solid transparent; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.mw .d-tabs button[aria-pressed="true"] { background: var(--d); color: var(--d-ink); }
.mw .d-tabs button:not([aria-pressed="true"]):hover { border-color: var(--line); color: var(--fg); }
.mw .d-body { padding: clamp(14px, 3vw, 24px); display: grid; gap: 18px; background: var(--bg); }
.mw .d-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mw .d-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 2px; }
.mw .d-tile b { font-family: var(--font-display); font-size: 1.55rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mw .d-tile small { color: var(--muted); font-size: 0.8rem; }
.mw .d-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 12px; align-content: start; }
.mw .d-card h3 { font-size: 1.05rem; }
.mw .d-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.mw .d-two.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .mw .d-two, .mw .d-two.even { grid-template-columns: 1fr; } }
.mw .d-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 8px; }
.mw .d-bars div { flex: 1; display: grid; gap: 4px; justify-items: center; align-content: end; height: 100%; font-size: 0.72rem; color: var(--muted); }
.mw .d-bars i { width: 100%; max-width: 44px; background: var(--d); border-radius: 6px 6px 0 0; min-height: 4px; display: block; }
.mw .d-bars span { font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 600; }
.mw .d-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mw .d-tools input, .mw .d-tools select, .mw .d-field input, .mw .d-field select { min-height: 42px; padding: 8px 12px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-weight: 400; width: auto; }
.mw .d-tools input { flex: 1 1 180px; }
.mw .d-field { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; }
.mw .d-field input, .mw .d-field select { width: 100%; }
.mw .d-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: end; }
.mw .d-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mw .d-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.mw .d-table th { text-align: left; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mw .d-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mw .d-table tr:last-child td { border-bottom: 0; }
.mw .d-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.mw .d-pill.ok { background: #DDF5EC; color: #0B5F45; } .mw .d-pill.warn { background: #FFE9D2; color: #8A3A05; } .mw .d-pill.no { background: #FBE0E0; color: #8E1B1B; }
.mw .d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 9px; border: 1.5px solid var(--d); background: var(--d); color: var(--d-ink); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.mw .d-btn.ghost { background: transparent; color: var(--d); }
.mw .d-btn.sm { min-height: 32px; padding: 0 12px; font-size: 0.8rem; }
.mw .d-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.mw .d-btn.on { background: var(--teal); border-color: var(--teal); }
.mw .d-toast { background: var(--d); color: var(--d-ink); padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; }
.mw .d-muted { color: var(--muted); font-size: 0.88rem; }
.mw .d-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mw .d-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mw .d-list li:last-child { border-bottom: 0; }
.mw .d-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.mw .d-prod { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; align-content: start; }
.mw .d-prod .img { aspect-ratio: 4 / 3; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: rgba(255, 255, 255, 0.92); background: var(--c, var(--d)); }
.mw .d-prod .info { padding: 12px; display: grid; gap: 4px; }
.mw .d-prod .info b { font-size: 0.95rem; }
.mw .d-prod .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.mw .d-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.mw .d-price s { color: var(--muted); font-weight: 400; font-size: 0.85em; margin-left: 4px; }
.mw .d-qty { display: inline-flex; align-items: center; gap: 8px; }
.mw .d-qty button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-weight: 700; cursor: pointer; }
.mw .d-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.mw .d-steps { display: flex; gap: 6px; }
.mw .d-steps span { flex: 1; text-align: center; font-size: 0.78rem; padding: 8px 4px; border-radius: 8px; background: var(--wash); color: var(--muted); font-weight: 600; }
.mw .d-steps span.on { background: var(--d); color: var(--d-ink); }
.mw .d-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mw .d-stamps i { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.mw .d-stamps i.on { background: var(--d); border: 2px solid var(--d); color: var(--d-ink); }
.mw .d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mw .d-chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.mw .d-chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.mw .d-chip:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.mw .d-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.mw .d-plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.mw .d-plan.pick { border-color: var(--d); border-width: 2px; }
.mw .d-plan .p { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; }
.mw .d-plan .p small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.mw .d-plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; display: grid; gap: 4px; }
.mw .d-cert { border: 6px double var(--d); background: var(--surface); padding: clamp(20px, 5vw, 44px); text-align: center; display: grid; gap: 10px; }
.mw .d-cert h3 { font-size: clamp(1.3rem, 4vw, 2rem); color: var(--d); }
.mw .d-cert .nm { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 5vw, 2.3rem); border-bottom: 2px solid var(--line); padding-bottom: 6px; justify-self: center; }
.mw .d-doc { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mw .d-doc.pick { border-color: var(--d); border-width: 2px; }
.mw .d-av { width: 48px; height: 48px; border-radius: 50%; background: var(--d); color: var(--d-ink); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.mw .d-result { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; }
.mw .d-prog { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; width: 120px; }
.mw .d-prog i { display: block; height: 100%; background: var(--d); }

/* ==== demo-extra.css ==== */
/* Styles for the exam, games arcade and institution app demos, plus the app-demo card row.
   Uses only theme variables from the site (--bg --surface --fg --muted --line --accent --wash --teal --d --d-ink).
   Semantic state colours are defined here for light and dark. */
.mw {
  --x-ok: #0B6B49; --x-ok-bg: #DDF5EC;
  --x-warn: #8A3A05; --x-warn-bg: #FFE9D2;
  --x-no: #8E1B1B; --x-no-bg: #FBE0E0;
  --x-mk: #5B2DA8; --x-mk-bg: #EADFFB;
  --x-ns: #E3E8F0; --x-ns-ink: #3B465C;
}
.mw :root[data-theme="dark"] {
  --x-ok: #7BE0BC; --x-ok-bg: #0F3A2E; --x-warn: #FFC58A; --x-warn-bg: #44280F;
  --x-no: #FFA9A9; --x-no-bg: #4A1B1B; --x-mk: #CDB5FF; --x-mk-bg: #35215E;
  --x-ns: #1E2943; --x-ns-ink: #B6C0D6;
}
.mw .dapp .d-btn { color: var(--d-ink, #fff); }
.mw .dapp .d-btn.ghost { color: var(--d); }
.mw .dapp * { min-width: 0; }

/* ===================== Exam ===================== */
.mw .x-timer { font-family: var(--font-mono, ui-monospace, monospace); font-weight: 500; font-size: 1.15rem; background: rgba(0, 0, 0, 0.22); padding: 4px 12px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.mw .x-timer.low { background: #B91C1C; color: #fff; animation: x-pulse 1s ease-in-out infinite; }
@keyframes x-pulse { 50% { opacity: 0.65; } }
.mw .x-intro { max-width: 760px; }
.mw .x-rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 0.93rem; }
.mw .x-test { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .mw .x-test { grid-template-columns: 1fr; } }
.mw .x-qhead { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.mw .x-qtext { font-size: 1.08rem; line-height: 1.5; font-weight: 600; margin: 0; }
.mw .x-opts { display: grid; gap: 10px; }
.mw .x-opt { display: flex; gap: 12px; align-items: center; text-align: left; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; }
.mw .x-opt b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); font-size: 0.82rem; }
.mw .x-opt:hover { border-color: var(--d); }
.mw .x-opt.on { border-color: var(--d); background: var(--wash); box-shadow: inset 0 0 0 1px var(--d); }
.mw .x-opt.on b { background: var(--d); color: var(--d-ink, #fff); }
.mw .x-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.mw .x-nav .d-btn:last-child { margin-left: auto; }
.mw .x-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mw .x-pn { width: 100%; aspect-ratio: 1; min-height: 38px; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 0.88rem; cursor: pointer; display: grid; place-items: center; background: var(--x-ns); color: var(--x-ns-ink); padding: 0; }
.mw .x-pn.ans { background: var(--x-ok-bg); color: var(--x-ok); }
.mw .x-pn.na { background: var(--x-no-bg); color: var(--x-no); }
.mw .x-pn.mk { background: var(--x-mk-bg); color: var(--x-mk); border-radius: 50%; }
.mw .x-pn.mka { background: var(--x-mk-bg); color: var(--x-mk); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--x-ok-bg); }
.mw .x-pn.cur { border-color: var(--d); }
.mw .x-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 0.8rem; color: var(--muted); }
.mw .x-legend li { display: flex; align-items: center; gap: 8px; }
.mw .x-legend i.x-pn { width: 16px; min-height: 16px; height: 16px; border-radius: 4px; flex: none; }
.mw .x-legend i.x-pn.mk { border-radius: 50%; }
.mw .x-confirm { background: var(--wash); border: 1.5px solid var(--d); border-radius: 12px; padding: 14px; display: grid; gap: 12px; font-size: 0.9rem; }
.mw .x-confirm p { margin: 0; }
.mw .x-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mw .x-g { color: var(--x-ok); } .mw .x-r { color: var(--x-no); }
.mw .x-bars { display: grid; gap: 12px; }
.mw .x-bar { display: grid; grid-template-columns: 84px 1fr 44px; gap: 12px; align-items: center; font-size: 0.88rem; }
.mw .x-bt { height: 14px; background: var(--wash); border-radius: 7px; overflow: hidden; border: 1px solid var(--line); }
.mw .x-bt i { display: block; height: 100%; background: var(--d); border-radius: 7px; }
.mw .x-bv { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.mw .d-list-cards { display: grid; gap: 12px; }
.mw .x-rev p { margin: 0; }
.mw .x-expl { background: var(--wash); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; }
.mw .x-rank li.me { background: var(--wash); margin: 0 -10px; padding-inline: 10px; border-radius: 8px; font-weight: 700; }

/* ===================== Games ===================== */
.mw .g-wrap { display: grid; justify-items: center; padding: clamp(14px, 3vw, 28px); background: var(--bg); }
.mw .g-phone { width: 100%; max-width: 380px; background: var(--surface); border: 3px solid var(--fg); border-radius: 30px; overflow: hidden; box-shadow: 0 26px 50px -30px rgba(14, 23, 38, 0.6); }
.mw .g-phone .d-top { justify-content: flex-start; gap: 10px; }
.mw .g-phone .d-top .d-sub { margin-left: auto; }
.mw .g-back { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.2); color: inherit; font: inherit; font-size: 1.1rem; cursor: pointer; }
.mw .g-screen { padding: 16px; display: grid; gap: 14px; background: var(--bg); min-height: 440px; align-content: start; }
.mw .g-cards { display: grid; gap: 12px; }
.mw .g-gcard { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; }
.mw .g-gcard:hover { border-color: var(--d); transform: translateY(-1px); }
.mw .g-gt { display: grid; gap: 2px; font-size: 0.85rem; color: var(--muted); }
.mw .g-gt b { color: var(--fg); font-size: 1.05rem; font-family: var(--font-display, inherit); }
.mw .g-gt em { font-style: normal; font-weight: 600; color: var(--d); font-size: 0.8rem; }
.mw .g-ic { flex: none; width: 58px; height: 58px; border-radius: 16px; position: relative; background: var(--d); overflow: hidden; }
.mw .g-ic-mem::before, .mw .g-ic-mem::after { content: ""; position: absolute; width: 24px; height: 30px; border-radius: 6px; background: #fff; top: 14px; }
.mw .g-ic-mem::before { left: 8px; transform: rotate(-10deg); opacity: 0.9; } .mw .g-ic-mem::after { right: 8px; transform: rotate(10deg); background: #FFD23F; }
.mw .g-ic-snake { background: #15803D; }
.mw .g-ic-snake::before { content: ""; position: absolute; left: 10px; top: 12px; width: 38px; height: 34px; border: 7px solid #fff; border-left-color: transparent; border-bottom-color: transparent; border-radius: 0 16px 0 0; box-sizing: border-box; }
.mw .g-ic-snake::after { content: ""; position: absolute; left: 10px; top: 36px; width: 9px; height: 9px; background: #FFD23F; border-radius: 50%; }
.mw .g-ic-math { background: #C2410C; }
.mw .g-ic-math::before { content: "+ \00D7"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: 4px; }
.mw .g-note { margin: 0; text-align: center; }
.mw .g-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.mw .g-stats b { color: var(--fg); font-variant-numeric: tabular-nums; }
.mw .g-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mw .g-card { aspect-ratio: 1; border-radius: 14px; border: 0; background: var(--d); color: var(--fg); font: inherit; cursor: pointer; display: grid; place-items: center; position: relative; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); transition: transform .15s, background .2s; padding: 0; }
.mw .g-card::after { content: "?"; position: absolute; color: var(--d-ink, #fff); font-weight: 800; font-size: 1.4rem; opacity: 0.7; }
.mw .g-card.on { background: var(--surface); box-shadow: inset 0 0 0 2px var(--d); transform: rotateY(0); }
.mw .g-card.on::after { content: none; }
.mw .g-card.ok { background: var(--x-ok-bg); box-shadow: inset 0 0 0 2px var(--x-ok); opacity: 1; }
.mw .g-face { font-size: clamp(1.5rem, 8vw, 2.2rem); line-height: 1; opacity: 0; transform: scale(0.5); transition: opacity .15s, transform .2s; }
.mw .g-card.on .g-face { opacity: 1; transform: scale(1); }
.mw .g-card:disabled { cursor: default; }
.mw .g-over { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 18px; }
.mw .g-over b { font-family: var(--font-display, inherit); font-size: 1.4rem; }
.mw .g-over span, .mw .g-over em { color: var(--muted); font-style: normal; font-size: 0.9rem; }
.mw .g-over em { color: var(--d); font-weight: 700; }
.mw .g-over-static { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.mw .g-stage { position: relative; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--wash); }
.mw .g-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: none; }
.mw .g-stage .g-over { position: absolute; inset: 0; align-content: center; background: color-mix(in srgb, var(--bg) 88%, transparent); }
.mw .g-pad { display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(2, 48px); gap: 8px; justify-content: center; }
.mw .g-pad button { border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; }
.mw .g-pad button:active { background: var(--d); color: var(--d-ink, #fff); }
.mw .g-pad [data-d="up"] { grid-column: 2; grid-row: 1; } .mw .g-pad [data-d="left"] { grid-column: 1; grid-row: 2; } .mw .g-pad [data-d="down"] { grid-column: 2; grid-row: 2; } .mw .g-pad [data-d="right"] { grid-column: 3; grid-row: 2; }
.mw .g-restart { justify-self: center; }
.mw .g-timebar { height: 8px; background: var(--wash); border-radius: 4px; overflow: hidden; }
.mw .g-timebar i { display: block; height: 100%; background: var(--d); transition: width 1s linear; }
.mw .g-q { margin: 8px 0; text-align: center; font-family: var(--font-display, inherit); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mw .g-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mw .g-opt { min-height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-weight: 700; font-size: 1.3rem; cursor: pointer; position: relative; font-variant-numeric: tabular-nums; }
.mw .g-opt:hover, .mw .g-opt:active { border-color: var(--d); background: var(--wash); }
.mw .g-opt kbd { position: absolute; left: 8px; top: 6px; font-family: var(--font-mono, monospace); font-size: 0.62rem; color: var(--muted); font-weight: 500; }
.mw .g-fb { margin: 0; min-height: 1.4em; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ===================== Campus app ===================== */
.mw .c-layout { display: grid; grid-template-columns: 1fr auto; gap: clamp(18px, 4vw, 48px); align-items: center; padding: clamp(14px, 3vw, 28px); background: var(--bg); }
@media (max-width: 760px) { .mw .c-layout { grid-template-columns: 1fr; justify-items: center; } .mw .c-side { order: 2; max-width: 360px; } }
.mw .c-side { display: grid; gap: 12px; align-content: start; max-width: 420px; }
.mw .c-side p { margin: 0; }
.mw .c-phone { position: relative; width: 340px; max-width: 100%; height: 640px; background: var(--surface); border: 3px solid var(--fg); border-radius: 34px; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto; box-shadow: 0 28px 50px -30px rgba(14, 23, 38, 0.6); }
.mw .c-status { display: flex; justify-content: space-between; padding: 10px 18px 6px; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.mw .c-head { padding: 4px 18px 12px; display: grid; gap: 2px; }
.mw .c-head b { font-family: var(--font-display, inherit); font-size: 1.3rem; letter-spacing: -0.01em; }
.mw .c-head .d-muted { font-size: 0.82rem; }
.mw .c-screen { overflow-y: auto; padding: 4px 14px 16px; display: grid; gap: 12px; align-content: start; background: var(--bg); }
.mw .c-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.mw .c-card .d-toast, .mw .c-screen .d-toast { font-size: 0.82rem; padding: 10px 12px; }
.mw .c-k { font-family: var(--font-mono, monospace); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; }
.mw .c-big { font-family: var(--font-display, inherit); font-size: 1.35rem; letter-spacing: -0.01em; display: block; }
.mw .c-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mw .c-fee { grid-template-columns: 1fr auto; align-items: center; background: var(--d); color: var(--d-ink, #fff); border-color: transparent; }
.mw .c-fee .c-k, .mw .c-fee .d-muted { color: inherit; opacity: 0.85; }
.mw .c-fee .d-btn { background: var(--d-ink, #fff); color: var(--d); border-color: var(--d-ink, #fff); }
.mw .c-fee.paid { background: var(--x-ok-bg); color: var(--x-ok); }
.mw .c-now { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.mw .c-now .d-muted { width: 100%; padding-left: 18px; }
.mw .c-dot { width: 10px; height: 10px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2); }
.mw .c-next { display: grid; gap: 1px; border-top: 1px dashed var(--line); padding-top: 8px; }
.mw .c-att { grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.mw .c-att > div { display: grid; gap: 4px; justify-items: start; }
.mw .c-ring { width: 78px; height: 78px; }
.mw .c-rt { stroke: var(--wash); } .mw .c-rv { stroke: var(--d); }
.mw .c-rtext { fill: var(--fg); font-weight: 800; font-size: 17px; font-family: var(--font-display, inherit); }
.mw .c-hw { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mw .c-hw li { display: flex; gap: 12px; align-items: flex-start; }
.mw .c-chk { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); background: var(--surface); padding: 0; cursor: pointer; position: relative; margin-top: 2px; }
.mw .c-chk.on { background: var(--d); border-color: var(--d); }
.mw .c-chk.on::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--d-ink, #fff); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.mw .c-hwt { display: grid; gap: 1px; font-size: 0.9rem; }
.mw .c-hwt span { color: var(--muted); font-size: 0.78rem; }
.mw .c-hwt.done b { text-decoration: line-through; opacity: 0.6; }
.mw .c-badge { background: var(--d); color: var(--d-ink, #fff); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.mw .c-link { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--d); font: inherit; font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.mw .c-link:hover { text-decoration: underline; }
.mw .c-days { display: flex; gap: 6px; }
.mw .c-days button { flex: 1; min-height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.mw .c-days button[aria-pressed="true"] { background: var(--d); color: var(--d-ink, #fff); border-color: var(--d); }
.mw .c-tt { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mw .c-tt li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; align-items: center; }
.mw .c-time { font-family: var(--font-mono, monospace); font-size: 0.8rem; color: var(--d); font-weight: 600; }
.mw .c-sub { display: grid; gap: 1px; font-size: 0.92rem; } .mw .c-sub span { color: var(--muted); font-size: 0.78rem; }
.mw .c-foot { margin: 0; text-align: center; font-size: 0.8rem; }
.mw .c-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mw .c-wd { text-align: center; font-size: 0.7rem; color: var(--muted); font-weight: 600; }
.mw .c-cell { aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center; font-size: 0.76rem; font-weight: 600; background: var(--x-ns); color: var(--x-ns-ink); }
.mw .c-cell.pre { background: var(--x-ok-bg); color: var(--x-ok); }
.mw .c-cell.abs { background: var(--x-no-bg); color: var(--x-no); }
.mw .c-cell.hol { background: var(--x-warn-bg); color: var(--x-warn); }
.mw .c-cell.off { background: transparent; color: var(--muted); opacity: 0.6; }
.mw .c-cell.fut { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.mw .c-cell.today { box-shadow: 0 0 0 2px var(--d); }
.mw .c-leg { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.74rem; color: var(--muted); }
.mw .c-leg li { display: flex; align-items: center; gap: 6px; }
.mw .c-leg i.c-cell { width: 14px; height: 14px; aspect-ratio: auto; border-radius: 4px; }
.mw .c-bk { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.mw .c-bk li { display: flex; justify-content: space-between; gap: 10px; }
.mw .c-bk li.t { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; }
.mw .c-notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mw .c-notices li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mw .c-nt { width: 100%; display: grid; gap: 2px; text-align: left; padding: 12px; background: transparent; border: 0; color: var(--fg); font: inherit; cursor: pointer; }
.mw .c-nl { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
.mw .c-un { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--d); }
.mw .c-nb { margin: 0; padding: 0 12px 12px; font-size: 0.88rem; color: var(--muted); }
.mw .c-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: var(--surface); padding: 6px 4px 10px; }
.mw .c-tabs button { position: relative; display: grid; justify-items: center; gap: 3px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.64rem; font-weight: 600; padding: 4px 0; cursor: pointer; border-radius: 10px; }
.mw .c-tabs button[aria-current="page"] { color: var(--d); }
.mw .c-ti { width: 20px; height: 20px; background: currentColor; display: block; }
.mw .c-ti-home { clip-path: polygon(50% 5%, 95% 45%, 82% 45%, 82% 92%, 18% 92%, 18% 45%, 5% 45%); }
.mw .c-ti-tt { clip-path: polygon(0 12%, 100% 12%, 100% 100%, 0 100%, 0 12%, 12% 38%, 12% 88%, 88% 88%, 88% 38%, 12% 38%); border-radius: 3px; }
.mw .c-ti-att { border-radius: 50%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 22% 52%, 42% 72%, 80% 28%, 70% 20%, 42% 54%, 30% 42%, 22% 52%); }
.mw .c-ti-fees { border-radius: 50%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 30% 25%, 30% 75%, 70% 75%, 70% 25%, 30% 25%); }
.mw .c-ti-notices { clip-path: polygon(50% 0, 80% 20%, 85% 62%, 100% 78%, 100% 86%, 0 86%, 0 78%, 15% 62%, 20% 20%); }
.mw .c-tb { position: absolute; top: 0; right: 18%; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #DC2626; color: #fff; font-style: normal; font-size: 0.62rem; display: grid; place-items: center; }
.mw .c-sheet { position: absolute; inset: 0; background: rgba(8, 12, 24, 0.55); display: grid; align-items: end; z-index: 5; }
.mw .c-sheet-in { background: var(--surface); border-radius: 22px 22px 0 0; padding: 22px 18px 26px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.mw .c-sheet-in h3 { font-size: 1.15rem; } .mw .c-sheet-in p { margin: 0; }
.mw .c-sheet-in .d-chips { justify-content: center; }
.mw .c-sheet-in .d-btn { width: 100%; }
.mw .c-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--wash); border-top-color: var(--d); animation: c-spin .8s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }
.mw .c-ok { width: 56px; height: 56px; border-radius: 50%; background: var(--x-ok-bg); color: var(--x-ok); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }

/* ===================== App-demo cards on the App Development page ===================== */
.mw .xa-head { display: grid; gap: 8px; margin: 40px 0 18px; max-width: 700px; }
.mw .xa-head h2, .mw .xa-head h3 { font-family: var(--font-display, inherit); font-size: clamp(1.4rem, 3.5vw, 1.9rem); letter-spacing: -0.02em; margin: 0; }
.mw .xa-head p { margin: 0; color: var(--muted); }
.mw .xa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .mw .xa-cards { grid-template-columns: 1fr; } }
.mw .xa-card { display: grid; gap: 10px; align-content: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.mw .xa-card:hover { border-color: var(--d); transform: translateY(-2px); }
.mw .xa-card h4 { font-family: var(--font-display, inherit); font-size: 1.15rem; margin: 6px 0 0; letter-spacing: -0.01em; }
.mw .xa-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.mw .xa-card .go { font-weight: 700; color: var(--d); font-size: 0.92rem; }
.mw .xa-art { aspect-ratio: 16 / 10; border-radius: 12px; background: var(--wash); position: relative; overflow: hidden; border: 1px solid var(--line); }
.mw .xa-art::before { content: ""; position: absolute; left: 50%; top: 14%; width: 34%; height: 100%; transform: translateX(-50%); background: var(--surface); border: 2px solid var(--fg); border-radius: 14px; }
.mw .xa-art i { position: absolute; left: 50%; transform: translateX(-50%); display: block; border-radius: 3px; background: var(--d); }
.mw .xa-art i:nth-child(1) { top: 24%; width: 24%; height: 12%; }
.mw .xa-art i:nth-child(2) { top: 42%; width: 24%; height: 6%; background: var(--line); }
.mw .xa-art i:nth-child(3) { top: 54%; width: 24%; height: 6%; background: var(--line); }
.mw .xa-art i:nth-child(4) { top: 66%; width: 24%; height: 10%; opacity: 0.6; }

/* ==== banners.css ==== */
/* Banner design gallery. Banners scale with their own width via container query units. */
.mw .bn { container-type: inline-size; position: relative; aspect-ratio: var(--ar, 1); width: 100%; overflow: hidden; border-radius: 6px; isolation: isolate; background: #222; font-family: var(--font-body, system-ui, sans-serif); }
.mw .bn-in { --u: 1cqw; position: absolute; inset: 0; overflow: hidden; -webkit-font-smoothing: antialiased; }
.mw .bn-in > div { position: absolute; box-sizing: border-box; }
.mw .bn-in .art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mw .bn-in .cta { display: inline-block; text-decoration: none; }
.mw .bn-in b { font-weight: 800; }

/* shared pieces */
.mw .stars { background-image: radial-gradient(circle, #fff 0 .5px, transparent 1px), radial-gradient(circle, #FFE08A 0 .6px, transparent 1.2px); background-size: 9% 9%, 13% 13%; background-position: 0 0, 4% 6%; opacity: .5; }
.mw .gold { background: linear-gradient(180deg, #FFF3B0, #F7B500 55%, #C77700); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 .4cqw 0 rgba(0,0,0,.25)); }
.mw .gold-bg { background: linear-gradient(180deg, #FFE27A, #F2A900); }
.mw .cta { box-shadow: 0 .6cqw 0 rgba(0,0,0,.22); }
.mw .b-chip { display: inline-block; padding: .5cqw 1.4cqw; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; white-space: nowrap; }
.mw .moon { background: radial-gradient(circle at 35% 35%, #fff, #CDEFE8 70%); box-shadow: 0 0 4cqw rgba(159,227,214,.6); }
.mw .sun { background: radial-gradient(circle, #1E3A8A, #12285F 70%); }
.mw .pat { background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.07) 0 1.6cqw, transparent 1.7cqw) 0 0 / 7cqw 7cqw, radial-gradient(circle, rgba(255,200,120,.12), transparent 70%); }
.mw .b-band { background: linear-gradient(180deg, #FF7A33, #FF4D00); }
.mw .b-band2 { background: #fff; }
.mw .b-frame { border: 1px solid #E7C466; box-shadow: inset 0 0 0 .9cqw #0B3B2E, inset 0 0 0 1cqw rgba(231,196,102,.6); border-radius: 0; }
.mw .blob { background: radial-gradient(circle at 40% 35%, #fff, #FFF3B8); }
.mw .b-phone { background: #16110A; border-radius: 6cqw; padding: .9cqw; box-shadow: 0 3cqw 5cqw -2cqw rgba(0,0,0,.45); }
.mw .ph-in { width: 100%; height: 100%; border-radius: 5.2cqw; overflow: hidden; background: #fff; }
.mw .ph-sc { height: 100%; padding: 3cqw 2.6cqw; display: grid; align-content: start; gap: 2cqw; background: #FFFBEA; }
.mw .ph-bar { height: 1.2cqw; width: 30%; margin: 0 auto 1cqw; background: #16110A; border-radius: 9px; }
.mw .ph-card { background: #16110A; color: #fff; border-radius: 2.2cqw; padding: 2.4cqw; display: grid; gap: .6cqw; }
.mw .ph-card small { font-size: 1.7cqw; color: #FFD23F; }
.mw .ph-card b { font-size: 4.4cqw; font-family: var(--font-display, inherit); }
.mw .ph-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.mw .ph-acts i { aspect-ratio: 1; border-radius: 2cqw; background: #FFD23F; }
.mw .ph-acts i:nth-child(2) { background: #FF8A3D; } .mw .ph-acts i:nth-child(3) { background: #27C2B3; } .mw .ph-acts i:nth-child(4) { background: #A78BFA; }
.mw .ph-row { display: grid; grid-template-columns: 4.4cqw 1fr 5cqw; gap: 1.6cqw; align-items: center; }
.mw .ph-row .l { height: 1.5cqw; background: #E7DFC1; border-radius: 9px; }
.mw .ph-row span.d1, .mw .ph-row span.d2, .mw .ph-row span.d3 { height: 4.4cqw; border-radius: 50%; background: #FFD23F; }
.mw .ph-row .d2 { background: #27C2B3; } .mw .ph-row .d3 { background: #FF8A3D; }
.mw .ph-row em { height: 1.5cqw; background: #16110A; border-radius: 9px; opacity: .8; }
.mw .ph-ok { margin-top: 1cqw; background: #1F9D55; color: #fff; font-size: 1.9cqw; font-weight: 700; padding: 1.6cqw; border-radius: 2cqw; text-align: center; }
.mw .arch { border-radius: 99cqw 99cqw 0 0; background: linear-gradient(180deg, #E9A98F, #C9654B); }
.mw .sunc { background: radial-gradient(circle at 40% 35%, #FFE5B4, #F4A259); }
.mw .leaf { background: #4F6B3A; } .mw .leaf2 { background: #6F8B50; }
.mw .outline { color: transparent; -webkit-text-stroke: .35cqw #8E1B2E; opacity: .55; }
.mw .glow { background: radial-gradient(circle, rgba(255,122,26,.55), transparent 68%); }
.mw .sunr { background: radial-gradient(circle, #FFF3C4, #FFC070 60%, #FF8A5C); box-shadow: 0 0 8cqw rgba(255,200,130,.6); }
.mw .sea { background: linear-gradient(180deg, #2F4C94, #1B2A66); }
.mw .wframe { border: 1px solid #C9A24B; box-shadow: inset 0 0 0 .5cqw #FBF4E8, inset 0 0 0 .6cqw rgba(201,162,75,.55); overflow: hidden; }
.mw .scirc { background: #F6A9A0; opacity: .6; } .mw .scirc2 { background: #F8C0B5; opacity: .7; }
.mw .hcirc { background: #BFE8E0; }
.mw .cross { background: #fff; border-radius: 4cqw; box-shadow: 0 1cqw 2cqw -1cqw rgba(11,107,99,.4); }
.mw .cross::before, .mw .cross::after { content: ""; position: absolute; background: #0B6B63; border-radius: 1cqw; }
.mw .cross::before { left: 38%; top: 20%; width: 24%; height: 60%; } .mw .cross::after { top: 38%; left: 20%; height: 24%; width: 60%; }
.mw .beams { background: conic-gradient(from 180deg at 50% 0, transparent 0 28%, rgba(255,222,150,.28) 33%, transparent 38% 45%, rgba(255,222,150,.3) 50%, transparent 55% 62%, rgba(255,222,150,.28) 67%, transparent 72%); }
.mw .crowd { background: radial-gradient(circle at 50% 100%, #1B2A7A 0 2cqw, transparent 2.1cqw) 0 0 / 4cqw 4cqw; opacity: .8; }
.mw .pitch { background: radial-gradient(ellipse at 50% 0, #2E8B4E, #165A30 70%); }
.mw .pitchline { background: rgba(255,255,255,.35); }
.mw .ball { filter: drop-shadow(0 2cqw 2cqw rgba(0,0,0,.45)); }
.mw .grid { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 6cqw 6cqw; }
.mw .codewin { background: #070A1C; border: 1px solid rgba(255,255,255,.14); border-radius: 2cqw; overflow: hidden; box-shadow: 0 2cqw 4cqw -2cqw #000; }
.mw .cw-bar { display: flex; align-items: center; gap: 1cqw; padding: 1.5cqw 2cqw; background: #151A3A; font-size: 2cqw; color: #7F8AC4; }
.mw .cw-bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #FF5F57; } .mw .cw-bar i:nth-child(2) { background: #FEBC2E; } .mw .cw-bar i:nth-child(3) { background: #28C840; }
.mw .cw-bar span { margin-left: 1.5cqw; }
.mw .codewin pre { margin: 0; padding: 2cqw 2.4cqw; font: 2.5cqw/1.55 var(--font-mono, ui-monospace, monospace); color: #DDE3FF; white-space: pre; overflow: hidden; }
.mw .codewin .k { color: #C792EA; } .mw .codewin .f { color: #82AAFF; } .mw .codewin .s { color: #C3E88D; }
.mw .rain { background: rgba(0,0,0,.18); }
.mw .orange { background: radial-gradient(circle at 40% 35%, #FFD27A, #FF9F1C 70%); }
.mw .gleaf { background: #A6E22E; } .mw .gleaf2 { background: #5CC06A; }
.mw .sun2 { background: radial-gradient(circle, #FFD166, #FF9F1C 70%); box-shadow: 0 0 6cqw rgba(255,159,28,.5); }
.mw .slash { background: #E11D2A; } .mw .slash2 { background: #3A0A0E; }
.mw .ysun { background: radial-gradient(circle at 40% 35%, #FFE8B0, #F7A8C4 80%); }

/* per-banner canvases */
.mw .b-diwali { background: radial-gradient(circle at 50% 80%, #8C1A5E, #3C0B3F 60%, #240626); }
.mw .b-realestate { background: linear-gradient(170deg, #0F5A57, #0A3A3A 60%, #072A2C); }
.mw .b-coaching { background: linear-gradient(120deg, #0A1F4D, #12307A); }
.mw .b-restaurant { background: linear-gradient(180deg, #A5141C, #6E0A12); }
.mw .b-fitness { background: #151515; }
.mw .b-jewellery { background: radial-gradient(circle at 50% 35%, #14604B, #0B3B2E 70%); }
.mw .b-appinstall { background: linear-gradient(180deg, #FFD23F, #FFC21A); }
.mw .b-webinar { background: linear-gradient(100deg, #0B2A6F, #123C93); }
.mw .b-fashion { background: #F6E7D8; }
.mw .b-electronics { background: linear-gradient(120deg, #0E1126, #1B1F46); }
.mw .b-travel { background: linear-gradient(180deg, #FF8A5C, #FFB27A 40%, #E86A8F 75%); }
.mw .b-wedding { background: #FBF4E8; }
.mw .b-salon { background: #FBD3C5; }
.mw .b-healthcare { background: #E8F7F4; }
.mw .b-hiring { background: #FFD23F; }
.mw .b-cricket { background: linear-gradient(180deg, #0B1240, #162070 70%); }
.mw .b-edtech { background: linear-gradient(160deg, #0E1330, #1A1F5C); }
.mw .b-furniture { background: linear-gradient(90deg, #0B5D55, #0F7A6F); }
.mw .b-grocery { background: linear-gradient(150deg, #166B31, #1E8A3E); }
.mw .b-solar { background: linear-gradient(120deg, #FFF3DC, #FFE2B0); }
.mw .b-carfest { background: #0B0B0B; }
.mw .b-yoga { background: linear-gradient(110deg, #F6EAFB, #E9D6F5); }

/* gallery UI */
.mw .bgal { display: grid; gap: 18px; min-width: 0; }
.mw .bg-controls { display: grid; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.mw .bg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mw .bg-lab { font: 600 .74rem/1 var(--font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 64px; }
.mw .bg-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.mw .bg-chip { font: 600 .82rem/1 var(--font-body, inherit); padding: 9px 13px; min-height: 36px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.mw .bg-chip:hover { border-color: var(--accent); }
.mw .bg-chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.mw .bg-chip:focus-visible, .mw .bg-view:focus-visible, .mw .bg-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mw .bg-count { margin: 0; font-size: .86rem; color: var(--muted); }
.mw .bg-grid { columns: 3 260px; column-gap: 18px; }
.mw .bg-item { break-inside: avoid; margin: 0 0 18px; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; transition: transform .2s, box-shadow .2s; }
.mw .bg-item[hidden] { display: none; }
.mw .bg-item:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(0,0,0,.5); }
.mw .bg-item .bn { box-shadow: 0 8px 20px -14px rgba(0,0,0,.6); }
.mw .bg-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 4px 2px; }
.mw .bg-cap-t { display: grid; gap: 3px; min-width: 0; }
.mw .bg-cap-t b { font-size: .92rem; color: var(--fg); }
.mw .bg-cap-t span { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.mw .bg-view { flex: none; font: 600 .78rem/1 var(--font-body, inherit); padding: 9px 12px; min-height: 36px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.mw .bg-view:hover { border-color: var(--accent); color: var(--accent); }
.mw .bg-empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; margin: 0; }
.mw .bg-empty[hidden] { display: none; }
.mw .bg-note { margin: 0; font-size: .84rem; color: var(--muted); max-width: 70ch; }
.mw dialog.bg-dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; color: #fff; overflow: visible; }
.mw dialog.bg-dialog::backdrop { background: rgba(6,8,16,.82); backdrop-filter: blur(4px); }
.mw .bg-lb { display: grid; gap: 12px; justify-items: center; }
.mw .bg-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(92vw, 960px); }
.mw .bg-lb-cap { font-weight: 600; font-size: .95rem; }
.mw .bg-close { font: 600 .85rem/1 var(--font-body, inherit); padding: 11px 16px; min-height: 40px; border-radius: 99px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.mw .bg-lb-body { display: grid; place-items: center; }
.mw .bg-lb-body .bn { width: min(92vw, calc(78vh * var(--arn, 1)), 960px); box-shadow: 0 30px 60px -20px #000; }
@media (max-width: 560px) { .mw .bg-grid { columns: 1; } .mw .bg-lab { min-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .mw .bg-item { transition: none; } .mw .bg-item:hover { transform: none; } }

/* live builder extra formats / styles */
.mw .ad-card.portrait { aspect-ratio: 4 / 5; width: min(100%, 280px); }
.mw .ad-card.wide { aspect-ratio: 1.91 / 1; width: min(100%, 420px); padding: 16px 20px; align-content: center; }
.mw .ad-card[data-style="bold"] strong { text-transform: uppercase; letter-spacing: -.01em; }
.mw .ad-card[data-style="elegant"] strong { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; }
.mw .ad-card[data-style="elegant"] { border-radius: 4px; }

/* ==== pay.css ==== */
/* Payment pages. Uses only the site's CSS variables so it follows the active theme. */
.mw .pay-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 860px) { .mw .pay-grid { grid-template-columns: 1fr; } .mw .pay-side { order: -1; } }
.mw .pay-main { display: grid; gap: 18px; min-width: 0; }
.mw .pay-side { display: grid; gap: 16px; min-width: 0; }
.mw .pay-box { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 12px; min-width: 0; }
.mw .pay-box h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.mw .pay-step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 3vw, 26px); margin: 0; min-width: 0; display: grid; gap: 16px; }
.mw .pay-step legend { float: left; width: 100%; padding: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.mw .pay-step legend + * { clear: both; }
.mw .pay-n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: inline-grid; place-items: center; font-size: 0.9rem; font-family: var(--font-mono); flex: none; }
.mw .pay-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .mw .pay-opts { grid-template-columns: 1fr; } }
.mw .pay-opt { display: block; position: relative; cursor: pointer; }
.mw .pay-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mw .pay-opt-body { display: grid; gap: 6px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); transition: border-color .15s, background .15s; }
.mw .pay-opt:hover .pay-opt-body { border-color: var(--muted); }
.mw .pay-opt.is-on .pay-opt-body { border-color: var(--accent); background: var(--wash); box-shadow: 0 0 0 1px var(--accent); }
.mw .pay-opt input:focus-visible + .pay-opt-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.mw .pay-opt-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mw .pay-opt-top b { font-family: var(--font-display); font-size: 1.02rem; }
.mw .pay-tag { font-style: normal; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 999px; }
.mw .pay-opt-desc { color: var(--muted); font-size: 0.9rem; }
.mw .pay-opt-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.mw .pay-opt-price small { font-weight: 400; color: var(--muted); }
.mw .pay-custom { display: grid; gap: 8px; }
.mw .pay-custom[hidden] { display: none; }
.mw .pay-money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; max-width: 260px; }
.mw .pay-money span { padding: 0 12px; font-family: var(--font-mono); color: var(--muted); }
.mw .pay-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .mw .pay-fields { grid-template-columns: 1fr; } }
.mw .pay-step label { display: grid; gap: 6px; font-weight: 600; font-size: 0.88rem; }
.mw .pay-step input[type=text], .mw .pay-step input[type=email], .mw .pay-step input[type=number], .mw .pay-money input {
  font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; min-height: 46px; width: 100%;
}
.mw .pay-money input { border: 0; border-radius: 0; background: transparent; }
.mw .pay-step input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.mw .pay-msg { min-height: 0; margin: 0; font-weight: 600; color: var(--fg); }
.mw .pay-msg.on { background: var(--wash); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 8px; }
.mw #paypal-buttons { max-width: 460px; min-height: 8px; }
.mw .pay-small { color: var(--muted); font-size: 0.85rem; margin: 0; }
.mw .pay-small a, .mw .pay-trust a, .mw .pay-box a:not(.btn) { color: var(--accent); }
.mw .pay-sum { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.mw .pay-sum dt { color: var(--muted); }
.mw .pay-sum dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.mw .pay-total { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.mw .pay-trust { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 0.93rem; color: var(--muted); }
.mw .pay-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mw .pay-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mw .pay-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mw .pay-list li:last-child { border-bottom: 0; }
.mw .pay-setup { grid-column: 1 / -1; border-color: var(--accent); }
.mw .pay-done { max-width: 720px; }
.mw .pay-receipt { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
