/* =========================================================
   Velia marketing site — clean white & green 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; }
.nav-mobile-cta { display: none; }
.nav-login { font-size: 15px; font-weight: 600; color: var(--text); }
.nav-login:hover { color: var(--brand-ink); }
.nav-mobile-login { 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(4, 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; }
/* Two plans (Essentials + Custom): two columns, centred. */
.prices-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.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; }
.cta-box .sub a { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.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; } }

/* ---------- topic explorer (legacy; not used on the index pages any more) ---------- */
.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; }

/* ---------- portal screenshots: browser frame ---------- */
.frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; margin: 0; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dbe2ea; }
.frame-bar span { margin: 0 auto; transform: translateX(-20px); font-size: 12px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 14px; }
.frame-bar span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; border: 1.5px solid var(--brand); vertical-align: -0.5px; }
.frame img, .frame video { display: block; width: 100%; height: auto; }
.shot-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.hero-tour { display: inline-flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 700; color: var(--brand-ink); }
.hero-tour::before { content: ""; width: 30px; height: 30px; 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='M6 4.5v7l5.5-3.5z' fill='%23117a43'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: inset 0 0 0 1px var(--brand-100); }
.hero-tour:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- see how it works: illustrated step guide (no images) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite symbol, .guide svg, .ic, .vm-ico svg, .call-btns .end svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guide { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.g-step { --d: 0s; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.g-step:nth-child(2) { --d: .6s; } .g-step:nth-child(3) { --d: 1.2s; } .g-step:nth-child(4) { --d: 1.8s; }
.g-step:hover { border-color: var(--brand-100); box-shadow: var(--shadow-lg); }
.g-step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 110px; right: -27px; width: 26px; height: 26px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%2313874a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 0 0 1px var(--brand-100), 0 4px 10px rgba(11, 18, 32, .08); }
.g-art { position: relative; height: 236px; margin: 10px 10px 0; border-radius: 12px; overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--text); background: #f3f8f5 radial-gradient(circle, #d6e6dc 1px, transparent 1.3px) 0 0 / 14px 14px; }
.g-body { position: relative; padding: 32px 20px 22px; }
.g-n { position: absolute; top: -18px; left: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(19, 135, 74, .3); }
.g-body h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: var(--ink); }
.g-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.g-ok { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1daa61; color: #fff; }
.g-ok svg { width: 11px; height: 11px; stroke-width: 3; }
/* 1: a file drops into the box */
.gu-zone { position: absolute; inset: 14px 14px 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 26px; border: 2px dashed #9dd6b6; border-radius: 12px; background: rgba(255, 255, 255, .75); color: var(--brand-ink); font-weight: 700; font-size: 12.5px; text-align: center; }
.gu-arrow { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--brand-50); transition: transform .3s ease; }
.gu-file { position: absolute; left: 50%; bottom: 46px; display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 7px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); white-space: nowrap; }
.gu-file .kb-ico { width: 28px; height: 28px; border-radius: 7px; font-size: 9px; }
.gu-file b { color: var(--ink); font-weight: 700; }
/* 2: reading progress */
.g-read { display: flex; flex-direction: column; gap: 9px; padding: 16px; }
.gr-btn { align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 4px 10px rgba(19, 135, 74, .25); }
.gr-head { display: flex; justify-content: space-between; margin-top: 2px; font-weight: 700; color: var(--ink); }
.gr-state { position: relative; } .gr-state .a { position: absolute; left: 0; white-space: nowrap; opacity: 0; } .gr-state .b { color: var(--brand-ink); }
.gr-pct { color: var(--muted); font-variant-numeric: tabular-nums; }
.gr-bar { height: 8px; border-radius: 99px; background: #dfe9e3; overflow: hidden; }
.gr-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #13874a, #1daa61); }
.gr-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; }
.gr-list li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 3: test chat with thumbs + improvement */
.g-test { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; }
.gt-q, .gt-a { max-width: 88%; padding: 7px 10px; border-radius: 12px; }
.gt-q { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.gt-a { position: relative; align-self: flex-start; max-width: calc(100% - 66px); background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.gt-rate { position: absolute; left: calc(100% + 6px); bottom: 0; display: flex; gap: 4px; }
.gt-rate > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.gt-rate svg { width: 13px; height: 13px; }
.gt-rate .gt-down { border-color: #fca5a5; background: #fef2f2; color: #dc2626; }
.gt-fix { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--brand-100); box-shadow: 0 0 0 3px var(--brand-50); }
.gt-fix b { color: var(--brand-ink); font-size: 11.5px; }
.gt-yes { justify-self: start; margin-top: 4px; padding: 3px 10px; white-space: nowrap; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 11px; }
/* 4: one line of code + the chat on a website */
.g-install { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 30px; }
.gi-code { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 9px 8px 8px 11px; border-radius: 10px; background: var(--ink); }
.gi-code code { align-self: stretch; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 11px/1.4 var(--mono); color: #86efac; }
.gi-copy { position: relative; flex: none; display: grid; padding: 4px 9px; border-radius: 7px; background: #1daa61; color: #fff; font-weight: 700; font-size: 11px; }
.gi-copy > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 4px; }
.gi-copy svg { width: 12px; height: 12px; }
.gi-copy .a { opacity: 0; }
.gi-site { position: relative; flex: 1; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gi-bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.gi-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.gi-bar span { margin-left: 6px; font-size: 9.5px; color: var(--muted); }
.gi-lines { display: grid; gap: 7px; padding: 12px 10px; }
.gi-lines i { display: block; height: 6px; width: 70%; border-radius: 4px; background: #e9eef3; }
.gi-lines i:first-child { width: 45%; height: 9px; background: #d5dde6; } .gi-lines i:nth-child(3) { width: 55%; } .gi-lines i:last-child { width: 38%; }
.gi-hello { position: absolute; right: 50px; bottom: 16px; padding: 5px 9px; border-radius: 10px 10px 2px 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 10.5px; color: var(--ink); white-space: nowrap; }
.gi-bubble { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1daa61; color: #fff; box-shadow: 0 6px 14px rgba(29, 170, 97, .4); }
.gi-bubble svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .g-step:hover { transform: translateY(-4px); }
  .g-step:hover .gu-arrow { transform: translateY(-3px); }
  .guide.in .g-step { animation: fadeUp .5s ease var(--d) backwards; }
  .guide.in .gu-file { animation: gDrop .9s cubic-bezier(.3, 1.35, .5, 1) calc(var(--d) + .5s) backwards; }
  .guide.in .gu-zone { animation: gZone 1.4s ease calc(var(--d) + .3s) backwards; }
  .guide.in .g-upload .g-ok { animation: gPop .35s ease calc(var(--d) + 1.4s) backwards; }
  .guide.in .gr-btn { animation: gPress .5s ease calc(var(--d) + .4s) backwards; }
  .guide.in .gr-bar i { animation: gFill 2.4s ease-in-out calc(var(--d) + .8s) backwards; }
  .guide.in .gr-list li:nth-child(1) .g-ok { animation: gPop .35s ease calc(var(--d) + 1.4s) backwards; }
  .guide.in .gr-list li:nth-child(2) .g-ok { animation: gPop .35s ease calc(var(--d) + 2.1s) backwards; }
  .guide.in .gr-list li:nth-child(3) .g-ok { animation: gPop .35s ease calc(var(--d) + 2.8s) backwards; }
  .guide.in .gr-state .a { animation: gOut .3s ease calc(var(--d) + 3.2s) both; }
  .guide.in .gr-state .b, .guide.in .gr-pct { animation: gIn .3s ease calc(var(--d) + 3.2s) backwards; }
  .guide.in .gt-q { animation: fadeUp .4s ease calc(var(--d) + .4s) backwards; }
  .guide.in .gt-a { animation: fadeUp .4s ease calc(var(--d) + 1s) backwards; }
  .guide.in .gt-down { animation: gMark .4s ease calc(var(--d) + 1.8s) backwards; }
  .guide.in .gt-fix { animation: fadeUp .45s ease calc(var(--d) + 2.3s) backwards; }
  .guide.in .gi-copy .a { animation: gOut .25s ease calc(var(--d) + 1.2s) both; }
  .guide.in .gi-copy .b { animation: gIn .25s ease calc(var(--d) + 1.2s) backwards; }
  .guide.in .gi-copy { animation: gPress .4s ease calc(var(--d) + 1s) backwards; }
  .guide.in .gi-bubble { animation: gPop .45s cubic-bezier(.3, 1.5, .5, 1) calc(var(--d) + 1.8s) backwards; }
  .guide.in .gi-hello { animation: fadeUp .4s ease calc(var(--d) + 2.3s) backwards; }
  .g-step:hover .gi-bubble { animation: pulse 1.6s ease infinite; }
}
@keyframes gDrop { from { opacity: 0; transform: translate(-50%, -120px) rotate(-8deg); } 50% { opacity: 1; } to { opacity: 1; transform: translateX(-50%); } }
@keyframes gZone { from, 40% { border-color: #1daa61; background: #e8f6ee; } }
@keyframes gPop { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes gPress { from { transform: none; } 50% { transform: scale(.92); } }
@keyframes gFill { from { width: 0; } }
@keyframes gIn { from { opacity: 0; } }
@keyframes gOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes gMark { from { border-color: var(--line); background: #fff; color: var(--muted); transform: scale(1); } 60% { transform: scale(1.2); } }

/* small UI icons that replaced emoji */
.ho-hint .ic { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; stroke-width: 2.4; }
.includes span { display: inline-flex; align-items: center; gap: 7px; }
.includes span::before { content: ""; flex: none; 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; }
.vm-ico { color: var(--brand-ink); }
.vm-ico svg { width: 20px; height: 20px; }
.call-btns .end svg { width: 20px; height: 20px; stroke-width: 2.6; }

.tour { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 64px; padding: 36px; background: var(--ink); border-radius: 24px; color: #cbd5e1; overflow: hidden; position: relative; }
.tour::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(29, 170, 97, .35), transparent); pointer-events: none; }
.tour h3 { color: #fff; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 14px 0 12px; }
.tour p { font-size: 16px; }
.tour .kicker { margin: 0; background: rgba(29, 170, 97, .16); color: #6ee7a8; }
.tour-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.tour-list li { display: flex; gap: 10px; }
.tour-list li::before { content: "▸"; color: #4ade80; }
.tour-more { margin-top: 18px; font-size: 14px !important; color: #94a3b8; }
.tour .frame { border-color: rgba(255, 255, 255, .12); background: #0b1220; position: relative; z-index: 1; }
.tour .frame-bar { background: #1e293b; border-bottom-color: rgba(255, 255, 255, .08); }
.tour .frame-bar i { background: #475569; }
.tour .frame-bar span { background: #0f172a; border-color: rgba(255, 255, 255, .1); color: #94a3b8; }
.tour video { aspect-ratio: 16 / 10; background: #0b1220; }

/* ---------- showcases: improve answers, customer insights, look & feel ---------- */
.split-media { grid-template-columns: .9fr 1.1fr; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: ms; }
.mini-steps li { position: relative; padding: 0 0 0 46px; color: var(--muted); font-size: 15px; }
.mini-steps li::before { counter-increment: ms; content: counter(ms); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.mini-steps b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.note-line { margin-top: 20px; font-size: 14px; color: var(--text); background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm); padding: 12px 14px; }
.ins-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.ins-shots { position: relative; }
.ins-shots .frame-float { width: 78%; margin: -120px 0 0 auto; box-shadow: 0 2px 4px rgba(11, 18, 32, .06), 0 30px 60px rgba(11, 18, 32, .18); }
.ins-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ins-feats li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ins-feats .icon { margin: 0; }
.ins-feats h3 { font-size: 17px; margin-bottom: 4px; }
.ins-feats p { font-size: 15px; color: var(--muted); }
.ins-feats p b { color: var(--ink); font-weight: 600; }
.ins-when { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.ins-when span { font-size: 13px; font-weight: 600; color: var(--brand-ink); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 5px 12px; border-radius: 999px; }
.ho-col { display: grid; gap: 32px; }
.look { margin: 0; }
.look .frame { box-shadow: var(--shadow); }
.look figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.kb-ico.xls { background: #1d6f42; }
.kbm-gap { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 4px; padding: 9px 12px; border-radius: var(--radius-sm); background: #fff7ed; border: 1px solid #fed7aa; font-size: 13px; color: var(--ink); }
.kbm-gap b { color: #c2410c; white-space: nowrap; }

@media (max-width: 1000px) {
  .tour, .split-media, .ins-grid { grid-template-columns: 1fr; }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .g-step:nth-child(2)::after { display: none; }
  .g-step:not(:last-child)::after { right: -25px; }
  .tour { padding: 28px; gap: 28px; }
  .ins-shots { max-width: 680px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 420px; margin: 0 auto; }
  .g-step:nth-child(2)::after { display: block; }
  .g-step:not(:last-child)::after { top: auto; right: calc(50% - 13px); bottom: -29px; transform: rotate(90deg); }
  .g-art { height: 224px; }
  .frame { border-radius: 12px; }
  .frame-bar { height: 26px; padding: 0 10px; }
  .frame-bar i { width: 7px; height: 7px; }
  .frame-bar span { font-size: 10px; padding: 1px 10px; }
  .tour { margin-top: 44px; padding: 22px 18px; border-radius: 18px; }
  .ins-shots .frame-float { width: 88%; margin-top: -48px; }
}

/* ---------- 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 1fr; }
  .prices, .prices-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-right .btn, .nav-right .nav-login { 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-login { display: block; }
  .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-2, .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; }
}

/* Shared simplified landing layout: homepage + all keyword variants. */
.landing-simple section { padding: 76px 0; }
.landing-simple .hero { padding: 64px 0; }
.landing-simple .hero .lede { max-width: 560px; }
.trial-note { margin-top: 20px; color: var(--muted); font-size: 16px; }
.benefit-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.benefit-grid h2 { font-size: clamp(28px, 3vw, 40px); }
.benefit-grid .sub { margin-top: 20px; font-size: 18px; }
.question-example { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.question-example > p:not(.kicker) { padding: 12px 0; color: var(--ink); font-size: 18px; border-bottom: 1px solid var(--line); }
.question-example > span { display: block; margin-top: 16px; color: var(--brand-ink); }
.simple-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 32px 0 0; }
.simple-steps li { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-ink); font-weight: 700; margin-bottom: 20px; }
.simple-steps h3 { font-size: 21px; margin-bottom: 14px; }
.simple-steps p { font-size: 17px; }
.tour-link { text-align: center; margin-top: 28px; font-size: 16px; }
.tour-link a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.landing-simple .price-note { font-size: 15px; }
.final-signup { text-align: center; padding-top: 64px; }
.final-signup h2 { font-size: clamp(28px, 3vw, 40px); }
.final-signup > p { margin-top: 16px; }
.final-signup .btn { margin-top: 24px; }
@media (max-width: 760px) {
 .landing-simple section, .landing-simple .hero { padding: 48px 0; }
 .benefit-grid, .simple-steps { grid-template-columns: 1fr; gap: 24px; }
 .simple-steps li { padding: 24px; }
 .final-signup { padding-top: 48px; }
}

/* ---------- "See it in action": autoplaying tour video (replaces the three-step list) ---------- */
.tour-section .head { margin-bottom: 36px; }
.tour-lead { margin: 12px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.7fr); gap: 32px; align-items: center; }
.tour-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tour-points li { display: flex; gap: 14px; align-items: flex-start; }
.tour-points h3 { margin: 2px 0 4px; font-size: 18px; color: var(--ink); }
.tour-points p { margin: 0; color: var(--text); }
.tour-video { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11, 18, 32, 0.14), 0 0 0 6px var(--brand-50); }
.tour-frame { display: flex; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.tour-frame span { width: 10px; height: 10px; border-radius: 50%; background: #d7dde5; }
.tour-video video { display: block; grid-area: 2 / 1; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #fff; }
.tour-toggle { position: absolute; right: 10px; top: 4px; padding: 1px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.tour-toggle[aria-label="Play the tour"] {
  position: relative;
  inset: auto;
  grid-area: 2 / 1;
  place-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-color: transparent;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  box-shadow: var(--shadow);
}
.tour-toggle[aria-label="Play the tour"]::before {
  content: "";
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
}
.tour-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tour-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 36px; }
.tour-cta .trial-note { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .tour-grid { grid-template-columns: 1fr; gap: 28px; }
  .tour-video { order: -1; margin-inline: -8px; }
  .tour-points { gap: 16px; }
}
