/**
 * Developed by Mohammad Rameez Imdad (Rameez Scripts)
 * WhatsApp: https://wa.me/923435347417 (For Custom Projects)
 * YouTube: https://www.youtube.com/@rameezimdad (Subscribe for more!)
 *
 * Public site theme: navy + turquoise + white. Admin pages keep styles.css.
 */
@font-face { font-family: 'Google Sans Flex'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/gsans-v26-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Google Sans Flex'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/gsans-v26-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
    --navy: #0B1220; --panel: #111E2B; --turq: #00E5D1; --white: #FFFFFF;
    --bg: var(--white); --bg-2: #F8F9FA; --card: var(--white); --card-2: #F8F9FA;
    --line: #DADCE0; --line-2: #C4C7C5; --text: #1F1F1F; --mute: #444746; --dim: #5F6368;
    --acc: #00796B; /* turquoise fails on white, this one reads */
    --btn: #00796B; --on-btn: var(--white); --btn-hi: #00695C; --soft: #CFF3EE; --on-soft: #00574F;
    --tint: rgba(0, 121, 107, .08);
    --ok: #188038; --warn: #B06000; --bad: #B3261E;
    --shadow: 0 1px 2px rgba(31, 31, 31, .06), 0 14px 34px -22px rgba(31, 31, 31, .22);
    --hero-bg: radial-gradient(ellipse 58% 72% at 86% 18%, rgba(0, 229, 209, .18) 0%, rgba(0, 229, 209, .06) 40%, transparent 72%), linear-gradient(180deg, #E8F7F5 0%, #F6FBFA 50%, #FFFFFF 90%);
    --bezel: #0B0C10; --alu-hi: #F4F5F7; --alu: #D8DBE0; --alu-lo: #ABB0B8; --alu-dk: #80868F;
    --r: 24px; --r-sm: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: 'Google Sans Flex', 'Segoe UI', Roboto, Arial, sans-serif;
    --head-h: 64px;
}
:root[data-theme="dark"] {
    --bg: #000000; --bg-2: #131314; --card: #131314; --card-2: #1E1F20;
    --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .2);
    --text: var(--white); --mute: #BDC1C6; --dim: #9AA0A6; --acc: var(--turq);
    --btn: var(--turq); --on-btn: var(--navy); --btn-hi: #2CF0DF; --soft: rgba(0, 229, 209, .14); --on-soft: var(--turq);
    --tint: rgba(0, 229, 209, .1); --ok: #81C995; --warn: #FDD663; --bad: #F28B82; --shadow: 0 0 0 transparent;
    --hero-bg: radial-gradient(ellipse 58% 72% at 86% 22%, rgba(0, 229, 209, .24) 0%, rgba(0, 229, 209, .08) 38%, transparent 72%), linear-gradient(180deg, #0B1220 0%, #000000 90%);
}
/* footer + top bar stay dark in both looks */
.mw-foot, .mw-bar {
    --text: var(--white); --mute: #C3CFD6; --dim: #94A3AE; --acc: var(--turq);
    --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .22); --card: var(--panel); --tint: rgba(0, 229, 209, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--mute); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; touch-action: manipulation; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 400; letter-spacing: -.02em; }
p { margin: 0; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
::selection { background: rgba(0, 229, 209, .3); }

.mw-wrap { width: min(1240px, 100% - 80px); margin-inline: auto; }
.mw-narrow { width: min(820px, 100% - 80px); }
.mw-skip { position: fixed; top: -80px; left: 16px; z-index: 1300; padding: 10px 16px; border-radius: var(--r-sm); background: var(--turq); color: var(--navy); font-weight: 600; }
.mw-skip:focus { top: 12px; }
.mw-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1200; background: var(--turq); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.mw-acc { color: var(--acc); }
.mw-center { margin-top: 32px; text-align: center; }
.mw-mt { margin-top: 24px; }
.mw-h3 { margin-bottom: 16px; font-size: 24px; }

/* pills, buttons, links */
.mw-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--dim); border-radius: 999px; background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 500; }
a.mw-pill:hover { border-color: var(--acc); color: var(--acc); }
.mw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 600; white-space: nowrap; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.mw-btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.mw-btn-p { background: var(--btn); color: var(--on-btn); }
.mw-btn-p:hover { transform: translateY(-2px); background: var(--btn-hi); }
.mw-btn-g { background: var(--card); border-color: var(--line-2); color: var(--text); }
.mw-btn-g:hover { transform: translateY(-2px); border-color: var(--acc); }
.mw-btn-d { background: var(--soft); color: var(--on-soft); }
.mw-btn-d:hover { transform: translateY(-2px); }
.mw-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.mw-link { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font-size: 15px; font-weight: 600; }
.mw-link i { font-size: 12px; transition: transform .25s var(--ease); }
.mw-link:hover i { transform: translateX(4px); }
.mw-round { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--text); transition: border-color .2s, color .2s; }
.mw-round:hover { border-color: var(--acc); color: var(--acc); }
.mw-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mw-cta-c { justify-content: center; margin-top: 0; }
.mw-head .mw-cta-c { margin-top: 24px; }
.mw-meta { color: var(--dim); font-size: 13px; }
.mw-meta b { color: var(--acc); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* top bar + header */
.mw-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 48px; background: #1F1F1F; color: var(--white); font-size: 14.5px; font-weight: 500; }
.mw-bar > a { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.mw-bar b { color: var(--white); font-weight: 700; }
.mw-bar b i { margin-left: 2px; font-size: 11px; }
.mw-bar button { position: absolute; right: 8px; top: 50%; width: 32px; height: 32px; border: 0; background: none; color: #C4C7C5; transform: translateY(-50%); }
.mw-bar button:hover { color: var(--white); }
.mw-nobar .mw-bar { display: none; }
.mw-hdr { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(10, 10, 10, .08); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); transition: background .2s, box-shadow .2s; }
.mw-hdr.is-stuck { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px -14px rgba(10, 10, 10, .18); }
:root[data-theme="dark"] .mw-hdr { background: rgba(19, 19, 19, .92); border-bottom-color: var(--line); }
:root[data-theme="dark"] .mw-hdr.is-stuck { background: rgba(19, 19, 19, .97); }
.mw-head-in { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); }
.mw-brand { display: inline-flex; flex: none; align-items: center; gap: 11px; color: var(--text); }
.mw-brand img { width: 34px; height: 34px; border-radius: 50%; }
.mw-brand b { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.mw-brand small { display: block; margin-top: 4px; color: var(--dim); font-size: 10.5px; font-weight: 600; letter-spacing: .15em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.mw-foot .mw-brand b { font-size: 18px; }
.mw-nav { display: flex; flex: 1; align-items: center; justify-content: center; min-width: 0; }
.mw-nav-drop { display: flex; align-items: center; height: var(--head-h); }
.mw-nav-drop > a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 6px; color: var(--mute); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.mw-nav-drop:hover > a, .mw-nav-drop:focus-within > a, .mw-nav-drop > a.is-on { color: var(--text); }
.mw-nav-drop > a.is-on { font-weight: 600; }
.mw-mega { position: absolute; top: 100%; left: 50%; z-index: 1100; width: min(1400px, calc(100vw - 32px)); padding-top: 10px; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.mw-nav-drop:hover > .mw-mega, .mw-nav-drop:focus-within > .mw-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mw-mega-in { display: grid; gap: 32px; max-height: calc(100vh - 96px); padding: 30px 32px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 30px 70px -24px rgba(10, 10, 10, .28), 0 2px 8px rgba(10, 10, 10, .05); }
.mw-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mw-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mw-mh { margin-bottom: 18px; color: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mw-ri { display: flex; gap: 14px; padding: 8px 0; }
.mw-ri > i { flex: none; width: 14px; margin-top: 4px; color: var(--acc); font-size: 13px; }
.mw-ri span { min-width: 0; }
.mw-ri b { display: block; overflow: hidden; color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.mw-ri small { display: block; overflow: hidden; color: var(--dim); font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.mw-ri:hover b { color: var(--acc); }
.mw-mall { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--acc); font-size: 14px; font-weight: 600; }
.mw-mall i { font-size: 11px; transition: transform .25s var(--ease); }
.mw-mall:hover i { transform: translateX(4px); }

/* header search */
.mw-cmd { position: fixed; inset: 0; z-index: 1400; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(11, 18, 32, .5); }
.mw-cmd-box { width: min(620px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 30px 70px -24px rgba(10, 10, 10, .5); }
.mw-cmd-top { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); color: var(--dim); }
.mw-cmd-top input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 16px; }
.mw-cmd-top button { width: 44px; height: 44px; border: 0; background: none; color: var(--dim); }
.mw-cmd-list { max-height: 50vh; padding: 8px; overflow-y: auto; }
.mw-cmd-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; }
.mw-cmd-list a:hover, .mw-cmd-list a:focus { outline: 0; background: var(--tint); }
.mw-cmd-list small { flex: none; color: var(--dim); font-size: 12.5px; }
.mw-cmd-list p { padding: 16px 12px; color: var(--dim); font-size: 14.5px; }
.mw-head-end { display: flex; align-items: center; gap: 10px; }
.mw-burger { display: none; }

/* phone drawer */
.mw-drawer { position: fixed; inset: 0 0 0 auto; z-index: 1099; display: flex; flex-direction: column; gap: 16px; width: min(320px, 86vw); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--card); overflow-y: auto; animation: mwSlide .25s var(--ease); }
.mw-drawer-top { display: flex; align-items: center; justify-content: space-between; color: var(--text); font-size: 18px; }
.mw-drawer nav { display: flex; flex-direction: column; flex: 1; }
.mw-drawer nav a { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line); }
.mw-drawer nav i { width: 20px; color: var(--acc); text-align: center; }

/* hero */
.mw-hero { position: relative; overflow: hidden; background: var(--hero-bg); }
.mw-candles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(to top, #000, transparent 72%); mask-image: linear-gradient(to top, #000, transparent 72%); }
.mw-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.09fr); gap: 40px; align-items: center; padding: 56px 0 48px; }
.mw-hs-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.mw-hs-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--text); font-size: 12px; transition: border-color .2s, color .2s; }
.mw-hs-btn:hover { border-color: var(--acc); color: var(--acc); }
.mw-hs-segs { display: flex; flex: 1; gap: 8px; margin-left: 10px; }
.mw-hs-seg { flex: 1; height: 20px; padding: 0; border: 0; background: none; }
.mw-hs-seg i { position: relative; display: block; height: 2px; overflow: hidden; background: var(--line-2); }
.mw-hs-seg i::after { content: ''; position: absolute; inset: 0; background: var(--text); transform: scaleX(0); transform-origin: left; }
.mw-hs-seg.is-done i::after { transform: scaleX(1); }
.mw-hs-seg.is-on i::after { animation: mwFill 7s linear forwards; }
.mw-hs-paused .mw-hs-seg.is-on i::after { animation: none; transform: scaleX(1); }
.mw-hs-n { color: var(--dim); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.mw-hs-n em { color: var(--text); font-style: normal; }
.mw-hs { display: grid; }
.mw-hs-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.mw-hs-slide.is-on { opacity: 1; visibility: visible; }
.mw-hs-slide.is-on > * { animation: mwUp .8s var(--ease) both; }
.mw-hs-slide.is-on > :nth-child(2) { animation-delay: .1s; }
.mw-hs-slide.is-on > :nth-child(3) { animation-delay: .22s; }
.mw-h1 { margin: 20px 0 18px; font-size: clamp(38px, 4.9vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.mw-h1 .mw-acc { display: block; }
.mw-sub { max-width: 560px; font-size: 18px; line-height: 1.65; }
.mw-stats { display: flex; margin-top: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mw-stats li { padding: 0 26px; border-left: 1px solid var(--line-2); }
.mw-stats li:first-child { padding-left: 0; border-left: 0; }
.mw-stats b { display: block; color: var(--text); font-size: 22px; font-weight: 400; line-height: 1.2; font-variant-numeric: tabular-nums; }
.mw-stats small { display: block; font-size: 13.5px; }

.mw-example dl div, .mw-result dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mw-example dt, .mw-result dt { color: var(--mute); }
dl, dd { margin: 0; }
.mw-example dd, .mw-result dd { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* looping topic strip */
.mw-strip { position: relative; z-index: 1; overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); background: var(--bg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mw-strip-t { display: flex; width: max-content; animation: mwMarq 46s linear infinite; }
.mw-strip-t > div { display: flex; flex: none; align-items: center; gap: 12px; padding-right: 12px; }
.mw-strip span { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.mw-strip i { color: var(--acc); font-size: 7px; }

/* sections */
.mw-sec { position: relative; padding: 96px 0; }
.mw-sec-sm { padding: 48px 0; }
.mw-sec-alt { background: transparent; }
.mw-head { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.mw-head h2 { margin: 20px 0 14px; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
.mw-head p { font-size: 17px; line-height: 1.65; }
.mw-head p + p { margin-top: 12px; }
.mw-head-l { margin-left: 0; text-align: left; }
.mw-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: none; text-align: left; }
.mw-head-row > div { max-width: 860px; }
.mw-head-row > .mw-btn { flex: none; }
.mw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mw-split-top { align-items: start; }
.mw-split .mw-head { margin-bottom: 28px; }
.mw-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mw-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html.mw-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.mw-js .reveal.revealed { opacity: 1; transform: none; }

/* steps + chart */
.mw-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.mw-steps li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .2s, transform .25s var(--ease); }
.mw-steps li:hover { border-color: var(--acc); transform: translateX(4px); }
.mw-steps em, .mw-road em { color: var(--acc); font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: .06em; }
.mw-steps h3, .mw-steps .mw-h3 { margin: 0 0 2px; font-size: 19px; }
.mw-chart, .mw-tool, .mw-post, .mw-plan { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.mw-chart { padding: 28px; }
.mw-chart h3 { margin: 16px 0 6px; font-size: 24px; }
.mw-chart .mw-link { margin-top: 14px; }
.mw-swing { width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.mw-swing polyline { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.mw-swing circle { fill: var(--acc); }
.mw-swing text { fill: var(--text); font: 700 8px var(--font); }
html.mw-js .reveal .mw-draw { stroke-dashoffset: 1; }
html.mw-js .reveal.revealed .mw-draw { animation: mwDraw 1.8s .2s var(--ease) forwards; }

/* lesson + article cards */
.mw-lesson { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.mw-lesson, .mw-post, .mw-tool, .mw-plan { transition: opacity .8s var(--ease), transform .35s var(--ease), border-color .2s; }
.mw-lesson:hover, .mw-post:hover, .mw-tool:hover, .mw-plan:hover { border-color: var(--acc); }
html.mw-js .mw-lesson.revealed:hover, html.mw-js .mw-post.revealed:hover, html.mw-js .mw-tool.revealed:hover { transform: translateY(-4px); }
.mw-lesson-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.mw-lesson-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mw-lesson:hover .mw-lesson-img img { transform: scale(1.04); }
.mw-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--btn); color: var(--on-btn); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22); transform: translate(-50%, -50%); }
.mw-lesson-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 24px 24px; }
.mw-lesson-body h3, .mw-lesson-body h2 { font-size: 21px; line-height: 1.3; }
.mw-lesson-body .mw-link { margin-top: auto; padding-top: 8px; }
.mw-post { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
.mw-post h2, .mw-post h3 { font-size: 21px; line-height: 1.3; }
.mw-post h2 a:hover, .mw-post h3 a:hover, .mw-lesson-body a:hover { color: var(--acc); }
.mw-post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.mw-none { padding: 24px; color: var(--dim); text-align: center; }

/* calculator feature */
.mw-example, .mw-result { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: radial-gradient(ellipse 70% 70% at 100% 0, var(--tint), transparent 70%), var(--card); box-shadow: var(--shadow); }
.mw-example dl { margin: 14px 0; }
.mw-example-lot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--tint); }
.mw-example-lot b { color: var(--acc); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mw-example small { display: block; margin-top: 12px; font-size: 13px; }

/* person */
.mw-person { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: center; }
.mw-person .mw-head { max-width: 680px; margin-bottom: 0; }
.mw-person .mw-link { margin-top: 16px; }
.mw-person-img { margin: 0; }
.mw-person-img img, .mw-contact-img img { width: 100%; height: auto; border-radius: 20px; }

.mw-checks { display: flex; flex-direction: column; gap: 8px; }
.mw-checks li { display: flex; gap: 10px; color: var(--mute); font-size: 15px; }
.mw-checks i { margin-top: 5px; color: var(--acc); font-size: 13px; }
.mw-checks-lg { gap: 12px; margin-bottom: 8px; }
.mw-checks-lg li { font-size: 16.5px; }

/* hero laptop */
.mw-dev { position: relative; --mx: 0; --my: 0; padding-bottom: 26px; animation: mwUp 1s .3s var(--ease) both; }
.mw-lap { position: relative; display: flex; flex-direction: column; align-items: center; width: 95%; margin: 0 auto; translate: calc(var(--mx) * 8px) calc(var(--my) * 8px); }
.mw-lap::after { content: ''; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: -18px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 10, 10, .22), transparent); }
.mw-lap-scr { position: relative; width: 100%; padding: 2% 2% 2.4%; border-radius: 16px 16px 4px 4px; background: var(--bezel); container-type: inline-size; }
.mw-lap-app { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: var(--bg-2); color: var(--text); font-size: 2.05cqw; line-height: 1.35; }
.mw-lap-base { position: relative; width: 113%; height: 13px; margin-top: -1px; border-radius: 2px 2px 18px 18px / 2px 2px 13px 13px; background: linear-gradient(var(--alu-hi), var(--alu) 34%, var(--alu-lo) 80%, var(--alu-dk)); }
.mw-lap-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 14%; height: 45%; border-radius: 0 0 8px 8px; background: linear-gradient(var(--alu-lo), var(--alu)); transform: translateX(-50%); }
.mw-sc { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility 0s linear .55s; }
.mw-sc.is-on { opacity: 1; visibility: visible; transition: opacity .55s var(--ease); }
.mw-bro { flex: none; display: flex; align-items: center; gap: .45em; height: 2.3em; padding: 0 .9em; background: var(--card); border-bottom: 1px solid var(--line); }
.mw-bro > i { width: .7em; height: .7em; border-radius: 50%; background: var(--bad); }
.mw-bro > i + i { background: #F59E0B; }
.mw-bro > i + i + i { background: var(--ok); }
.mw-bro span { display: flex; align-items: center; gap: .45em; margin: 0 auto; padding: .15em 1.6em; border-radius: .5em; background: var(--bg-2); color: var(--dim); font-size: .85em; white-space: nowrap; }
.mw-bro span i { color: var(--ok); font-size: .8em; }
.mw-sc-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .55em 1em; background: var(--card); border-bottom: 1px solid var(--line); }
.mw-sc-top b { display: flex; align-items: center; gap: .45em; font-size: 1.02em; font-weight: 600; white-space: nowrap; }
.mw-sc-top b i { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: .5em; background: var(--btn); color: var(--on-btn); font-size: .8em; }
.mw-sc-top em { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .74em; font-style: normal; font-weight: 700; }
.mw-sc-photo { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mw-sc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.mw-sc-photo p { position: absolute; left: .9em; bottom: .9em; display: flex; align-items: center; gap: .7em; padding: .5em .9em .5em .5em; border-radius: 2em; background: rgba(255, 255, 255, .94); color: #1F1F1F; }
.mw-sc-photo p > i { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: #00796B; color: var(--white); font-size: .8em; }
.mw-sc-photo small { display: block; color: #5F6368; font-size: .8em; line-height: 1.2; }
.mw-sc-photo b { display: block; font-size: 1em; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.mw-sc-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .65em; padding: .85em 1em; overflow: hidden; }
.mw-sc-head { display: flex; align-items: center; justify-content: space-between; gap: .6em; white-space: nowrap; }
.mw-sc-head b { font-size: 1.2em; font-weight: 600; }
.mw-sc-head span { padding: .25em .7em; border: 1px solid var(--line-2); border-radius: .5em; color: var(--mute); font-size: .85em; }
.mw-sc-card { border: 1px solid var(--line); border-radius: .8em; background: var(--card); }
.mw-sc-chart { flex: 1; min-height: 0; display: flex; padding: .4em .9em; }
.mw-sc-chart .mw-swing { width: 100%; height: 100%; margin: 0; }
.mw-sc-rows > div { display: flex; align-items: center; justify-content: space-between; padding: .45em .8em; font-size: .92em; }
.mw-sc-rows > div + div { border-top: 1px solid var(--line); }
.mw-sc-rows i { color: var(--ok); }
.mw-sc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mw-sc-kpis > div { padding: .6em .8em; }
.mw-sc-kpis > div + div { border-left: 1px solid var(--line); }
.mw-sc-kpis small, .mw-sc-lot small { display: block; color: var(--dim); font-size: .82em; }
.mw-sc-kpis b { font-size: 1.15em; font-weight: 600; white-space: nowrap; }
.mw-sc-lot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--tint); }
.mw-sc-lot b { color: var(--acc); font-size: 3em; font-weight: 500; line-height: 1.1; }
.mw-sc-fine { color: var(--dim); font-size: .82em; text-align: center; }
.mw-sc.is-on .mw-draw { animation: mwDraw 1.4s var(--ease) both; }
.mw-plate { position: absolute; left: -6px; top: 24%; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 0 18px 36px -20px rgba(31, 31, 31, .45); translate: calc(var(--mx) * 18px) calc(var(--my) * 18px); animation: mwFloat 6s ease-in-out infinite; }
.mw-plate img { border-radius: 50%; }
.mw-plate b { display: block; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.2; }
.mw-plate small { display: block; color: var(--dim); font-size: 12px; line-height: 1.3; }

/* phases: sideways track, pinned on desktop, swipe on phones */
.mw-ind { padding: 96px 0; }
.mw-ind.is-pinned { padding: 0; }
.mw-ind.is-pinned .mw-ind-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; height: 100svh; padding-top: var(--head-h); overflow: hidden; }
.mw-ind-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.mw-ind-top .mw-head { margin-bottom: 0; }
.mw-ind.is-pinned .mw-head h2 { font-size: clamp(32px, 4vw, 54px); }
.mw-ind-meta { display: flex; flex: none; align-items: center; gap: 14px; padding-bottom: 8px; color: var(--dim); font-size: 13px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mw-ind-meta em { color: var(--text); font-style: normal; }
.mw-ind-bar { position: relative; display: block; width: 140px; height: 2px; background: var(--line-2); }
.mw-ind-bar i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--acc); transition: width .15s linear; }
.mw-ind-cue { display: none; }
.mw-ind.is-pinned .mw-ind-cue { display: inline; }
.mw-ind-view { padding: 4px max(40px, calc((100vw - 1240px) / 2)) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(40px, calc((100vw - 1240px) / 2)); scrollbar-width: none; }
.mw-ind-view::-webkit-scrollbar { display: none; }
.mw-ind.is-pinned .mw-ind-view { overflow: visible; }
.mw-ind-track { display: grid; grid-auto-flow: column; grid-auto-columns: 340px; gap: 18px; width: max-content; will-change: transform; }
.mw-ind-card { --g: 0, 121, 107; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 400px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, rgb(var(--g)) 5%, var(--card)); box-shadow: var(--shadow); scroll-snap-align: start; transition: border-color .2s; }
.mw-ind-card.is-amber { --g: 245, 158, 11; }
.mw-ind-card.is-green { --g: 34, 197, 94; }
.mw-ind-card.is-red { --g: 239, 68, 68; }
.mw-ind-card.is-sky { --g: 56, 189, 248; }
.mw-ind-card:hover { border-color: rgba(var(--g), .55); }
.mw-ind-num { position: absolute; top: 14px; right: 22px; color: transparent; font-size: 72px; font-weight: 500; line-height: 1; -webkit-text-stroke: 1px rgba(var(--g), .45); }
.mw-ind-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(var(--g), .14); color: rgb(var(--g)); font-size: 21px; }
.mw-ind-card h3 { margin-top: 20px; font-size: 24px; line-height: 1.15; }
.mw-ind-card p { font-size: 15px; }
.mw-ind-card .mw-checks li { font-size: 14px; }
.mw-ind-card .mw-link { margin-top: auto; padding-top: 12px; }

/* plans */
.mw-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mw-plan { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 28px; }
.mw-plan > :not(.mw-plan-top) { margin-inline: 16px; }
.mw-plan-top { padding: 24px; border-radius: 16px; background: var(--bg-2); }
.mw-plan.is-pick .mw-plan-top { background: var(--tint); }
.mw-plan.is-pick { border-color: var(--acc); }
.mw-price { margin-top: 16px; color: var(--dim); font-size: 14.5px; }
.mw-price b { color: var(--text); font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mw-plan h3 { margin-top: 8px; font-size: 23px; }
.mw-plan .mw-checks { flex: 1; margin-block: 4px 8px; }
.mw-plan .mw-btn-g { min-height: 44px; font-size: 14.5px; }

/* faq */
.mw-faqs { display: flex; flex-direction: column; gap: 12px; }
.mw-faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); transition: border-color .2s; }
.mw-faq[open] { border-color: var(--acc); }
.mw-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 24px; color: var(--text); font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.mw-faq summary::-webkit-details-marker { display: none; }
.mw-faq summary i { flex: none; color: var(--acc); font-size: 13px; transition: transform .25s var(--ease); }
.mw-faq[open] summary i { transform: rotate(45deg); }
.mw-faq p { padding: 0 24px 20px; }

/* closing band */
.mw-close { position: relative; overflow: hidden; padding: 96px 0; background: linear-gradient(0deg, var(--tint), transparent); text-align: center; }
.mw-close .mw-wrap { position: relative; z-index: 1; }
.mw-close h2 { margin: 20px 0 14px; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
.mw-close p { max-width: 620px; margin-inline: auto; font-size: 17px; }
.mw-close .mw-cta { justify-content: center; }

/* inner page band */
.mw-band { position: relative; overflow: hidden; background: var(--hero-bg); }
.mw-band-in { position: relative; z-index: 1; padding: 40px 0 48px; }
.mw-band h1 { max-width: 900px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -.03em; animation: mwUp .8s var(--ease) both; }
.mw-band p { max-width: 720px; margin-top: 14px; font-size: 18px; animation: mwUp .8s .12s var(--ease) both; }
main > .mw-band + .mw-sec { padding-top: 48px; }
main > .mw-band ~ .mw-sec .mw-head h2, .mw-prose > h2 { letter-spacing: -.02em; }
main > .mw-band ~ .mw-sec .mw-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.mw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--dim); font-size: 13.5px; }
.mw-crumbs i { font-size: 9px; }
.mw-crumbs a:hover { color: var(--acc); }
.mw-crumbs span { color: var(--mute); }

/* roadmap + tools */
.mw-road { display: flex; flex-direction: column; gap: 16px; }
.mw-road li { display: flex; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.mw-road em { font-size: 28px; font-weight: 500; line-height: 1.2; }
.mw-road h2 { margin-bottom: 6px; font-size: 22px; }
.mw-road .mw-link { margin-top: 10px; }
.mw-note { margin-top: 24px; color: var(--dim); font-size: 14.5px; }
.mw-note i { margin-right: 8px; color: var(--acc); }
.mw-note a, .mw-prose a:not(.mw-btn):not(.mw-pill) { color: var(--acc); font-weight: 600; }
.mw-tool { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; }
.mw-tool-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 14px; background: var(--tint); color: var(--acc); font-size: 19px; }
.mw-tool h2 { font-size: 24px; line-height: 1.25; }
.mw-tool h2 a:hover { color: var(--acc); }
.mw-tool .mw-btn { margin-top: auto; }

/* find box */
.mw-find { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.mw-find label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--text); font-weight: 600; }
.mw-find label i { color: var(--acc); }
.mw-find p { margin-top: 8px; color: var(--dim); font-size: 13.5px; }
.mw-find input, .mw-field input, .mw-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.mw-find input:focus, .mw-field input:focus, .mw-field textarea:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 3px var(--tint); }
.mw-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-bottom: 32px; }
.mw-find-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; }
.mw-find-row label, .mw-find-row p { margin: 0; white-space: nowrap; }
.mw-chips-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-chips-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-size: 14.5px; font-weight: 500; transition: border-color .2s, color .2s; }
.mw-chips-nav a:hover { border-color: var(--acc); color: var(--acc); }
.mw-chips-nav a.is-on { border-color: var(--acc); background: var(--tint); color: var(--acc); }

/* glossary */
.mw-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.mw-terms > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.mw-terms dt { margin-bottom: 4px; color: var(--text); font-size: 18px; font-weight: 600; }
.mw-terms dd { font-size: 15px; }

/* prose */
.mw-prose h2 { margin: 32px 0 10px; font-size: 26px; line-height: 1.25; }
.mw-prose > h2:first-child, .mw-prose > :first-child + h2 { margin-top: 0; }
.mw-prose p, .mw-prose ul, .mw-prose ol { margin-bottom: 14px; font-size: 17px; line-height: 1.7; }
.mw-prose ul { padding-left: 20px; list-style: disc; }
.mw-prose ol { padding-left: 20px; list-style: decimal; }
.mw-prose li { margin-bottom: 6px; }
.mw-prose strong { color: var(--text); font-weight: 600; }
.mw-prose blockquote { margin: 20px 0; padding: 20px 24px; border-radius: 18px; background: var(--tint); color: var(--text); font-size: 19px; line-height: 1.5; }
.mw-prose .mw-faq p { margin: 0; font-size: 16px; }
.mw-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px !important; color: var(--dim); font-size: 14.5px !important; }
.mw-formula { margin: 16px 0; padding: 16px 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card-2); color: var(--text); font: 500 15px/1.7 var(--font); white-space: pre-wrap; }
.mw-author { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.mw-author p { margin: 0; font-size: 15.5px; }

/* blog */
.mw-post-img { display: block; overflow: hidden; width: calc(100% + 48px); margin: -24px -24px 4px; border-radius: var(--r) var(--r) 0 0; aspect-ratio: 16 / 9; background: var(--bg-2); }
.mw-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mw-post:hover .mw-post-img img { transform: scale(1.04); }
.mw-post h2 i, .mw-post h3 i { color: var(--dim); font-size: .8em; }
.mw-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.mw-pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-weight: 500; }
.mw-pager a:hover, .mw-pager a.is-on { border-color: var(--acc); background: var(--tint); color: var(--acc); }
.mw-feat { margin: 0 0 24px; }
.mw-feat img { width: 100%; border-radius: 20px; }
.mw-prose img { border-radius: 14px; }
.mw-prose figure { margin: 20px 0; }
.mw-prose figcaption { margin-top: 8px; color: var(--dim); font-size: 14px; text-align: center; }
.mw-prose h3 { margin: 24px 0 8px; font-size: 21px; }
.mw-prose h2[id] { scroll-margin-top: calc(var(--head-h) + 16px); }
.mw-prose table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 15.5px; }
.mw-prose th, .mw-prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.mw-prose th { background: var(--bg-2); color: var(--text); font-weight: 600; }
.mw-prose pre { margin: 16px 0; padding: 16px; overflow-x: auto; border-radius: var(--r-sm); background: var(--card-2); color: var(--text); font-size: 14.5px; }
.mw-toc { margin-bottom: 24px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.mw-toc summary { display: flex; align-items: center; gap: 10px; min-height: 28px; color: var(--text); font-weight: 600; cursor: pointer; }
.mw-toc summary i { color: var(--acc); }
.mw-toc ol { margin: 10px 0 2px !important; font-size: 15.5px !important; }
.mw-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px !important; }
.mw-tagrow > i { color: var(--dim); }
.mw-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; color: var(--text); font-weight: 600; }
.mw-share span { margin-right: 6px; }
.mw-share .mw-round { font-size: 15px; color: var(--text) !important; }
.mw-prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.mw-prevnext a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; color: var(--text) !important; transition: border-color .2s; }
.mw-prevnext a:hover { border-color: var(--acc); }
.mw-prevnext a.is-next { grid-column: 2; text-align: right; }
.mw-prevnext small { display: block; margin-bottom: 4px; color: var(--dim); font-size: 13px; font-weight: 500; }
.mw-prevnext b { font-size: 16px; font-weight: 500; line-height: 1.35; }
.mw-comments { margin-top: 40px; scroll-margin-top: calc(var(--head-h) + 16px); }
.mw-comments h2 { margin: 0 0 16px; }
.mw-comments > .mw-form { margin-top: 24px; }
.mw-cm { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mw-cm.is-reply { margin-left: 28px; }
.mw-cm p { margin: 0; font-size: 16px; }
.mw-cm-who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px !important; }
.mw-cm-who b { color: var(--text); font-weight: 600; }
.mw-cm-who .mw-pill { padding: 2px 10px; font-size: 12px; }
.mw-cm-who time { color: var(--dim); font-size: 13.5px; }
.mw-cm-reply { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--acc); font-size: 14px; font-weight: 600; }
.mw-grid-tight { gap: 16px; }
.mw-lock { max-width: 460px; }
.mw-preview-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; background: var(--soft); color: var(--on-soft); font-size: 14.5px; font-weight: 600; text-align: center; }
.mw-video-plain { background: var(--navy); margin: 16px 0; }
.mw-video-plain button { background: none; }

/* video */
.mw-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--navy); }
.mw-video > img { width: 100%; height: 100%; object-fit: cover; }
.mw-video button { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; padding: 16px; border: 0; background: rgba(11, 18, 32, .55); color: var(--white); }
.mw-video + .mw-note { margin: 16px 0 32px; }
.mw-video .mw-play { position: static; margin-bottom: 14px; transform: none; transition: transform .25s var(--ease); }
.mw-video button:hover .mw-play { transform: scale(1.08); }
.mw-video b { font-size: 18px; font-weight: 600; }
.mw-video small { font-size: 13px; }
.mw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* forms */
.mw-form { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.mw-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.mw-field label, .mw-field legend { display: block; margin-bottom: 6px; padding: 0; color: var(--text); font-size: 15px; font-weight: 600; }
.mw-field small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }
.mw-field textarea { resize: vertical; }
.mw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-chips label { margin: 0; cursor: pointer; }
.mw-chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mw-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--mute); font-size: 14.5px; font-weight: 500; transition: border-color .2s, color .2s, background .2s; }
.mw-chips input:checked + span { border-color: var(--acc); background: var(--tint); color: var(--acc); }
.mw-chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.mw-consent { display: flex; gap: 10px; color: var(--mute); font-size: 14.5px; cursor: pointer; }
.mw-consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--acc); }
.mw-consent a { color: var(--acc); font-weight: 600; }
.mw-form > .mw-btn { align-self: flex-start; }
.mw-err { display: block; margin-top: 4px; color: var(--bad) !important; font-size: 13.5px; }
.mw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mw-alert { display: flex; gap: 10px; padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; }
.mw-alert i { margin-top: 4px; }
.mw-alert.is-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.mw-alert.is-warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.mw-alert.is-bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.mw-more { border: 1px solid var(--line); border-radius: var(--r-sm); }
.mw-more summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; color: var(--text); font-weight: 600; cursor: pointer; }
.mw-more summary i { color: var(--acc); }
.mw-more > p, .mw-more > .mw-field { margin: 0 14px 14px; }
.mw-more > p { color: var(--dim); font-size: 14px; }

/* calculators */
.mw-calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.mw-result { position: sticky; top: calc(var(--head-h) + 16px); }
.mw-result small { display: block; font-size: 13px; }
#cOut > small, #rOut > small { color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mw-result-big { margin: 8px 0 14px; font-size: 22px; }
.mw-result-big b { color: var(--text); font-size: clamp(40px, 5vw, 60px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mw-result dl div { font-size: 15px; padding: 10px 0; }
#cNote { margin-top: 12px; font-size: 14px; }
.mw-fine { margin-top: 14px; color: var(--dim); }

/* contact */
.mw-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.mw-contact .mw-head { margin-bottom: 24px; }
.mw-way { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .2s; }
.mw-way:hover { border-color: var(--acc); }
.mw-way > i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--acc); font-size: 18px; }
.mw-way span { min-width: 0; }
.mw-way small { display: block; color: var(--dim); font-size: 13px; }
.mw-way b { display: block; color: var(--text); font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.mw-contact-img { max-width: 440px; margin: 24px 0 0; }

/* footer */
.mw-foot { padding: 64px 0 24px; background: var(--navy); color: var(--mute); }
.mw-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; padding-bottom: 32px; }
.mw-foot-brand p { margin-top: 14px; max-width: 340px; font-size: 15px; }
.mw-foot h2 { margin-bottom: 14px; color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mw-foot-col a { display: block; padding: 6px 0; font-size: 15px; transition: color .2s; }
.mw-foot-col a:hover, .mw-foot-more:hover, .mw-foot-end a:hover { color: var(--turq); }
.mw-talk { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); transition: border-color .2s; }
.mw-talk:hover { border-color: var(--turq); }
.mw-talk > i { flex: none; width: 24px; color: var(--turq); font-size: 18px; text-align: center; }
.mw-talk span { min-width: 0; }
.mw-talk b { display: block; color: var(--white); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.mw-talk small { display: block; font-size: 13px; overflow-wrap: anywhere; }
.mw-foot-more { font-size: 14px; }
.mw-socials { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-block: 1px solid var(--line); }
.mw-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s; }
.mw-socials a:hover { border-color: var(--acc); color: var(--acc); }
.mw-socials i { color: var(--acc); }
.mw-socials-light { padding: 12px 0 0; border: 0; }
.mw-foot-risk { padding: 18px 0; font-size: 13.5px; }
.mw-foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.mw-foot-end nav { display: flex; gap: 20px; }

/* floating buttons */
.mw-fabs { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.mw-fab { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--white); font-size: 21px; box-shadow: 0 16px 28px -16px rgba(11, 18, 32, .7); transition: transform .25s var(--ease); }
.mw-fab:hover { transform: translateY(-3px); }
.mw-fab.is-wa { background: #16A34A; }
.mw-fab.is-mail { background: var(--btn); color: var(--on-btn); }
.mw-totop { position: fixed; left: 18px; bottom: 18px; z-index: 900; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.mw-totop:hover { color: var(--acc); }

/* phone nav: floating bar, active item lifted into a bubble */
.mw-bnav { display: none; }

/* write overlay */
.mw-overlay { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; background: rgba(11, 18, 32, .86); }
.mw-overlay > div { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--white); font-weight: 600; }
.mw-overlay img { border-radius: 14px; }
.mw-overlay-bar { position: relative; width: 160px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.mw-overlay-bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--turq); animation: mwSweep 1.1s ease-in-out infinite; }

/* circular cursor + trail, mouse only */
html.mw-cursor, html.mw-cursor a, html.mw-cursor button, html.mw-cursor summary, html.mw-cursor label { cursor: none; }
.mw-cur, .mw-ring, .mw-trail { position: fixed; left: 0; top: 0; z-index: 2000; border-radius: 50%; pointer-events: none; will-change: transform; }
.mw-cur { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--turq); box-shadow: 0 0 0 1.5px rgba(11, 18, 32, .6); }
.mw-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--acc); background: rgba(0, 229, 209, .08); box-shadow: 0 0 24px 2px rgba(0, 229, 209, .35); transition: width .2s, height .2s, margin .2s, background .2s; }
.mw-ring.is-hot { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(0, 229, 209, .16); }
.mw-trail { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--turq); }
.mw-cur-off .mw-cur, .mw-cur-off .mw-ring, .mw-cur-off .mw-trail { opacity: 0 !important; }

@keyframes mwUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes mwIn { from { opacity: 0; } }
@keyframes mwFill { to { transform: scaleX(1); } }
@keyframes mwFloat { 50% { transform: translateY(-10px); } }
@keyframes mwSpin { to { --ang: 360deg; } }
@keyframes mwPulse { 50% { opacity: .55; transform: scale(1.06); } }
@keyframes mwMarq { to { transform: translateX(-50%); } }
@keyframes mwDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mwSlide { from { transform: translateX(100%); } }
@keyframes mwSweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

@media (max-width: 1100px) {
    .mw-nav-drop > a { padding: 0 10px; }
    .mw-brand small { display: none; }
    .mw-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mw-foot-brand { grid-column: 1 / -1; }
    .mw-hero-in { gap: 40px; }
    .mw-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .mw-dev { width: 100%; max-width: 720px; margin: 0 auto; }
    .mw-hero-in, .mw-split, .mw-person, .mw-calc, .mw-contact, .mw-tools { grid-template-columns: minmax(0, 1fr); }
    .mw-hero-in { padding: 32px 0 56px; }
    .mw-sec, .mw-close { padding: 64px 0; }
    .mw-sec-sm { padding: 40px 0; }
    main > .mw-band + .mw-sec { padding-top: 32px; }
    .mw-person-img { max-width: 420px; }
    .mw-result { position: static; }
    .mw-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .mw-wrap, .mw-narrow { width: calc(100% - 32px); }
    .mw-nav, .mw-head-cta { display: none; }
    .mw-brand small { display: block; }
    .mw-burger { display: inline-grid; }
    .mw-head-end { margin-left: auto; }
    .mw-bar { padding: 6px 40px 6px 12px; font-size: 13px; }
    .mw-bar > a > i { display: none; }
    .mw-grid3, .mw-grid2, .mw-plans, .mw-terms { grid-template-columns: minmax(0, 1fr); }
    .mw-foot { padding-bottom: 120px; }
    .mw-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .mw-foot-talk { grid-column: 1 / -1; }
    .mw-foot-end { flex-direction: column; align-items: flex-start; }
    .mw-sub { font-size: 16.5px; }
    .mw-hs-bar { margin-bottom: 20px; }
    .mw-stats li { flex: 1; padding: 0 12px; }
    .mw-plate { top: 8px; left: 8px; padding: 6px 12px 6px 6px; }
    .mw-plate img { width: 26px; height: 26px; }
    .mw-plate b { font-size: 13px; }
    .mw-plate small { font-size: 11px; }
    .mw-ind { padding: 64px 0; }
    .mw-ind-top { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
    .mw-ind-view { padding-inline: 16px; scroll-padding-inline: 16px; }
    .mw-ind-track { grid-auto-columns: min(300px, 82vw); }
    .mw-ind-card { min-height: 0; padding: 20px; }
    .mw-stats b { font-size: 22px; }
    .mw-stats small { font-size: 12px; line-height: 1.3; }
    .mw-btn { white-space: normal; text-align: center; padding-block: 10px; }
    .mw-cta .mw-btn { flex: 1 1 100%; }
    .mw-strip span { font-size: 13px; padding: 6px 12px; }
    .mw-road li { padding: 18px; gap: 14px; }
    .mw-find-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
    .mw-find-row label, .mw-find-row p { white-space: normal; }
    .mw-form, .mw-result, .mw-example { padding: 20px; }
    .mw-form > .mw-btn { align-self: stretch; }
    .mw-head { margin-bottom: 32px; }
    .mw-prose p, .mw-prose ul, .mw-prose ol { font-size: 16px; }
    .mw-prevnext { grid-template-columns: minmax(0, 1fr); }
    .mw-prevnext a.is-next { grid-column: auto; }
    .mw-cm.is-reply { margin-left: 16px; }
    .mw-prose table { display: block; overflow-x: auto; }
    .mw-band-in { padding: 24px 0 32px; }
    .mw-band p { font-size: 16.5px; }
    .mw-fabs { right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); }
    .mw-fab { width: 46px; height: 46px; font-size: 19px; border-radius: 14px; }
    .mw-fab.is-mail { display: none; }
    .mw-totop { display: none; }
    .mw-bnav { position: fixed; inset: auto 12px calc(10px + env(safe-area-inset-bottom)) 12px; z-index: 950; display: flex; justify-content: space-around; height: 64px; padding: 0 4px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 36px -14px rgba(31, 31, 31, .35); }
    .mw-bnav a { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: var(--dim); font-size: 11px; font-weight: 500; }
    .mw-bnav a i { font-size: 18px; }
    .mw-bnav a.is-on { justify-content: flex-end; padding-bottom: 8px; color: var(--acc); }
    .mw-bnav a.is-on i { position: absolute; top: -18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--btn); color: var(--on-btn); box-shadow: 0 0 0 5px var(--bg); }
}

@media (max-width: 430px) {
    .mw-brand small { display: none; }
    .mw-head-in { gap: 8px; }
    .mw-head-end { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html.mw-js .reveal { opacity: 1; transform: none; }
    html.mw-js .reveal .mw-draw { stroke-dashoffset: 0; }
    .mw-strip-t { width: auto; justify-content: center; }
    .mw-strip-t > div + div { display: none; }
    .mw-strip-t > div { flex-wrap: wrap; justify-content: center; }
}

/* no underline anywhere — state shows by colour */
a, a:hover, a:focus, a:active, u, .mw-btn, .mw-btn:hover { text-decoration: none; }
