/* =========================================================
   MLM.ERP — design system
   Brand colours from the logo: purple #9B4DE6 · indigo #3034D0 · sky #8FCBF0
   ========================================================= */
:root {
  --ink-950: #0F0C2B;
  --ink-900: #16123A;
  --ink-800: #221D52;
  --ink-700: #2F2970;
  --text-strong: #12102B;
  --text: #45435F;
  --muted: #6E6C88;
  --line: #E7E5F2;
  --line-strong: #D3D0E6;
  --bg: #FFFFFF;
  --bg-soft: #F7F6FC;
  --brand: #4B3AE0;
  --brand-600: #3A2BC9;
  --brand-700: #2C209F;
  --brand-50: #F2F0FF;
  --brand-100: #E3DFFF;
  --purple: #9B4DE6;
  --indigo: #3034D0;
  --sky: #8FCBF0;
  --mint: #0E9F75;
  --mint-50: #E4F7EF;
  --amber: #C27406;
  --amber-50: #FFF4DF;
  --grad: linear-gradient(120deg, #9B4DE6 0%, #6A3FE2 48%, #3034D0 100%);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-xs: 0 1px 2px rgba(18, 16, 43, .06);
  --sh-sm: 0 2px 6px rgba(18, 16, 43, .05), 0 1px 2px rgba(18, 16, 43, .06);
  --sh-md: 0 14px 34px -14px rgba(48, 30, 140, .22), 0 2px 6px rgba(18, 16, 43, .05);
  --sh-lg: 0 40px 80px -30px rgba(48, 30, 140, .38), 0 8px 20px -10px rgba(18, 16, 43, .12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font); font-size: 15.5px; line-height: 1.75; letter-spacing: -0.01em; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.5px; line-height: 1.12; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--text-strong); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text-strong); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink-950); color: #B8C1DC; position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--brand-50); }
.section--dark .eyebrow { color: #C4B5FD; }
.section--dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(91, 63, 224, .25); }
.h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 5vw, 62px); letter-spacing: -0.5px; line-height: 1.1; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.5px; line-height: 1.12; }
.h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.lead { font-size: 17px; color: var(--text); line-height: 1.8; }
.section--dark .lead { color: #A9B4D3; }
.grad-text, .h1 em, .h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; }
.sec-head .lead { margin-top: 14px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 700px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--brand); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 26px; border-radius: 10px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-primary { background: var(--grad); box-shadow: 0 10px 24px -10px rgba(91, 63, 224, .7), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(91, 63, 224, .8), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-dark { --b-bg: var(--text-strong); }
.btn-ghost { --b-bg: #fff; --b-fg: var(--text-strong); --b-bd: var(--line-strong); }
.btn-ghost:hover { --b-bd: var(--text-strong); }
.btn-glass { --b-bg: rgba(255,255,255,.06); --b-fg: #fff; --b-bd: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-glass:hover { --b-bg: rgba(255,255,255,.12); }
.btn-wa { --b-bg: #1FAF55; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- chips & badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--text-strong); }
.chip .ic { width: 15px; height: 15px; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--brand-50); color: var(--brand-700); }
.badge--mint { background: var(--mint-50); color: var(--mint); }
.badge--amber { background: var(--amber-50); color: var(--amber); }
.code-chip { font-family: var(--mono); font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-strong); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,17,38,.4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); flex: none; }
.brand:hover { color: var(--text-strong); }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text); transition: background .15s, color .15s;
}
.nav-link:hover, .nav-trigger:hover, .nav-item:focus-within > .nav-trigger { background: var(--bg-soft); color: var(--text-strong); }
.nav-link[aria-current="page"] { color: var(--brand); }
.nav-trigger .ic { width: 15px; height: 15px; transition: transform .2s; }
.nav-item { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 10px; min-width: 300px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover > .menu, .nav-item:focus-within > .menu, .nav-item.is-open > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover > .nav-trigger .ic, .nav-item.is-open > .nav-trigger .ic { transform: rotate(180deg); }
.menu--mega { width: min(880px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; padding: 16px; }
.menu-col h3 { font-family: var(--font); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text-strong); font-weight: 600; font-size: .92rem; }
.menu a:hover { background: var(--bg-soft); color: var(--brand); }
.menu a .ic { width: 18px; height: 18px; color: var(--brand); }
.menu a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.menu-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 10px 4px; border-top: 1px solid var(--line); font-size: .88rem; }
.menu-foot a { display: inline-flex; padding: 0; }
.menu-foot a:hover { background: none; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--text-strong); padding: 8px 10px; }
.header-phone .ic { width: 17px; height: 17px; color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--text-strong); }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-x { display: none; }

@media (max-width: 1180px) { .header-phone span { display: none; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto; border-top: 1px solid var(--line);
    display: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; animation: navIn .2s ease; }
  body.nav-open .nav-toggle .ic-menu { display: none; }
  body.nav-open .nav-toggle .ic-x { display: block; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link:hover, .nav-trigger:hover { background: none; }
  .menu, .menu--mega { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; width: auto; min-width: 0; padding: 4px 0 12px; display: none; }
  .nav-item:hover > .menu, .nav-item:focus-within > .menu { transform: none; }
  .nav-item.is-open > .menu { display: block; transform: none; }
  .menu--mega { grid-template-columns: 1fr; }
  .nav-mobile-cta { display: flex !important; }
}
.nav-mobile-cta { display: none; flex-direction: column; gap: 10px; margin-top: 20px; }
@media (max-width: 520px) { .header-cta .btn { display: none; } }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .85rem; margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--text-strong); font-weight: 600; }



/* ---------- market strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; gap: 12px 28px; padding-block: 22px; flex-wrap: wrap; }
.strip-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.strip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.strip-list a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--text-strong); transition: border-color .15s, color .15s; }
.strip-list a:hover { border-color: var(--brand); color: var(--brand); }
.iso { font-family: var(--mono); font-size: .66rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border-radius: 4px; padding: 1px 5px; }

/* ---------- answer / key facts block (AI-friendly) ---------- */
.answer { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.answer p.definition { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--text-strong); font-weight: 500; }
.facts { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--sh-sm); }
.facts h2, .facts h3 { font-size: .78rem; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-weight: 600; }
.facts dl { display: grid; grid-template-columns: auto 1fr; }
.facts dt, .facts dd { padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { color: var(--text-strong); font-weight: 600; text-align: right; }
.facts dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 860px) { .answer { grid-template-columns: 1fr; } }

.tldr { border: 1px solid var(--brand-100); background: linear-gradient(180deg, var(--brand-50), #fff); border-radius: var(--r); padding: 22px 24px; }
.tldr h2 { font-size: .78rem; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-700); margin-bottom: 10px; font-weight: 600; }
.tldr ul { padding: 0; list-style: none; display: grid; gap: 8px; }
.tldr li { display: flex; gap: 10px; color: var(--text-strong); font-weight: 500; }
.tldr li .ic { color: var(--brand); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.card { display: block; color: inherit; }
a.card:hover, .card--hover:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: .97rem; color: var(--muted); }
.icon-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; }
.icon-box .ic { width: 22px; height: 22px; }
.icon-box--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(91,63,224,.7); }
.section--dark .card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.section--dark .card p { color: #9AA5C6; }
.section--dark .icon-box { background: rgba(91,63,224,.18); color: #C4B5FD; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.bento .card { display: flex; flex-direction: column; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.bento .card--feature { background: var(--ink-900); border-color: var(--ink-800); color: #A9B4D3; overflow: hidden; }
.bento .card--feature h3 { color: #fff; font-size: 1.35rem; }
.bento .card--feature p { color: #A9B4D3; }
.bento .card--feature .icon-box { background: rgba(91,63,224,.2); color: #C4B5FD; }
.bento .card-visual { margin-top: auto; padding-top: 22px; }
.bento ul.ticks { margin-top: 14px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-4, .b-3, .b-2 { grid-column: span 2; } .b-2.half { grid-column: span 1; } }
@media (max-width: 620px) { .b-2.half { grid-column: span 2; } }

.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; color: var(--mint); margin-top: 3px; padding: 2px; border-radius: 50%; background: var(--mint-50); stroke-width: 2.6; }
.ticks--warn .ic { color: var(--amber); background: var(--amber-50); stroke-width: 2; }
.section--dark .ticks .ic, .card--feature .ticks .ic { background: rgba(74,222,159,.12); color: #4ADE9F; }

/* commission ledger visual */
.ledger { font-family: var(--mono); font-size: .76rem; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; }
.ledger div { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.06); color: #C9D2EC; }
.ledger div:last-child { border-bottom: 0; background: rgba(91,63,224,.14); color: #fff; font-weight: 700; }
.ledger span:last-child { text-align: right; color: #4ADE9F; }

/* ---------- plan explorer ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); flex-wrap: wrap; }
.tab { padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.tab[aria-selected="true"] { background: #fff; color: var(--text-strong); box-shadow: var(--sh-sm); }
.tab .count { font-family: var(--font); font-size: .72rem; color: var(--muted); margin-left: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.plan-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.plan-card .icon-box { margin-bottom: 4px; width: 42px; height: 42px; }
.plan-card h3 { font-size: 1.05rem; margin: 0; }
.plan-card p { font-size: .9rem; line-height: 1.55; }
.plan-card .meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); }
.plan-card .meta .ic { width: 16px; height: 16px; color: var(--brand); transition: transform .2s; }
.plan-card:hover .meta .ic { transform: translateX(3px); }
.plan-card .badge { position: absolute; top: 20px; right: 20px; }
.plan-card[hidden] { display: none; }
@media (max-width: 1080px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 26px 22px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font); font-weight: 600; font-size: .8rem; color: var(--brand); display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--brand-50); margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { font-size: .93rem; color: var(--muted); }
.steps--compact { grid-template-columns: 1fr; gap: 12px; }
.steps--compact li { display: flex; gap: 14px; align-items: baseline; padding: 16px 18px; }
.steps--compact li::before { margin: 0; flex: none; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg-soft); font-size: .78rem; font-family: var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { color: var(--text-strong); font-weight: 700; }
.table .hl { background: rgba(91, 63, 224, .04); }
.table thead .hl { background: var(--brand-50); color: var(--brand-700); }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.yes .ic { color: var(--mint); stroke-width: 2.6; width: 18px; height: 18px; }
.no { color: var(--muted); font-weight: 500; }
.no .ic { color: #B6BED3; width: 18px; height: 18px; }

/* ---------- payments ---------- */
.pay-card h3 { display: flex; align-items: center; gap: 10px; }
.pay-card .chips { margin-top: 16px; }
.section--dark .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #E1E7F7; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--text-strong); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--bg-soft); color: var(--brand); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px);
  background: var(--ink-950); color: #B8C1DC; isolation: isolate;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(91,63,224,.55), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(155,77,230,.3), transparent 70%); }
.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { margin-top: 14px; max-width: 620px; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 28px; }
.cta-band .cta-contact { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; }
.cta-band .cta-contact a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.cta-band .cta-contact .ic { color: #C4B5FD; width: 18px; height: 18px; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 80px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 100% 0%, rgba(91,63,224,.10), transparent 70%); }
.page-hero > .container { position: relative; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: 18px; max-width: 760px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.page-hero-grid > * { min-width: 0; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.updated { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .85rem; color: var(--muted); }
.updated .ic { width: 15px; height: 15px; }

/* ---------- plan detail ---------- */
.callout { border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; }
.callout h3 { font-size: 1rem; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.callout h3 .ic { color: var(--brand); }
.callout--amber { border-left-color: var(--amber); background: var(--amber-50); }
.callout--amber h3 .ic { color: var(--amber); }
.income-list { display: grid; gap: 12px; }
.income-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.income-list dt { font-weight: 800; color: var(--text-strong); }
.income-list dd { color: var(--text); }
@media (max-width: 640px) { .income-list > div { grid-template-columns: 1fr; gap: 4px; } }
.side-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff; }
.toc h2 { font-size: .75rem; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.toc ol { padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.toc a { color: var(--text); font-weight: 600; }
.toc a:hover { color: var(--brand); }

/* ---------- location pages ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.loc-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text-strong); font-weight: 700; transition: border-color .15s, box-shadow .15s; }
.loc-grid a:hover { border-color: var(--brand); box-shadow: var(--sh-sm); color: var(--brand); }
.loc-grid small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.loc-grid .ic { width: 16px; height: 16px; color: var(--brand); }
@media (max-width: 960px) { .loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .loc-grid { grid-template-columns: 1fr; } }
.region-title { font-size: 1rem; margin: 32px 0 14px; display: flex; align-items: center; gap: 10px; }
.region-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- prose (blog / legal) ---------- */
.prose { color: var(--text); font-size: 1.08rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.85rem); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-100); text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose strong { color: var(--text-strong); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--bg-soft); padding: 16px 22px; border-radius: 0 12px 12px 0; color: var(--text-strong); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 140px; }
.prose thead th { background: var(--bg-soft); color: var(--text-strong); font-weight: 700; font-size: .9rem; }
.prose tbody tr:last-child td { border-bottom: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-layout aside { order: -1; } .article-layout .side-sticky { position: static; } }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ic { width: 16px; height: 16px; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card .post-meta { margin-top: auto; padding-top: 10px; font-size: .82rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--text-strong); margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 1rem; color: var(--text-strong); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field-error { display: block; color: #C93838; font-size: .85rem; margin-top: 4px; font-weight: 600; }
.input.input-validation-error { border-color: #E5484D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert { padding: 18px 20px; border-radius: 14px; display: flex; gap: 12px; align-items: flex-start; }
.alert .ic { width: 22px; height: 22px; margin-top: 2px; }
.alert--ok { background: var(--mint-50); color: #0B6B50; border: 1px solid #B7E8D6; }
.alert--err { background: #FDECEC; color: #9B2C2C; border: 1px solid #F5C2C2; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--sh-md); }

.contact-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text-strong); font-weight: 700; }
.contact-list a:hover { border-color: var(--brand); }
.contact-list small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.contact-list .icon-box { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: #8F9BBF; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 340px; line-height: 1.65; }
.footer-contact { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 8px; }
.footer-contact a { color: #DCE3F5; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-contact .ic { width: 16px; height: 16px; color: #A78BFA; }
.footer-col h2 { font-family: var(--font); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #8F9BBF; }
.footer-col a:hover { color: #fff; }
.footer-col a.more { color: #C4B5FD; font-weight: 700; }
.footer-bottom { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a { color: #8F9BBF; }
.footer-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); color: #DCE3F5; font-size: .72rem; font-weight: 800; font-family: var(--font); }
.socials a:hover { border-color: #A78BFA; color: #fff; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1FAF55; color: #fff; box-shadow: 0 14px 30px -10px rgba(31,175,85,.8);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .ic { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .cta-band, .nav { display: none !important; }
  body { font-size: 12pt; }
}

/* =========================================================
   v2 components — real product imagery
   ========================================================= */

/* top announcement bar */
.topbar { background: var(--grad); color: #fff; font-size: .88rem; font-weight: 600; }
.topbar .container { display: flex; justify-content: center; align-items: center; gap: 10px 18px; padding-block: 9px; flex-wrap: wrap; text-align: center; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.5); }
.topbar a:hover { color: #fff; text-decoration-color: #fff; }

/* light hero with real product */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #FBFAFF 0%, #F4F2FF 100%);
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 40% at 70% 30%, rgba(155, 77, 230, .22), transparent 70%),
    radial-gradient(35% 35% at 40% 60%, rgba(48, 52, 208, .18), transparent 70%),
    radial-gradient(30% 30% at 85% 75%, rgba(143, 203, 240, .35), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(75, 58, 224, .14) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .lead { margin-top: 22px; max-width: 580px; color: var(--text); }
.hero .btn-row { margin-top: 32px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--sh-sm); font-size: .86rem; font-weight: 700; color: var(--text-strong); margin-bottom: 22px;
}
.hero-pill b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .75rem; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; font-size: .93rem; color: var(--text); font-weight: 600; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint-50); color: var(--mint); stroke-width: 2.6; }
.hero-visual { position: relative; }
.hero-visual > img { width: 112%; max-width: none; height: auto; margin-left: -4%; mix-blend-mode: multiply; }
@media (max-width: 1000px) { .hero-visual > img { width: 100%; margin-left: 0; } }
.chip-float {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--sh-lg); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--text-strong); animation: bob 6s ease-in-out infinite;
}
.chip-float small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
.chip-float .ic { width: 32px; height: 32px; padding: 7px; border-radius: 10px; }
.chip-float--a { left: -14px; bottom: 16%; }
.chip-float--a .ic { background: var(--mint-50); color: var(--mint); }
.chip-float--b { right: 4%; top: -8px; animation-delay: -3s; }
.chip-float--b .ic { background: var(--brand-50); color: var(--brand); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .chip-float--a { left: 0; } }
@media (max-width: 560px) { .chip-float { display: none; } }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); overflow: hidden; }
.stat { padding: clamp(20px, 3vw, 32px); text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -0.5px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; font-size: .92rem; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* screenshot frames */
.shot { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.shot img { width: 100%; height: auto; }
.shot--browser::before { content: ""; display: block; height: 30px; background: #F3F2FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='10'%3E%3Ccircle cx='5' cy='5' r='4.5' fill='%23FF6159'/%3E%3Ccircle cx='21' cy='5' r='4.5' fill='%23FFBD2E'/%3E%3Ccircle cx='37' cy='5' r='4.5' fill='%2328C840'/%3E%3C/svg%3E") 14px center no-repeat; border-bottom: 1px solid var(--line); }
.shot--bare { border: 0; box-shadow: none; background: none; border-radius: 0; }
.shot--bare img { mix-blend-mode: multiply; border-radius: 20px; }
.shot-wrap:has(.shot--bare)::before { display: none; }
.shot-wrap { position: relative; isolation: isolate; }
.shot-wrap::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; z-index: -1; border-radius: 30px; background: var(--grad); opacity: .16; filter: blur(30px); }
figure.shot-fig { margin: 0; }
figure.shot-fig figcaption { margin-top: 14px; font-size: .85rem; color: var(--muted); text-align: center; }

/* product tour */
.tour-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tour-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-weight: 700; font-size: .93rem; color: var(--text); transition: all .15s;
}
.tour-tab .ic { width: 18px; height: 18px; color: var(--brand); }
.tour-tab:hover { border-color: var(--brand-100); color: var(--text-strong); }
.tour-tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(91, 63, 224, .7); }
.tour-tab[aria-selected="true"] .ic { color: #fff; }
.tour-panel { display: grid; grid-template-columns: .8fr 1.45fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tour-panel + .tour-panel { margin-top: 64px; }
.js .tour-panel:not(.is-active) { display: none; }
.js .tour-panel + .tour-panel { margin-top: 0; }
.tour-panel h3 { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.4px; line-height: 1.15; }
.tour-panel p { margin-top: 12px; color: var(--muted); }
.tour-panel .ticks { margin-top: 20px; }
.js .tour-panel.is-active { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) {
  .tour-panel { grid-template-columns: 1fr; }
  .tour-panel .shot-wrap { order: -1; }
  .tour-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tour-tab { flex: none; }
}

/* showcase split (text + screenshot) */
.showcase { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.showcase--rev { grid-template-columns: 1.25fr 1fr; }
.showcase--rev > :first-child { order: 2; }
.showcase > * { min-width: 0; }
.showcase .lead { margin-top: 14px; }
.showcase .ticks { margin-top: 22px; }
@media (max-width: 960px) { .showcase, .showcase--rev { grid-template-columns: minmax(0, 1fr); } .showcase--rev > :first-child { order: 0; } }

/* gateway logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px; }
.logo-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.logo-tile:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); transform: translateY(-2px); }
.logo-tile img { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; }
.logo-tile span { font-size: .8rem; font-weight: 700; color: var(--text-strong); text-align: center; line-height: 1.3; }
.logo-group-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 32px 0 14px; }
.logo-group-title:first-child { margin-top: 0; }
.logo-group-title .ic { color: var(--brand); }

/* soft gradient section */
.section--brand { background: linear-gradient(180deg, #F7F5FF 0%, #fff 100%); border-top: 1px solid var(--line); }

.site-footer .brand img { height: 44px; }
@media (max-width: 640px) { .topbar span { display: none; } }

/* =========================================================
   Plan detail pages
   ========================================================= */
.plan-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #FBFAFF 0%, #F3F0FF 100%);
  padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line);
}
.plan-hero::before {
  content: ""; position: absolute; inset: -30% -20% auto 40%; height: 140%; z-index: -1; filter: blur(10px);
  background: radial-gradient(40% 40% at 60% 40%, rgba(155, 77, 230, .2), transparent 70%), radial-gradient(30% 30% at 80% 70%, rgba(143, 203, 240, .35), transparent 70%);
}
.plan-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.plan-hero-grid > * { min-width: 0; }
.plan-hero .lead { margin-top: 18px; }
.plan-hero .btn-row { margin-top: 28px; }
.plan-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.plan-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--text-strong); }
.plan-tag .ic { width: 16px; height: 16px; color: var(--brand); }
.plan-tag--classic { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.plan-tag--advanced { background: var(--mint-50); border-color: #BFE9D9; color: #0B6B50; }
.plan-tag--crypto { background: var(--amber-50); border-color: #F6DDB0; color: #8A5300; }
.plan-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.plan-quick > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--sh-xs); }
.plan-quick dt { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan-quick dd { margin-top: 4px; font-weight: 700; color: var(--text-strong); font-size: 14.5px; line-height: 1.35; }
@media (max-width: 1000px) { .plan-hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .plan-quick { grid-template-columns: 1fr; } }

.diagram-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(14px, 2.4vw, 26px); box-shadow: var(--sh-lg); }
.plan-diagram { width: 100%; height: auto; display: block; }
.diagram-card figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

/* sticky in-page navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.subnav a:hover { background: var(--bg-soft); color: var(--text-strong); }
.subnav a.is-active { background: var(--brand-50); color: var(--brand-700); }
.subnav .subnav-cta { margin-left: auto; background: var(--grad); color: #fff; }
.subnav .subnav-cta:hover { color: #fff; background: var(--grad); }
/* html already pads by header height + 16px; this adds room for the sticky in-page nav */
[id] { scroll-margin-top: 60px; }

/* best for */
.bestfor { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--sh-md); }
.bestfor .icon-box { margin: 0; flex: none; }
.bestfor-title { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: 6px; }
.bestfor p { font-size: 16.5px; color: var(--text); }

/* step flow */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: none; position: relative; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px 22px; box-shadow: var(--sh-xs); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -15px; width: 12px; height: 12px; z-index: 1;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg);
}
.flow-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 14px; box-shadow: 0 10px 20px -10px rgba(91,63,224,.8); }
.flow-step p { color: var(--text-strong); font-weight: 500; font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) { .flow-step:not(:last-child)::after { display: none; } }

/* income types */
.income-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.income-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.income-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.income-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.income-card h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.income-card p { color: var(--muted); font-size: 14.5px; }

/* worked example */
.example-card { position: relative; border-radius: 24px; padding: clamp(24px, 4vw, 44px); background: var(--ink-950); color: #D9D4F5; overflow: hidden; isolation: isolate; }
.example-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(155, 77, 230, .45), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(48, 52, 208, .4), transparent 70%); }
.example-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.example-head .icon-box { margin: 0; }
.example-head .eyebrow { color: #C4B5FD; }
.example-head .h3 { color: #fff; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.example-body { font-size: clamp(16px, 1rem + .25vw, 18.5px); line-height: 1.85; color: #ECE9FF; max-width: 900px; }
.example-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: 13px; color: #A9A3CF; }
.example-note .ic { width: 16px; height: 16px; margin-top: 3px; color: #F6C66B; }

/* pros & cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-card { border-radius: 20px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: #fff; }
.pc-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 16px; }
.pc-card h3 .ic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; stroke-width: 2.4; }
.pc-card ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.pc-card li { position: relative; padding-left: 22px; color: var(--text); }
.pc-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; }
.pc-card--pro { background: linear-gradient(180deg, #F2FBF7, #fff); border-color: #CDEFE2; }
.pc-card--pro h3 .ic { background: var(--mint-50); color: var(--mint); }
.pc-card--pro li::before { background: var(--mint); }
.pc-card--con { background: linear-gradient(180deg, #FFF9EE, #fff); border-color: #F6E2BC; }
.pc-card--con h3 .ic { background: var(--amber-50); color: var(--amber); }
.pc-card--con li::before { background: var(--amber); }
@media (max-width: 760px) { .proscons { grid-template-columns: 1fr; } }

/* faq split layout */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-split > * { min-width: 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr); } }
.income-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.income-grid--n4, .income-grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .income-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .income-grid, .income-grid--n4, .income-grid--n2 { grid-template-columns: minmax(0, 1fr); } }

/* compact home hero */
.hero { padding-block: clamp(28px, 4vw, 52px) clamp(36px, 4.5vw, 60px); }
@media (min-width: 1001px) { .hero-grid { grid-template-columns: 1.08fr 1fr; } }
.hero-grid { gap: clamp(24px, 4vw, 48px); }
.hero .h1 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.08; }
.hero-pill { margin-bottom: 16px; }
.hero .lead { margin-top: 16px; font-size: 16.5px; line-height: 1.7; max-width: 560px; }
.hero .btn-row { margin-top: 24px; }
.hero .btn-lg { min-height: 52px; padding: 13px 24px; }
.hero-proof { margin-top: 20px; gap: 8px 20px; font-size: 14.5px; }
.hero-visual > img {
  width: 108%; margin-left: -2%;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
@media (max-width: 1000px) { .hero-visual > img { width: 100%; margin-left: 0; } }

/* =========================================================
   Solutions, industries, glossary
   ========================================================= */
.menu--sol { grid-template-columns: 1.2fr 1fr; width: min(720px, calc(100vw - 48px)); }
@media (max-width: 1320px) { .header-phone span { display: none; } }

.highlight-list { display: grid; gap: 12px; }
.highlight { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); box-shadow: var(--sh-xs); }
.highlight strong { font-family: var(--serif); font-size: 1.25rem; color: var(--text-strong); }
.highlight span { color: var(--muted); font-size: 15px; }

.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--text-strong); font-weight: 500; }
.checklist .ic { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 2.8; margin-top: 1px; }

.read-list { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.read-list a { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--text-strong); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.read-list a:hover { border-color: var(--brand-100); color: var(--brand); }
.read-list .ic { flex: none; width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }

.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.industry-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: #fff; border: 1px solid var(--line); color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.industry-card:hover { color: inherit; border-color: var(--brand-100); box-shadow: var(--sh-md); transform: translateY(-2px); }
.industry-card .icon-box { margin: 0; }
.industry-card h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); }
.industry-card p { color: var(--muted); }
.industry-card .link-arrow { margin-top: auto; }
@media (max-width: 760px) { .industry-grid { grid-template-columns: minmax(0, 1fr); } }

.az { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.az a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--text-strong); }
.az a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.gloss-group + .gloss-group { margin-top: 40px; }
.gloss-letter { font-size: 2.4rem; color: var(--brand); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.gloss > div { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.gloss dt { font-weight: 800; color: var(--text-strong); font-size: 1.05rem; }
.gloss dd { margin-top: 4px; color: var(--text); }
.gloss dd .link-arrow { margin-left: 6px; font-size: 14px; }
.gloss > div:target { background: var(--brand-50); border-radius: 12px; padding-inline: 14px; }
/* header density with the Solutions menu */
.nav-link, .nav-trigger { white-space: nowrap; padding-inline: 11px; }
.header-inner { gap: 16px; }
@media (max-width: 1480px) { .header-phone span { display: none; } }

/* ---------- mobile header & menu fixes ---------- */
@media (max-width: 1080px) {
  /* backdrop-filter makes the header the containing block for position:fixed children; disable it so the menu sizes to the viewport */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { inset: auto 0 0 0; top: var(--nav-top, var(--header-h)); height: auto; z-index: 60; }
  .header-cta { gap: 8px; }
  .header-phone { display: inline-flex; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; gap: 6px; }
  .header-phone span { display: inline; }
}
@media (max-width: 430px) {
  .brand img { height: 34px; }
  .header-inner { gap: 10px; }
  .header-cta { gap: 6px; }
  .header-phone { padding: 7px 9px; font-size: 13px; gap: 5px; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 389px) {
  .header-inner { gap: 8px; }
  .brand img { height: 30px; }
  .header-phone { border: 0; padding: 6px 4px; font-size: 12.5px; gap: 4px; }
  .header-phone .ic { width: 15px; height: 15px; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 329px) { .header-phone span { display: none; } }
.header-phone { white-space: nowrap; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-visual { margin-top: 8px; } }
/* ERP blog images */
.post-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; padding: clamp(18px, 3vw, 32px); }
.post-feature:not(:has(img)) { grid-template-columns: 1fr; }
.post-feature img { width: 100%; height: auto; border-radius: 16px; object-fit: cover; aspect-ratio: 16 / 9; }
.post-feature-body { display: grid; gap: 12px; }
.post-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.post-hero-img { width: 100%; height: auto; border-radius: 18px; margin-bottom: 32px; box-shadow: var(--sh-md); }
@media (max-width: 860px) { .post-feature { grid-template-columns: minmax(0, 1fr); } }

/* ---------- panel pages (/features/{panel}) ---------- */
.stat-chips { list-style: none; padding: 0; margin: 22px 0 4px; display: flex; flex-wrap: wrap; gap: 10px; }
.stat-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--muted); box-shadow: var(--sh-xs); }
.stat-chips strong { color: var(--brand); font-weight: 800; margin-right: 4px; }
.answer-box { max-width: 880px; border-left: 4px solid var(--brand); background: #fff; border-radius: var(--r); padding: 22px 26px; box-shadow: var(--sh-sm); }
.answer-box h2 { margin-bottom: 8px; }
.answer-box p { font-size: 1.05rem; line-height: 1.7; color: var(--text-strong); }
.module-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.module-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); color: var(--text-strong); font-weight: 600; font-size: .9rem; }
.module-nav a:hover { border-color: var(--brand); color: var(--brand); }
.module-nav span { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .78rem; font-weight: 700; text-align: center; }
.module { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.module--rev > .module-copy { order: 2; }
.module > * { min-width: 0; }
.module-copy .lead { margin-top: 12px; }
.module-shot { position: sticky; top: 96px; }
.feature-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--mint); background: var(--mint-50); stroke-width: 2.6; }
.feature-list strong { display: block; color: var(--text-strong); font-weight: 700; }
.feature-list span { color: var(--text); line-height: 1.55; }
.panel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .module { grid-template-columns: minmax(0, 1fr); } .module--rev > .module-copy { order: 0; } .module-shot { position: static; } }
@media (max-width: 620px) { .panel-grid { grid-template-columns: minmax(0, 1fr); } }
.panel-tabs { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.96); border-block: 1px solid var(--line); }
.panel-tabs .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.panel-tabs .container::-webkit-scrollbar { display: none; }
.panel-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.panel-tabs a .ic { width: 16px; height: 16px; color: var(--muted); }
.panel-tabs a:hover { background: var(--brand-50); color: var(--brand-700); }
.panel-tabs a[aria-current="page"] { background: var(--grad); color: #fff; box-shadow: var(--sh-sm); }
.panel-tabs a[aria-current="page"] .ic { color: #fff; }
.panel-tabs a:last-child { margin-right: 16px; }
.page-hero-grid--shot { grid-template-columns: 1.05fr 1fr; align-items: center; }
.jump-title { margin: clamp(32px, 4vw, 44px) 0 0; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jump-title + .module-nav { margin-top: 14px; }
@media (max-width: 960px) { .page-hero-grid--shot { grid-template-columns: minmax(0, 1fr); } }
