/* =========================================================
   TRICIQ — design system
   ========================================================= */
:root {
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --accent: #06b6d4;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
  --ink: #0b1020;
  --ink-2: #1e293b;
  --muted: #5b6478;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-alt: #f7f8fc;
  --dark: #0a0e1f;
  --dark-2: #121833;
  --success: #10b981;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 10px 30px -12px rgba(30, 27, 75, .18), 0 2px 6px rgba(16, 24, 40, .05);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.staging-banner { background: #f59e0b; color: #1f1300; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; letter-spacing: .02em; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #c7cbe0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-dark .section-head p { color: #a3a9c7; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); background: var(--brand-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.section-dark .eyebrow { background: rgba(99, 102, 241, .16); color: #a5b4fc; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.lead { font-size: 1.2rem; color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .93rem; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--ink); border-color: #cfd3e1; }
.btn-light { background: #fff; color: var(--brand-600); }
.btn-light:hover { color: var(--brand-600); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .16); }
.btn-ghost-dark:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16, 24, 40, .15); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; }
.logo-light, .logo-light:hover { color: #fff; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: .96rem; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .has-menu:hover > .nav-link { color: var(--brand); background: var(--brand-50); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink-2); }
.mega-item:hover { background: var(--bg-alt); color: var(--ink-2); }
.mega-item strong { display: block; color: var(--ink); font-size: .96rem; }
.mega-item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.mega-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.mega-all { justify-content: space-between; align-items: center; font-weight: 600; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.mega-all:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #c7cbe0; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(99, 102, 241, .45), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 800px; height: 800px; background: radial-gradient(closest-side, rgba(6, 182, 212, .25), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: #b4b9d6; max-width: 600px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dfe3ff; font-size: .88rem; font-weight: 500; margin-bottom: 26px; }
.hero-pill b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .76rem; letter-spacing: .04em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: #a9afcf; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: #34d399; width: 18px; height: 18px; }
.hero-light { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 45%, #fff 100%); color: var(--ink-2); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.hero-light::before, .hero-light::after { display: none; }
.hero-light h1 { color: var(--ink); font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.hero-light .lead { color: var(--muted); }

/* call demo widget */
.call-card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); }
.call-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.call-avatar { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }
.call-avatar::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(99, 102, 241, .6); animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.call-meta strong { display: block; color: #fff; font-size: 1rem; }
.call-meta span { font-size: .84rem; color: #9ea5c9; }
.call-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #34d399; background: rgba(16, 185, 129, .12); padding: 5px 10px; border-radius: 999px; }
.call-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin: 16px 0 6px; }
.wave i { display: block; width: 4px; border-radius: 4px; background: var(--grad); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.transcript { display: flex; flex-direction: column; gap: 10px; min-height: 300px; max-height: 300px; overflow: hidden; padding-top: 8px; mask-image: linear-gradient(180deg, transparent 0, #000 40px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40px); justify-content: flex-end; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; animation: pop .35s ease both; }
.bubble.caller { align-self: flex-end; background: rgba(255, 255, 255, .1); color: #e7e9f7; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: rgba(99, 102, 241, .22); color: #fff; border-bottom-left-radius: 4px; }
.bubble.event { align-self: center; max-width: 100%; background: rgba(16, 185, 129, .14); color: #6ee7b7; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; }
.bubble.event .icon { width: 14px; height: 14px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.call-live { font-variant-numeric: tabular-nums; }
.call-voice { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #c7cbea; font-size: .8rem; font-weight: 600; }
.call-voice > .icon { width: 18px; height: 18px; color: #a5b4fc; flex: none; }
.call-voice > span { white-space: nowrap; }
.call-voice .wave { flex: 1; height: 26px; margin: 0; justify-content: flex-end; }
.call-caption { margin: 8px 0 0; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #8e95bd; }
.bubble .who { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .65; margin-bottom: 2px; }
.call-controls { display: flex; justify-content: center; gap: 18px; padding-top: 16px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.call-controls span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #dfe2f5; }
.call-controls .icon { width: 18px; height: 18px; }
.call-controls .hangup { background: #ef4444; color: #fff; }
.call-controls .hangup .icon { transform: rotate(135deg); }

/* ---------- trust strip ---------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner .icon { color: var(--brand); }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9dcf0; }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-top: 18px; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.card-icon.grad { background: var(--grad); color: #fff; }
.card-link { display: flex; flex-direction: column; color: inherit; }
.card-link:hover { color: inherit; }
.card-link .link-arrow { margin-top: auto; padding-top: 18px; }
.section-dark .card { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); }
.section-dark .card p { color: #a3a9c7; }
.section-dark .card-icon { background: rgba(99, 102, 241, .16); color: #a5b4fc; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--success); width: 20px; height: 20px; margin-top: 3px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }

/* ---------- problem / stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat p { color: var(--muted); margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- feature showcase ---------- */
.feature-visual { background: linear-gradient(160deg, var(--brand-50), #f0fdff); border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.mock + .mock { margin-top: 14px; }
.mock-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.mock-head .tag { margin-left: auto; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #166534; }
.mock-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.mock-row span:first-child { color: var(--muted); }
.mock-row span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- integrations ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.section-dark .chip { background: var(--dark-2); border-color: rgba(255, 255, 255, .1); color: #dfe3ff; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.calc-inputs { padding: 36px; display: grid; gap: 26px; }
.calc-field label { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: .97rem; }
.calc-field output { color: var(--brand); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 6px; }
.calc-result { background: var(--dark); color: #c7cbe0; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.calc-result .big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 14px; }
.calc-result .big span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-note { font-size: .82rem; color: #8a91b4; margin-top: 18px; }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.billing-toggle button { font: inherit; font-weight: 600; font-size: .93rem; padding: 9px 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { font-size: .74rem; color: #047857; margin-left: 4px; }
.billing-toggle button[aria-pressed="true"] .save { color: #6ee7b7; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .5); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 0 0 6px; }
.plan-for { color: var(--muted); font-size: .9rem; min-height: 2.9em; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.price .amt { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--muted); font-size: .92rem; }
.price-note { font-size: .83rem; color: var(--muted); min-height: 1.4em; margin: 6px 0 20px; }
.plan .btn { margin-bottom: 22px; }
.plan .checklist { margin-top: 0; font-size: .93rem; }
.plan .checklist .icon { width: 18px; height: 18px; }
.plan-minutes { font-weight: 700; color: var(--ink); padding: 12px 14px; background: var(--bg-alt); border-radius: 12px; font-size: .93rem; margin-bottom: 18px; }
.plan-minutes small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .icon { width: 20px; height: 20px; }
.compare .yes { color: var(--success); }
.compare .no { color: #cbd0de; }
.compare .hl { background: rgba(79, 70, 229, .04); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; background: var(--grad); color: #eef; border-radius: 28px; padding: clamp(36px, 5vw, 60px); }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b8bdcc; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------- prose (legal / long-form) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #d5d9e6; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.field .err { display: none; color: #dc2626; font-size: .84rem; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.ok { display: block; background: #ecfdf5; color: #065f46; }
.form-status.bad { display: block; background: #fef2f2; color: #991b1b; }
.consent { font-size: .84rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); }

/* ---------- industry / service hero visuals ---------- */
.kpi-list { display: grid; gap: 14px; }
.kpi { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.kpi .card-icon { width: 42px; height: 42px; border-radius: 12px; }
.kpi strong { display: block; color: var(--ink); }
.kpi span { color: var(--muted); font-size: .9rem; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.quote-card .who { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.quote-card .line { padding: 10px 14px; border-radius: 14px; font-size: .93rem; margin-bottom: 8px; }
.quote-card .line.c { background: var(--bg-alt); margin-left: 18%; }
.quote-card .line.a { background: var(--brand-50); color: var(--ink); margin-right: 18%; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #a3a9c7; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { margin: 18px 0; max-width: 340px; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #a3a9c7; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding: 24px 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .87rem; }
.footer-bottom p { margin: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-phone { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
  .site-nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .nav-link:hover, .has-menu:hover > .nav-link { background: none; }
  .mega { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 10px; display: none; opacity: 1; visibility: visible; }
  .has-menu:hover .mega, .has-menu:focus-within .mega { transform: none; }
  .has-menu.open .mega { display: block; transform: none; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nav-cta .btn { padding: 14px; }
  .nav-phone { display: inline-flex; justify-content: center; padding: 12px; }
  .hero-grid, .split, .calc, .cta-band { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3, .grid-4, .steps, .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .stat-row, .plans, .form-grid, .checklist.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .card, .step { padding: 24px; }
  .calc-inputs, .calc-result { padding: 26px; }
  .transcript { min-height: 260px; max-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- home: business process automation ---------- */
.hero-also { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: .92rem; color: #a5b4fc; }
.hero-also strong { color: #fff; }
.hero-also:hover { color: #c7d2fe; }
.section-bpa { background: linear-gradient(180deg, #fff, var(--brand-50)); }
.flow { list-style: none; margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.flow li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 58px; bottom: -6px; width: 2px; background: var(--brand-100); }
.flow-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; position: relative; z-index: 1; }
.flow li:first-child .flow-icon { background: var(--grad); color: #fff; }
.flow-done .flow-icon { background: #dcfce7; color: #15803d; }
.flow strong { display: block; color: var(--ink); font-size: .98rem; }
.flow small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 2px; }

/* ---------- home hero slideshow ---------- */
.hero-slider { padding-bottom: 36px; }
.slides { display: grid; position: relative; z-index: 1; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.slide.is-leaving { transform: translateX(-28px); }
.hero-title { color: #fff; font-size: clamp(2.2rem, 4.1vw, 3.25rem); letter-spacing: -.035em; }
.slider-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.slider-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.slider-tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: none; color: #aab0d2; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.slider-tab:hover { color: #fff; }
.slider-tab.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.slider-tab .bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.slider-tab.is-active .bar { animation: slideProgress var(--slide-ms, 7000ms) linear forwards; }
.hero-slider.paused .slider-tab.is-active .bar { animation-play-state: paused; }
@keyframes slideProgress { to { transform: scaleX(1); } }
.slider-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #dfe3ff; cursor: pointer; transition: background .2s; }
.slider-arrow:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.slider-arrow[data-dir="-1"] .icon { transform: rotate(180deg); }

/* automation / test-run panels */
.ops-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ops-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.ops-list strong { display: block; color: #fff; font-size: .92rem; font-weight: 600; }
.ops-list small { display: block; color: #9ea5c9; font-size: .8rem; line-height: 1.4; }
.ops-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(99, 102, 241, .2); color: #c7d2fe; flex-shrink: 0; }
.ops-ic .icon { width: 18px; height: 18px; }
.ops-status { margin-left: auto; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(16, 185, 129, .14); color: #6ee7b7; white-space: nowrap; }
.ops-note { margin: 12px 0 0; text-align: center; font-size: .78rem; color: #7c83a8; }
.slide.is-active .ops-list li { animation: opsIn .5s ease both; }
.slide.is-active .ops-list li:nth-child(2) { animation-delay: .25s; }
.slide.is-active .ops-list li:nth-child(3) { animation-delay: .5s; }
.slide.is-active .ops-list li:nth-child(4) { animation-delay: .75s; }
.slide.is-active .ops-list li:nth-child(5) { animation-delay: 1s; }
.slide.is-active .ops-status { animation: opsStatus .4s ease both; animation-delay: inherit; }
@keyframes opsIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes opsStatus { from { opacity: 0; transform: scale(.8); } }

@media (max-width: 960px) {
  .slider-tab span { display: none; }
  .slider-tab { padding: 12px 16px; }
  .slider-tab.is-active span { display: inline; }
}
@media (max-width: 640px) {
  .slider-arrow { display: none; }
  .ops-list small { display: none; }
}
@media (max-width: 960px) {
  .hero-slider { display: flex; flex-direction: column; padding-top: 28px; }
  .hero-slider .slider-nav { order: -1; margin: 0 0 28px; }
}

/* stacked three-part headline */
.h1-stack { font-size: clamp(2.2rem, 4.1vw, 3.25rem); }
.h1-stack span { display: block; }
.h1-stack .grad-text { display: block; width: fit-content; }
.tagline { display: block; margin-top: 14px; font-size: 1.3rem; color: #fff; font-weight: 700; letter-spacing: .01em; }
/* rotating multilingual greeting */
.greet-wrap { display: inline-block; vertical-align: bottom; white-space: nowrap; transition: width .3s ease; }
.greet { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .25s ease, transform .25s ease; padding: 0 2px; }
.greet.out { opacity: 0; transform: translateY(-6px); }

/* ---------- resources / articles ---------- */
.article-card .article-cat, .article-meta { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.article-card h3 { margin-top: 10px; }
.article-card p { margin-bottom: 0; }
.article-meta-sm { margin-top: auto; padding-top: 18px; font-size: .85rem; color: var(--muted); }
.article { padding-top: 32px; }
.article-body { margin: 0 auto; }
.article-body h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 10px 0 18px; }
.article-body > .lead { font-size: 1.2rem; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-top: 2.2em; }
.article-body h3 { font-size: 1.15rem; margin-top: 1.6em; }
.article-body p, .article-body li { font-size: 1.06rem; line-height: 1.75; }
.article-body .table-wrap { margin: 24px 0; }
.article-body .compare { font-size: .93rem; }
.article-body .compare td { text-align: left !important; }
.callout { border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout strong:first-child { color: var(--ink); }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 28px 0; }
.toc strong { display: block; color: var(--ink); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { font-size: .98rem !important; margin-bottom: 4px; }
.key-takeaways { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-sm); margin: 28px 0; }
.key-takeaways h2 { font-size: 1.15rem !important; margin: 0 0 10px !important; }
