:root {
  --navy: #1b2a52; --navy2: #24376b; --navy-deep: #111a36; --orange: #f39a3c; --orange2: #e5862a;
  --cream: #fff7ee; --bg: #f7f8fb; --panel: #ffffff; --line: #e3e7ef; --text: #1b2440; --muted: #5f6984;
  --green: #2f8f5b; --red: #c0482f;
  --r: 18px; --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --shadow: 0 20px 60px -20px rgba(27, 42, 82, .25);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hl { color: var(--orange); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange2); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 14px 0 16px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
section { padding: 96px 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-weight: 700; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 30px -8px rgba(243, 154, 60, .7); }
.btn-primary:hover { background: #f7a851; box-shadow: 0 14px 34px -8px rgba(243, 154, 60, .8); }
.btn-ghost { background: rgba(27, 42, 82, .06); color: var(--navy); }
.btn-ghost:hover { background: rgba(27, 42, 82, .1); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-sm { padding: 10px 18px; border-radius: 11px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 248, 251, .82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--navy); }
.brand img { width: 42px; height: 42px; object-fit: cover; transform: scale(1.5); }
.brand-ico { width: 42px; height: 42px; overflow: hidden; border-radius: 12px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(27,42,82,.06); }
.lang button { border: 0; background: none; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--muted); cursor: pointer; }
.lang button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* hero */
.hero { position: relative; padding: 64px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px -200px auto auto; width: 700px; height: 700px; background: radial-gradient(circle, rgba(243,154,60,.22), transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -300px; bottom: -300px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(36,55,107,.12), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); box-shadow: 0 4px 16px -6px rgba(27,42,82,.15); }
.badge b { background: var(--navy); color: #fff; padding: 2px 9px; border-radius: 99px; font-size: 12px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 20px; color: var(--navy); }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: rgba(243,154,60,.3); border-radius: 4px; z-index: -1; }
.hero .lead { font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--green); flex: none; }

.hero-visual { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; background: linear-gradient(135deg, #dfe5f1, #f6e3cf); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.chat-float { position: absolute; left: -48px; bottom: -40px; width: min(380px, 88%); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(17,26,54,.45); padding: 16px; font-size: 14px; border: 1px solid var(--line); }
.chat-float .q { margin-left: auto; width: fit-content; max-width: 88%; background: var(--navy); color: #fff; padding: 9px 14px; border-radius: 14px 14px 4px 14px; }
.chat-float .a { display: flex; gap: 10px; margin-top: 12px; }
.chat-float .a img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; transform: scale(1); flex: none; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chat-float .bubble { background: var(--bg); border-radius: 4px 14px 14px 14px; padding: 10px 13px; min-height: 40px; flex: 1; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 8px; }
.mini-bars i { flex: 1; background: linear-gradient(var(--orange), #f6b870); border-radius: 4px 4px 1px 1px; height: 0; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.mini-bars i:nth-child(odd) { background: linear-gradient(var(--navy2), #5a6ea3); }
.stat-float { position: absolute; right: -20px; top: 28px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 50px -18px rgba(17,26,54,.4); display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); }
.stat-float .ico { width: 40px; height: 40px; border-radius: 12px; background: #e8f5ee; color: var(--green); display: grid; place-items: center; }
.stat-float b { display: block; font-size: 18px; color: var(--navy); }
.stat-float small { color: var(--muted); font-size: 12px; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3bb; 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: .3; } 40% { opacity: 1; } }

/* numbers strip */
.strip { background: var(--navy); color: #fff; padding: 44px 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip .n { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--orange); line-height: 1.1; }
.strip p { margin: 6px 0 0; color: #b9c2dc; font-size: 15px; }

/* pain */
.pain { background: #fff; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.pain-card { border-radius: var(--r); padding: 32px; border: 1px solid var(--line); }
.pain-card.before { background: #fbf6f4; }
.pain-card.after { background: linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; border: 0; box-shadow: var(--shadow); }
.pain-card h3 { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.pain-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pain-card li { display: flex; gap: 12px; align-items: flex-start; }
.pain-card li svg { flex: none; margin-top: 3px; }
.pain-card.before li svg { color: var(--red); }
.pain-card.after li svg { color: var(--orange); }
.pain-card.after li span { color: #dfe5f3; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feat .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--cream); color: var(--orange2); margin-bottom: 18px; }
.feat.big { grid-column: span 2; background: linear-gradient(140deg, #fff 40%, var(--cream)); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.feat h3 { font-size: 20px; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.xls { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; font-size: 12.5px; box-shadow: 0 14px 40px -18px rgba(27,42,82,.35); }
.xls .t { background: #1f7a4c; color: #fff; padding: 8px 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.xls table { width: 100%; border-collapse: collapse; }
.xls td, .xls th { padding: 6px 10px; border-bottom: 1px solid #eef0f4; text-align: left; white-space: nowrap; }
.xls th { background: #f4f6fa; font-weight: 700; color: var(--muted); }
.xls td.num, .xls th.num { text-align: right; font-variant-numeric: tabular-nums; }
.xls tr.sub td { background: #fff6ea; font-weight: 700; }
.xls tr.tot td { background: var(--navy); color: #fff; font-weight: 800; }

/* demo */
.demo { background: linear-gradient(180deg, var(--bg), #eef1f8); }
.demo-box { margin-top: 48px; display: grid; grid-template-columns: 320px 1fr; background: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.demo-side { background: #f3f5fa; padding: 24px; border-right: 1px solid var(--line); }
.demo-side h4 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.qbtn { display: block; width: 100%; text-align: left; padding: 14px 16px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; }
.qbtn:hover { border-color: var(--orange); }
.qbtn.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,154,60,.2); }
.demo-main { padding: 28px; min-height: 460px; display: flex; flex-direction: column; gap: 18px; }
.demo-main .q { align-self: flex-end; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 18px 18px 4px 18px; max-width: 80%; }
.demo-main .a { display: flex; gap: 12px; }
.demo-main .a > img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line); }
.demo-main .bubble { background: var(--bg); padding: 16px 18px; border-radius: 4px 18px 18px 18px; flex: 1; min-width: 0; }
.demo-main .bubble p { margin: 0 0 10px; }
.demo-main .bubble p:last-child { margin: 0; }
.chart { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.chart .col i { width: 100%; max-width: 54px; border-radius: 8px 8px 2px 2px; background: linear-gradient(#f6b870, var(--orange)); height: 0; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.chart .col.prev i { background: linear-gradient(#7d8fbf, var(--navy2)); }
.chart .col small { font-size: 12px; color: var(--muted); font-weight: 700; }
.chart .col em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--navy); }
.chart-x { display: flex; gap: 14px; padding: 6px 4px 0; font-size: 12px; color: var(--muted); }
.chart-x span { flex: 1; text-align: center; }
.mtable { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; }
.mtable td, .mtable th { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.mtable th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbfd; }
.mtable .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.pill { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.pill.r { background: #fbe9e5; color: var(--red); } .pill.y { background: #fdf1dc; color: #a26a12; }
.file { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; max-width: 420px; }
.file .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex: none; }
.file b { display: block; font-size: 14.5px; }
.file small { color: var(--muted); }
.file .dl { margin-left: auto; color: var(--orange2); }
.demo-note { font-size: 13px; color: var(--muted); margin-top: 16px; text-align: center; }

/* audience */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
.aud { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.aud .ph { aspect-ratio: 16/9; background: linear-gradient(135deg, #dfe5f1, #f6e3cf); overflow: hidden; }
.aud .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.aud:hover .ph img { transform: scale(1.04); }
.aud .body { padding: 28px 30px 32px; }
.aud h3 { font-size: 24px; margin-bottom: 6px; }
.aud .sub { color: var(--muted); margin: 0 0 18px; }
.aud ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.aud li { display: flex; gap: 10px; }
.aud li svg { color: var(--orange2); flex: none; margin-top: 4px; }
.aud .quote { margin-top: 20px; padding: 14px 16px; background: var(--cream); border-radius: 12px; font-style: italic; color: var(--navy); font-weight: 600; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 46px; font-weight: 800; color: rgba(243,154,60,.35); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* security */
.sec { background: radial-gradient(1200px 600px at 85% -10%, rgba(243,154,60,.18), transparent 60%), var(--navy-deep); color: #fff; }
.sec .lead { color: #b9c2dc; }
.sec .eyebrow { color: var(--orange); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.sec-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r); padding: 26px; }
.sec-item .ico { color: var(--orange); margin-bottom: 14px; }
.sec-item h3 { font-size: 18px; margin-bottom: 8px; }
.sec-item p { margin: 0; color: #aeb8d4; font-size: 15px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-top: 48px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-in { background: #fff; padding: 36px; display: grid; gap: 28px; }
.range label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; gap: 12px; }
.range label output { color: var(--orange2); white-space: nowrap; }
.range input { width: 100%; accent-color: var(--orange); height: 6px; }
.calc-out { background: linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.calc-out .big { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; color: var(--orange); line-height: 1.05; }
.calc-out small { color: #b9c2dc; display: block; font-size: 14px; }
.calc-out .row { display: flex; gap: 28px; flex-wrap: wrap; }
.calc-out .row b { font-size: 26px; display: block; }
.calc-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* faq */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--orange2); font-weight: 500; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* cta */
.cta { padding: 0 0 96px; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; padding: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cta-box::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(243,154,60,.35), transparent 65%); }
.cta-box h2 { color: #fff; }
.cta-box .lead { color: #c5cde3; }
.cta-mascot { width: 120px; margin-bottom: 8px; border-radius: 24px; }
.form { position: relative; z-index: 1; background: #fff; color: var(--text); border-radius: 22px; padding: 28px; display: grid; gap: 14px; }
.form input, .form select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); outline: none; }
.form input:focus, .form select:focus { border-color: var(--orange); background: #fff; }
.form .btn { width: 100%; }
.form small { color: var(--muted); text-align: center; }
.form .ok { text-align: center; padding: 20px 0; }
.form .ok b { display: block; font-size: 20px; margin: 10px 0 4px; color: var(--navy); }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1000px) {
  .hero .wrap, .cta-box, .calc, .demo-box { grid-template-columns: 1fr; }
  .hero-visual { margin: 10px 0 40px; }
  .chat-float { left: 12px; }
  .stat-float { right: 12px; }
  .feat-grid, .sec-grid { grid-template-columns: 1fr 1fr; }
  .feat.big { grid-column: span 2; }
  .nav-links { display: none; }
  .demo-side { border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; overflow-x: auto; }
  .demo-side h4 { display: none; }
  .qbtn { flex: none; width: 240px; margin: 0; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  section { padding: 68px 0; }
  .hero { padding: 36px 0 60px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .pain-grid, .feat-grid, .sec-grid, .aud-grid, .steps { grid-template-columns: 1fr; }
  .feat.big { grid-column: auto; grid-template-columns: 1fr; }
  .chat-float { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -40px; }
  .stat-float { top: 12px; right: 8px; padding: 8px 12px; }
  .cta-box { padding: 32px 20px; border-radius: 24px; }
  .calc-in, .calc-out, .demo-main { padding: 22px; }
  .nav .btn-sm { display: none; }
  .xls { overflow-x: auto; }
  .hero h1 .hl { white-space: normal; }
}

/* bot avatar: crop the whitespace around the mascot head */
.av { width: 34px; height: 34px; flex: none; border-radius: 10px; background: #fff url(img/buxi-head.webp) center 52% / 175% no-repeat; box-shadow: 0 0 0 1px var(--line); }
.demo-main .av { width: 40px; height: 40px; border-radius: 12px; }
.demo-box > * { min-width: 0; }
@media (max-width: 680px) {
  .hero-cta .btn { width: 100%; }
  .demo-main .q { max-width: 92%; }
  .chart { gap: 6px; } .chart-x { gap: 6px; }
}
.chart .col { min-width: 0; }
@media (max-width: 680px) { .chart .col em { font-size: 10px; } .chart-x { font-size: 10px; } }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { background: #fbe9e5; color: var(--red); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; text-align: center; }
.form-err[hidden] { display: none; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
