/* ===========================================================
   ViewBot — BOLD landing (English, LTR)
   Big black display type · vibrant color blocks · punchy voice
   =========================================================== */

:root {
  --indigo: #5b61eb;
  --indigo-deep: #3b3fb0;
  --indigo-ink: #ffffff;
  --ink: #0d0d10;
  --ink-2: #34343c;
  --bg: #ffffff;
  --paper: #f4f3ee;
  --paper-2: #eceae2;
  --lime: #e4f24a;
  --green: #14785c;
  --muted: #6c6c78;
  --faint: #9a9aa4;
  --line: rgba(13,13,16,.10);
  --line-strong: rgba(13,13,16,.18);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --display-weight: 800;

  --r: 16px;
  --r-lg: 28px;
  --r-xl: 38px;
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);

  --shadow: 0 2px 4px rgba(13,13,16,.05), 0 24px 48px -20px rgba(13,13,16,.18);
  --shadow-lg: 0 4px 8px rgba(13,13,16,.06), 0 50px 90px -30px rgba(13,13,16,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display); font-weight: var(--display-weight);
  margin: 0; line-height: .95; letter-spacing: -0.03em; text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(70px, 10vw, 140px); }

/* display scale — big & loud */
.display {
  font-size: clamp(46px, 9vw, 118px);
  text-transform: none;
}
.h-xl { font-size: clamp(36px, 6vw, 78px); line-height: .96; }
.h-lg { font-size: clamp(30px, 4.4vw, 56px); }

.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--indigo);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--indigo); border-radius: 2px; }
.on-dark .eyebrow { color: var(--lime); }
.on-dark .eyebrow::before { background: var(--lime); }

.lead { font-size: clamp(18px, 1.9vw, 22px); color: var(--muted); line-height: 1.5; }
.on-color .lead, .on-dark .lead { color: rgba(255,255,255,.82); }

/* buttons — pill, chunky */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .14s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap; letter-spacing: -.01em;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-deep); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-color .btn-light, .on-dark .btn-light { border-color: #fff; }
.on-color .btn-ghost, .on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.on-color .btn-ghost:hover, .on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong);
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* grid texture for color blocks */
.gridlines {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.brand b { font-weight: 700; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: url("viewbot-icon.png") center / contain no-repeat; flex: none; }
.nav-links { display: flex; gap: 2px; margin-inline-start: 28px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 9px 14px; border-radius: 9px; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--paper); color: var(--ink); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.nav-signin { font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; white-space: nowrap; }
.nav-signin:hover { color: var(--indigo); }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(50px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 60px); }
.hero-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1.display { font-size: clamp(38px, 5.6vw, 78px); line-height: .92; }
.hero h1 .pop { position: relative; color: var(--indigo); display: inline-block; }
.hero h1 .pop::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em;
  background: var(--lime); z-index: -1; border-radius: 3px;
}
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-right { display: flex; flex-direction: column; }
.hero-right .store-badges { margin-top: 18px; justify-content: center; }
.hero-trust { margin-top: 22px; display: flex; gap: 8px 20px; flex-wrap: wrap; color: var(--faint); font-family: var(--font-mono); font-size: 13px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-trust b { color: var(--indigo); }

/* hero chat mock — authentic WhatsApp dark chat + ViewBot copilot layer */
.chatmock {
  position: relative; background: #0b141a; border-radius: var(--r-xl); padding: 0;
  box-shadow: var(--shadow-lg); color: #e9edef; margin-top: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
/* WhatsApp doodle wallpaper on the chat body */
.cm-body::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-color: #0b141a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 30c6-8 14-8 20 0'/%3E%3Ccircle cx='130' cy='28' r='9'/%3E%3Cpath d='M150 60l8 8-8 8-8-8z'/%3E%3Cpath d='M30 90h16M38 82v16'/%3E%3Cpath d='M95 70c5 0 9 4 9 9s-4 9-9 9'/%3E%3Cpath d='M60 130c8-6 16-6 24 0'/%3E%3Ccircle cx='150' cy='130' r='7'/%3E%3Cpath d='M120 160l6 6-6 6-6-6z'/%3E%3Cpath d='M25 155h14M32 148v14'/%3E%3Cpath d='M165 95c0 5-4 9-9 9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px 200px;
}
/* WhatsApp header bar */
.cm-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: #1f2c34; }
.cm-back { color: #aebac1; flex: none; display: grid; place-items: center; }
.cm-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; background: #e8794a; }
.cm-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.cm-head .who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cm-head .nm { font-weight: 600; font-size: 15px; color: #e9edef; white-space: nowrap; }
.cm-head .st { font-size: 12px; color: #8696a0; }
.cm-head .st b { color: var(--lime); font-weight: 600; }
.cm-head .hd-icons { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; color: #aebac1; flex: none; }
.cm-assign { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 7px 16px; background: #15202b; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11px; color: #8696a0; white-space: nowrap; overflow: hidden; }
.cm-assign .ab { color: var(--lime); font-weight: 600; }
.cm-assign .vbdot { width: 14px; height: 14px; border-radius: 4px; background: var(--indigo); flex: none; }
.cm-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; height: 300px; overflow: hidden; padding: 16px 14px 10px; }
.cmb { position: relative; max-width: 82%; padding: 7px 10px 8px; font-size: 14px; line-height: 1.35; border-radius: 9px; box-shadow: 0 1px .5px rgba(0,0,0,.2); }
.cmb .ts { display: inline-block; font-size: 10.5px; color: rgba(233,237,239,.5); margin-inline-start: 8px; vertical-align: -1px; }
.cmb.them { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.cmb.me { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
/* bubble tails */
.cmb.them::before { content: ""; position: absolute; top: 0; left: -7px; width: 9px; height: 13px; background: #202c33; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.cmb.me::before { content: ""; position: absolute; top: 0; right: -7px; width: 9px; height: 13px; background: #005c4b; clip-path: polygon(0 0, 100% 0, 0 100%); }
.cmb.me .ts { color: rgba(233,237,239,.6); }
.cmb.me .ck { display: inline-block; margin-inline-start: 3px; color: #53bdeb; vertical-align: -2px; }
.cmb .by { display: block; font-size: 12.5px; font-weight: 600; color: #ffb86b; margin-bottom: 2px; }
.cmb.me .by { color: #7ee3c4; }
/* ViewBot copilot suggestion above the input */
.cm-ai { position: relative; z-index: 2; margin: 0 10px 8px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(91,97,235,.16); border: 1px solid rgba(91,97,235,.4); }
.cm-ai .spark { color: var(--lime); flex: none; }
.cm-ai .lab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: #aab0ff; }
.cm-ai .tx { font-size: 12.5px; color: rgba(233,237,239,.92); }
.cm-send { margin-inline-start: auto; flex: none; align-self: center; font-size: 11px; font-weight: 700; background: var(--lime); color: var(--ink); padding: 6px 13px; border-radius: 999px; }
/* WhatsApp input bar */
.cm-input { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 9px 12px 12px; }
.cm-input .field { flex: 1; background: #2a3942; border-radius: 999px; padding: 9px 15px; font-size: 13px; color: #8696a0; }
.cm-input .mic { width: 38px; height: 38px; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; flex: none; }

/* floating stat chip */
.float-chip {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.float-chip .big { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.float-chip.tl { top: -18px; left: -26px; }
.float-chip.br { bottom: 26px; right: -28px; }

/* ---------- LOGO STRIP ---------- */
.strip { border-block: 1px solid var(--line); padding-block: 38px; }
.strip-lab { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.strip-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: center; }
.logo-ph { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--faint); letter-spacing: -.02em; opacity: .7; }

/* ---------- section head ---------- */
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.center { margin-inline: auto; text-align: center; }
.head .h-lg { margin-top: 18px; }
.head .lead { margin-top: 20px; }
.head.center .lead { margin-inline: auto; max-width: 620px; }

/* ---------- BEFORE / AFTER ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.ba-card { border-radius: var(--r-xl); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.ba-before { background: var(--paper); color: var(--ink); }
.ba-after { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.ba-after .scribble { position: absolute; top: 22px; right: 26px; width: 92px; color: var(--lime); }
.ba-kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.ba-before .ba-kicker { color: var(--muted); }
.ba-after .ba-kicker { color: var(--lime); }
.ba-card .h-xl { margin: 14px 0 30px; }
.ba-list { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; }
.ba-list li {
  display: flex; align-items: center; gap: 14px; padding: 17px 0;
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .01em; line-height: 1.4; text-transform: uppercase;
}
.ba-before .ba-list li { border-top: 1px solid var(--line); color: var(--ink-2); }
.ba-after .ba-list li { border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.92); }
.ba-list li:first-child { border-top: 0; }
.ba-mark { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.ba-before .ba-mark { background: #e4e2da; color: var(--muted); }
.ba-after .ba-mark { background: var(--lime); color: var(--ink); }
.ba-card .btn { margin-top: 32px; }

/* ---------- AI dark block ---------- */
.block-dark { background: var(--ink); color: #fff; }
.block-indigo { background: var(--indigo); color: #fff; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.providers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.prov { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.prov-ic { flex: none; display: block; }
.prov-wm { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 15.5px; }
.on-dark .prov { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.ai-points { margin-top: 30px; display: grid; gap: 18px; }
.ai-point { display: flex; gap: 15px; align-items: flex-start; }
.ai-point .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.ai-point .tt { font-weight: 700; font-size: 17px; }
.ai-point .dd { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.5; margin-top: 2px; }

/* AI demo terminal card */
.term { background: #16161c; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.2); }
.term-bar .nm { margin-inline-start: 10px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); }
.term-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: #cfcfd6; overflow-x: auto; }
.term-body .k { color: var(--lime); }
.term-body .v { color: #8ab4ff; }
.term-body .muted { color: rgba(255,255,255,.4); }
.term-tag { display: inline-block; background: rgba(228,242,74,.14); color: var(--lime); padding: 1px 7px; border-radius: 5px; }
.typing { display: inline-flex; gap: 4px; vertical-align: middle; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.2s infinite; }
.typing i:nth-child(2){animation-delay:.2s} .typing i:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.25} 30%{opacity:1} }

/* ---------- FEATURES ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 30px; border-radius: var(--r-lg); border: 2px solid var(--ink); background: #fff; transition: transform .16s, box-shadow .16s, background .16s; }
.feat:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
.feat:nth-child(3n+1):hover { background: var(--paper); }
.feat .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--indigo); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.feat:nth-child(2) .ic { background: var(--green); }
.feat:nth-child(3) .ic { background: var(--ink); }
.feat:nth-child(4) .ic { background: var(--indigo); }
.feat:nth-child(5) .ic { background: var(--green); }
.feat:nth-child(6) .ic { background: var(--ink); }
.feat h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 9px; line-height: 1.05; }
.feat p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* ---------- COMPARISON ---------- */
.cmp { border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 20px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--paper); vertical-align: bottom; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .row-label { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.cmp .col-us { background: var(--indigo); }
.cmp thead .col-us { background: var(--indigo); }
.cmp .us-head { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; text-transform: none; }
.cmp td.col-us { color: #fff; font-weight: 600; border-bottom-color: rgba(255,255,255,.2); }
.cmp .yes-us { color: var(--lime); font-weight: 700; }
.cmp .no { color: var(--faint); }
.cmp .ok { color: var(--ink-2); }
.cmp td small { display: block; font-size: 12px; font-weight: 500; margin-top: 3px; opacity: .8; }
.cmp-note { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-top: 18px; }

/* ---------- APP ---------- */
.app-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.phone { width: 300px; margin-inline: auto; background: #fff; border: 3px solid var(--ink); border-radius: 46px; padding: 12px; position: relative; box-shadow: 12px 12px 0 var(--indigo); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { background: var(--paper); border-radius: 34px; overflow: hidden; aspect-ratio: 9/18.5; display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; padding: 15px 24px 8px; font-size: 12px; font-weight: 700; }
.ph-notif { margin: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow); }
.ph-notif .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.ph-notif .tt { font-weight: 800; font-size: 13.5px; }
.ph-notif .dd { font-size: 12.5px; color: var(--muted); }
.ph-list { padding: 4px 10px; display: flex; flex-direction: column; gap: 4px; }
.ph-conv { display: flex; gap: 11px; align-items: center; padding: 10px; border-radius: 13px; }
.ph-conv.active { background: #fff; border: 1px solid var(--line); }
.ph-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.ph-conv .name { font-size: 13.5px; font-weight: 700; }
.ph-conv .snip { font-size: 11.5px; color: var(--muted); }
.ph-conv .pin { margin-inline-start: auto; font-family: var(--font-mono); font-size: 10px; padding: 3px 7px; border-radius: 999px; background: var(--indigo); color: #fff; }
.app-feats { margin-top: 28px; display: grid; gap: 18px; }
.app-feat { display: flex; gap: 14px; align-items: flex-start; }
.app-feat .ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--indigo); color: #fff; display: grid; place-items: center; }
.app-feat .tt { font-weight: 700; font-size: 17px; }
.app-feat .dd { color: var(--muted); font-size: 15px; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
  border-radius: 13px; padding: 9px 18px; transition: transform .14s ease, background .2s;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.store-badge .sb-ic { flex: none; }
.store-badge > span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge .sb-sm { font-size: 11px; font-weight: 500; opacity: .9; letter-spacing: .01em; }
.store-badge.gp .sb-sm { text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; }
.store-badge .sb-lg { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; margin-top: 2px; }
/* compact badges in the hero */
.hero .store-badges { margin-top: 24px; gap: 11px; }
.hero .store-badge { padding: 8px 15px; border-radius: 12px; }
.hero .store-badge .sb-lg { font-size: 17px; }
.hero .store-badge .sb-ic { transform: scale(.92); }

/* ---------- PRICING ---------- */
.price-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card .price-list { margin-bottom: auto; }
.price-card { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(30px, 4vw, 48px); position: relative; overflow: hidden; }
.price-card .scribble { position: absolute; top: 30px; right: 34px; width: 100px; color: var(--lime); }
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin-top: 18px; }
/* light tier card — same shell, paper/ink palette */
.price-card-light { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.price-card-light .tag { border-color: var(--line-strong); color: var(--ink-2); }
.price-card-light .price-amt .per { color: var(--muted); }
.price-card-light .price-tag { color: var(--indigo); background: rgba(91,97,235,.10); }
.price-card-light .price-list .tk { background: var(--ink); color: #fff; }
.price-amt { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; }
.price-amt .cur { font-family: var(--font-display); font-size: 34px; font-weight: 800; }
.price-amt .val { font-family: var(--font-display); font-size: clamp(60px, 8vw, 92px); font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.price-amt .per { color: rgba(255,255,255,.6); font-family: var(--font-mono); font-size: 14px; }
.price-tag { font-family: var(--font-mono); font-size: 12px; color: var(--lime); background: rgba(228,242,74,.12); padding: 3px 9px; border-radius: 6px; }
.price-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.price-list li { display: flex; gap: 13px; align-items: center; font-size: 16px; }
.price-list .tk { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.price-side { background: var(--paper); border-radius: var(--r-xl); padding: clamp(30px, 4vw, 48px); margin-top: 24px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.price-side h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.price-side p { color: var(--muted); font-size: 16px; }
.price-side .hl { background: var(--lime); padding: 1px 6px; border-radius: 4px; color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item { border-top: 2px solid var(--ink); }
.faq-item:last-child { border-bottom: 2px solid var(--ink); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 6px; text-align: left; font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -.02em; color: var(--ink); }
.faq-icon { flex: none; width: 30px; height: 30px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--indigo); border-radius: 2px; transition: transform .25s, opacity .25s; }
.faq-icon::before { width: 18px; height: 3px; top: 13.5px; left: 6px; }
.faq-icon::after { width: 3px; height: 18px; top: 6px; left: 13.5px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a p { padding: 0 6px 28px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 720px; }

/* ---------- FINAL CTA ---------- */
.final { background: var(--indigo); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final .wrap { position: relative; }
.final .display { font-size: clamp(40px, 7vw, 96px); }
.final .lead { color: rgba(255,255,255,.85); margin: 22px auto 0; max-width: 600px; }
.final .hero-cta { justify-content: center; margin-top: 38px; }
.final .scribble { position: absolute; width: 130px; color: var(--lime); top: 8%; right: 8%; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0 44px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .blurb { color: rgba(255,255,255,.6); font-size: 15px; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 0 16px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,.72); font-size: 15px; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; color: rgba(255,255,255,.45); font-family: var(--font-mono); font-size: 13px; flex-wrap: wrap; gap: 12px; }

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

/* ---------- product animations (clean, demo the product) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero chat builds itself in real time */
  html.js .chatmock .cmb,
  html.js .chatmock .cm-ai { opacity: 0; transform: translateY(12px) scale(.985); }
  .chatmock .cmb,
  .chatmock .cm-ai { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
  html.js .chatmock .cmb.show,
  html.js .chatmock .cm-ai.show { opacity: 1; transform: none; }

  /* typing bubble injected before the agent reply */
  .typing-bubble { display: inline-flex; padding: 14px 16px !important; }

  /* terminal types line by line */
  html.js .term-body > div { opacity: 0; transform: translateY(6px); }
  .term-body > div { transition: opacity .4s ease, transform .4s ease; }
  html.js .term-body > div.show { opacity: 1; transform: none; }
  .caret { display: inline-block; width: 8px; height: 14px; background: var(--lime); margin-left: 5px; vertical-align: -2px; border-radius: 1px; animation: caretblink 1s steps(1) infinite; }
  @keyframes caretblink { 50% { opacity: 0; } }

  /* live dot pulse */
  .cm-head .live .dot { animation: livepulse 1.6s ease-in-out infinite; }
  @keyframes livepulse { 0%,100% { box-shadow: 0 0 0 0 rgba(228,242,74,.6); } 70% { box-shadow: 0 0 0 7px rgba(228,242,74,0); } }

  /* phone notification re-drops on a gentle loop */
  .ph-notif.redrop { animation: dropIn .6s ease both; }
  @keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } }
  .ph-conv.active { transition: box-shadow .4s ease, transform .4s ease; }
  .ph-conv.active.ping { box-shadow: 0 0 0 2px var(--indigo); }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .app-split, .price-band, .ba { grid-template-columns: 1fr; }
  .hero .chatmock { max-width: 460px; margin-inline: auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip.br { right: 8px; } .float-chip.tl { left: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  /* comparison table scrolls horizontally before it gets cramped */
  .cmp { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp table { min-width: 760px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .nav-signin { display: none; }
  /* tighten section rhythm and make CTAs comfortable to tap */
  .section { padding-block: clamp(56px, 14vw, 90px); }
  .hero-cta .btn, .final .hero-cta .btn { flex: 1 1 auto; }
  .ba-card, .feat { padding: 26px; }
  /* store badges: compact and centered on phones — never full-width/oversized */
  .store-badges { gap: 8px; justify-content: center; }
  .store-badge { flex: 0 0 auto; padding: 7px 13px; border-radius: 11px; }
  .store-badge .sb-ic { transform: scale(.8); }
  .store-badge .sb-sm { font-size: 9.5px; }
  .store-badge.gp .sb-sm { font-size: 8.5px; }
  .store-badge .sb-lg { font-size: 14px; }
  .hero .store-badge { padding: 7px 12px; }
  .hero .store-badge .sb-lg { font-size: 13px; }
}
@media (max-width: 380px) {
  .nav-inner { gap: 10px; }
  .brand { font-size: 20px; }
}
