/* BestMart Billing – design system (tokens shared with bestmart.in) */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/pjs-400.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/pjs-500.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/pjs-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/pjs-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/pjs-800.woff2') format('woff2'); }
:root {
  --primary: #006CFD; --primary-ink: #0057D1; --primary-soft: rgba(0,108,253,.1);
  --accent: #FF5E18; --accent-ink: #E04A08; --accent-soft: #FFF1EA;
  --ink: #0A2552; --text: #33415A; --muted: #5B6B84; --subtle: #8A97AB;
  --line: #E6EBF2; --line-soft: #EEF1F6;
  --bg: #F4F7FC; --surface: #FFFFFF; --surface-2: #F9FBFE; --navy: #071A3D; --navy-2: #0A2552;
  --success: #1F9D55; --success-ink: #137A43; --success-soft: #E8F8EF;
  --danger: #E5484D; --danger-soft: #FDECEC; --warning: #F59E0B; --warning-soft: #FFF6E5;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow-sm: 0 1px 3px rgba(10,37,82,.07);
  --shadow: 0 12px 30px -18px rgba(10,37,82,.35);
  --shadow-lg: 0 40px 70px -40px rgba(10,37,82,.55);
  --ease: cubic-bezier(.22,1,.36,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EAF0FA; --text: #C9D3E3; --muted: #93A3BC; --subtle: #6E7F99;
    --line: #22324F; --line-soft: #1B2944; --bg: #0B1426; --surface: #111D33; --surface-2: #15233D;
    --primary-soft: rgba(77,163,255,.16); --accent-soft: rgba(255,94,24,.16); --success-soft: rgba(31,157,85,.18);
    --danger-soft: rgba(229,72,77,.18); --warning-soft: rgba(245,158,11,.16);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 14px 30px -18px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EAF0FA; --text: #C9D3E3; --muted: #93A3BC; --subtle: #6E7F99;
  --line: #22324F; --line-soft: #1B2944; --bg: #0B1426; --surface: #111D33; --surface-2: #15233D;
  --primary-soft: rgba(77,163,255,.16); --accent-soft: rgba(255,94,24,.16); --success-soft: rgba(31,157,85,.18);
  --danger-soft: rgba(229,72,77,.18); --warning-soft: rgba(245,158,11,.16);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 14px 30px -18px rgba(0,0,0,.7); color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(0,108,253,.45); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }

/* Buttons */
.btn { --b: var(--surface); --c: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--b); color: var(--c); font: 700 14.5px/1 var(--font); cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; text-decoration: none; white-space: nowrap; }
.btn:hover { color: var(--c); border-color: var(--subtle); }
.btn:active { transform: scale(.97); }
.btn--primary { --b: var(--primary); --c: #fff; border-color: transparent; box-shadow: 0 14px 26px -16px rgba(0,108,253,.9); }
.btn--primary:hover { --b: var(--primary-ink); border-color: transparent; }
.btn--accent { --b: var(--accent); --c: #fff; border-color: transparent; box-shadow: 0 16px 28px -16px rgba(255,94,24,.95); }
.btn--accent:hover { --b: var(--accent-ink); border-color: transparent; }
.btn--ghost { --b: transparent; border-color: transparent; }
.btn--ghost:hover { --b: var(--primary-soft); border-color: transparent; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .7; pointer-events: none; }
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field .hint--ok { color: var(--success-ink); font-weight: 600; }
.input, select.input, textarea.input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font: 600 15px/1.3 var(--font); transition: border-color .2s, box-shadow .25s var(--ease), background .2s; appearance: none; }
textarea.input { min-height: 96px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235B6B84' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input::placeholder { color: var(--subtle); font-weight: 500; }
.input:hover { border-color: #C9D4E4; }
.input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input.is-ok { border-color: var(--success); background: var(--success-soft); }
.input.is-error, .field.has-error .input { border-color: var(--danger); }
.field .error { font-size: 12.5px; color: var(--danger); font-weight: 600; animation: pop-in .3s var(--ease); }
.input-group { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .2s, box-shadow .25s var(--ease); }
.input-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input-group .input { border: 0; box-shadow: none !important; background: transparent; }
.input-group .addon { padding: 0 14px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* Choice cards (radio) */
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .2s var(--ease); }
.choice:hover { transform: translateY(-1px); border-color: #C9D4E4; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.choice:has(input:focus-visible) { outline: 3px solid rgba(0,108,253,.45); outline-offset: 2px; }
.choice__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; margin-top: 1px; transition: border .2s var(--ease); }
.choice:has(input:checked) .choice__dot { border: 6px solid var(--primary); }
.choice b { display: block; color: var(--ink); font-size: 14.5px; }
.choice small { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: block; }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.type-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; }
.type-card .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; transition: transform .35s var(--spring), background .2s, color .2s; }
.type-card:has(input:checked) .ico { background: var(--primary); color: #fff; transform: scale(1.08) rotate(-6deg); }
.type-card b { font-size: 13.5px; line-height: 1.3; }

/* Cards & surfaces */
.card { background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.card--pad-lg { padding: 28px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--primary-soft); color: var(--primary); }
.badge--success { background: var(--success-soft); color: var(--success-ink); }
.badge--accent { background: var(--accent-soft); color: var(--accent-ink); }
.badge--warning { background: var(--warning-soft); color: #A16207; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot--live { animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(31,157,85,.5); } 70% { box-shadow: 0 0 0 7px rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; animation: pop-in .35s var(--ease); }
.alert--error { background: var(--danger-soft); color: #B42318; }
.alert--ok { background: var(--success-soft); color: var(--success-ink); }
.alert--info { background: var(--primary-soft); color: var(--primary-ink); }

/* Toasts */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 16px; background: var(--navy-2); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg);
  animation: toast-in .45s var(--spring) both; }
.toast.is-out { animation: toast-out .3s var(--ease) both; }
.toast__ico { width: 24px; height: 24px; border-radius: 50%; background: var(--success); display: grid; place-items: center; flex-shrink: 0; }
.toast--error .toast__ico { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }

/* Motion utilities */
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }
.rise { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.shake { animation: shake .5s var(--ease); }
.skeleton { background: linear-gradient(90deg, var(--line-soft) 25%, var(--surface-2) 50%, var(--line-soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.tick { width: 72px; height: 72px; border-radius: 50%; background: var(--success); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(31,157,85,.15); animation: tick-pop .6s var(--spring) both; }
.tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick-draw .45s .3s var(--ease) forwards; }
@keyframes tick-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- Public site ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -22px rgba(10,37,82,.6); }
.site-head__in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--accent); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 18px -10px rgba(255,94,24,.9); transition: transform .4s var(--spring); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-top: -3px; }
.site-nav { display: none; align-items: center; gap: 4px; margin-left: 10px; }
.site-nav a { color: var(--text); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--primary-soft); }
.site-head__cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-head__cta .btn--ghost { display: none; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink); cursor: pointer; }
@media (min-width: 992px) { .site-nav { display: flex; } .site-head__cta .btn--ghost { display: inline-flex; } .burger { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(7,26,61,.45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .45s var(--ease); overflow: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a:not(.btn) { padding: 12px 10px; border-radius: 12px; color: var(--ink); font-weight: 700; }
.drawer__panel a:not(.btn):hover { background: var(--primary-soft); }

.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .hero { padding: 72px 0 90px; } .hero__in { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font-size: clamp(34px, 6.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.hero__lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 560px; margin-top: 18px; line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.hero__proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { color: var(--success); }
.hero__bg { position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,108,253,.12), transparent 70%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }

/* Live bill demo (hero) */
.demo { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.demo__bill { position: relative; background: var(--surface); border-radius: 26px; padding: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.demo__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.demo__logo { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.demo__search { display: flex; align-items: center; gap: 8px; height: 46px; margin: 14px 0 6px; padding: 0 12px; border-radius: 14px; border: 2px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); font-weight: 600; color: var(--ink); }
.demo__caret { width: 2px; height: 20px; background: var(--primary); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo__lines { min-height: 170px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.demo__line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); font-size: 14px; animation: line-in .55s var(--spring) both; }
.demo__line b { color: var(--ink); }
.demo__line small { display: block; color: var(--muted); font-size: 12px; }
@keyframes line-in { from { opacity: 0; transform: translateX(-24px) scale(.96); } }
.demo__total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: var(--accent); color: #fff; }
.demo__total b { font-size: 26px; letter-spacing: -.03em; }
.demo__sent { position: absolute; right: -6px; bottom: -18px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: #25D366; color: #06371A; font-weight: 800; font-size: 13.5px; box-shadow: 0 16px 30px -14px rgba(37,211,102,.9); opacity: 0; transform: translateY(14px) scale(.8); transition: opacity .4s var(--ease), transform .6s var(--spring); }
.demo__sent.is-on { opacity: 1; transform: none; }
.demo__float { position: absolute; z-index: 2; left: -14px; top: 38%; padding: 10px 14px; border-radius: 16px; background: var(--navy-2); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; display: none; }
@media (min-width: 1100px) { .demo__float { display: block; left: -96px; } }
@keyframes float { 50% { transform: translateY(-10px); } }

.section { padding: 64px 0; }
@media (min-width: 992px) { .section { padding: 96px 0; } }
.section--alt { background: var(--surface); }
.section--navy { background: var(--navy); color: #C9D6EA; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head h2 { font-size: clamp(28px, 4.2vw, 42px); }
.section__head p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.section--navy .section__head p { color: #9FB3D1; }
.feat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.feat { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.section--alt .feat { background: var(--bg); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; transition: transform .45s var(--spring); }
.feat:hover .feat__ico { transform: scale(1.1) rotate(-6deg); }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { font-size: 14.5px; color: var(--muted); }
.steps3 { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.step3 { position: relative; padding: 24px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step3::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step3 h3 { font-size: 18px; margin-bottom: 6px; }
.types { display: flex; flex-wrap: wrap; gap: 10px; }
.types a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.types a:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 10px 20px -16px rgba(0,108,253,.8); color: var(--ink); }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 4px 18px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--muted); animation: pop-in .35s var(--ease); }
.cta-band { border-radius: var(--r-lg); padding: 36px 24px; background: var(--navy); color: #C9D6EA; display: grid; gap: 22px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 48px; } }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,94,24,.35), transparent); animation: drift 10s ease-in-out infinite alternate; }
.price-card { max-width: 560px; margin: 0 auto; padding: 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23137A43' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m2 6 3 3 5-6'/%3E%3C/svg%3E") center no-repeat; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--primary); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--text); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.table th { font-size: 12.5px; color: var(--muted); background: var(--surface-2); }
.calc { display: grid; gap: 18px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc__out { padding: 24px; border-radius: var(--r); background: var(--navy); color: #C9D6EA; }
.calc__out .big { font-size: 40px; color: #fff; font-weight: 800; letter-spacing: -.03em; }
.calc__out .r { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); gap: 4px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--navy-2); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid rgba(0,108,253,.45); }

.site-foot { background: var(--navy); color: #9FB3D1; padding: 56px 0 28px; margin-top: 0; font-size: 14px; }
.site-foot h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 0; }
.site-foot a { color: #C9D6EA; }
.site-foot a:hover { color: #fff; }
.site-foot__grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .site-foot__brand { grid-column: auto; } }
.site-foot__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; }
@media (min-width: 992px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth__side { display: none; position: relative; overflow: hidden; background: var(--navy); color: #C9D6EA; padding: 48px; flex-direction: column; justify-content: space-between; }
@media (min-width: 992px) { .auth__side { display: flex; } }
.auth__side h2 { color: #fff; font-size: 36px; line-height: 1.12; max-width: 460px; }
.auth__side .brand { color: #fff; }
.auth__side .brand small { color: #9FB3D1; }
.auth__main { display: flex; flex-direction: column; justify-content: center; padding: 28px 20px 40px; }
.auth__box { width: 100%; max-width: 440px; margin: 0 auto; }
.auth__box h1 { font-size: 30px; margin: 18px 0 6px; }
.auth__mobile-brand { display: flex; }
@media (min-width: 992px) { .auth__mobile-brand { display: none; } }
.otp { display: flex; gap: 8px; justify-content: space-between; }
.otp input { width: 100%; max-width: 58px; height: 62px; text-align: center; font: 800 24px var(--font); color: var(--ink); border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .25s, transform .25s var(--spring); }
.otp input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); transform: translateY(-2px); }
.otp input.is-filled { border-color: var(--primary); }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }

/* ---------- App shell ---------- */
.app { min-height: 100vh; display: flex; }
.side { display: none; width: 244px; flex-shrink: 0; background: var(--navy); color: #9FB3D1; padding: 20px 14px; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
@media (min-width: 992px) { .side { display: flex; } }
.side__biz { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; }
.side__biz b { color: #fff; font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-tile { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.side a.nav { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; color: #9FB3D1; font-weight: 700; font-size: 14px; position: relative; transition: background .2s, color .2s; }
.side a.nav:hover { color: #fff; background: rgba(255,255,255,.05); }
.side a.nav[aria-current="page"] { color: #fff; background: rgba(255,255,255,.09); }
.side a.nav[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); animation: fade .3s; }
.side__foot { margin-top: auto; }
.trial-box { padding: 14px; border-radius: 16px; background: rgba(255,94,24,.12); color: #FFD2B8; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.trial-box a { display: block; margin-top: 8px; color: #fff; font-weight: 800; }
.trial-meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.trial-meter span { display: block; height: 100%; background: var(--accent); border-radius: 6px; transform-origin: left; animation: meter 1.2s var(--ease) both; }
@keyframes meter { from { transform: scaleX(0); } }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (min-width: 992px) { .topbar { padding: 0 28px; height: 72px; } }
.topbar h1 { font-size: 20px; }
@media (min-width: 992px) { .topbar h1 { font-size: 24px; } }
.content { padding: 4px 16px 110px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 992px) { .content { padding: 4px 28px 40px; } }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), border-color .2s; }
.icon-btn:hover { border-color: var(--subtle); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.tabbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; height: 66px; border-radius: 22px; background: var(--navy-2); display: flex; justify-content: space-around; align-items: center; box-shadow: 0 20px 40px -20px rgba(7,26,61,.8); }
@media (min-width: 992px) { .tabbar { display: none; } }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9FB3D1; font-size: 11px; font-weight: 700; min-width: 56px; }
.tabbar a[aria-current="page"] { color: #fff; }
.tabbar a[aria-current="page"] svg { animation: tab-pop .45s var(--spring); }
@keyframes tab-pop { 40% { transform: translateY(-4px) scale(1.12); } }
.tabbar .tab-main span { width: 46px; height: 32px; border-radius: 11px; background: var(--accent); display: grid; place-items: center; color: #fff; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .kpis { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.kpi { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft); }
.kpi--navy { background: var(--navy-2); color: #B4C2DA; border: 0; grid-column: 1 / -1; }
@media (min-width: 1100px) { .kpi--navy { grid-column: auto; } }
.kpi span { font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi--navy span { color: #B4C2DA; }
.kpi b { display: block; font-size: 28px; color: var(--ink); letter-spacing: -.03em; margin-top: 6px; }
.kpi--navy b { color: #fff; font-size: 34px; }
.empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty__art { width: 120px; height: 120px; border-radius: 32px; background: var(--primary-soft); display: grid; place-items: center; color: var(--primary); animation: float 5s ease-in-out infinite; }
.list { display: flex; flex-direction: column; }
.list__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); transition: background .2s; }
.list__row:hover { background: var(--surface-2); }
.list__row:last-child { border-bottom: 0; }
.list__row b { color: var(--ink); font-size: 14.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list__row small { color: var(--muted); font-size: 12.5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .25s; }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: 600 15px var(--font); color: var(--ink); min-width: 0; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }

/* Wizard */
.wizard { max-width: 760px; width: 100%; margin: 0 auto; padding: 24px 16px 60px; }
.wizard__bar { display: flex; gap: 6px; margin-bottom: 22px; }
.wizard__bar span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; position: relative; }
.wizard__bar span.is-done::after, .wizard__bar span.is-now::after { content: ""; position: absolute; inset: 0; background: var(--primary); border-radius: 6px; transform-origin: left; animation: meter .9s var(--ease) both; }
.wizard h1 { font-size: clamp(26px, 4vw, 34px); }
.wizard__foot { display: flex; gap: 10px; margin-top: 26px; position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 30%); }
.wizard__foot .btn--primary, .wizard__foot .btn--accent { flex: 1; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; border: 2px dashed var(--line); border-radius: 18px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--primary); background: var(--primary-soft); }
.logo-pick { display: flex; align-items: center; gap: 14px; }
.logo-pick .logo-tile { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }

.lock { min-height: 100vh; background: var(--navy); color: #C9D6EA; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.lock__in { width: 100%; max-width: 980px; display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .lock__in { grid-template-columns: 1fr 1fr; } }
.lock h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; }
.lock .ticks li { color: #DCE5F3; }
.lock .ticks li::before { background-color: rgba(126,226,168,.15); }
@media (min-width: 992px) { .hide-lg { display: none !important; } }
@media (max-width: 991px) { .show-lg { display: none !important; } }
.brand > span:last-child { white-space: nowrap; }
@media (max-width: 480px) {
  .brand { font-size: 15px; gap: 8px; }
  .brand small { display: none; }
  .brand__mark { width: 32px; height: 32px; }
  .site-head__cta .btn--accent { padding: 0 12px; }
  .demo__head .badge { display: none; }
}
