/* =========================================================
   AS Apps - design system
   Blue, solid colours (no gradients), light + dark themes.
   Theme: system by default; [data-theme] on <html> overrides.
   ========================================================= */

:root {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --surface-3: #e4eaf4;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0a1325;
  --text-2: #475569;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-text: #1d4ed8;
  --brand-soft: #e8efff;
  --brand-line: #bfd3fe;
  --on-brand: #ffffff;
  --ink-btn: #0a1325;
  --on-ink-btn: #ffffff;
  --ok: #16a34a;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --grid-line: rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 12px 32px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 40px 80px -30px rgba(15, 23, 42, .35);
  --nav-bg: rgba(245, 247, 251, .82);
  color-scheme: light;

  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 22px; --radius-xl: 30px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --z-raised: 10; --z-nav: 100; --z-overlay: 1000;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060b16; --bg-2: #0a1120; --surface: #0c1426; --surface-2: #121c33; --surface-3: #18243f;
    --border: #1b2843; --border-strong: #2a3b5e;
    --text: #edf2fb; --text-2: #a5b3cb; --muted: #7a8aa8;
    --brand: #3b82f6; --brand-hover: #60a5fa; --brand-text: #6ea8ff; --brand-soft: rgba(59, 130, 246, .13); --brand-line: rgba(96, 165, 250, .35);
    --ink-btn: #edf2fb; --on-ink-btn: #060b16;
    --ok: #4ade80; --warn: #fbbf24; --warn-soft: rgba(251, 191, 36, .12);
    --grid-line: rgba(255, 255, 255, 0.035);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 16px 40px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .9);
    --nav-bg: rgba(6, 11, 22, .78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060b16; --bg-2: #0a1120; --surface: #0c1426; --surface-2: #121c33; --surface-3: #18243f;
  --border: #1b2843; --border-strong: #2a3b5e;
  --text: #edf2fb; --text-2: #a5b3cb; --muted: #7a8aa8;
  --brand: #3b82f6; --brand-hover: #60a5fa; --brand-text: #6ea8ff; --brand-soft: rgba(59, 130, 246, .13); --brand-line: rgba(96, 165, 250, .35);
  --ink-btn: #edf2fb; --on-ink-btn: #060b16;
  --ok: #4ade80; --warn: #fbbf24; --warn-soft: rgba(251, 191, 36, .12);
  --grid-line: rgba(255, 255, 255, 0.035);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 16px 40px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .9);
  --nav-bg: rgba(6, 11, 22, .78);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
img, svg { display: block; max-width: 100%; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
.accent { color: var(--brand-text); }
.tabular { font-variant-numeric: tabular-nums; }
.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: var(--z-overlay); background: var(--ink-btn); color: var(--on-ink-btn); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 768px) { .container { padding: 0 var(--s6); } }

.bg-grid {
  position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); padding: 14px 0; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: var(--s3); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo small { font-weight: 600; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .logo small { display: none; } }
.nav__links { display: none; gap: 2px; align-items: center; margin-right: var(--s2); }
.nav__links a { padding: 10px 14px; border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; flex-shrink: 0; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.nav .nav__cta { display: none; }
@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav .nav__cta { display: inline-flex; }
  .nav .nav__toggle { display: none; }
}
.nav__links a, .nav-dd__btn { white-space: nowrap; }
.nav-dd__panel a, .nav-dd__panel b, .nav-dd__panel small { white-space: normal; }
.nav-dd__item > span { min-width: 0; }
@media (min-width: 1100px) and (max-width: 1240px) {
  .logo small { display: none; }
  .nav__links a, .nav-dd__btn { padding: 10px 11px; font-size: 14.5px; }
}
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--bg); display: flex; flex-direction: column; padding: var(--s4); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease-out), visibility .25s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s6); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-head); font-size: 26px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: var(--s6); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease-out), background .2s, border-color .2s, box-shadow .2s; touch-action: manipulation; }
.btn svg.i { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.btn--brand:hover { background: var(--brand-hover); }
.btn--ink { background: var(--ink-btn); color: var(--on-ink-btn); }
.btn--ink:hover { opacity: .9; }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: var(--s9) 0; }
@media (min-width: 768px) { .section { padding: var(--s10) 0; } }
.section--tight { padding-top: 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--border); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-text); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--text-2); box-shadow: var(--shadow-sm); }
.pill b { background: var(--brand); color: var(--on-brand); font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }

.section-head { max-width: 740px; margin-bottom: var(--s7); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.8vw, 54px); margin: var(--s4) 0; }
.section-head p { color: var(--text-2); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 62ch; }
.section-head--center p { margin: 0 auto; }

.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s var(--ease-out), box-shadow .25s; }
@media (min-width: 768px) { .card { padding: var(--s6); } }
.card.lift:hover { border-color: var(--brand-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.icon-box { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); margin-bottom: var(--s5); border: 1px solid var(--brand-line); }
.icon-box svg.i { width: 22px; height: 22px; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); vertical-align: middle; letter-spacing: 0; }
.tag svg.i { width: 13px; height: 13px; }
.tag--brand { background: var(--brand-soft); color: var(--brand-text); border-color: var(--brand-line); }
.tag--soon { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s5); }

.check-list { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.check-list li b { color: var(--text); font-weight: 600; }
.check-list svg.i { width: 20px; height: 20px; stroke-width: 3; color: var(--on-brand); background: var(--brand); border-radius: 50%; padding: 4px; margin-top: 2px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }

/* =========================================================
   HOME
   ========================================================= */
.hero { padding: 132px 0 var(--s8); }
@media (min-width: 768px) { .hero { padding: 168px 0 var(--s9); } }
.hero__grid { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: clamp(44px, 7vw, 86px); line-height: 1.0; letter-spacing: -0.04em; margin: var(--s5) 0; }
.hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-2); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s7); color: var(--muted); font-size: 14px; font-weight: 500; }
.hero__meta div { display: flex; align-items: center; gap: 8px; }
.hero__meta svg.i { width: 18px; height: 18px; color: var(--brand-text); }

.rotator { display: inline-grid; vertical-align: bottom; color: var(--brand-text); }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-40%); }

.console-wrap { position: relative; }
.console { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.console__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; background: var(--border-strong); }
.console__bar span { margin-left: 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.console__body { padding: var(--s5); display: grid; gap: var(--s4); min-height: 390px; align-content: start; }
.msg { max-width: 92%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg--user { justify-self: end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; }
.msg--ai { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg__who { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--brand-text); margin-bottom: 8px; }
.msg__who svg.i { width: 15px; height: 15px; }
.steps { display: grid; gap: 8px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); opacity: .35; transition: opacity .4s; }
.step.is-done { opacity: 1; }
.step .ok { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); flex-shrink: 0; transition: background .3s, border-color .3s; }
.step.is-done .ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.step .ok svg.i { width: 11px; height: 11px; stroke-width: 3; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; }
.mini-chart b { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--brand-line); transform-origin: bottom; transform: scaleY(.05); transition: transform .8s var(--ease-out); }
.mini-chart b:last-child { background: var(--brand); }
.mini-chart.is-in b { transform: scaleY(1); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; z-index: var(--z-raised); animation: bob 6s ease-in-out infinite; }
.float-chip .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.float-chip .dot svg.i { width: 17px; height: 17px; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.console-wrap .chip-a { top: -24px; right: 16px; }
.console-wrap .chip-b { bottom: -26px; left: -14px; animation-delay: -3s; }
@media (max-width: 600px) { .float-chip { display: none; } }

.marquee { border-block: 1px solid var(--border); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; gap: var(--s8); width: max-content; animation: scroll 42s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-family: var(--font-head); font-weight: 700; font-size: 17px; white-space: nowrap; }
.marquee__item svg.i { width: 20px; height: 20px; color: var(--brand-text); }
@keyframes scroll { to { transform: translateX(-50%); } }

.bento { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } }
.bento .card { display: flex; flex-direction: column; }
.card--feature { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.card--feature p { color: rgba(255,255,255,.88); }
.card--feature .icon-box { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.card--feature .tag { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; }
.card--feature.lift:hover { border-color: var(--brand); }
.flow { display: flex; align-items: center; gap: 10px; margin-top: var(--s5); flex-wrap: wrap; }
.flow__node { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; font-weight: 600; }
.flow__node svg.i { width: 16px; height: 16px; }
.flow__line { flex: 1; min-width: 20px; height: 2px; background-image: linear-gradient(90deg, rgba(255,255,255,.75) 50%, transparent 50%); background-size: 12px 2px; animation: dash .8s linear infinite; }
@keyframes dash { to { background-position: 12px 0; } }

.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s9); } .split--rev > :first-child { order: 2; } }
.split h2 { font-size: clamp(32px, 4.4vw, 52px); margin: var(--s4) 0; }
.split .lead { color: var(--text-2); font-size: 18px; }

.ask-stack { display: grid; gap: var(--s4); }
.ask { margin-top: var(--s4); border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); padding: 14px; font-size: 14px; }
.ask q { display: block; color: var(--text); quotes: none; font-weight: 600; margin-bottom: 8px; }
.ask .ans { color: var(--text-2); }
.ask .ans b { color: var(--brand-text); }

.product { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); padding: var(--s6) var(--s5); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 768px) { .product { padding: var(--s8); } }
.product__grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .product__grid { grid-template-columns: 1.1fr .9fr; } }
.product__brand { height: 52px; width: auto; margin-bottom: var(--s5); }
.product h2 { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: var(--s4); }
.product p.lead { color: var(--text-2); font-size: 18px; max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: var(--s6) 0; padding: var(--s5) 0; border-block: 1px solid var(--border); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; color: var(--brand-text); }
.stat span { color: var(--muted); font-size: 13.5px; }
.wordmark-dark { display: none; }
:root[data-theme="dark"] .wordmark-dark { display: block; } :root[data-theme="dark"] .wordmark-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wordmark-dark { display: block; } :root:not([data-theme="light"]) .wordmark-light { display: none; } }

.grid-3 { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card--dashed { border-style: dashed; background: transparent; box-shadow: none; }
.num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--muted); }

.cta { border-radius: var(--radius-xl); padding: var(--s8) var(--s5); text-align: center; background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(32px, 5vw, 58px); margin-bottom: var(--s4); }
.cta p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto var(--s6); font-size: 18px; }
.cta .hero__actions { justify-content: center; }
.btn--light { background: #fff; color: #0a1325; }
.btn--light:hover { background: #eef2ff; }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.1); }

.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { display: grid; gap: var(--s3); margin-top: var(--s6); }
.contact-list > * { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s; min-height: 64px; }
.contact-list a:hover { border-color: var(--brand-line); }
.contact-list .dot { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.contact-list .dot svg.i { width: 19px; height: 19px; }
.contact-list small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.contact-list span { font-weight: 600; }
.form { display: grid; gap: var(--s4); }
.form .row { display: grid; gap: var(--s4); }
@media (min-width: 600px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .req { color: #e11d48; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .error { font-size: 13px; color: #e11d48; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #e11d48; }
.field.has-error .error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; color: var(--text-2); transition: all .2s; background: var(--surface); }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-status { font-size: 14px; color: var(--ok); min-height: 20px; }

.footer { border-top: 1px solid var(--border); padding: var(--s8) 0 var(--s6); background: var(--bg-2); }
.footer__grid { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 14px; margin-bottom: var(--s4); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--brand-text); }
.footer p { color: var(--text-2); font-size: 14.5px; max-width: 38ch; margin-top: var(--s4); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s4); }
.footer__bottom a:hover { color: var(--brand-text); }

/* =========================================================
   SMARTPOS
   ========================================================= */
.pos-hero { padding: 132px 0 var(--s7); text-align: center; overflow: hidden; }
@media (min-width: 768px) { .pos-hero { padding-top: 168px; } }
.pos-hero h1 { font-size: clamp(42px, 6.6vw, 82px); line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch; margin: var(--s5) auto; }
.pos-hero .hero__lead { margin: 0 auto; }
.pos-hero .hero__actions { justify-content: center; }
.store-row { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s5); }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 14px; background: #0a0f1c; color: #fff; border: 1px solid #0a0f1c; text-align: left; transition: transform .2s var(--ease-out); }
:root[data-theme="dark"] .store { border-color: var(--border-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store { border-color: var(--border-strong); } }
.store:hover { transform: translateY(-2px); }
.store svg.i { width: 24px; height: 24px; }
.store small { display: block; font-size: 10.5px; opacity: .75; line-height: 1.2; }
.store b { display: block; font-size: 16px; line-height: 1.2; font-weight: 600; }
.store em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #fbbf24; margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }

.stage { position: relative; margin-top: var(--s8); padding-bottom: var(--s5); }
.laptop { max-width: 980px; margin: 0 auto; border-radius: 16px; border: 1px solid #1f2b45; background: #0d1426; box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; color: #eaeff7; }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #101a30; border-bottom: 1px solid #1f2b45; font-size: 12.5px; color: #98a7c0; }
.win-bar img { width: 18px; height: 18px; }
.pos-ui { display: grid; grid-template-columns: 1fr; min-height: 420px; }
@media (min-width: 760px) { .pos-ui { grid-template-columns: 190px 1fr 250px; } }
.pos-side { display: none; background: #0f182c; border-right: 1px solid #1f2b45; padding: 14px 10px; }
@media (min-width: 760px) { .pos-side { display: block; } }
.pos-side span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: #98a7c0; }
.pos-side span svg.i { width: 16px; height: 16px; }
.pos-side span.on { background: #1d4ed8; color: #fff; }
.pos-main { padding: 16px; }
.pos-main__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.pos-main__head h4 { font-size: 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.legend { display: flex; gap: 12px; font-size: 11.5px; color: #98a7c0; flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 560px) { .tables { grid-template-columns: repeat(4, 1fr); } }
.tbl { position: relative; border-radius: 12px; padding: 10px 10px 10px 13px; min-height: 80px; display: flex; flex-direction: column; justify-content: space-between; background: #16213a; border: 1px solid #22304f; font-size: 12px; overflow: hidden; }
.tbl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #22c55e; }
.tbl b { font-size: 16px; font-family: var(--font-head); }
.tbl small { color: #98a7c0; font-size: 11px; }
.tbl--mine { background: #2f6fde; border-color: #2f6fde; } .tbl--other { background: #56637a; border-color: #56637a; } .tbl--hold { background: #c99a0b; border-color: #c99a0b; }
.tbl--mine::before, .tbl--other::before, .tbl--hold::before { display: none; }
.tbl--mine small, .tbl--other small, .tbl--hold small { color: rgba(255,255,255,.9); }
.tbl .qr { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; color: #fff; }
.tbl .qr svg.i { width: 11px; height: 11px; stroke-width: 2.6; }
.pos-panel { display: none; border-left: 1px solid #1f2b45; padding: 16px; background: #0f182c; }
@media (min-width: 760px) { .pos-panel { display: block; } }
.pos-panel h5 { margin: 0 0 4px; font-size: 11.5px; color: #7687a5; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kpi { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.kpi small { font-size: 13px; color: #4ade80; font-weight: 600; margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 86px; margin-bottom: 16px; }
.bars b { flex: 1; border-radius: 4px 4px 1px 1px; background: #2a4a8a; }
.bars b:last-child { background: #3b82f6; }
.top-items { display: grid; gap: 9px; font-size: 12.5px; }
.top-items div { display: flex; justify-content: space-between; color: #98a7c0; }
.top-items b { color: #eaeff7; font-weight: 600; }
.stage .device { position: absolute; bottom: -24px; right: 1%; display: none; }
@media (min-width: 1000px) { .stage .device { display: block; } }
@media (min-width: 1360px) { .stage .device { right: calc(50% - 660px); } }

/* =========================================================
   iPhone + SmartPOS Mobile screens (faithful to the app)
   ========================================================= */
.device { --s: .62; position: relative; width: calc(414px * var(--s)); height: calc(866px * var(--s)); flex-shrink: 0; }
.device__frame { position: absolute; top: 0; left: 0; width: 414px; height: 866px; transform: scale(var(--s)); transform-origin: 0 0; border-radius: 66px; padding: 11px; background: #11141b; box-shadow: inset 0 0 0 2px #2b313d, inset 0 0 0 5px #0a0c10, 0 50px 90px -30px rgba(2, 6, 23, .55); }
.device__frame::before { content: ""; position: absolute; left: -3px; top: 190px; width: 3px; height: 64px; border-radius: 2px 0 0 2px; background: #2b313d; box-shadow: 0 86px 0 #2b313d; }
.device__frame::after { content: ""; position: absolute; right: -3px; top: 230px; width: 3px; height: 100px; border-radius: 0 2px 2px 0; background: #2b313d; }
.scr { position: relative; width: 392px; height: 844px; border-radius: 56px; overflow: hidden; display: flex; flex-direction: column; font-family: "Inter", system-ui, sans-serif; text-align: left; letter-spacing: 0; line-height: 1.35;
  --a-brand: #4f46e5; --a-brand-strong: #4338ca; --a-canvas: #f1f5f9; --a-surface: #ffffff; --a-surface2: #f1f5f9; --a-header: #e2e8f0; --a-line: #e2e8f0; --a-line-strong: #cbd5e1; --a-ink: #0f172a; --a-ink2: #64748b; --a-muted: #94a3b8;
  background: var(--a-canvas); color: var(--a-ink); }
.scr--dark { --a-brand: #6366f1; --a-brand-strong: #a5b4fc; --a-canvas: #1e2a40; --a-surface: #273652; --a-surface2: #324363; --a-header: #182236; --a-line: #374868; --a-line-strong: #46597c; --a-ink: #eaeff7; --a-ink2: #98a7c0; --a-muted: #7687a5; }
.scr svg.i { stroke-width: 2; }
.scr__island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 5; }
.scr__status { height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 44px; font-size: 16.5px; font-weight: 600; }
.scr__status .sys { display: flex; align-items: center; gap: 6px; }
.scr__status .sig { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.scr__status .sig i { width: 3px; border-radius: 1px; background: currentColor; display: block; }
.scr__status .sig i:nth-child(1) { height: 4px; } .scr__status .sig i:nth-child(2) { height: 6.5px; } .scr__status .sig i:nth-child(3) { height: 9px; } .scr__status .sig i:nth-child(4) { height: 11.5px; }
.scr__status .bat { width: 26px; height: 12.5px; border-radius: 4px; border: 1.2px solid currentColor; padding: 1.5px; position: relative; }
.scr__status .bat::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; opacity: .5; }
.scr__status .bat i { display: block; height: 100%; width: 78%; border-radius: 2px; background: currentColor; }
.scr__status svg.i { width: 17px; height: 17px; stroke-width: 2.4; }
.scr__home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 136px; height: 5px; border-radius: 3px; background: var(--a-ink); opacity: .85; z-index: 6; }
.scr__body { flex: 1; overflow: hidden; position: relative; display: flex; flex-direction: column; min-height: 0; }

.a-meta { display: flex; gap: 16px; font-size: 13px; color: var(--a-ink2); }
.a-meta span { display: flex; align-items: center; gap: 6px; }
.a-meta svg.i { width: 14px; height: 14px; }
.a-title { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.a-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--a-ink2); }

.a-head { padding: 12px 20px 16px; display: grid; gap: 4px; }
.a-bento { display: flex; gap: 12px; padding: 0 20px 16px; }
.a-bento > div { flex: 1; border-radius: 20px; padding: 16px; display: grid; gap: 6px; }
.a-bento .b-brand { background: var(--a-brand); color: #fff; }
.a-bento .b-brand .a-label { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.a-bento .b-card { background: var(--a-surface); border: 1px solid var(--a-line); }
.a-bento .b-card .a-label { display: flex; align-items: center; gap: 6px; }
.a-bento svg.i { width: 15px; height: 15px; }
.a-big { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.a-small { font-size: 12.5px; font-weight: 500; }
.a-chips { display: flex; gap: 8px; padding: 0 20px; white-space: nowrap; }
.a-chip { height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: var(--a-surface); border: 1px solid var(--a-line); font-size: 14px; font-weight: 600; color: var(--a-ink); flex-shrink: 0; }
.a-chip em { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--a-surface2); color: var(--a-ink2); }
.a-chip.on { background: var(--a-brand); border-color: var(--a-brand); color: #fff; }
.a-chip.on em { background: rgba(255,255,255,.22); color: #fff; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px 0; }
.t { position: relative; height: 118px; border-radius: 20px; padding: 12px 12px 12px 14px; display: flex; flex-direction: column; overflow: hidden; color: #fff; }
.t .n { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 30px; line-height: 34px; }
.t .top { display: flex; justify-content: space-between; align-items: flex-start; }
.t .time { display: inline-flex; align-items: center; gap: 3px; background: rgba(0,0,0,.15); border-radius: 999px; padding: 2px 6px; font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.t .time svg.i { width: 10px; height: 10px; }
.t .ppl { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; background: rgba(0,0,0,.15); border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 600; margin-top: 4px; }
.t .ppl svg.i { width: 11px; height: 11px; }
.t .st { margin-top: auto; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.88); }
.t .st svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.t .sum { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.t--free { background: #eef8f2; border: 1px solid #bfe3cc; color: var(--a-ink); }
.t--free::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #22c55e; }
.t--free .st { color: var(--a-ink2); }
.scr--dark .t--free { background: #25403f; border-color: #2e5a4b; }
.t--mine { background: #3170da; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.t--other { background: #556275; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.t--hold { background: #c99a0b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.t--check { background: #b93fcb; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.t .qrb { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; animation: qrpulse 1.2s ease-in-out infinite; }
.t .qrb svg.i { width: 14px; height: 14px; stroke-width: 2.6; color: #fff; }
.t .chef { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #3b82f6; }
.t .chef svg.i { width: 15px; height: 15px; stroke-width: 2.4; }
@keyframes qrpulse { 50% { transform: scale(1.15); } }

.a-tabs { margin-top: auto; flex-shrink: 0; display: flex; justify-content: space-around; padding: 9px 6px 30px; background: var(--a-surface); border-top: 1px solid var(--a-line); }
.a-tabs span { position: relative; display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--a-muted); width: 72px; }
.a-tabs span svg.i { width: 24px; height: 24px; }
.a-tabs span.on { color: var(--a-brand); }
.scr--dark .a-tabs span.on { color: #a5b4fc; }
.a-tabs .badge { position: absolute; top: -4px; left: 42px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.o-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 8px; }
.o-back { width: 44px; height: 48px; display: grid; place-items: center; }
.o-back svg.i { width: 26px; height: 26px; }
.o-num { height: 44px; min-width: 44px; padding: 0 8px; border-radius: 12px; background: #3b82f6; color: #fff; display: grid; place-items: center; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 18px; }
.o-t { flex: 1; padding-left: 4px; }
.o-t b { display: block; font-size: 17px; font-weight: 600; }
.o-t span { font-size: 13px; color: var(--a-ink2); }
.o-ppl { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--a-line); background: var(--a-surface); font-weight: 600; font-size: 15px; }
.o-ppl svg.i { width: 16px; height: 16px; color: var(--a-brand); }
.o-bar { display: flex; gap: 8px; padding: 0 12px 10px; }
.o-cat { min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 16px; background: var(--a-brand); color: #fff; font-weight: 600; font-size: 14px; }
.o-cat svg.i { width: 18px; height: 18px; }
.o-search { flex: 1; min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--a-line); background: var(--a-surface); color: var(--a-muted); font-size: 16px; }
.o-search svg.i { width: 18px; height: 18px; }
.o-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
.o-tile { position: relative; min-height: 88px; border-radius: 16px; border: 1px solid var(--a-line); background: var(--a-surface); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.o-tile b { font-size: 15px; font-weight: 500; line-height: 20px; padding-right: 24px; }
.o-tile .p { font-weight: 600; font-size: 15px; color: var(--a-brand-strong); font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; align-items: center; }
.o-tile .p svg.i { width: 14px; height: 14px; color: #94a3b8; }
.o-tile.sel { border-color: var(--a-brand); background: #eceafd; }
.o-tile .q { position: absolute; top: 8px; right: 8px; height: 24px; min-width: 24px; padding: 0 6px; border-radius: 999px; background: var(--a-brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.o-tile .m { position: absolute; bottom: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--a-line); background: var(--a-surface); display: grid; place-items: center; }
.o-tile .m svg.i { width: 18px; height: 18px; }
.o-basket { position: absolute; left: 12px; right: 12px; bottom: 46px; min-height: 60px; border-radius: 16px; background: var(--a-brand); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 16px; box-shadow: 0 12px 24px -10px rgba(79,70,229,.6); }
.o-basket .c { height: 36px; min-width: 36px; padding: 0 8px; border-radius: 12px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.o-basket .l { flex: 1; font-weight: 600; font-size: 16px; }
.o-basket .t2 { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

.r-head { padding: 12px 20px 14px; display: flex; justify-content: space-between; align-items: flex-end; }
.r-range { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--a-surface); border: 1px solid var(--a-line); font-size: 13px; font-weight: 600; }
.r-range svg.i { width: 15px; height: 15px; color: #a5b4fc; }
.r-seg { display: flex; margin: 0 20px 14px; padding: 4px; border-radius: 14px; background: var(--a-header); gap: 4px; }
.r-seg span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--a-ink2); }
.r-seg span.on { background: var(--a-surface); color: var(--a-ink); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.r-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 20px 12px; }
.r-kpi { border-radius: 20px; padding: 14px; background: var(--a-surface); border: 1px solid var(--a-line); }
.r-kpi.main { grid-column: 1 / -1; background: var(--a-brand); border-color: var(--a-brand); color: #fff; }
.r-kpi.main .a-label { color: rgba(255,255,255,.85); }
.r-kpi .row { display: flex; justify-content: space-between; align-items: center; }
.r-kpi .v { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 22px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.r-kpi.main .v { font-size: 32px; }
.r-kpi .d { font-size: 12px; font-weight: 600; color: #4ade80; display: inline-flex; align-items: center; gap: 4px; }
.r-kpi.main .d { color: #fff; background: rgba(255,255,255,.18); padding: 3px 9px; border-radius: 999px; }
.r-kpi .d svg.i { width: 12px; height: 12px; stroke-width: 2.6; }
.r-card { margin: 0 20px 12px; border-radius: 20px; padding: 14px; background: var(--a-surface); border: 1px solid var(--a-line); }
.r-card .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.r-card .hd b { font-size: 15px; font-weight: 600; }
.r-card .hd span { font-size: 12px; color: var(--a-ink2); }
.r-chart { display: flex; align-items: flex-end; gap: 8px; height: 112px; padding-bottom: 20px; }
.r-chart div { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; position: relative; }
.r-chart div i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: #46519a; }
.r-chart div.hi i { background: #818cf8; }
.r-chart div small { position: absolute; bottom: -19px; font-size: 10.5px; color: var(--a-ink2); font-weight: 600; }
.r-row { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 6px 0; font-size: 13.5px; align-items: center; }
.r-row b { font-weight: 600; }
.r-row span { color: var(--a-ink2); font-variant-numeric: tabular-nums; font-size: 13px; }
.r-row .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--a-surface2); overflow: hidden; }
.r-row .bar i { display: block; height: 100%; border-radius: 3px; background: #818cf8; }

.g-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 12px; }
.g-top b { font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; }
.g-top span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; }
.g-hero { margin: 0 16px 12px; border-radius: 22px; padding: 18px; background: #0f172a; color: #fff; }
.g-hero small { font-size: 11.5px; opacity: .7; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.g-hero b { display: block; font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800; margin-top: 2px; }
.g-hero p { font-size: 13px; opacity: .75; margin-top: 4px; }
.g-cats { display: flex; gap: 8px; padding: 0 16px 12px; }
.g-cats span { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: 13.5px; font-weight: 600; color: #334155; }
.g-cats span.on { background: #0f172a; border-color: #0f172a; color: #fff; }
.g-item { display: flex; gap: 12px; align-items: center; margin: 0 16px 10px; padding: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; }
.g-ph { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.g-ph svg.i { width: 28px; height: 28px; color: #fff; stroke-width: 1.8; }
.g-item .tx { flex: 1; font-size: 12.5px; }
.g-item .tx b { display: block; font-size: 15px; font-weight: 600; }
.g-item .tx span { color: #64748b; }
.g-item .pr { font-weight: 700; font-size: 15px; display: grid; justify-items: end; gap: 6px; font-variant-numeric: tabular-nums; }
.g-item .add { width: 30px; height: 30px; border-radius: 10px; background: #0f172a; color: #fff; display: grid; place-items: center; }
.g-item .add.has { background: #16a34a; font-size: 13px; font-weight: 700; }
.g-item .add svg.i { width: 16px; height: 16px; stroke-width: 2.6; }
.g-actions { position: absolute; left: 16px; right: 16px; bottom: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-actions span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 16px; font-weight: 700; font-size: 14px; color: #fff; }
.g-actions span svg.i { width: 17px; height: 17px; }
.g-actions .full { grid-column: 1 / -1; justify-content: space-between; padding: 0 16px; }

.phones { display: flex; justify-content: center; align-items: flex-start; gap: var(--s5); }
.phones .device:nth-child(2) { display: none; margin-top: 70px; }
@media (min-width: 640px) { .phones .device:nth-child(2) { display: block; } }
.device--md { --s: .7; }
@media (max-width: 420px) { .device--md { --s: .66; } }
@media (max-width: 360px) { .device--md { --s: .6; } }
@media (min-width: 1024px) and (max-width: 1260px) { .phones .device--md { --s: .54; } .phones { gap: var(--s4); } }
.split > *, .product__grid > *, .school__grid > * { min-width: 0; }
@media (max-width: 400px) { .product { padding: var(--s5) var(--s4); } }

.feat-grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat-grid .card { padding: var(--s5); }
.feat-grid .card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feat-grid .icon-box { width: 42px; height: 42px; margin-bottom: var(--s4); }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); gap: 4px; margin-bottom: var(--s6); flex-wrap: wrap; justify-content: center; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .35s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ai-band { border-radius: var(--radius-xl); background: #0a1325; color: #edf2fb; padding: var(--s6) var(--s5); border: 1px solid #1b2843; }
@media (min-width: 768px) { .ai-band { padding: var(--s8); } }
.ai-band .eyebrow { color: #6ea8ff; }
.ai-band .eyebrow::before { background: #3b82f6; }
.ai-band > p { color: #a5b3cb; }
.ai-grid { display: grid; gap: var(--s4); margin-top: var(--s6); }
@media (min-width: 900px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-band .card { background: #0f1a30; border-color: #1f2e4d; color: #edf2fb; box-shadow: none; }
.ai-band .card p { color: #a5b3cb; }
.ai-band .icon-box { background: rgba(59,130,246,.15); border-color: rgba(96,165,250,.3); color: #93c5fd; }
.ai-band .ask { background: #0a1325; border-color: #1f2e4d; }
.ai-band .ask q { color: #edf2fb; }
.ai-band .ask .ans { color: #a5b3cb; }
.ai-band .ask .ans b { color: #93c5fd; }
.ai-band .tag--soon { background: rgba(251,191,36,.14); color: #fbbf24; }

.compare-wrap { border-radius: var(--radius-lg); border: 1px solid var(--border); overflow-x: auto; background: var(--surface); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-head); font-size: 15.5px; background: var(--surface-2); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 17%; }
.compare td:first-child { color: var(--text-2); min-width: 210px; }
.compare .yes, .compare .no { display: inline-flex; }
.compare .yes svg.i { width: 22px; height: 22px; color: var(--on-brand); background: var(--brand); border-radius: 50%; padding: 4px; stroke-width: 3; }
.compare .no svg.i { width: 20px; height: 20px; color: var(--muted); }
.compare .group td { font-weight: 700; color: var(--brand-text); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: var(--bg); }

.plans { display: grid; gap: var(--s4); }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 6px 0 var(--s5); }
.plan .price { font-family: var(--font-head); font-size: 20px; font-weight: 700; padding-bottom: var(--s4); border-bottom: 1px solid var(--border); }
.plan .btn { margin-top: var(--s6); }
.plan--hot { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: 22px; right: 22px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: var(--s3); }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--brand-line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s var(--ease-out); color: var(--brand-text); }
.faq details[open] summary svg.i { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--text-2); }

/* ---------- Time Tracker mobile screens (faithful to the app) ---------- */
.scr--tt { --a-brand: #0ea5e9; --a-ok: #059669; --a-canvas: #f8fafc; --a-surface: #fff; --a-line: #eef2f6; --a-ink: #0f172a; --a-ink2: #64748b; --a-muted: #94a3b8; }
.scr--tt.scr--dark { --a-brand: #38bdf8; --a-ok: #34d399; --a-canvas: #0f172a; --a-surface: #1e293b; --a-line: #334155; --a-ink: #f1f5f9; --a-ink2: #94a3b8; --a-muted: #64748b; }
.m-title { text-align: center; font-family: "Inter", sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; padding: 18px 20px 14px; }
.m-status { margin: 0 22px; border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 14px; background: #d1fae5; }
.scr--dark .m-status { background: rgba(16,185,129,.16); }
.m-status .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--a-ok); color: #fff; display: grid; place-items: center; }
.m-status .ic svg.i { width: 19px; height: 19px; }
.m-status b { display: flex; align-items: center; gap: 6px; color: var(--a-ok); font-size: 16px; }
.m-status b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.m-status span { font-size: 14px; color: var(--a-ink2); font-variant-numeric: tabular-nums; }
.m-actions { display: flex; justify-content: center; gap: 16px; padding: 40px 20px 34px; }
.m-act { width: 128px; height: 124px; border-radius: 22px; background: var(--a-surface); box-shadow: 0 8px 24px -10px rgba(15,23,42,.25); display: grid; justify-items: center; align-content: center; gap: 12px; font-weight: 700; font-size: 15px; }
.m-act .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.m-act .ic svg.i { width: 26px; height: 26px; }
.m-sec { padding: 0 22px 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--a-ink2); }
.m-shift { margin: 0 22px 12px; border-radius: 16px; background: var(--a-surface); padding: 14px; display: flex; gap: 12px; align-items: center; border: 2px solid transparent; box-shadow: 0 4px 14px -8px rgba(15,23,42,.2); }
.m-shift.today { border-color: var(--a-ok); }
.m-shift .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--a-brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.m-shift.today .ic { background: var(--a-ok); }
.m-shift .ic svg.i { width: 18px; height: 18px; }
.m-shift b { font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.m-shift b em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--a-ok); background: #d1fae5; padding: 2px 7px; border-radius: 999px; }
.scr--dark .m-shift b em { background: rgba(16,185,129,.16); }
.m-shift span { font-size: 13.5px; color: var(--a-ink2); }
.m-shift .h { margin-left: auto; font-size: 13px; font-weight: 700; }
.m-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 30px; background: var(--a-surface); border-top: 1px solid var(--a-line); }
.m-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--a-muted); width: 70px; }
.m-tabs span svg.i { width: 23px; height: 23px; }
.m-tabs span.on { color: var(--a-brand); }
/* time off */
.m-bal { margin: 0 22px 16px; border-radius: 20px; background: var(--a-brand); color: #fff; padding: 18px; display: grid; gap: 4px; }
.m-bal small { font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .85; text-transform: uppercase; }
.m-bal b { font-family: "Manrope", sans-serif; font-size: 36px; font-weight: 800; line-height: 1.1; }
.m-bal b em { font-style: normal; font-size: 15px; font-weight: 600; opacity: .85; }
.m-bal .bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.25); margin-top: 8px; overflow: hidden; }
.m-bal .bar i { display: block; height: 100%; width: 38%; background: #fff; border-radius: 99px; }
.m-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 22px 16px; }
.m-types div { border-radius: 14px; background: var(--a-surface); padding: 12px; font-size: 12.5px; color: var(--a-ink2); box-shadow: 0 4px 14px -8px rgba(15,23,42,.2); }
.m-types b { display: block; font-size: 18px; color: var(--a-ink); }
.m-req { margin: 0 22px 10px; border-radius: 16px; background: var(--a-surface); padding: 13px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 14px -8px rgba(15,23,42,.2); }
.m-req .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.m-req .ic svg.i { width: 17px; height: 17px; }
.m-req b { display: block; font-size: 14.5px; }
.m-req span { font-size: 12.5px; color: var(--a-ink2); }
.m-pill { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.m-pill--ok { background: #d1fae5; color: #047857; } .m-pill--wait { background: #fef3c7; color: #b45309; }
.scr--dark .m-pill--ok { background: rgba(16,185,129,.18); color: #34d399; } .scr--dark .m-pill--wait { background: rgba(251,191,36,.16); color: #fbbf24; }
.m-cta { margin: 6px 22px 0; height: 50px; border-radius: 14px; background: var(--a-ink); color: var(--a-canvas); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; }
.m-cta svg.i { width: 18px; height: 18px; }


/* =========================================================
   HOME · flagship products, industries
   ========================================================= */
.prod-grid { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .prod-grid { grid-template-columns: 1fr 1fr; } .prod-grid > .pcard:nth-child(3) { grid-column: 1 / -1; } }
@media (min-width: 1280px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } .prod-grid > .pcard:nth-child(3) { grid-column: auto; } .pcard__facts b { font-size: 21px; } }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.pcard__visual { --tint: #2563eb; position: relative; height: 340px; overflow: hidden; display: flex; justify-content: center; padding-top: 34px; background: color-mix(in srgb, var(--tint) 9%, var(--surface)); border-bottom: 1px solid var(--border); }
.pcard__visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--tint) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--tint) 12%, transparent) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%); }
.pcard__visual .device { --s: .6; z-index: 1; }
.pcard--tt .pcard__visual { --tint: #0ea5e9; }
.pcard--td .pcard__visual { --tint: #10b981; }
.pcard__badge--td { background: #059669; box-shadow: 0 6px 16px -6px rgba(5,150,105,.6); }
.pcard__badge--td svg.i { color: #fff; }
.pcard__chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.pcard__chip small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.pcard__chip .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.pcard__chip .dot svg.i { width: 16px; height: 16px; }
.pcard__chip--a { top: 64px; left: 18px; }
.pcard__chip--b { bottom: 30px; right: 18px; animation-delay: -3s; }
@media (max-width: 560px) { .pcard__chip { display: none; } }
.pcard__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
@media (min-width: 768px) { .pcard__body { padding: var(--s6); } }
.pcard__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: var(--s4); }
.pcard__brand img { width: 52px; height: 52px; border-radius: 14px; }
.pcard__brand h3 { font-size: 26px; }
.pcard__brand small { display: block; color: var(--muted); font-size: 14px; font-weight: 500; margin-top: 2px; }
.pcard__badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px -6px rgba(37,99,235,.6); }
.pcard__badge svg.i { width: 14px; height: 14px; color: #fbbf24; }
.pcard__badge--new { background: #059669; box-shadow: 0 6px 16px -6px rgba(5,150,105,.6); }
.pcard__badge--new svg.i { color: #fff; }
.pcard__body > p { color: var(--text-2); font-size: 16.5px; }
.pcard .check-list { margin-top: var(--s4); }
.pcard__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: var(--s5) 0; padding: var(--s4) 0; border-block: 1px solid var(--border); }
.pcard__facts b { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--brand-text); letter-spacing: -0.02em; line-height: 1.15; }
.pcard__facts span { font-size: 12.5px; color: var(--muted); }
.pcard__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: auto; }
.pcard .store-row { justify-content: flex-start; margin-top: var(--s4); }
.pcard .store { min-height: 46px; }

/* product cards: same structure in every card, footer pinned to the bottom */
.pcard__art { position: absolute; inset: 0; display: flex; justify-content: center; padding-top: 34px; }
.pcard__badge--float { position: absolute; top: 16px; left: 16px; z-index: 3; margin: 0; }
.pcard__body > p { font-size: 16px; }
.pcard__foot { margin-top: auto; padding-top: var(--s5); }
.pcard__foot .pcard__facts { margin: 0 0 var(--s5); }
.pcard__facts span { display: block; line-height: 1.35; min-height: 2.7em; }
.pcard__brand { flex-wrap: nowrap; }
.pcard__brand > div { min-width: 0; }
@media (min-width: 1000px) and (max-width: 1279px) {
  .prod-grid > .pcard:nth-child(3) { display: grid; grid-template-columns: 1fr 1fr; }
  .prod-grid > .pcard:nth-child(3) .pcard__visual { height: auto; min-height: 420px; border-bottom: 0; border-right: 1px solid var(--border); }
}
.pcard__cta { width: 100%; }
.pcard__more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 40px; }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--brand-text); }
.pcard__link svg.i { width: 15px; height: 15px; transition: transform .2s; }
.pcard__link:hover svg.i { transform: translateX(3px); }
.pcard__stores { display: flex; gap: 8px; }
.store-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #0a0f1c; color: #fff; border: 1px solid #0a0f1c; transition: transform .2s var(--ease-out); }
.store-ic:hover { transform: translateY(-2px); }
.store-ic svg.i { width: 19px; height: 19px; }
:root[data-theme="dark"] .store-ic { border-color: var(--border-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-ic { border-color: var(--border-strong); } }

.ind-grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
.ind { display: flex; flex-direction: column; }
.ind h3 { font-size: 19px; }
.ind p { font-size: 15px; }
.ind__apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s5); }
.app-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s var(--ease-out); }
.app-pill img { width: 28px; height: 28px; border-radius: 8px; }
.app-pill svg.i { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.app-pill:hover { border-color: var(--brand); background: var(--brand-soft); }
.app-pill:hover svg.i { transform: translateX(2px); color: var(--brand-text); }

/* ---------- built-in AI strip (document bot, loops via [data-scanbox]) ---------- */
.ai-strip { display: grid; gap: var(--s6); align-items: center; margin-top: var(--s5); padding: var(--s5); border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 768px) { .ai-strip { padding: var(--s7); } }
@media (min-width: 1100px) { .ai-strip { grid-template-columns: .78fr 1.22fr; gap: var(--s7); } }
.ai-strip__txt h3 { font-size: clamp(26px, 3.2vw, 38px); margin: var(--s4) 0 var(--s3); }
.ai-strip__txt > p { color: var(--text-2); font-size: 16.5px; max-width: 52ch; }
.ai-steps { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: 10px; counter-reset: st; }
.ai-steps li { display: flex; align-items: center; gap: 14px; }
.ai-steps .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); border: 1px solid var(--brand-line); flex-shrink: 0; }
.ai-steps .n svg.i { width: 19px; height: 19px; }
.ai-steps b { display: block; font-size: 15.5px; }
.ai-steps small { color: var(--muted); font-size: 13.5px; }
.scanbox { position: relative; min-width: 0; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.scanbox__bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: 13px; color: var(--muted); font-weight: 500; }
.scanbox__bar .dots { display: flex; gap: 6px; }
.scanbox__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); display: block; }
.scanbox__bar .tag { margin-left: auto; }
.scanbox__body { display: grid; gap: var(--s4); padding: var(--s5); }
@media (min-width: 640px) { .scanbox__body { grid-template-columns: 1.12fr .88fr; } }
@media (max-width: 400px) { .scanbox__body { padding: var(--s4); } }
/* everything waits for .is-play, which JS re-adds to replay the scan */
.scanbox .a { opacity: 0; transform: translateY(8px); }
.scanbox .hl { animation: none; }
.scanbox .scanline { opacity: 0; }
.scanbox.is-play .a { animation: aIn .5s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.scanbox.is-play .hl { animation: aIn .4s forwards; animation-delay: var(--d); }
.scanbox.is-play .scanline { opacity: 1; animation: scanOnce 2.4s ease-in-out forwards; }
@keyframes scanOnce { 0% { top: 0; } 85% { opacity: 1; } 100% { top: calc(100% - 3px); opacity: 0; } }
.scanbox__toast { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(12px) scale(.96); }
.scanbox__toast small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.scanbox__toast .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(22,163,74,.12); color: var(--ok); }
.scanbox__toast .dot svg.i { width: 16px; height: 16px; }
.scanbox.is-play .scanbox__toast { animation: toastIn .45s var(--ease-out) 3.9s forwards; }
@keyframes toastIn { to { opacity: 1; transform: none; } }
@media (max-width: 639px) { .scanbox__toast { left: auto; right: 12px; bottom: auto; top: 58px; } }
/* item rows light up one by one, in step with the matched list */
.scanbox .p-rows div:not(.h) { border-radius: 4px; }
.scanbox.is-play .p-rows div:nth-child(2) { animation: rowHl 1.4s 1.4s; }
.scanbox.is-play .p-rows div:nth-child(3) { animation: rowHl 1.4s 1.6s; }
.scanbox.is-play .p-rows div:nth-child(4) { animation: rowHl 1.4s 1.8s; }
.scanbox.is-play .p-rows div:nth-child(5) { animation: rowHl 1.4s 2s; }
@keyframes rowHl { 0%, 100% { background: transparent; } 20%, 60% { background: rgba(37, 99, 235, .14); box-shadow: inset 3px 0 0 #2563eb; } }
@media (prefers-reduced-motion: reduce) {
  .scanbox .a, .scanbox .hl, .scanbox__toast { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scanbox .scanline { display: none; }
}

/* ---------- phone: "add expense" screen ---------- */
.scr--td { --a-brand: #10b981; --a-canvas: #f8fafc; --a-surface: #fff; --a-line: #e2e8f0; --a-ink: #0f172a; --a-ink2: #64748b; --a-muted: #94a3b8; }
.f-head { padding: 10px 22px 6px; display: flex; justify-content: space-between; align-items: center; }
.f-head b { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.f-head span { font-size: 12px; font-weight: 700; color: #047857; background: #d1fae5; padding: 4px 10px; border-radius: 999px; }
.f-sub { padding: 0 22px 12px; font-size: 13px; color: var(--a-ink2); }
.f-field { margin: 0 22px 10px; }
.f-field label { display: block; font-size: 12px; font-weight: 700; color: var(--a-ink2); margin-bottom: 5px; letter-spacing: .02em; }
.f-input { height: 46px; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-surface); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 15px; font-weight: 600; }
.f-input small { color: var(--a-muted); font-weight: 500; font-size: 13px; }
.f-input svg.i { width: 16px; height: 16px; color: var(--a-muted); }
.f-amount { height: 62px; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 800; border-color: var(--a-brand); box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.f-amount small { font-family: "Inter", sans-serif; }
.f-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.f-seg span { height: 40px; border-radius: 10px; border: 1px solid var(--a-line); background: var(--a-surface); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--a-ink2); }
.f-seg span.on { background: var(--a-brand); border-color: var(--a-brand); color: #fff; }
.f-attach { margin: 4px 22px 12px; height: 54px; border-radius: 12px; border: 1.5px dashed #a7f3d0; background: #ecfdf5; display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 13.5px; font-weight: 600; color: #047857; }
.f-attach svg.i { width: 18px; height: 18px; }
.f-attach small { margin-left: auto; font-weight: 500; color: #059669; }
.f-save { margin: 6px 22px 0; height: 52px; border-radius: 14px; background: var(--a-brand); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15.5px; box-shadow: 0 10px 22px -10px rgba(16,185,129,.8); }
.f-save svg.i { width: 18px; height: 18px; }

/* ---------- shared product-page pieces ---------- */
.tag--live { background: rgba(22, 163, 74, .1); color: var(--ok); border-color: rgba(22, 163, 74, .3); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: livep 1.6s ease-in-out infinite; }
@keyframes livep { 50% { opacity: .3; } }
/* ---------- how it works ---------- */
.how { display: grid; gap: var(--s4); counter-reset: how; }
@media (min-width: 768px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how .card { counter-increment: how; padding-top: var(--s7); }
.how .card::before { content: "0" counter(how); position: absolute; top: 22px; left: 24px; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--brand-text); letter-spacing: .04em; }
@media (min-width: 768px) { .how .card::before { left: 32px; } }
.how .card h3 { font-size: 19px; }
.how .card p { font-size: 15px; }

/* ---------- stats strip ---------- */
.tt-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin-top: var(--s7); }
@media (min-width: 900px) { .tt-stats { grid-template-columns: repeat(4, 1fr); } }
.tt-stats div { padding: var(--s5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.tt-stats b { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; color: var(--brand-text); line-height: 1.1; }
.tt-stats span { color: var(--muted); font-size: 14px; }


/* ---------- nav · products dropdown ---------- */
.nav-dd { position: relative; }
.nav-dd__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: color .2s, background .2s; }
.nav-dd__btn svg.i { width: 15px; height: 15px; transition: transform .2s; }
.nav-dd__btn:hover, .nav-dd.is-open .nav-dd__btn { color: var(--text); background: var(--surface-2); }
.nav-dd.is-open .nav-dd__btn svg.i { transform: rotate(180deg); }
.nav-dd__panel { position: absolute; top: calc(100% + 10px); left: 50%; width: 360px; padding: 8px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s; }
.nav-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd.is-open .nav-dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .nav-dd:hover .nav-dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .nav-dd:hover .nav-dd__btn svg.i { transform: rotate(180deg); } }
.nav-dd__item { display: flex !important; align-items: center; gap: 14px; padding: 12px !important; border-radius: 12px !important; }
.nav-dd__item:hover { background: var(--surface-2); }
.nav-dd__item img { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; }
.nav-dd__item b { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; font-weight: 700; }
.nav-dd__item b em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); }
.nav-dd__item b em.new { background: rgba(5,150,105,.12); color: #059669; }
.nav-dd__item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.nav-dd__foot { display: flex !important; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px !important; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px !important; font-size: 13.5px !important; color: var(--brand-text) !important; font-weight: 600 !important; }
.nav-dd__foot svg.i { width: 15px; height: 15px; }
/* language switcher (sits next to the theme toggle, visible on every width) */
.nav-dd--lang .lang-btn { height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 700; letter-spacing: .03em; gap: 6px; }
.nav-dd--lang .lang-btn svg.i { width: 17px; height: 17px; transform: none !important; color: var(--brand-text); }
.nav-dd--lang .lang-btn:hover, .nav-dd--lang.is-open .lang-btn { background: var(--surface-2); border-color: var(--border-strong); }
.nav-dd--lang .nav-dd__panel { width: 200px; left: auto; right: 0; transform: translate(0, -6px); }
.nav-dd--lang.is-open .nav-dd__panel { transform: none; }
@media (hover: hover) { .nav-dd--lang:hover .nav-dd__panel { transform: none; } }
.lang-opt { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.lang-opt span { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .05em; }
.lang-opt:hover { background: var(--surface-2); }
.lang-opt.is-current { background: var(--brand-soft); color: var(--brand-text); }
.lang-opt.is-current span { color: var(--brand-text); }
/* small phones: compact language button so the menu icon always fits */
@media (max-width: 400px) {
  .nav__inner { gap: var(--s2); }
  .nav-dd--lang .lang-btn svg.i { display: none; }
  .nav-dd--lang .lang-btn { padding: 0 10px; }
}
/* Albanian / Macedonian labels run longer: tighter menu, and the hamburger menu up to 1360px */
html:not([lang="en"]) .nav__links a, html:not([lang="en"]) .nav__links .nav-dd__btn { padding: 10px 9px; font-size: 14.5px; }
@media (min-width: 1100px) and (max-width: 1359px) {
  html:not([lang="en"]) .nav__links, html:not([lang="en"]) .nav .nav__cta { display: none; }
  html:not([lang="en"]) .nav .nav__toggle { display: grid; }
  html:not([lang="en"]) .cta-bar { display: flex; }
}
@media (min-width: 1360px) and (max-width: 1440px) { html:not([lang="en"]) .logo small { display: none; } }
.pill { max-width: 100%; }
/* longer translated words: let buttons wrap and shrink the hero headline a little on small phones */
html:not([lang="en"]) .btn { white-space: normal; text-align: center; padding-block: 10px; }
@media (max-width: 420px) { html:not([lang="en"]) .hero h1 { font-size: 36px; } }
/* mobile menu product rows */
.mobile-menu .mm-label { font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 4px 8px; }
.mobile-menu .mm-apps { display: grid; gap: 8px; margin-bottom: var(--s5); }
.mobile-menu .mm-apps a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-body); font-size: 16px; font-weight: 700; }
.mobile-menu .mm-apps img { width: 40px; height: 40px; border-radius: 11px; }
.mobile-menu .mm-apps small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.mobile-menu { overflow-y: auto; }

/* ---------- sticky CTA bar (phones) ---------- */
.cta-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: calc(var(--z-nav) - 1); display: flex; gap: 10px; padding: 8px; border-radius: 20px; background: var(--nav-bg); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .35s var(--ease-out); }
.cta-bar.is-visible { transform: none; }
.cta-bar .btn { flex: 1; min-height: 48px; }
.cta-bar .icon-btn { width: 48px; height: 48px; border-radius: 14px; color: #16a34a; }
@media (min-width: 1100px) { .cta-bar { display: none; } }

/* =========================================================
   LEGAL / SUPPORT
   ========================================================= */
.doc-hero { padding: 140px 0 var(--s6); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .doc-hero { padding-top: 168px; } }
.doc-hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin: var(--s4) 0; }
.doc-hero p { color: var(--text-2); font-size: 18px; max-width: 62ch; }
.doc-hero .meta { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s5); font-size: 14px; color: var(--muted); }
.doc-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.doc-hero .meta svg.i { width: 16px; height: 16px; }
.doc { display: grid; gap: var(--s7); padding: var(--s7) 0 var(--s9); }
@media (min-width: 1024px) { .doc { grid-template-columns: 250px 1fr; } }
.toc { display: none; }
@media (min-width: 1024px) { .toc { display: block; position: sticky; top: 100px; align-self: start; } }
.toc b { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; font-size: 14px; color: var(--text-2); border-left: 2px solid var(--border); }
.toc a:hover { color: var(--brand-text); border-left-color: var(--brand); background: var(--surface-2); }
.prose { max-width: 760px; font-size: 16.5px; color: var(--text-2); min-width: 0; }
.prose h2 { font-size: 24px; color: var(--text); margin: var(--s7) 0 var(--s3); scroll-margin-top: 100px; letter-spacing: -0.015em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--text); margin: var(--s5) 0 var(--s2); letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--s4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand-text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.prose .tbl-wrap { overflow-x: auto; margin: 0 0 var(--s5); border: 1px solid var(--border); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line); margin: 0 0 var(--s5); }
.callout svg.i { color: var(--brand-text); margin-top: 2px; }
.callout p { margin: 0; color: var(--text); }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: var(--s3); }
.steps-list li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin: 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.support-cards { display: grid; gap: var(--s4); margin-bottom: var(--s7); }
@media (min-width: 768px) { .support-cards { grid-template-columns: repeat(3, 1fr); } }
.support-cards .card { display: block; }
.support-cards .card h3 { font-size: 18px; margin-bottom: 4px; }
.support-cards .card p { font-size: 15px; }
.support-cards .go { margin-top: var(--s4); display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text); font-weight: 600; font-size: 15px; }
.support-cards .go svg.i { width: 16px; height: 16px; }

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