  :root {
  --bg: #f6f6fb; --surface: #ffffff; --surface-2: #efeff8; --line: #e6e6f2;
  --text: #14132b; --muted: #5b5b76; --accent: #4338ca; --accent-2: #6366f1; --on-accent: #ffffff;
  --grad: linear-gradient(135deg, #3730a3, #6366f1);
  --hero: linear-gradient(135deg, #1e1b4b 0%, #3730a3 58%, #6366f1 100%);
  --gold: linear-gradient(135deg, #fff4cc, #ebc867 45%, #b07d12);
  --gold-text: linear-gradient(135deg, #c9962b, #8a5a00);
  --accent-soft: rgba(67, 56, 202, .10); --good: #059669;
  --shadow: 0 1px 2px rgba(30,27,75,.05), 0 12px 32px rgba(30,27,75,.08);
  --glow: 0 14px 36px rgba(55, 48, 163, .32);
  --glass: rgba(255,255,255,.72);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b1a; --surface: #14142b; --surface-2: #1b1b38; --line: #26264a;
    --text: #f1f1f8; --muted: #a3a3c2; --accent: #a5b4fc; --accent-2: #818cf8; --on-accent: #14123a;
    --grad: linear-gradient(135deg, #4f46e5, #818cf8);
    --hero: linear-gradient(135deg, #15133a 0%, #312e81 58%, #4f46e5 100%);
    --gold: linear-gradient(135deg, #fff4cc, #f0cf6e 45%, #c9962b);
    --gold-text: linear-gradient(135deg, #fff4cc, #f0cf6e);
    --accent-soft: rgba(165, 180, 252, .14); --good: #34d399;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.35);
    --glow: 0 14px 40px rgba(79, 70, 229, .32);
    --glass: rgba(20,20,43,.72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b1a; --surface: #14142b; --surface-2: #1b1b38; --line: #26264a;
  --text: #f1f1f8; --muted: #a3a3c2; --accent: #a5b4fc; --accent-2: #818cf8; --on-accent: #14123a;
  --grad: linear-gradient(135deg, #4f46e5, #818cf8);
  --hero: linear-gradient(135deg, #15133a 0%, #312e81 58%, #4f46e5 100%);
  --gold: linear-gradient(135deg, #fff4cc, #f0cf6e 45%, #c9962b);
  --gold-text: linear-gradient(135deg, #fff4cc, #f0cf6e);
  --accent-soft: rgba(165, 180, 252, .14); --good: #34d399;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.35);
  --glow: 0 14px 40px rgba(79, 70, 229, .32);
  --glass: rgba(20,20,43,.72);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden; overflow-x: clip;
  font: 16px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
  transition: background-color .4s ease, color .4s ease;
}
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

header {
  position: sticky; top: 0; z-index: 20; background: var(--glass);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; gap: 10px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -.01em; }
.mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--glow); display: block; }
.nav .spacer { flex: 1; }
.nav { position: relative; }
.nav .links { display: flex; align-self: stretch; margin-right: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; font: 700 14px "Poppins", sans-serif;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.icon-btn svg { width: 20px; height: 20px; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.icon-btn.spin svg { transform: rotate(180deg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  padding: 0 24px; border-radius: 16px; font: 700 16px "Poppins", sans-serif; text-decoration: none; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: var(--glow); transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 14.5px; }

/* Hero: gradient stage with rangoli and floating app mock. */
.hero-stage { position: relative; padding: 28px 0 0; }
.hero-bg {
  position: absolute; inset: 0 0 64px 0; background: var(--hero); z-index: -1;
  border-radius: 0 0 48px 48px; overflow: hidden;
}
.hero-bg .r1 { position: absolute; width: 520px; right: -140px; top: -140px; color: rgba(255,255,255,.16); animation: spin 90s linear infinite; }
.hero-bg .r2 { position: absolute; width: 300px; left: -100px; bottom: -120px; color: rgba(255,255,255,.12); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; padding-top: 56px; padding-bottom: 32px; }
.hero .eyebrow {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: 13.5px; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.25);
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.02em; color: #fff; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.92); margin: 0 0 28px; max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { background: #fff; color: #3730a3; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.hero .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; }
.trust span::before { content: "✓"; margin-right: 6px; font-weight: 800; }

.phone {
  justify-self: center; width: min(330px, 100%); border-radius: 40px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.25); padding: 18px; display: flex; flex-direction: column; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.phone .top { display: flex; align-items: center; gap: 10px; }
.phone .av { width: 38px; height: 38px; border-radius: 999px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.phone .top small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.phone .top b { font-size: 16px; }
.phone .today { background: var(--hero); color: #fff; border-radius: 22px; padding: 16px; position: relative; overflow: hidden; box-shadow: var(--glow); }
.phone .today b { display: block; font-size: 30px; letter-spacing: -.02em; }
.phone .today .mini { display: flex; gap: 8px; margin-top: 10px; }
.phone .today .mini div { flex: 1; background: rgba(255,255,255,.18); border-radius: 12px; padding: 8px 10px; font-size: 12px; }
.bubble { background: var(--surface-2); border-radius: 18px 18px 18px 6px; padding: 10px 14px; font-weight: 600; font-size: 14px; width: fit-content; max-width: 90%; }
.bubble.me { margin-left: auto; border-radius: 18px 18px 6px 18px; background: var(--accent-soft); color: var(--accent); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiles div { background: var(--surface-2); border-radius: 16px; padding: 14px 12px; font-weight: 700; font-size: 13.5px; }
.tiles div:first-child { background: var(--grad); color: #fff; }

section { padding: 72px 0; position: relative; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; letter-spacing: -.02em; line-height: 1.2; }
.sub { color: var(--muted); margin: 0 0 32px; font-size: 17px; max-width: 640px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px;
  background: color-mix(in srgb, var(--h) 16%, transparent); border: 1px solid color-mix(in srgb, var(--h) 22%, transparent);
}
.card h3 { margin: 0 0 6px; font-size: 18.5px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: s; }
.steps .card::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: var(--glow);
}

.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--glow); }
.plan.gold { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gold) border-box; }
.plan.gold h3 { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ref { color: var(--muted); font-size: 14px; }
.ref s { margin-right: 6px; }
.ref .off { color: var(--good); font-weight: 700; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; }
.tag.goldtag { background: var(--gold); color: #4a3300; }
.plan ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 3px; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.band .deco { position: absolute; width: 380px; right: -120px; top: -80px; color: var(--accent); opacity: .07; }
.split { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
.cta-card { background: var(--hero); color: #fff; border: 0; position: relative; overflow: hidden; }
.cta-card p { color: rgba(255,255,255,.9); }
.cta-card .btn { background: #fff; color: #3730a3; box-shadow: none; }
.cta-card .deco2 { position: absolute; width: 220px; right: -60px; bottom: -70px; color: rgba(255,255,255,.18); }
.big-num { font-size: clamp(56px, 8vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }

footer { padding: 44px 0 60px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }

/* Scroll reveal (v8): hidden start state only when JS runs (html.js), so
   content is always there without JS. Plays again on the way back up, from
   the top. Off when the visitor asks for less motion. */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.from-top { transform: translate3d(0, -28px, 0); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .hero-bg .r1 { animation: none; }
  .card, .btn, .icon-btn { transition: none; }
}

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid, .steps, .plans { grid-template-columns: 1fr; }
  .nav .hide-sm { display: none; }
  .hero { padding-top: 28px; gap: 36px; }
  .hero-bg { inset: 0 0 160px 0; border-radius: 0 0 32px 32px; }
  section { padding: 56px 0; }
}

/* CMS page content */
.page { max-width: 820px; margin: 0 auto; padding: 40px 16px 72px; }
.page h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 18px; }
.page .content { font-size: 17px; color: var(--text); }
.page .content h2 { font-size: 26px; margin: 32px 0 10px; }
.page .content h3 { font-size: 20px; margin: 24px 0 8px; }
.page .content p, .page .content li { color: var(--muted); }
.page .content a { color: var(--accent); }
.page .content img { max-width: 100%; height: auto; border-radius: 16px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.nf { text-align: center; padding: 80px 16px; }
.nf .big-num { margin-bottom: 8px; }


@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero p.lead { font-size: 16.5px; }
  .hero .ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* FAQ */
#faq { padding: 72px 0; }
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* App download strip (top of every site page) */
.appbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: var(--surface, #fff); border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); box-shadow: 0 2px 10px rgba(15, 23, 42, .06); }
.appbar[hidden] { display: none; }
.appbar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.appbar-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.appbar-txt b { font-size: 14px; }
.appbar-txt > span { font-size: 12px; color: var(--muted, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-stars { color: #f59e0b; letter-spacing: 1px; }
.appbar-btn { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #3730a3, #6366f1); min-height: 40px; display: inline-flex; align-items: center; }
.appbar-x { flex: none; width: 32px; height: 32px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted, #64748b); cursor: pointer; border-radius: 8px; }
.appbar-x:hover { background: rgba(100, 116, 139, .12); }
html.has-appbar #top { top: 56px; }
@media (min-width: 900px) { .appbar { justify-content: center; } .appbar-txt { flex: 0 1 auto; } }

/* ---- Feature / solution / compare pages (v5) ---- */
.mk-hero { background: var(--hero); color: #fff; border-radius: 0 0 40px 40px; padding: 28px 0 48px; position: relative; overflow: hidden; }
.mk-hero .crumbs, .mk-hero .crumbs a { color: rgba(255,255,255,.82); }
.mk-hero .crumbs a:hover { color: #fff; }
.mk-hero .eyebrow {
  display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; margin: 6px 0 14px;
  background: rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: 13.5px; border: 1px solid rgba(255,255,255,.25);
}
.mk-hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; font-weight: 800; max-width: 900px; }
.mk-hero .lead { font-size: 18px; color: rgba(255,255,255,.92); margin: 0 0 24px; max-width: 720px; }
.mk-hero .btn, .mk-cta .btn { background: #fff; color: #3730a3; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mk-hero .btn.ghost, .mk-cta .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
section.mk { padding: 56px 0; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
a.linkcard { text-decoration: none; display: block; position: relative; }
a.linkcard .more { position: absolute; top: 22px; right: 22px; color: var(--accent); font-weight: 800; }
a.linkcard:focus-visible, .chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; min-height: 44px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: var(--shadow);
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.chips.plain .chip { box-shadow: none; min-height: 36px; padding: 6px 14px; font-size: 14px; }
.band .chip { background: var(--bg); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.pairs { display: grid; gap: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.pair > div { padding: 18px 20px; }
.pair small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.pair .pain { color: var(--muted); }
.pair .pain small { color: #e11d48; }
.pair .fix { background: var(--accent-soft); font-weight: 600; }
.pair .fix small { color: var(--good); }
.bill-split { align-items: start; }
.bill {
  background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums; max-width: 460px; width: 100%;
}
.bill-shop { text-align: center; border-bottom: 1px dashed var(--line); padding-bottom: 10px; margin-bottom: 8px; }
.bill-shop b { display: block; font-size: 18px; }
.bill-shop small { color: var(--muted); font-size: 13px; }
.bill table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bill th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.bill td { padding: 7px 4px; vertical-align: top; }
.bill th:last-child, .bill td:last-child { text-align: right; white-space: nowrap; }
.bill td:nth-child(2) { color: var(--muted); }
.bill tfoot td { border-top: 1px solid var(--line); color: var(--muted); }
.bill tfoot .tot td { color: var(--text); font-weight: 800; font-size: 17px; border-top: 2px solid var(--text); }
.bill-note, .bill-pay { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.bill-pay { color: var(--good); font-weight: 600; }
.units-h { font-size: 18px; margin: 0 0 10px; }
.tbl-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 0; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--surface-2); font-size: 14px; }
.cmp thead th:nth-child(2) { color: var(--accent); }
.cmp tbody th { font-weight: 600; width: 30%; }
.cmp td { color: var(--muted); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.prose { max-width: 820px; }
.prose p { color: var(--muted); font-size: 16.5px; margin: 0 0 14px; }
.sources { padding-left: 18px; color: var(--muted); font-size: 14px; word-break: break-word; }
.sources a { color: var(--accent); }
.share { max-width: 720px; }
.share-text { white-space: normal; overflow-wrap: anywhere; background: var(--surface-2); border-radius: 16px; padding: 16px; margin: 0 0 16px !important; color: var(--text) !important; font-size: 15.5px !important; }
.btn.wa { background: #128C7E; box-shadow: 0 10px 24px rgba(18,140,126,.3); }
.mk-cta { text-align: left; padding: 36px 28px; }
.mk-cta h2 { color: #fff; }
.mk-cta p { margin: 0 0 22px; font-size: 17px; }
/* Landing additions */
.trades { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.trade {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 20px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.3;
  box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.trade span { font-size: 28px; }
.trade:hover { transform: translateY(-3px); border-color: var(--accent); }
.see-all { margin-top: 22px; }
.see-all a { color: var(--accent); font-weight: 700; text-decoration: none; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: " →"; color: var(--accent); }
@media (max-width: 1000px) { .trades { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .mk-hero { border-radius: 0 0 28px 28px; padding-bottom: 36px; }
  .grid.g4 { grid-template-columns: repeat(2, 1fr); }
  section.mk { padding: 44px 0; }
}
@media (max-width: 600px) {
  .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.g4 { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .mk-hero .lead { font-size: 16.5px; }
  .mk-hero .ctas .btn, .mk-cta .ctas .btn, .share .ctas .btn { flex: 1 1 auto; }
  .cmp th, .cmp td { padding: 10px 10px; font-size: 14px; }
  .mk-cta { padding: 28px 20px; }
}
.fnav { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.fnav .fh { margin: 0 0 8px; font-weight: 700; color: var(--text); font-size: 15px; }
.fnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fnav a { text-decoration: none; display: inline-block; padding: 3px 0; }
.fnav a:hover { color: var(--accent); }
@media (max-width: 900px) { .fnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cust-list { display: grid; gap: 14px; }
.cust-list .card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 18px 20px; }
.cust-list .card .ic { grid-row: span 2; margin: 0; }
#customers .ctas { margin: 0; }
.btn.wa-ghost { color: #128C7E; border-color: color-mix(in srgb, #128C7E 40%, var(--line)); }
:root[data-theme="dark"] .btn.wa-ghost { color: #34d399; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.wa-ghost { color: #34d399; } }
.btn { line-height: 1.3; text-align: center; }

/* Long URLs / words in legal pages must wrap on small phones (iPhone overflow). */
main p, main li, main td, main a { overflow-wrap: break-word; word-break: normal; }

/* ---- Header mega menu (desktop) + drawer (mobile), v7 ---- */
.mm { display: flex; align-items: stretch; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mm-item { display: flex; align-items: center; }
.mm-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 10px; background: none;
  color: var(--muted); font: 500 15px/1.4 "Poppins", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.mm-btn:hover, .mm-item.open .mm-btn { color: var(--text); background: var(--accent-soft); }
.mm-chev { width: 15px; height: 15px; transition: transform .2s ease; }
.mm-item.open .mm-chev { transform: rotate(180deg); }
.mm-btn:focus-visible, .mm-panel a:focus-visible, .mnav a:focus-visible, .mnav summary:focus-visible, .icon-btn:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 2px;
}
.mm-panel {
  position: absolute; z-index: 40; top: calc(100% - 6px); left: 50%;
  width: min(940px, calc(100vw - 32px)); transform: translate(-50%, 8px);
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(20, 19, 43, .06), 0 24px 64px rgba(20, 19, 43, .16);
  padding: 24px 24px 0; overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.mm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mm-item.open .mm-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.mm-panel.mm-compare { width: min(860px, calc(100vw - 32px)); }
.mm-cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px 20px; }
.mm-h { margin: 0 0 6px; padding: 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.mm-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mm-col a {
  display: flex; align-items: flex-start; gap: 12px; padding: 8px 10px; border-radius: 12px;
  color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 500; line-height: 1.35;
  transition: background-color .12s ease;
}
.mm-col a:hover, .mm-col a:focus-visible { background: var(--surface-2); }
.mm-col a:hover .mm-l { color: var(--accent); }
.mm-tx { min-width: 0; }
.mm-l { display: block; }
.mm-col small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 400; line-height: 1.4; }
.mm-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; background: var(--accent-soft); }
.mm-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 18px -24px 0; padding: 14px 34px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 14px;
}
.mm-all { color: var(--accent); font-weight: 600; text-decoration: none; }
.mm-all:hover { text-decoration: underline; }
.mm-promo { color: var(--muted); text-decoration: none; }
.mm-promo b { color: var(--text); font-weight: 600; }
.mm-promo:hover b { color: var(--accent); }
:root[data-theme="dark"] .mm-panel { box-shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .55); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mm-panel { box-shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 64px rgba(0, 0, 0, .55); }
}
@media (max-width: 1080px) { .mm-btn { padding: 8px 9px; font-size: 14.5px; } }
@media (prefers-reduced-motion: reduce) { .mm-panel, .mm-item.open .mm-panel, .mm-chev { transition: none; } }

.mnav-btn { display: none; }
.mnav-btn .i-close { display: none; }
.mnav-btn[aria-expanded="true"] .i-open { display: none; }
.mnav-btn[aria-expanded="true"] .i-close { display: block; }
.mnav {
  position: fixed; left: 0; right: 0; top: var(--mnav-top, 68px); bottom: 0; z-index: 70; background: var(--surface);
  border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(20, 19, 43, .14);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 4px 0 28px;
}

.mnav[hidden] { display: none; }
/* No overflow lock on html/body: it breaks the sticky header (it jumps off
   screen with the drawer once the page is scrolled). The drawer is fixed to
   the viewport under the header and keeps scrolling to itself instead. */
html.mnav-open { overscroll-behavior: none; }
.mnav-sec { border-bottom: 1px solid var(--line); }
.mnav-sec summary, .mnav-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px;
  font-weight: 600; font-size: 17px; color: var(--text); text-decoration: none; cursor: pointer; list-style: none;
}
.mnav-sec summary::-webkit-details-marker { display: none; }
.mnav-sec summary .mm-chev { width: 20px; height: 20px; color: var(--muted); }
.mnav-sec[open] summary .mm-chev { transform: rotate(180deg); }
.mnav-link { border-bottom: 1px solid var(--line); }
.mnav .mm-h { padding: 10px 4px 2px; }
.mnav ul { list-style: none; margin: 0 0 6px; padding: 0; }
.mnav ul a { display: block; padding: 9px 4px; color: var(--text); text-decoration: none; font-size: 15.5px; border-radius: 8px; }
.mnav ul a:active { background: var(--surface-2); }
.mnav .mm-all { display: inline-block; padding: 8px 4px 18px; }
.mnav .btn { width: 100%; margin-top: 22px; }
@media (max-width: 900px) { .mnav-btn { display: grid; } }
@media (min-width: 901px) { .mnav { display: none !important; } }

/* ===================== v8: app screens, interaction, motion ===================== */
.js .reveal.in.settled { transition: opacity .3s ease, transform .3s ease, border-color .3s ease, box-shadow .3s ease; transition-delay: 0ms; }
.lead, .sub { text-wrap: pretty; }
h1, h2, .tour-text h3 { text-wrap: balance; }
.sub { font-size: clamp(15.5px, 1.5vw, 17px); }
.hero p.lead, .mk-hero .lead { font-size: clamp(16px, 1.7vw, 18px); }

/* Press states for touch (hover alone does nothing on phones). */
.btn:active { transform: translateY(0) scale(.97); }
.card:active, .trade:active, a.chip:active { transform: translateY(-1px) scale(.985); }
.icon-btn:active { transform: scale(.94); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* Phone frame around a real app screen (9:16). */
.device {
  position: relative; width: 100%; padding: 8px; border-radius: 36px; background: #0d0c1d;
  box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset, 0 2px 4px rgba(15,12,50,.18), 0 34px 70px -18px rgba(15,12,60,.55);
}
.device .screen { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 9 / 16; background: #f6f6fb; }
.device picture { display: block; }
.device img { display: block; width: 100%; height: auto; }
:root[data-theme="dark"] .device { box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 0 0 1px rgba(165,180,252,.12), 0 34px 70px -18px rgba(0,0,0,.8); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .device { box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 0 0 1px rgba(165,180,252,.12), 0 34px 70px -18px rgba(0,0,0,.8); }
}

/* Landing hero: two phones; the front one switches with the tabs. */
.hero-shots { display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; }
.hero-devices { position: relative; width: min(440px, 100%); display: flex; justify-content: flex-end; padding: 8px 0; }
.device-front { width: 292px; z-index: 2; animation: float 7s ease-in-out infinite; }
.device-back { position: absolute; left: 0; bottom: 9%; width: 216px; z-index: 1; transform: rotate(-7deg); }
.device-front .screen picture.scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .55s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.device-front .screen picture.scr.on { opacity: 1; transform: none; }
.shot-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 26px; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.shot-tabs button {
  position: relative; overflow: hidden; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--muted); font: 600 14.5px/1.2 "Poppins", system-ui, sans-serif; transition: color .2s ease, background-color .2s ease;
}
.shot-tabs button:hover { color: var(--text); background: var(--surface-2); }
.shot-tabs button[aria-pressed="true"] { color: #fff; background: var(--grad); box-shadow: var(--glow); }
.shot-tabs button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.shot-tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.75); transform: scaleX(0); transform-origin: left; }
.shot-tabs.auto button[aria-pressed="true"]::after { animation: tabfill var(--auto, 5s) linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }
html:not(.js) .shot-tabs { display: none; }

/* Numbers strip under the hero. */
.stats { padding: 28px 0 8px; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px; box-shadow: var(--shadow); text-align: center; }
.stat-grid b {
  display: block; font-size: clamp(32px, 4.2vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-grid b span { display: inline-block; }
.stat-grid li > span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.stat-grid b.pop { animation: pop .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: none; } }

/* Inside the app: real screens next to each feature. */
.tour .tour-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: 28px 0; }
.tour .tour-row + .tour-row { border-top: 1px solid var(--line); }
.tour .tour-row:nth-of-type(even) .tour-media { order: 2; }
.tour-media { position: relative; display: grid; place-items: center; padding: 12px 0; }
.tour-media::before {
  content: ""; position: absolute; width: min(380px, 92%); aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent);
}
.tour-media .device { width: min(272px, 64vw); z-index: 1; }
.tour-k { margin: 0 0 8px; color: var(--accent); font-weight: 700; font-size: 14.5px; }
.tour-text h3 { font-size: clamp(23px, 2.6vw, 32px); line-height: 1.22; letter-spacing: -.02em; margin: 0 0 12px; }
.tour-text > p { color: var(--muted); margin: 0 0 18px; font-size: 16.5px; }
.ticks.one { grid-template-columns: 1fr; margin-bottom: 18px; }
.ticks.one b { color: var(--text); font-weight: 600; }
.tour-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: none; }
.tour-more span { transition: transform .2s ease; }
.tour-more:hover span { transform: translateX(4px); }
.js .tour-row .reveal.from-side:not(.in) { transform: translate3d(-44px, 0, 0); }
.js .tour-row:nth-of-type(even) .reveal.from-side:not(.in) { transform: translate3d(44px, 0, 0); }

/* Start in three steps: a line that fills as you scroll; tap a step. */
.stepper .step-track { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 4px; }
.stepper .step-track span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform .25s linear; }
.js .stepper .step { cursor: pointer; }
.js .stepper .step:not(.on)::before { background: var(--surface-2); color: var(--muted); box-shadow: none; }
.stepper .step::before { transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.js .stepper .step.on { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.js .stepper .step:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* Pricing: monthly / yearly switch. */
.period { display: inline-flex; gap: 4px; padding: 5px; margin: 0 0 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.period[hidden] { display: none; }
.period button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--muted); font: 600 15px/1.2 "Poppins", system-ui, sans-serif; transition: color .2s ease, background-color .2s ease;
}
.period button[aria-pressed="true"] { color: #fff; background: var(--grad); box-shadow: var(--glow); }
.period button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.period .save { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.period button[aria-pressed="true"] .save { background: rgba(255,255,255,.22); color: #fff; }
#plansGrid:not([data-period="y"]) .y-only { display: none; }
#plansGrid[data-period="y"] .m-only { display: none; }
#plansGrid.swap .price { animation: priceIn .4s ease; }
@keyframes priceIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Feature / solution page hero with a phone rising from the bottom edge. */
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: end; }
.mk-hero.has-shot { padding-bottom: 0; }
.mk-hero.has-shot .mk-hero-grid { grid-template-columns: minmax(0, 1fr) auto; }
.mk-hero.has-shot .mk-hero-text { padding-bottom: 48px; align-self: center; }
.mk-shot { width: 300px; height: 430px; padding: 0 14px; margin-top: 6px; } /* the hero (overflow hidden) cuts the phone at its bottom edge */
.mk-shot .device { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 -10px 50px rgba(0,0,0,.25); }

/* Sticky header: hides on the way down, comes back on the way up. */
header { transition: border-color .25s ease, box-shadow .25s ease, transform .35s cubic-bezier(.2,.7,.2,1), background-color .25s ease; }
header.hide { transform: translateY(calc(-100% - 64px)); }
header .mark { transition: transform .3s ease; transform-origin: left center; }
header.scrolled .mark { transform: scale(.88); }
header.scrolled { background: color-mix(in srgb, var(--surface) 88%, transparent); }

/* Responsive */
@media (max-width: 1080px) {
  .device-front { width: 260px; }
  .device-back { width: 190px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { max-width: 560px; }
}
@media (max-width: 900px) {
  .hero-shots { gap: 16px; }
  .shot-tabs { order: -1; }
  .hero-devices { width: min(380px, 100%); }
  .tour .tour-row { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .tour .tour-row:nth-of-type(even) .tour-media { order: 0; }
  .js .tour-row .reveal.from-side:not(.in), .js .tour-row:nth-of-type(even) .reveal.from-side:not(.in) { transform: translate3d(0, 28px, 0); }
  .mk-hero.has-shot .mk-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .mk-hero.has-shot .mk-hero-text { padding-bottom: 8px; }
  .mk-shot { justify-self: center; width: 250px; height: 270px; }
}
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-grid li { padding: 14px 10px; border-radius: 18px; }
  .stat-grid li > span { font-size: 13.5px; }
  .device { padding: 6px; border-radius: 30px; }
  .device .screen { border-radius: 24px; }
  .hero-devices { width: min(330px, 100%); }
  .device-front { width: min(224px, 62vw); }
  .device-back { width: min(164px, 44vw); bottom: 7%; }
  .shot-tabs button { padding: 0 12px; font-size: 14px; }
  .tour-media .device { width: min(220px, 62vw); }
  .tour-text > p { font-size: 15.5px; }
  .js .reveal { transition-duration: .55s, .6s; }
  .js .reveal:not(.in) { transform: translate3d(0, 18px, 0); }
  .js .reveal.from-top:not(.in) { transform: translate3d(0, -18px, 0); }
  .period:not([hidden]) { display: flex; width: 100%; }
  .period button { flex: 1; justify-content: center; padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.from-top, .js .reveal:not(.in), .js .tour-row .reveal.from-side:not(.in) { opacity: 1 !important; transform: none !important; transition: none !important; }
  .device-front, .stat-grid b.pop { animation: none; }
  .device-front .screen picture.scr { transition: none; transform: none; }
  .shot-tabs.auto button[aria-pressed="true"]::after { animation: none; }
  header, header .mark, .stepper .step-track span, .tour-more span { transition: none; }
  header.hide { transform: none; }
  #plansGrid.swap .price { animation: none; }
}
/* Header buttons keep their size on small phones. */
.icon-btn { flex: none; }
@media (max-width: 380px) {
  .nav { gap: 8px; }
  .logo { font-size: 19px; gap: 8px; }
  .mark { width: 36px; height: 36px; }
}
