/* =========================================================
   Velia marketing site — clean white & blue design system.
   Shared verbatim by main/RO and main/ENG; keep both copies identical.
   ========================================================= */
:root {
  /* brand: WhatsApp-style dark green; fills use --brand, text on white uses --brand-ink for contrast */
  --brand: #13874a;
  --brand-600: #117a43;
  --brand-ink: #117a43;
  --brand-50: #e8f6ee;
  --brand-100: #c3e9d2;
  --ink: #0b1220;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --green: #16a34a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, 0.04), 0 24px 48px rgba(19, 135, 74, 0.14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(19, 135, 74, .3); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--brand-ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600; }
.lang a { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--brand-50); color: var(--brand-ink); }
.nav-mobile-cta { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; letter-spacing: .02em; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.sub { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; background: radial-gradient(1000px 420px at 85% 0%, var(--brand-50), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-ink); background: #fff; border: 1px solid var(--brand-100); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 span { color: var(--brand-ink); }
.lede { font-size: 19px; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); font-weight: 500; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23127a44' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- chat mock ---------- */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 440px; margin-left: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--brand); color: #fff; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 800; }
.chat-title { font-weight: 700; font-size: 15px; }
.chat-status { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); height: 380px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg-text { white-space: pre-line; }
.msg-bot .cite { display: flex; width: fit-content; }
.msg-note { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.typing { display: flex; gap: 4px; align-items: center; padding: 14px 16px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg-bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.msg-user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cite { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--brand-ink); background: var(--brand-50); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.handoff { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.handoff span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.handoff span:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.handoff a { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.handoff a:hover { border-color: var(--brand); color: var(--brand-ink); }
.handoff a.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.handoff a.cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px 10px 18px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14px; color: var(--ink); background: transparent; }
.chat-input input::placeholder { color: var(--muted); }
.chat-send { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; cursor: pointer; }
.chat-send:hover { background: var(--brand-600); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- report ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .head { text-align: left; margin: 0 0 24px; }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.list li { padding-left: 30px; position: relative; color: var(--text); }
.list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23127a44' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.list b { color: var(--ink); }
.dash { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-title { font-weight: 700; color: var(--ink); }
.tag { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--muted); }
.bar { position: relative; display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--ink); overflow: hidden; background: var(--bg-soft); }
.bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--brand-100); }
.bar span, .bar b { position: relative; }

/* ---------- pilot ---------- */

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.prices-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prices-4 .price { padding: 28px 22px; }
.prices-4 .price-amt b { font-size: 36px; }
.price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price-name { font-weight: 700; color: var(--ink); font-size: 18px; }
.price-desc { font-size: 14px; color: var(--muted); margin-top: 4px; min-height: 42px; }
.price-amt { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price-amt b { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price-amt small { color: var(--muted); font-size: 15px; }
.price-setup { font-size: 13px; color: var(--muted); margin-top: 2px; }
.price ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6' fill='none' stroke='%23127a44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.price-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 20px; font-size: 14px; color: var(--text); font-weight: 500; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand-ink); display: grid; place-items: center; font-size: 18px; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- cta / form ---------- */
.cta-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 24px; padding: 48px; }
.cta-box h2 { font-size: clamp(28px, 3.4vw, 38px); }
.cta-box .btn-ghost { margin-top: 24px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.fine { font-size: 13px; color: var(--muted); text-align: center; }
.fine.ok { color: var(--green); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols div { display: grid; gap: 8px; align-content: start; color: var(--muted); }
.footer-cols a:hover { color: var(--brand-ink); }
.footer-h { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.footer-bottom div { display: flex; gap: 18px; }

/* ---------- hero chat suggestions ---------- */
.suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px 12px; background: var(--bg-soft); border-top: 1px solid var(--line); min-height: 52px; }
.suggest button { font: inherit; font-size: 12px; font-weight: 600; color: var(--brand-ink); background: #fff; border: 1px solid var(--brand-100); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.suggest button:hover { background: var(--brand-50); border-color: var(--brand); }
.mock-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.mock-note a { color: var(--brand-ink); font-weight: 600; }

/* ---------- benefit cards with small visuals ---------- */
.benefit { display: flex; flex-direction: column; }
.benefit h3 { font-size: 21px; }
.benefit .vis { padding-top: 22px; }
.mini-msg { font-size: 14px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px 14px; }
.mini-bars { display: grid; gap: 8px; }

/* ---------- handoff showcase ---------- */
.wa { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #075e54; color: #fff; font-weight: 700; font-size: 15px; }
.wa-head small { display: block; font-weight: 500; opacity: .8; font-size: 12px; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 13px; }
.wa-body { background: #efeae2; padding: 18px; display: grid; gap: 10px; min-height: 180px; align-content: start; }
.wa-msg { max-width: 82%; font-size: 14px; padding: 9px 12px; border-radius: 10px; background: #fff; color: #111b21; }
.wa-msg.out { justify-self: end; background: #d9fdd3; }
.points { display: grid; gap: 18px; margin-top: 28px; }
.point { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.point .icon { width: 40px; height: 40px; margin: 0; }
.point h3 { font-size: 17px; margin-bottom: 4px; }
.point p { font-size: 15px; color: var(--muted); }

/* ---------- 4-up grid (knowledge sources, local cards) ---------- */
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; background: #fff; border: 1px dashed var(--brand-100); border-radius: var(--radius); padding: 20px 24px; }
.callout p { color: var(--ink); font-weight: 600; }
.callout p span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.facts-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.facts-list li { font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }

/* ---------- segmented tabs (shared by handoff, report) ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; }
.seg button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: #fff; color: var(--brand-ink); box-shadow: 0 1px 3px rgba(11, 18, 32, .1); }
.seg-sm { margin-bottom: 16px; }
.seg-sm button { font-size: 13px; padding: 6px 12px; }
[hidden] { display: none !important; }

/* ---------- interactive handoff ---------- */
.ho-panel { display: grid; gap: 12px; animation: fadeUp .3s ease; }
.mini-msg.user { justify-self: end; max-width: 85%; background: var(--brand); border-color: var(--brand); color: #fff; border-radius: 14px 14px 4px 14px; }
.ho-btn { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; cursor: pointer; animation: pulse 1.8s ease-in-out infinite; }
.ho-btn.wa { background: var(--brand); }
.ho-hint { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.ho-dest { display: none; gap: 10px; }
.ho-panel.is-played .ho-dest { display: grid; animation: fadeUp .4s ease; }
.ho-panel.is-played .ho-hint { display: none; }
.ho-panel.is-played .ho-btn { animation: none; opacity: .6; }
.ho-replay { justify-self: center; font: inherit; font-size: 13px; font-weight: 600; color: var(--brand-ink); background: none; border: 0; cursor: pointer; padding: 4px 8px; }
.call { background: linear-gradient(180deg, #1e293b, #0b1220); color: #fff; border-radius: 20px; padding: 28px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.call-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.call-name { font-size: 18px; font-weight: 700; }
.call-num { font-size: 14px; opacity: .7; }
.call-state { font-size: 13px; opacity: .7; animation: blink 1.2s infinite; }
.call-btns .end { display: grid; place-items: center; width: 48px; height: 48px; margin-top: 14px; border-radius: 50%; background: #ef4444; font-weight: 700; }
.mail, .browser { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mail { padding: 6px 18px 18px; }
.mail-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.mail-row span { width: 58px; color: var(--muted); }
.mail-body { padding: 14px 0; font-size: 14px; color: var(--ink); min-height: 70px; }
.mail-send { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); padding: 7px 16px; border-radius: 999px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar span:nth-child(3) { margin-right: 8px; }
.browser-body { padding: 18px; }
.browser-h { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slots span { text-align: center; font-size: 13px; font-weight: 600; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.slots .on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- interactive report ---------- */
.chart-cap { margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 170px; }
.col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.col-bar { width: 100%; height: var(--h, 50%); min-height: 6px; border-radius: 8px 8px 4px 4px; background: var(--brand-100); transition: height .4s ease, background .15s; }
.col:hover .col-bar { background: #a3dcbc; }
.col[aria-pressed="true"] .col-bar { background: var(--brand); }
.col-l { font-size: 12px; font-weight: 600; color: var(--muted); }
.col[aria-pressed="true"] .col-l { color: var(--brand-ink); }
.chart-hint { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- interactive knowledge base ---------- */
.kb { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.kb-tabs { display: grid; gap: 10px; align-content: start; }
.kb-tabs button { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.kb-tabs button:hover { border-color: var(--brand-100); }
.kb-tabs button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.kb-tabs b { display: block; font-size: 14px; color: var(--ink); }
.kb-tabs small { font-size: 12px; color: var(--muted); }
.kb-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.kb-ico.pdf { background: #ef4444; } .kb-ico.doc { background: #4285f4; } .kb-ico.word { background: #2b579a; }
.kb-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 24px; animation: fadeUp .3s ease; }
.kb-doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); font-size: 14px; color: var(--text); display: grid; gap: 8px; align-content: start; }
.kb-doc-title { font-weight: 800; color: var(--ink); font-size: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.kb-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 6px; }
.kb-p { padding: 4px 6px; }
.kb-line span:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.kb-doc mark { display: flex; background: #fef3c7; color: var(--ink); border-radius: 6px; box-shadow: inset 3px 0 0 #f59e0b; animation: highlight .8s ease; }
.kb-doc mark.kb-p { display: block; }
.kb-fine { font-size: 12px; color: var(--muted); padding: 0 6px; }
.kb-chat { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.kb-chat .cite { display: flex; width: fit-content; }
/* knowledge section: customer question on the left, documents list on the right */
.kb-flip { grid-template-columns: 1fr 300px; }
.kb-flip .kb-tabs { order: 2; }
.kb-flip .kb-chat { order: -1; }

/* ---------- pricing calculator ---------- */
.billing { margin: 22px 0 0; }
.billing .save { font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-50); padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.pays { display: inline-block; margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--brand-ink); background: var(--brand-50); padding: 6px 16px; border-radius: 999px; }
.calc { max-width: 640px; margin: 0 auto 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.calc label { font-weight: 700; color: var(--ink); }
.calc output { font-size: 24px; font-weight: 800; color: var(--brand-ink); }
.calc input[type="range"] { width: 100%; accent-color: var(--brand); cursor: pointer; }
.calc-hint { margin-top: 10px; font-size: 14px; color: var(--muted); }
.calc-hint b { color: var(--ink); }
.price { transition: transform .2s, box-shadow .2s, border-color .2s; }
.price.is-match { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100), var(--shadow-lg); transform: translateY(-4px); }
.price .match { display: none; align-self: flex-start; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--green); background: #dcfce7; padding: 3px 10px; border-radius: 999px; }
.price.is-match .match { display: inline-block; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(19, 135, 74, .4); } 50% { box-shadow: 0 0 0 7px rgba(19, 135, 74, 0); } }
@keyframes highlight { from { background: #fde68a; } }

/* ---------- weekly insights (coming soon) ---------- */
.soon { color: #b45309; background: #fef3c7; padding: 1px 8px; border-radius: 999px; margin-left: 2px; }
.ins { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px; }
.ins-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.ins-top b { color: var(--ink); }
.ins .kb-tabs button { justify-content: space-between; }
.ins-name { flex: 1; display: grid; gap: 7px; }
.ins-bar { display: block; height: 6px; width: var(--w); min-width: 8px; border-radius: 999px; background: var(--brand-100); }
.ins .kb-tabs button[aria-selected="true"] .ins-bar { background: var(--brand); }
.ins-pct { font-weight: 800; color: var(--ink); font-size: 15px; }
.ins-other { font-size: 13px; color: var(--muted); padding: 4px 14px; }
.ins-panel { align-self: start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; animation: fadeUp .3s ease; }
.ins-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ins-head h3 { font-size: 20px; }
.st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.st.ok { color: var(--green); background: #dcfce7; }
.st.part { color: #b45309; background: #fef3c7; }
.st.miss { color: #b91c1c; background: #fee2e2; }
.ins-meta { font-size: 14px; color: var(--muted); }
.ins-h { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.ins-qs { display: flex; flex-wrap: wrap; gap: 8px; }
.ins-qs span { font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 12px 12px 12px 4px; }
.ins-tip { margin-top: 6px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--text); }
.ins-tip b { display: block; color: var(--brand-ink); margin-bottom: 4px; }
.ins-tip.warn { background: #fffbeb; border-color: #fde68a; }
.ins-tip.warn b { color: #b45309; }

/* ---------- report tiles (label · number · sub) ---------- */
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats-3 .stat { display: grid; gap: 4px; padding: 14px; }
.stats-3 .stat-num { font-size: 26px; }
.stat-sub { font-size: 12px; color: var(--muted); }

/* ---------- benefit visuals: demo log + knowledge mini ---------- */
.demo-log { display: grid; gap: 8px; }
.demo-log-h, .kbm-top b { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dl-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.dl-time { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.dl-q { color: var(--ink); }
.dl-ok { font-size: 12px; font-weight: 700; color: var(--green); background: #dcfce7; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.kb-mini { display: grid; gap: 8px; }
.kbm-top { display: flex; justify-content: space-between; align-items: center; }
.kbm-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.kbm-item .kb-ico { width: 34px; height: 34px; font-size: 10px; }
.kbm-item b { display: block; font-size: 14px; color: var(--ink); }
.kbm-item small { font-size: 12px; color: var(--muted); }
.kbm-note { font-size: 13px; color: var(--muted); }
.kbm-link { font-size: 14px; font-weight: 700; color: var(--brand-ink); }
.kbm-link:hover { text-decoration: underline; }
.topics-mini { display: grid; gap: 9px; }
.tp-row { display: grid; grid-template-columns: 1fr 90px 38px; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.tp-bar { height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.tp-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--brand); }
.tp-row b { text-align: right; }
.benefit h3 .soon { font-size: 12px; vertical-align: middle; white-space: nowrap; }
.chat.is-flash { box-shadow: 0 0 0 4px var(--brand-100), var(--shadow-lg); transition: box-shadow .3s; }

/* ---------- about teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-teaser .sub { margin-bottom: 24px; }
.values-mini { display: grid; gap: 12px; }
.vm { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.vm-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; font-size: 18px; }
.vm b { color: var(--ink); }
.vm p { font-size: 14px; color: var(--muted); }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.post { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.post:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.post h3 { font-size: 19px; }
.post p { font-size: 15px; color: var(--muted); }
.post-cat { align-self: flex-start; width: fit-content; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.post-meta { margin-top: auto; font-size: 13px; color: var(--muted); }

/* ---------- article pages ---------- */
.article { padding: 56px 0 72px; }
.article-wrap { max-width: 760px; }
.article-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand-ink); margin-bottom: 24px; }
.article h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; margin: 14px 0 12px; }
.article-meta { font-size: 14px; color: var(--muted); }
.article-lede { font-size: 20px; color: var(--text); margin: 24px 0; }
.article-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.article-toc p { font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.article-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.article-toc a { color: var(--brand-ink); }
.article-body h2 { font-size: 26px; margin: 36px 0 12px; scroll-margin-top: 90px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.75; color: var(--text); }
.article-body p + p { margin-top: 14px; }
.article-body ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.article-body blockquote { margin: 18px 0; padding: 16px 20px; background: var(--brand-50); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; font-size: 17px; color: var(--ink); }
.article-note { margin: 36px 0 0; background: #fff; border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 20px 22px; }
.article-note b { color: var(--brand-ink); }
.article-note p { margin-top: 6px; color: var(--text); }

/* ---------- about page ---------- */
.ab-hero { padding-bottom: 72px; }
.ab-intro { max-width: 820px; }
.ab-intro .lede { max-width: 720px; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.ab-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.ab-stat b { display: block; font-size: 30px; font-weight: 800; color: var(--brand-ink); letter-spacing: -0.02em; }
.ab-stat span { font-size: 14px; color: var(--muted); }
.ab-story { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.ab-text p { font-size: 17px; line-height: 1.75; }
.ab-text p + p { margin-top: 16px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .cta-box { grid-template-columns: 1fr; }
  .chat { margin: 0 auto; }
  .kb, .kb-flip, .about-teaser, .ab-story { grid-template-columns: 1fr; }
  .kb-flip .kb-tabs { order: 0; }
  .posts { grid-template-columns: 1fr 1fr; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .kb-tabs { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .prices, .prices-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: block; margin-left: 0; }
  .nav-inner { gap: 14px; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .nav.open .nav-links a { padding: 10px 0; }
  .nav.open .nav-mobile-cta { display: block; margin-top: 8px; padding: 12px 18px !important; text-align: center; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .steps, .grid-2, .prices, .prices-4, .stats { grid-template-columns: 1fr; }
  .cta-box { padding: 28px; }
  .kb-tabs, .kb-panel, .posts, .posts-2, .stats-3 { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 44px 1fr; }
  .dl-ok { grid-column: 2; justify-self: start; }
  .slots { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
