/* =========================================================
   Supporteezy — Stylesheet (light geometric theme)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0B1A33;
  --ink-2: #26344F;
  --slate: #5A6782;
  --slate-2: #8A96AD;
  --white: #FFFFFF;
  --canvas: #F6F8FC;
  --mist: #F3EFFE;
  --line: #E1E7F1;
  --line-2: #CFD8E6;
  --blue: #6C3CF0;
  --blue-600: #5A2AD9;
  --blue-400: #8B66F5;
  --blue-200: #CDBDFB;
  --blue-100: #ECE5FE;
  --blue-50: #F6F2FF;
  --green: #12A06A;
  --green-50: #E7F7F0;
  --amber: #B7770B;
  --amber-50: #FDF3E1;
  --red: #D23B30;
  --red-50: #FDECEA;
  --error: #B42318;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 51, .06), 0 4px 12px -6px rgba(11, 26, 51, .12);
  --shadow: 0 1px 2px rgba(11, 26, 51, .05), 0 18px 40px -20px rgba(11, 26, 51, .28);
  --shadow-lg: 0 2px 4px rgba(11, 26, 51, .04), 0 30px 60px -24px rgba(52, 28, 125, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::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); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }
svg { flex: none; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-400)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* Shared geometric grid background */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .7;
}

/* Shared spotlight hover (cursor-following glow) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 60, 240, .08), transparent 45%);
  opacity: 0; transition: opacity .4s ease;
}
.spot:hover::before { opacity: 1; }

/* Pulse dot */
.pulse { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); display: inline-block; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; font: 600 1rem/1 var(--font);
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; overflow: hidden;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -10px rgba(108, 60, 240, .8); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 14px 28px -12px rgba(108, 60, 240, .85); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--blue-50); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: .94rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 26, 51, .3); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 16px; padding: 8px 20px 24px;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11, 26, 51, .25);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.nav-menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.nav-links a { display: block; padding: 12px 2px; color: var(--ink-2); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .nav-links { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); }
  .nav-links a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: .92rem; color: var(--slate); transition: color .2s, background-color .2s; }
  .nav-links a:hover { color: var(--ink); background: var(--canvas); }
  .nav-links a.active { color: var(--blue); background: var(--blue-50); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 96px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .grid-bg { mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%); }
.hero-wash { position: absolute; width: 900px; height: 900px; right: -300px; top: -260px; background: radial-gradient(circle, rgba(139, 102, 245, .18), transparent 60%); animation: wash 16s ease-in-out infinite alternate; }
@keyframes wash { to { transform: translate(-80px, 60px); } }
.hero-layout { display: grid; gap: 56px; align-items: center; }

.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 26px; font-size: .88rem; font-weight: 500; color: var(--slate); background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.word-rotator { position: relative; display: inline-grid; vertical-align: bottom; font-weight: 700; color: var(--blue); }
.word-rotator .word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(70%); transition: opacity .45s ease, transform .55s var(--ease); }
.word-rotator .word.is-active { opacity: 1; transform: none; }
.word-rotator .word.is-leaving { opacity: 0; transform: translateY(-70%); }

.hero-title { font-size: clamp(2.6rem, 6.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(108%); animation: lineUp 1s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { to { transform: none; } }
.hero-lead { margin-top: 24px; max-width: 33em; font-size: 1.13rem; color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 40px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.fact-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.fact-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.js .hero-copy > :not(.hero-title) { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.js .hero-lead { animation-delay: .35s !important; }
.js .hero-actions { animation-delay: .45s !important; }
.js .hero-facts { animation-delay: .55s !important; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hub */
.hero-visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.hub { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; transition: transform .6s var(--ease); }
.js .hub { opacity: 0; animation: hubIn 1.4s var(--ease) .1s forwards; }
@keyframes hubIn { from { opacity: 0; transform: scale(.92) rotate(-6deg); } to { opacity: 1; transform: none; } }

.hub-sweep {
  position: absolute; inset: 2%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(108, 60, 240, .16), transparent 18%, transparent);
  animation: spin 9s linear infinite;
  mask-image: radial-gradient(circle, transparent 28%, #000 29%); -webkit-mask-image: radial-gradient(circle, transparent 28%, #000 29%);
}
.hub-spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-spokes .ring-faint { fill: rgba(255,255,255,.6); stroke: var(--line-2); stroke-width: 1; }
.hub-spokes .ring-dash { fill: none; stroke: var(--blue-200); stroke-width: 1.2; stroke-dasharray: 4 8; animation: dashSpin 30s linear infinite; transform-origin: 200px 200px; }
@keyframes dashSpin { to { transform: rotate(-360deg); } }
.hub-spokes .spokes line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 6; }
.hub-spokes .packets circle { fill: var(--blue); filter: drop-shadow(0 0 4px rgba(108, 60, 240, .6)); }

.orbit { position: absolute; border-radius: 50%; animation: spin 46s linear infinite; }
.orbit-outer { inset: 0; }
.orbit-inner { inset: 15%; border: 1px solid var(--line); animation-duration: 32s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--r, 280px))); }
.orbit-outer .node { --r: 48cqw; }
.orbit-inner .node { --r: 35cqw; }
.node-inner {
  position: absolute; left: -26px; top: -26px; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 15px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: spin 46s linear infinite reverse;
}
.node-inner svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(calc(-1 * var(--a))); }
.node-sm .node-inner { left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); border-color: var(--blue); animation-duration: 32s; animation-direction: normal; }
.node-sm .node-inner svg { width: 18px; height: 18px; stroke: var(--white); }

.hub-core { position: absolute; inset: 29%; border-radius: 50%; }
.hub-core img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--white); box-shadow: var(--shadow-lg); z-index: 1; }
.core-ring { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--blue-200); animation: coreRing 3s ease-out infinite; }
.core-ring.r2 { animation-delay: 1.5s; }
@keyframes coreRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

.geo { position: absolute; pointer-events: none; }
.geo-sq { width: 54px; height: 54px; left: 6%; top: 8%; border: 1.5px solid var(--blue-200); border-radius: 10px; animation: geoFloat 9s ease-in-out infinite, spin 24s linear infinite; }
.geo-dia { width: 22px; height: 22px; right: 10%; bottom: 14%; background: var(--blue); border-radius: 4px; transform: rotate(45deg); animation: geoBob 6s ease-in-out infinite; opacity: .9; }
.geo-dots { width: 90px; height: 70px; right: 2%; top: 42%; background-image: radial-gradient(var(--blue-200) 1.6px, transparent 1.6px); background-size: 14px 14px; }
@keyframes geoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 10px -12px; } }
@keyframes geoBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Floating cards */
.float-card { transition: transform .6s var(--ease); }
.convo {
  position: relative; margin: -40px auto 0; width: min(100%, 360px);
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 16px; font-size: .88rem; z-index: 3;
}
.js .convo { opacity: 0; animation: fadeUp .9s var(--ease) .7s forwards; }
.convo-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.convo-who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue); font-weight: 800; font-size: .9rem; }
.avatar.sm { width: 28px; height: 28px; font-size: .78rem; }
.avatar.alt { background: var(--amber-50); color: var(--amber); }
.convo-name { font-weight: 700; font-size: .85rem; line-height: 1.3; }
.convo-channel { font-size: .76rem; color: var(--slate); line-height: 1.3; transition: opacity .3s; }
.status-online { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--green-50); font-size: .75rem; font-weight: 600; color: var(--green); }
.status-online .pulse { width: 7px; height: 7px; }

.convo-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 172px; overflow: hidden; }
.msg { max-width: 86%; }
.msg p { padding: 9px 13px; border-radius: 14px; line-height: 1.45; }
.msg-in p { background: var(--blue-50); border-bottom-left-radius: 4px; }
.msg-out { align-self: flex-end; }
.msg-out p { background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.msg.enter { animation: msgIn .45s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.convo-body.clearing > * { animation: msgOut .35s ease forwards; }
@keyframes msgOut { to { opacity: 0; transform: translateY(-8px); } }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--blue-50); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing.out { align-self: flex-end; background: var(--blue-100); border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-2); animation: dot 1.2s infinite ease-in-out; }
.typing.out span { background: var(--blue); }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.convo-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .76rem; }
.tag-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: #0B7A50; font-weight: 600; transition: background-color .3s, color .3s; }
.tag-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-status.pending { background: var(--amber-50); color: #8F600A; }
.convo-meta { color: var(--slate); }

.queue, .toast { display: none; }
.queue-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.queue-head p { font-weight: 700; font-size: .8rem; }
.queue-live { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; color: var(--red); }
.queue-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.queue-list { display: grid; gap: 8px; }
.queue-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: .76rem; color: var(--ink-2); }
.queue-list li.enter { animation: msgIn .45s var(--ease) both; }
.q-id { color: var(--slate-2); font-variant-numeric: tabular-nums; }
.q-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-pill { padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: .68rem; transition: background-color .4s, color .4s; }
.q-pill[data-state="new"] { background: var(--blue-100); color: var(--blue); }
.q-pill[data-state="progress"] { background: var(--amber-50); color: var(--amber); }
.q-pill[data-state="resolved"] { background: var(--green-50); color: var(--green); }
.q-pill.flip { animation: pillFlip .45s var(--ease); }
@keyframes pillFlip { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

.toast-stars { display: flex; gap: 2px; }
.toast-stars svg { width: 15px; height: 15px; fill: #F5B400; }
.toast-text { font-size: .76rem; font-weight: 600; color: var(--ink-2); }

@media (min-width: 640px) {
  .hero-visual { padding-bottom: 130px; }
  .convo { position: absolute; margin: 0; left: -2%; bottom: 0; width: 330px; }
  .queue { display: block; position: absolute; right: 0; top: 4%; width: 230px; padding: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 3; }
  .js .queue { opacity: 0; animation: fadeUp .9s var(--ease) 1s forwards; }
  .toast {
    display: flex; flex-direction: column; gap: 4px; position: absolute; right: -2%; bottom: 14%; z-index: 4;
    padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .45s ease, transform .5s var(--ease);
  }
  .toast.show { opacity: 1; transform: none; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 120px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 72px; }
  .hero-visual { padding-bottom: 120px; margin-top: -40px; }
  .convo { left: -10%; bottom: 0; }
  .queue { right: -4%; }
}

/* ---------- Channels marquee ---------- */
.channels { border-block: 1px solid var(--line); background: var(--canvas); }
.channels-inner { display: grid; gap: 14px; padding-block: 22px; align-items: center; }
.channels-label { font-size: .86rem; color: var(--slate); }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; gap: 40px; padding-right: 40px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; gap: 40px; font-weight: 700; font-size: 1.04rem; color: var(--ink-2); white-space: nowrap; }
.marquee-track li::after { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--blue-400); border-radius: 2px; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (min-width: 900px) { .channels-inner { grid-template-columns: auto 1fr; gap: 40px; } .channels-label { max-width: 15em; } }

/* ---------- Values ---------- */
.values { padding: 24px 0 8px; }
.values-row { display: grid; gap: 16px; }
.value { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.value:hover { border-color: var(--blue-200); transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--blue-50); }
.value-icon::after { content: ""; position: absolute; inset: -5px; border: 1.5px dashed var(--blue-200); border-radius: 17px; opacity: 0; transition: opacity .3s; animation: spin 10s linear infinite; animation-play-state: paused; }
.value:hover .value-icon::after { opacity: 1; animation-play-state: running; }
.value-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.value p { color: var(--slate); font-size: .94rem; }
@media (min-width: 640px) { .values-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .values-row { grid-template-columns: repeat(4, 1fr); } .values { padding-top: 40px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section-mist { background: var(--canvas); }
.section-grid { overflow: hidden; }
.section-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 40%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 40%); opacity: .6; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .9rem; font-weight: 700; color: var(--blue); }
.section-tag::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--blue); border-radius: 2px; transform: rotate(45deg); }
.section h2, .cta h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.section-head > p:last-child { margin-top: 16px; font-size: 1.08rem; color: var(--slate); }
@media (min-width: 1000px) { .section { padding: 128px 0; } }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 22px;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white);
  overflow: hidden; transition: border-color .3s, box-shadow .4s;
}
.tile:hover { border-color: var(--blue-200); box-shadow: var(--shadow); }
.tile-copy h3 { font-size: 1.15rem; font-weight: 700; }
.tile-copy p { margin-top: 6px; color: var(--slate); font-size: .95rem; max-width: 34em; }
.tile-demo {
  position: relative; flex: 1; display: grid; place-items: center; min-height: 220px;
  padding: 22px; border-radius: var(--r-md); background: var(--canvas); overflow: hidden; isolation: isolate;
}
.tile-demo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 16px 16px; opacity: .7; }
.tile-demo > * { width: 100%; max-width: 380px; }

/* Widget (live chat) */
.widget { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font-size: .86rem; }
.widget-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.widget .convo-body { height: 190px; }
.widget-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.widget-chips span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--blue-200); color: var(--blue); font-size: .74rem; font-weight: 600; background: var(--blue-50); transition: background-color .3s, color .3s; }
.widget-chips span.picked { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Inbox (email) */
.inbox { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font-size: .8rem; }
.inbox-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.inbox-count { font-weight: 500; color: var(--slate); font-size: .74rem; }
.inbox-count span { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.inbox-list { display: grid; }
.inbox-list li { display: grid; grid-template-columns: auto 74px 1fr auto; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.inbox-list li:last-child { border-bottom: 0; }
.inbox-list li.enter { animation: rowIn .5s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-14px); background: var(--blue-50); } to { opacity: 1; transform: none; background: transparent; } }
.inbox-list li.leave { animation: msgOut .35s ease forwards; }
.mail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .3s; }
.inbox-list li.unread .mail-dot { background: var(--blue); }
.mail-from { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-sub { color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-tag { padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 600; background: var(--amber-50); color: var(--amber); }
.mail-tag.done { background: var(--green-50); color: var(--green); }

/* Social */
.social { position: relative; display: grid; gap: 12px; font-size: .84rem; }
.post-comment, .post-reply { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.post-comment strong, .post-reply strong { font-weight: 700; margin-right: 4px; }
.post-reply { margin-left: 28px; position: relative; min-height: 48px; align-items: center; border-color: var(--blue-100); }
.post-reply .typing { position: absolute; left: 14px; animation: socialTyping 7s infinite; }
.reply-text { animation: socialReply 7s infinite; }
.post-comment { animation: socialComment 7s infinite; }
.heart { position: absolute; right: 8px; bottom: -10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); animation: socialHeart 7s infinite; }
.heart svg { width: 18px; height: 18px; fill: #E5484D; }
@keyframes socialComment { 0% { opacity: 0; transform: translateY(8px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes socialTyping { 0%, 14% { opacity: 0; } 18%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes socialReply { 0%, 36% { opacity: 0; transform: translateY(6px); } 42%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes socialHeart { 0%, 52% { opacity: 0; transform: scale(.3); } 58% { opacity: 1; transform: scale(1.25); } 62%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

/* Checklist (onboarding) */
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); font-size: .84rem; }
.check-head { display: flex; justify-content: space-between; font-weight: 700; }
.check-pct { color: var(--blue); font-variant-numeric: tabular-nums; }
.check-bar { display: block; height: 6px; margin: 10px 0 14px; border-radius: 6px; background: var(--blue-100); overflow: hidden; }
.check-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--blue-400)); transition: width .6s var(--ease); }
.checklist ul { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; color: var(--slate); transition: color .3s; }
.checklist li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--white) center/12px no-repeat; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.checklist li.done { color: var(--ink); }
.checklist li.done::before { background-color: var(--blue); border-color: var(--blue); background-image: 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='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: tick .4s var(--ease); }
@keyframes tick { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Tickets (sorting) */
.tickets { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font-size: .8rem; }
.tickets-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.sort-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sort-icon.spin svg { animation: tick .5s var(--ease); }
.ticket-list { display: grid; gap: 6px; }
.ticket-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--canvas); border: 1px solid var(--line); will-change: transform; }
.ticket-list li span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prio { flex: none; width: 58px; text-align: center; padding: 2px 0; border-radius: 6px; font-size: .68rem; font-weight: 700; }
.p1 { background: var(--red-50); color: var(--red); }
.p2 { background: var(--amber-50); color: var(--amber); }
.p3 { background: var(--blue-100); color: var(--blue); }
.p4 { background: #EEF1F6; color: var(--slate); }

/* Escalation flow */
.tile-escalate .tile-demo > * { max-width: 760px; }
.flow { position: relative; padding: 10px 0; }
.flow-track { position: absolute; left: 12%; right: 12%; top: 38px; height: 2px; }
.flow-line { position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--blue-200) 50%, transparent 50%); background-size: 10px 2px; animation: flowDash 1s linear infinite; }
@keyframes flowDash { to { background-position: 10px 0; } }
.flow-packet { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(108, 60, 240, .18); animation: packet 6s var(--ease) infinite; }
@keyframes packet { 0% { left: 0; } 25% { left: 33.3%; } 30% { left: 33.3%; } 55% { left: 66.6%; } 60% { left: 66.6%; } 85%, 100% { left: calc(100% - 12px); } }
.flow-nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow-node { display: grid; justify-items: center; gap: 8px; font-size: .8rem; font-weight: 600; text-align: center; color: var(--ink-2); }
.fn-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fn-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.flow-node .fn-icon { animation: nodeLight 6s infinite; }
.flow-node.n1 .fn-icon { animation-delay: 0s; }
.flow-node.n2 .fn-icon { animation-delay: 1.6s; }
.flow-node.n3 .fn-icon { animation-delay: 3.3s; }
.flow-node.n4 .fn-icon { animation-delay: 5.1s; }
@keyframes nodeLight { 0%, 12%, 100% { background: var(--white); border-color: var(--line); transform: none; } 3%, 9% { background: var(--blue-50); border-color: var(--blue); transform: translateY(-3px); } }

/* Refund tracker */
.refund { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); font-size: .8rem; }
.refund-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--slate); }
.refund-head strong { color: var(--ink); }
.refund-amt { font-weight: 800; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.refund-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.refund-steps li { display: grid; justify-items: center; gap: 6px; color: var(--slate-2); font-weight: 600; font-size: .72rem; transition: color .3s; }
.rs-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--white) center/12px no-repeat; transition: background-color .3s, border-color .3s; }
.refund-steps li.done { color: var(--ink); }
.refund-steps li.done .rs-dot { background-color: var(--green); border-color: var(--green); background-image: 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='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: tick .4s var(--ease); }
.refund-bar { display: block; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--line); overflow: hidden; }
.refund-bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .6s var(--ease); }

/* Bento grid placement */
@media (min-width: 720px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-chat, .tile-escalate { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile-chat { grid-column: 1 / 4; grid-row: 1 / 3; }
  .tile-email { grid-column: 4 / 7; grid-row: 1; }
  .tile-tickets { grid-column: 4 / 7; grid-row: 2; }
  .tile-onboard { grid-column: 1 / 3; grid-row: 3; }
  .tile-social { grid-column: 3 / 5; grid-row: 3; }
  .tile-ops { grid-column: 5 / 7; grid-row: 3; }
  .tile-escalate { grid-column: 1 / 7; grid-row: 4; flex-direction: row; align-items: center; gap: 32px; }
  .tile-escalate .tile-copy { flex: 0 0 300px; }
  .tile-escalate .tile-demo { min-height: 170px; }
}
/* Pause looping demos when off screen */
.js [data-anim]:not(.in-view) *, .js .hero:not(.in-view) .hub * { animation-play-state: paused !important; }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 20px; }
.package { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.pkg-icon { display: flex; gap: 6px; margin-bottom: 22px; }
.pkg-icon span { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--blue); transition: transform .5s var(--ease); }
.pkg-icon span:nth-child(2) { background: var(--blue-100); }
.pkg-icon span:nth-child(3) { background: var(--blue); }
.package:hover .pkg-icon span, .package-featured:hover .pkg-icon span { transform: rotate(45deg); }
.package:hover .pkg-icon span:nth-child(2), .package-featured:hover .pkg-icon span:nth-child(2) { transition-delay: .06s; }
.package:hover .pkg-icon span:nth-child(3) { transition-delay: .12s; }
.package h3 { font-size: 1.4rem; font-weight: 800; }
.package-desc { margin-top: 8px; color: var(--slate); min-height: 3.2em; }
.package-price { margin: 22px 0 18px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.package-features { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.package-features li { display: flex; gap: 10px; font-size: .95rem; }
.package-features li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--blue-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='%236C3CF0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.package-featured { padding: 2px; border: 0; background: conic-gradient(from var(--angle), var(--blue), var(--blue-200), var(--blue-400), var(--blue-100), var(--blue)); animation: spinBorder 5s linear infinite; box-shadow: var(--shadow-lg); }
@keyframes spinBorder { to { --angle: 360deg; } }
.package-inner { display: flex; flex-direction: column; height: 100%; padding: 30px 26px; border-radius: calc(var(--r-lg) - 2px); background: linear-gradient(180deg, var(--blue-50), var(--white) 40%); }
.package-tag { position: absolute; top: 26px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: .76rem; font-weight: 600; }
@media (min-width: 900px) {
  .packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .package-featured { transform: translateY(-14px); }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 40px; padding-left: 72px; --progress: 0; }
.t-track { position: absolute; left: 24px; top: 26px; bottom: 26px; width: 2px; background-image: linear-gradient(var(--line-2) 50%, transparent 50%); background-size: 2px 10px; }
.t-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--progress) * 100%); background: var(--blue); }
.t-head { position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(108, 60, 240, .18); }
.t-step { position: relative; }
.t-node { position: absolute; left: -72px; top: 0; width: 50px; height: 50px; display: grid; place-items: center; z-index: 1; }
.t-node::before { content: ""; position: absolute; inset: 4px; border-radius: 10px; transform: rotate(45deg); background: var(--white); border: 2px solid var(--line-2); transition: background-color .4s, border-color .4s, transform .6s var(--ease); }
.t-node span { position: relative; font-weight: 800; font-size: .86rem; color: var(--slate); transition: color .4s; }
.t-step.active .t-node::before { background: var(--blue); border-color: var(--blue); transform: rotate(135deg); }
.t-step.active .t-node span { color: var(--white); }
.t-step h3 { font-size: 1.15rem; font-weight: 700; padding-top: 12px; }
.t-step p { margin-top: 8px; color: var(--slate); max-width: 30em; }
.t-step > div { transition: opacity .5s, transform .6s var(--ease); }
.js .t-step:not(.active) > div { opacity: .4; transform: translateY(6px); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-left: 0; padding-top: 84px; }
  .t-track { left: 25px; right: 25px; top: 24px; bottom: auto; width: auto; height: 2px; background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 50%); background-size: 10px 2px; }
  .t-fill { height: 100%; width: calc(var(--progress) * 100%); }
  .t-head { left: auto; right: -7px; bottom: auto; top: -6px; margin: 0; }
  .t-node { left: 0; top: -84px; }
  .t-step h3 { padding-top: 0; }
}

/* ---------- Compare ---------- */
.why-layout { display: grid; gap: 48px; }
.why-copy > p:not(.section-tag) { margin-top: 16px; color: var(--slate); font-size: 1.08rem; max-width: 32em; }
.framed-photo { position: relative; margin-top: 36px; border-radius: var(--r-lg); }
.framed-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--blue-200); border-radius: var(--r-lg); z-index: 0; }
.framed-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.compare { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .95rem; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 18px 20px; border-top: 1px solid var(--line); transition: background-color .25s; }
.compare-row:not(.compare-head):hover { background: var(--blue-50); }
.compare-row > :first-child { grid-column: 1 / -1; font-weight: 700; margin-bottom: 4px; }
.compare-row > :nth-child(2) { color: var(--slate); display: flex; gap: 8px; }
.compare-row > :nth-child(3) { font-weight: 600; display: flex; gap: 8px; color: var(--ink); }
.compare-row:not(.compare-head) > :nth-child(2)::before { content: ""; width: 16px; height: 16px; margin-top: 3px; flex: none; border-radius: 50%; background: #EEF1F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%238A96AD' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.compare-row:not(.compare-head) > :nth-child(3)::before { content: ""; width: 16px; height: 16px; margin-top: 3px; flex: none; border-radius: 50%; background: var(--blue) 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='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.compare-head { border-top: 0; background: var(--canvas); font-size: .84rem; font-weight: 700; color: var(--slate); }
.compare-head > :first-child { display: none; }
.compare-head > :nth-child(3) { color: var(--blue); }
.js .compare.reveal .compare-row:not(.compare-head) { opacity: 0; transform: translateX(16px); transition: opacity .5s, transform .6s var(--ease), background-color .25s; }
.js .compare.visible .compare-row:not(.compare-head) { opacity: 1; transform: none; }
.compare.visible .compare-row:nth-child(2) { transition-delay: .1s; }
.compare.visible .compare-row:nth-child(3) { transition-delay: .18s; }
.compare.visible .compare-row:nth-child(4) { transition-delay: .26s; }
.compare.visible .compare-row:nth-child(5) { transition-delay: .34s; }
.compare.visible .compare-row:nth-child(6) { transition-delay: .42s; }
@media (min-width: 720px) {
  .compare-row { grid-template-columns: .75fr 1.1fr 1.3fr; gap: 20px; padding: 20px 24px; }
  .compare-row > :first-child { grid-column: auto; margin: 0; }
  .compare-head > :first-child { display: block; }
}
@media (min-width: 1000px) { .why-layout { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }

/* ---------- People ---------- */
.people-layout { display: grid; gap: 56px; align-items: center; }
.people-photos { position: relative; padding: 0 18% 18% 0; }
.pp-frame { position: absolute; left: -16px; top: -16px; width: 55%; height: 55%; border: 1.5px solid var(--blue-200); border-radius: var(--r-lg); }
.pp-dots { position: absolute; right: 2%; top: 4%; width: 110px; height: 90px; background-image: radial-gradient(var(--blue-200) 1.8px, transparent 1.8px); background-size: 16px 16px; }
.pp-main { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.pp-side { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-md); border: 6px solid var(--white); box-shadow: var(--shadow-lg); }
.pp-badge { position: absolute; left: 8%; bottom: 8%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 600; animation: geoBob 5s ease-in-out infinite; }
.js .people-photos.reveal .pp-side { transform: translate(24px, 24px); opacity: 0; transition: transform 1s var(--ease) .25s, opacity .8s .25s; }
.js .people-photos.visible .pp-side { transform: none; opacity: 1; }
.people-copy > p:not(.section-tag) { margin-top: 16px; color: var(--slate); font-size: 1.08rem; max-width: 32em; }
.selection { margin-top: 32px; display: grid; gap: 18px; counter-reset: sel; }
.selection li { display: grid; gap: 2px; counter-increment: sel; }
.sel-name { font-weight: 700; }
.sel-name::before { content: counter(sel, decimal-leading-zero); color: var(--blue); margin-right: 10px; font-weight: 800; font-size: .86rem; }
.sel-desc { color: var(--slate); font-size: .94rem; }
.sel-bar { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--blue-100); overflow: hidden; }
.sel-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-400)); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.selection.visible li:nth-child(1) .sel-bar span { transform: scaleX(.25); transition-delay: .1s; }
.selection.visible li:nth-child(2) .sel-bar span { transform: scaleX(.5); transition-delay: .3s; }
.selection.visible li:nth-child(3) .sel-bar span { transform: scaleX(.75); transition-delay: .5s; }
.selection.visible li:nth-child(4) .sel-bar span { transform: scaleX(1); transition-delay: .7s; }
@media (min-width: 1000px) { .people-layout { grid-template-columns: 1fr 1fr; gap: 88px; } }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 24px; }
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%); color: var(--white); padding: 64px 28px; }
.cta-geo { position: absolute; inset: 0; z-index: -1; }
.cg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cg-sq { position: absolute; border: 1.5px solid rgba(255,255,255,.35); border-radius: 18px; animation: spin 30s linear infinite; }
.cg-sq.s1 { width: 220px; height: 220px; right: 8%; top: -60px; }
.cg-sq.s2 { width: 120px; height: 120px; right: 26%; bottom: -40px; animation-duration: 20s; animation-direction: reverse; background: rgba(255,255,255,.06); }
.cg-circle { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.cg-circle.c1 { width: 380px; height: 380px; right: -120px; bottom: -200px; animation: ringPulse 7s ease-in-out infinite; }
.cg-circle.c2 { width: 16px; height: 16px; right: 18%; top: 30%; background: var(--white); border: 0; animation: geoBob 4s ease-in-out infinite; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .5; } }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: 14px; color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 32em; }
.cta .btn { justify-self: start; }
@media (min-width: 900px) { .cta { padding: 88px 72px; } .cta-inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 48px; }
.contact-info > p:not(.section-tag) { margin-top: 16px; color: var(--slate); font-size: 1.08rem; max-width: 30em; }
.contact-steps { position: relative; margin-top: 32px; display: grid; gap: 22px; counter-reset: cs; }
.contact-steps::before { content: ""; position: absolute; left: 14px; top: 14px; bottom: 14px; width: 2px; background-image: linear-gradient(var(--blue-200) 50%, transparent 50%); background-size: 2px 8px; }
.contact-steps li { position: relative; padding-left: 46px; display: grid; gap: 2px; counter-increment: cs; }
.contact-steps li::before { content: counter(cs); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--blue); color: var(--white); font-weight: 800; font-size: .85rem; }
.contact-steps span { color: var(--slate); font-size: .94rem; }
.contact-direct { margin-top: 32px; padding: 20px 22px; border-radius: var(--r-md); background: var(--canvas); border: 1px solid var(--line); }
.contact-direct p { font-size: .9rem; color: var(--slate); }
.contact-direct a { font-weight: 700; font-size: 1.08rem; color: var(--blue); text-decoration: none; word-break: break-all; }
.contact-direct a:hover { text-decoration: underline; }
.contact-form { position: relative; display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-400), var(--blue-200)); }
.form-row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.req { color: var(--blue); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--canvas); border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235A6782' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/16px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(108, 60, 240, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid { animation: shake .35s ease; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.error { font-size: .84rem; color: var(--error); }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--slate); text-align: center; }
#submit-btn[disabled] { opacity: .8; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r-md); font-size: .95rem; }
.form-status:focus { outline: none; }
.form-status.success, .form-status.fail { display: block; animation: fadeUp .4s var(--ease); }
.form-status.success { background: var(--green-50); border: 1px solid rgba(18, 160, 106, .3); color: #0B6E48; }
.form-status.fail { background: var(--red-50); border: 1px solid rgba(180, 35, 24, .3); color: var(--error); }
.form-status strong { display: block; margin-bottom: 2px; }
@media (min-width: 640px) { .contact-form { padding: 38px; } .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--canvas); border-top: 1px solid var(--line); color: var(--slate); padding-top: 64px; font-size: .94rem; overflow: hidden; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; max-width: 28ch; }
.footer-col h4 { color: var(--ink); font-size: .94rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; word-break: break-word; }
.footer-col a:hover { color: var(--blue); }
.footer-col .socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px) rotate(-4deg); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.bento .tile:nth-child(2) { transition-delay: .06s; }
.bento .tile:nth-child(3) { transition-delay: .12s; }
.bento .tile:nth-child(4) { transition-delay: .06s; }
.bento .tile:nth-child(5) { transition-delay: .12s; }
.bento .tile:nth-child(6) { transition-delay: .06s; }
.bento .tile:nth-child(7) { transition-delay: .18s; }
.packages > :nth-child(2) { transition-delay: .08s; }
.packages > :nth-child(3) { transition-delay: .16s; }
.values-row .value:nth-child(2) { transition-delay: .06s; }
.values-row .value:nth-child(3) { transition-delay: .12s; }
.values-row .value:nth-child(4) { transition-delay: .18s; }
.reveal.settled, .reveal.settled .compare-row { transition-delay: 0s !important; }
.js .package.reveal.visible:hover { transform: translateY(-6px); }
@media (min-width: 900px) {
  .js .package-featured.reveal.visible { transform: translateY(-14px); }
  .js .package-featured.reveal.visible:hover { transform: translateY(-20px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .hero-copy > *, .js .convo, .js .queue, .js .hub { opacity: 1 !important; transform: none !important; }
  .js .hero-title .line > span { transform: none; }
  .post-comment, .reply-text, .heart { opacity: 1 !important; transform: none !important; }
  .post-reply .typing { display: none; }
}
.mail-tag.flip { animation: pillFlip .45s var(--ease); }
@media (min-width: 1000px) { .tile-chat .widget .convo-body { height: 290px; } .tile-chat .tile-demo > * { max-width: 420px; } }

/* ---------- Supporteezy wordmark ---------- */
.brand .sz-wordmark { display: block; height: 22px; width: auto; color: #111111; overflow: visible; }
.sz-dark .sz-wordmark, .sz-wordmark.sz-dark { color: #FFFFFF; }
.brand { letter-spacing: 0; }
.brand img { border-radius: 9px; }

/* Longer brand name: keep chat headers on one line, tidy small screens */
.convo-name { white-space: nowrap; }
.convo-who { min-width: 0; }
.convo-head { gap: 10px; }
.flow-node { min-width: 0; }
@media (max-width: 899px) { .cg-circle.c2 { display: none; } }
@media (max-width: 480px) { .fn-icon { width: 46px; height: 46px; border-radius: 13px; } .flow-node { font-size: .74rem; } }

/* =========================================================
   v8 additions: multi-page components
   ========================================================= */

/* ---------- Header: brand + desktop menu ---------- */
.brand .brand-word { display: block; height: 22px; width: auto; }
.nav { gap: 24px; }
.menu { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .menu { display: flex; align-items: center; gap: 2px; margin-right: auto; margin-left: 24px; }
  .menu > li { position: relative; }
  .menu-link {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
    font: 500 .94rem/1 var(--font); color: var(--ink-2); text-decoration: none;
    background: none; border: 0; cursor: pointer; transition: color .2s, background-color .2s;
  }
  .menu-link:hover, .menu > li.open > .menu-link, .menu-link[aria-current="page"], .menu-link.is-current { color: var(--blue); background: var(--blue-50); }
  .menu > li.open > .menu-link .chev { transform: rotate(180deg); }

  .dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%; z-index: 120;
    background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(11, 26, 51, .35), 0 2px 6px rgba(11, 26, 51, .06);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .3s var(--ease), visibility 0s .3s;
  }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .menu > li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s ease, transform .3s var(--ease); }
  .dd-simple { width: 340px; padding: 10px; }
  .dd-wide { width: 620px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .mega { width: 900px; display: grid; grid-template-columns: 250px 1fr; overflow: hidden; left: 0; transform: translate(-30%, 8px); }
  .menu > li.open > .mega { transform: translate(-30%, 0); }
  .mega-panel h4 { display: none; }
}

.dd-link { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.dd-link:hover, .dd-link:focus-visible { background: var(--canvas); }
.dd-link .dd-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); border: 1px solid var(--blue-100); transition: background-color .2s, transform .3s var(--ease); }
.dd-link:hover .dd-icon { background: var(--blue); transform: rotate(-6deg); }
.dd-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dd-link:hover .dd-icon svg { stroke: var(--white); }
.dd-text strong { display: block; font-size: .92rem; font-weight: 700; line-height: 1.3; }
.dd-text span { display: block; margin-top: 2px; font-size: .8rem; color: var(--slate); line-height: 1.4; }

/* Mega menu: categories on the left, items on the right (flyout) */
.mega-cats { padding: 14px; background: var(--canvas); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.mega-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 13px 14px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left;
  font: 600 .93rem/1.3 var(--font); color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s;
}
.mega-cat .chev { transform: rotate(-90deg); opacity: .5; }
.mega-cat:hover, .mega-cat.active { background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }
.mega-cat.active .chev { opacity: 1; }
.mega-panels { padding: 16px; }
.mega-panel { display: none; }
.mega-panel.active { display: block; animation: fadeUp .35s var(--ease); }
.mega-panel .panel-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mega-panel .panel-intro p { font-size: .84rem; color: var(--slate); }
.mega-panel .panel-intro a { font-size: .84rem; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.mega-panel .panel-intro a:hover { text-decoration: underline; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

/* ---------- Mobile navigation (off-canvas) ---------- */
@media (max-width: 1099px) {
  .nav-actions .btn { display: none; }
  .menu.open {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 110; overflow-y: auto;
    padding: 12px 20px 40px; background: var(--white); border-top: 1px solid var(--line);
    animation: fadeUp .3s var(--ease);
  }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu-link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 2px; font: 600 1.02rem/1.2 var(--font); color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer; }
  .menu > li.open > .menu-link .chev { transform: rotate(180deg); }
  .dropdown { display: none; padding: 0 0 14px; }
  .menu > li.open > .dropdown { display: block; }
  .mega-cats { display: none; }
  .mega-panels { padding: 0; }
  .mega-panel { display: block; margin-bottom: 10px; }
  .mega-panel h4 { display: block; padding: 10px 12px 4px; font-size: .8rem; font-weight: 700; color: var(--blue); }
  .mega-panel .panel-intro { display: none; }
  .mega-grid, .dd-wide { display: grid; grid-template-columns: 1fr; }
  .dd-link { padding: 10px 12px; }
  .dd-text span { display: none; }
  .menu-cta { display: block; padding: 20px 0 0; border: 0 !important; }
  .menu-cta .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 1100px) { .menu-cta { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 40px 0 80px; overflow: hidden; isolation: isolate; }
.page-hero .grid-bg { mask-image: radial-gradient(ellipse 80% 80% at 75% 40%, #000 15%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 75% 40%, #000 15%, transparent 72%); }
.page-hero .hero-wash { width: 760px; height: 760px; right: -260px; top: -300px; }
.page-hero-grid { display: grid; gap: 48px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 22px; font-size: .84rem; color: var(--slate); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--slate-2); border-top: 1.5px solid var(--slate-2); transform: rotate(45deg); margin-right: 2px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-title { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.page-lead { margin-top: 20px; max-width: 34em; font-size: 1.12rem; color: var(--slate); }
.page-hero .hero-actions { margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.js .page-hero-copy > * { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.js .page-hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .page-hero-copy > :nth-child(3) { animation-delay: .14s; }
.js .page-hero-copy > :nth-child(4) { animation-delay: .22s; }
.js .page-hero-copy > :nth-child(5) { animation-delay: .3s; }
.js .page-hero-copy > :nth-child(6) { animation-delay: .38s; }

/* Hero demo stage: geometric rings behind a live widget */
.demo-stage { position: relative; display: grid; place-items: center; min-height: 380px; padding: 30px 10px; }
.demo-stage .stage-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.stage-rings span { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.stage-rings span:nth-child(1) { width: min(440px, 96%); aspect-ratio: 1; background: rgba(255,255,255,.55); }
.stage-rings span:nth-child(2) { width: min(320px, 72%); aspect-ratio: 1; border-style: dashed; border-color: var(--blue-200); animation: spin 40s linear infinite; }
.stage-rings span:nth-child(3) { width: 12px; height: 12px; background: var(--blue); border: 0; top: 14%; right: 22%; animation: geoBob 5s ease-in-out infinite; }
.stage-rings span:nth-child(4) { width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--blue-200); left: 10%; bottom: 14%; animation: spin 22s linear infinite; }
.demo-stage > .demo-card { position: relative; width: 100%; max-width: 400px; z-index: 1; }
.js .demo-stage > .demo-card { opacity: 0; animation: fadeUp .9s var(--ease) .3s forwards; }
.demo-photo { position: absolute; width: 150px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 6px solid var(--white); box-shadow: var(--shadow-lg); right: 2%; top: 2%; z-index: 2; }
@media (max-width: 640px) { .demo-photo { width: 96px; right: 0; top: -4px; } }
@media (min-width: 1000px) {
  .page-hero { padding: 56px 0 104px; }
  .page-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .page-hero.no-demo .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero.no-demo .page-hero-copy { max-width: 820px; }
}

/* ---------- Generic content blocks ---------- */
.split { display: grid; gap: 40px; align-items: start; }
.split .prose-lg p { font-size: 1.1rem; color: var(--slate); }
.split .prose-lg p + p { margin-top: 16px; }
.fit-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.fit-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.tick-list { display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 10px; font-size: .97rem; }
.tick-list li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--blue-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='%236C3CF0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; gap: 64px; } }

.feature-grid { display: grid; gap: 16px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.feature:hover { border-color: var(--blue-200); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .value-icon { margin-bottom: 16px; }
.feature h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: .94rem; color: var(--slate); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } .feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.steps-row { display: grid; gap: 16px; counter-reset: st; }
.step-card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); counter-increment: st; overflow: hidden; }
.step-card::before { content: counter(st, decimal-leading-zero); display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 11px; background: var(--blue); color: var(--white); font-weight: 800; font-size: .88rem; }
.step-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border: 1.5px solid var(--blue-100); border-radius: 22px; transform: rotate(20deg); transition: transform .8s var(--ease); }
.step-card:hover::after { transform: rotate(65deg); }
.step-card h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: .94rem; color: var(--slate); }
@media (min-width: 720px) { .steps-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps-row { grid-template-columns: repeat(4, 1fr); } }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.chip-cloud li::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--blue); border-radius: 2px; transform: rotate(45deg); }
.chip-cloud li:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.two-col { display: grid; gap: 48px; }
.two-col h3.block-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.two-col p.block-sub { color: var(--slate); margin-bottom: 20px; font-size: .97rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%236C3CF0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--slate); }

/* Link cards (related solutions, industries, categories) */
.card-grid { display: grid; gap: 16px; }
.link-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.link-card:hover { border-color: var(--blue-200); transform: translateY(-4px); box-shadow: var(--shadow); }
.link-card h3 { font-size: 1.08rem; font-weight: 700; }
.link-card p { font-size: .94rem; color: var(--slate); flex: 1; }
.link-card .more { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--blue); }
.link-card .more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.link-card:hover .more::after { transform: translateX(4px) rotate(45deg); }
.link-card .value-icon { margin-bottom: 6px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Solution category blocks (solutions overview) */
.cat-block { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); }
.cat-block:first-of-type { border-top: 0; padding-top: 0; }
.cat-head .cat-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 800; }
.cat-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem) !important; }
.cat-head p { margin-top: 10px; color: var(--slate); max-width: 30em; }
@media (min-width: 1000px) { .cat-block { grid-template-columns: 340px 1fr; gap: 48px; } .cat-block .card-grid { grid-template-columns: 1fr 1fr; } }

/* "I'm looking to..." selector (home) */
.selector { display: grid; gap: 20px; }
.selector-tabs { display: grid; gap: 10px; }
.selector-tab { display: flex; gap: 14px; align-items: center; width: 100%; padding: 18px 20px; text-align: left; font: 600 1rem/1.4 var(--font); color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .3s, box-shadow .3s, color .3s, background-color .3s; }
.selector-tab .st-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.selector-tab:hover { border-color: var(--blue-200); }
.selector-tab[aria-selected="true"] { border-color: var(--blue); color: var(--ink); box-shadow: var(--shadow); }
.selector-tab[aria-selected="true"] .st-dot { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--white); }
.selector-panel { position: relative; padding: 32px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--blue-50), var(--white) 60%); border: 1px solid var(--blue-100); overflow: hidden; }
.selector-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 1.5px solid var(--blue-100); border-radius: 40px; transform: rotate(25deg); }
.selector-panel h3 { font-size: 1.4rem; font-weight: 800; }
.selector-panel > p { margin-top: 10px; color: var(--slate); max-width: 34em; }
.selector-panel .sel-links { display: grid; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.selector-panel .sel-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.selector-panel .sel-links a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--blue); border-top: 2px solid var(--blue); transform: rotate(45deg); }
.selector-panel .sel-links a:hover { border-color: var(--blue); transform: translateX(4px); }
.selector-panel[hidden] { display: none; }
.selector-panel.animate > * { animation: fadeUp .45s var(--ease) both; }
@media (min-width: 1000px) { .selector { grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; } }

/* Industry tiles (home + industries page) */
.industry-grid { display: grid; gap: 14px; }
.industry-tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 190px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.industry-tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; border: 1.5px solid var(--blue-100); transition: transform .8s var(--ease); }
.industry-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.industry-tile:hover::after { transform: scale(1.4); }
.industry-tile h3 { font-size: 1.08rem; font-weight: 700; margin-top: auto; }
.industry-tile p { font-size: .9rem; color: var(--slate); }
@media (min-width: 640px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }

/* Insight / article cards */
.post-grid { display: grid; gap: 18px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.post-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); overflow: hidden; }
.post-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--blue-100) 1px, transparent 1px), linear-gradient(90deg, var(--blue-100) 1px, transparent 1px); background-size: 28px 28px; opacity: .7; }
.post-cover .pc-shape { position: absolute; border-radius: 18px; border: 2px solid var(--blue-200); }
.post-cover .pc-a { width: 120px; height: 120px; right: 12%; top: 18%; transform: rotate(18deg); transition: transform .8s var(--ease); }
.post-cover .pc-b { width: 56px; height: 56px; left: 14%; bottom: 16%; background: var(--blue); border: 0; transform: rotate(45deg); transition: transform .8s var(--ease); }
.post-cover .pc-c { width: 18px; height: 18px; left: 40%; top: 26%; border-radius: 50%; background: var(--white); border: 0; box-shadow: var(--shadow-sm); }
.post-card:hover .pc-a { transform: rotate(60deg); }
.post-card:hover .pc-b { transform: rotate(135deg); }
.post-cover .pc-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.post-cover .pc-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--slate); }
.post-meta .tag { padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 700; }
.post-body h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.post-body p { font-size: .93rem; color: var(--slate); }
@media (min-width: 720px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 600 .9rem/1 var(--font); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--blue-200); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.post-card.is-hidden { display: none; }

/* Article page */
.article-hero { padding-bottom: 40px; }
.article-wrap { display: grid; gap: 48px; }
.prose { max-width: 720px; font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.prose h3 { margin-top: 28px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border: 2px solid var(--blue); border-radius: 2px; transform: rotate(45deg); }
.prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 0 var(--r-md) var(--r-md) 0; font-weight: 600; color: var(--ink); }
.article-aside { display: grid; gap: 16px; align-content: start; }
.aside-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--canvas); }
.aside-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.aside-card p { font-size: .92rem; color: var(--slate); margin-bottom: 16px; }
.aside-card ul { display: grid; gap: 8px; }
.aside-card ul a { font-size: .92rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.aside-card ul a:hover { text-decoration: underline; }
@media (min-width: 1000px) { .article-wrap { grid-template-columns: 1fr 300px; gap: 64px; } .article-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Careers */
.job-list { display: grid; gap: 12px; }
.job { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.job:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.job h3 { font-size: 1.08rem; font-weight: 700; }
.job p { font-size: .93rem; color: var(--slate); margin-top: 4px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-tags span { padding: 3px 10px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--ink-2); }
.job-tags span:first-child { background: var(--green-50); border-color: transparent; color: var(--green); }
.job .btn { justify-self: start; }
@media (min-width: 800px) { .job { grid-template-columns: 1fr auto; align-items: center; } }

/* Notice band (e.g. "virtual by design") */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-lg); background: var(--blue-50); border: 1px solid var(--blue-100); }
.notice p { color: var(--ink-2); font-size: .97rem; }
.notice strong { color: var(--ink); }

/* Photo band with floating cards */
.photo-band { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band .float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow); font-size: .84rem; font-weight: 600; animation: geoBob 5s ease-in-out infinite; }
.photo-band .fc-1 { left: 5%; top: 8%; }
.photo-band .fc-2 { right: 5%; bottom: 8%; animation-delay: 1.4s; }

/* Contact info list */
.info-list { display: grid; gap: 14px; margin-top: 28px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .value-icon { width: 42px; height: 42px; margin: 0; flex: none; }
.info-list strong { display: block; font-size: .95rem; }
.info-list span, .info-list a { font-size: .93rem; color: var(--slate); }
.info-list a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(135deg, var(--blue), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer (multi-column) ---------- */
.footer-grid.wide { grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid.wide { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid.wide { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer-brand .brand-word { height: 22px; }
.footer-note { margin-top: 14px; font-size: .86rem; }
.footer-bottom .fb-links { display: flex; gap: 20px; }

/* =========================================================
   Widgets (reusable live demos)
   ========================================================= */
.w-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); font-size: .84rem; }
.w-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.w-head small { font-weight: 500; color: var(--slate); font-size: .74rem; }
.w-pill { padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.pill-new { background: var(--blue-100); color: var(--blue); }
.pill-wait { background: var(--amber-50); color: var(--amber); }
.pill-ok { background: var(--green-50); color: var(--green); }
.pill-mute { background: #EEF1F6; color: var(--slate); }

/* Generic sequence progress (driven by --p from JS) */
[data-seq] .seq-bar { display: block; height: 6px; border-radius: 6px; background: var(--blue-100); overflow: hidden; margin: 10px 0 14px; }
[data-seq] .seq-bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--blue), var(--blue-400)); border-radius: 6px; transition: width .6s var(--ease); }
.checklist .check-bar span, .refund .refund-bar span { width: calc(var(--p, 0) * 100%); }
[data-seq] .checklist-items li, .checklist li[data-step] { transition: color .3s; }
.checklist li.done::before, .checklist li[data-step].done::before { background-color: var(--blue); border-color: var(--blue); background-image: 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='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: tick .4s var(--ease); }
.checklist li.current { color: var(--blue); }

/* Inbound call */
.call-top { display: flex; align-items: center; gap: 14px; }
.call-avatar { position: relative; width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); }
.call-avatar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.call-avatar::before, .call-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: coreRing 2s ease-out infinite; }
.call-avatar::after { animation-delay: 1s; }
[data-seq].complete .call-avatar { background: var(--green); }
[data-seq].complete .call-avatar::before, [data-seq].complete .call-avatar::after { border-color: var(--green); }
.call-top strong { display: block; font-size: .95rem; }
.call-top span { color: var(--slate); font-size: .78rem; }
.route { display: grid; gap: 8px; margin-top: 16px; }
.route li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--canvas); border: 1px solid var(--line); color: var(--slate-2); transition: all .35s var(--ease); }
.route li b { font-weight: 600; color: inherit; }
.route li.current { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue); }
.route li.done { color: var(--ink); background: var(--white); }
.route li .w-pill { opacity: 0; transition: opacity .3s; }
.route li.done .w-pill { opacity: 1; }
.call-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--slate); font-size: .78rem; }
.call-state::before { content: "Ringing"; font-weight: 700; color: var(--amber); }
[data-seq].complete .call-state::before { content: "Connected to agent"; color: var(--green); }

/* Outbound dialer */
.dialer li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.dialer li:last-child { border-bottom: 0; }
.dialer .d-av { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--canvas); font-weight: 700; font-size: .74rem; color: var(--slate); transition: background-color .3s, color .3s; }
.dialer .d-name { font-weight: 600; }
.dialer .d-name small { display: block; font-weight: 500; color: var(--slate); font-size: .72rem; }
.dialer .d-st::before { content: "Queued"; }
.dialer .d-st { background: #EEF1F6; color: var(--slate); }
.dialer li.current .d-st::before { content: "Calling"; }
.dialer li.current .d-st { background: var(--amber-50); color: var(--amber); animation: blink 1.2s infinite; }
.dialer li.current .d-av { background: var(--blue); color: var(--white); }
.dialer li.done .d-st::before { content: "Completed"; }
.dialer li.done .d-st { background: var(--green-50); color: var(--green); }
.dialer li.done .d-av { background: var(--green-50); color: var(--green); }

/* Omnichannel timeline */
.omni { position: relative; display: grid; gap: 10px; }
.omni::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background-image: linear-gradient(var(--blue-200) 50%, transparent 50%); background-size: 2px 8px; }
.omni li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; opacity: .25; transform: translateX(6px); transition: opacity .4s, transform .5s var(--ease); }
.omni li.done, .omni li.current { opacity: 1; transform: none; }
.omni .o-icon { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.omni li.current .o-icon { border-color: var(--blue); background: var(--blue-50); }
.omni .o-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.omni .o-msg { padding: 9px 12px; border-radius: 12px; background: var(--canvas); border: 1px solid var(--line); }
.omni .o-msg small { display: block; color: var(--slate); font-size: .72rem; margin-bottom: 2px; }
.omni-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--green-50); color: var(--green); font-weight: 700; font-size: .78rem; opacity: 0; transition: opacity .4s; }
[data-seq].complete .omni-foot { opacity: 1; }

/* Course / learning */
.course-score { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--canvas); font-weight: 700; }
.course-score .w-pill::before { content: "In progress"; }
[data-seq].complete .course-score .w-pill::before { content: "Certified"; }
[data-seq].complete .course-score .w-pill { background: var(--green-50); color: var(--green); }

/* QA scorecard */
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-bottom: 12px; }
.score-row span { font-weight: 600; }
.score-row b { font-variant-numeric: tabular-nums; color: var(--slate); font-weight: 700; transition: color .3s; }
.score-row i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 6px; background: var(--blue-100); overflow: hidden; }
.score-row i::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-400)); border-radius: 6px; transition: width .8s var(--ease); }
.score-row.done i::after { width: var(--w); }
.score-row.done b { color: var(--blue); }
.score-total { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; }
.score-total .w-pill::before { content: "Reviewing"; }
[data-seq].complete .score-total .w-pill::before { content: "Coaching notes sent"; }
[data-seq].complete .score-total .w-pill { background: var(--green-50); color: var(--green); }

/* Team roster */
.roster li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.roster li:last-child { border-bottom: 0; }
.roster .r-av { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue); font-weight: 800; font-size: .78rem; }
.roster .r-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--white); background: var(--green); }
.roster li.current .r-av::after { background: var(--amber); }
.roster .r-name { font-weight: 600; }
.roster .r-name small { display: block; font-weight: 500; color: var(--slate); font-size: .72rem; }
.roster .r-st::before { content: "Available"; }
.roster .r-st { background: var(--green-50); color: var(--green); }
.roster li.current .r-st::before { content: "With customer"; }
.roster li.current .r-st { background: var(--blue-100); color: var(--blue); }

/* Surge chart */
.surge-chart { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; align-items: end; height: 150px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.surge-chart span { display: block; border-radius: 6px 6px 2px 2px; background: var(--blue-100); height: calc(var(--h) * 1%); transform-origin: bottom; animation: barGrow 6s var(--ease) infinite; animation-delay: calc(var(--i) * .12s); }
.surge-chart span.peak { background: linear-gradient(180deg, var(--blue-400), var(--blue)); }
@keyframes barGrow { 0% { transform: scaleY(.15); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.surge-cap { position: absolute; left: 0; right: 0; top: 38%; border-top: 2px dashed var(--green); }
.surge-cap::after { content: "Added capacity"; position: absolute; right: 4px; top: -22px; padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: .68rem; font-weight: 700; }
.surge-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: var(--slate); }

/* 24/7 clock */
.clock-wrap { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; }
.clock { position: relative; width: 140px; height: 140px; border-radius: 50%; background: conic-gradient(var(--blue) 0 33.3%, var(--blue-400) 0 66.6%, var(--blue-200) 0 100%); padding: 12px; }
.clock::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--white); }
.clock-hand { position: absolute; left: 50%; top: 50%; width: 2px; height: 50px; margin-left: -1px; background: var(--ink); border-radius: 2px; transform-origin: 50% 0; transform: rotate(180deg); animation: spin 12s linear infinite; }
.clock-hand.h2 { animation: none; }
.clock-center { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.clock-label { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: .82rem; color: var(--ink); padding-top: 44px; }
.shift-list { display: grid; gap: 8px; }
.shift-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.shift-list li i { width: 12px; height: 12px; border-radius: 4px; }
.shift-list li small { display: block; font-weight: 500; color: var(--slate); font-size: .72rem; }

/* Widgets pause off screen */
.js [data-anim]:not(.in-view) .surge-chart span, .js [data-anim]:not(.in-view) .clock-hand { animation-play-state: paused; }

/* Tablet: keep the menu toggle visible until the desktop menu appears */
@media (min-width: 900px) and (max-width: 1099px) { .nav-toggle { display: inline-flex; } }

/* Package comparison table (4 columns) */
.pk-row > span::before { display: none !important; }
.compare-row.pk-row { grid-template-columns: 1fr 1fr 1fr; }
.compare-row.pk-row > :first-child { grid-column: 1 / -1; }
.compare-row.pk-row > span:not(:first-child) { color: var(--ink-2); font-weight: 600; justify-content: flex-start; }
@media (min-width: 720px) {
  .compare-row.pk-row { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .compare-row.pk-row > :first-child { grid-column: auto; }
}
.compare-head.pk-row > span:nth-child(3) { color: var(--blue); }

/* Mobile menu: a blurred header traps fixed children, so drop the blur while the menu is open */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
@media (max-width: 1099px) {
  .menu.open { height: calc(100dvh - var(--header-h)); }
}

/* Category card sub-links */
.link-card .tick-list a { color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; transition: color .2s; }
.link-card .tick-list a:hover { color: var(--blue); }
/* Social demo: the reply box itself fades in with the typing indicator */
.post-reply { animation: socialBox 7s infinite; }
@keyframes socialBox { 0%, 14% { opacity: 0; transform: translateY(6px); } 18%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pp-main { object-position: 60% 40%; }

/* =========================================================
   v9: Founder section + featured industry tile
   ========================================================= */
.industry-tile.featured { background: linear-gradient(135deg, var(--blue-50), var(--white) 75%); border-color: var(--blue-100); }
.industry-tile.featured h3 { font-size: 1.25rem; }
@media (min-width: 640px) { .industry-tile.featured { grid-column: span 2; } }
@media (min-width: 1000px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }

.ceo-grid { display: grid; gap: 64px; align-items: center; }
.ceo-visual { position: relative; width: 100%; max-width: 380px; margin-inline: auto; }
.ceo-frame { position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--blue-200); border-radius: 32px; }
.ceo-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, #8458F7 0%, var(--blue) 48%, var(--blue-600) 100%);
  box-shadow: 0 2px 4px rgba(11, 26, 51, .06), 0 36px 70px -26px rgba(92, 40, 220, .6);
}
.ceo-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 20%, transparent 80%);
}
.ceo-glow { position: absolute; left: 50%; top: 34%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.34), transparent 66%); }
.ceo-ring { position: absolute; left: 50%; top: 36%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); }
.ceo-ring::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.34); animation: spin 50s linear infinite; }
.ceo-sq { position: absolute; display: block; }
.ceo-sq.a { width: 84px; height: 84px; right: -24px; top: 16%; border: 1.5px solid rgba(255,255,255,.42); border-radius: 20px; animation: spin 28s linear infinite; }
.ceo-sq.b { width: 26px; height: 26px; left: 10%; top: 24%; background: var(--white); border-radius: 6px; opacity: .92; transform: rotate(45deg); animation: geoBob 6s ease-in-out infinite; }
.ceo-dots { position: absolute; left: 7%; top: 52%; width: 84px; height: 66px; background-image: radial-gradient(rgba(255,255,255,.5) 1.6px, transparent 1.6px); background-size: 14px 14px; }
.ceo-card picture { position: absolute; inset: 0; display: block; }
.ceo-card picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: drop-shadow(0 18px 22px rgba(36, 8, 110, .38)); }
.ceo-nameplate {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px 14px 18px; border-radius: 18px; background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -12px rgba(11, 26, 51, .45);
}
.ceo-nameplate strong { display: block; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.ceo-nameplate span { display: block; margin-top: 2px; font-size: .84rem; font-weight: 700; color: var(--blue); }
.ceo-nameplate img { flex: none; border-radius: 10px; }
.ceo-chip {
  position: absolute; left: -10px; top: 9%; display: inline-flex; align-items: center; gap: 8px; max-width: 80%;
  padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; color: var(--ink-2); animation: geoBob 5.5s ease-in-out infinite;
}
.ceo-chip .chip-ic { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); }
.ceo-chip svg { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.js .ceo-visual.reveal .ceo-card picture img { transform: translateY(26px) scale(.98); opacity: 0; transition: transform 1.1s var(--ease) .25s, opacity .9s ease .25s; }
.js .ceo-visual.reveal.visible .ceo-card picture img { transform: none; opacity: 1; }

.ceo-copy > h2 { margin-bottom: 4px; }
.pull-quote { position: relative; margin: 30px 0 26px; padding: 4px 0 4px 28px; border-left: 4px solid var(--blue); }
.pull-quote::before { content: "\201C"; position: absolute; left: 24px; top: -38px; font-size: 5rem; line-height: 1; font-weight: 800; color: var(--blue-200); pointer-events: none; }
.pull-quote p { position: relative; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.38; letter-spacing: -0.02em; color: var(--ink); }
.ceo-bio { max-width: 34em; font-size: 1.08rem; color: var(--slate); }
.ceo-sign { display: grid; gap: 2px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 34em; }
.ceo-sign strong { font-size: 1.05rem; }
.ceo-sign span { font-size: .9rem; color: var(--slate); }

@media (max-width: 480px) { .ceo-chip { left: 6px; top: 6%; font-size: .74rem; } .ceo-sq.a { right: -10px; width: 64px; height: 64px; } .ceo-frame { inset: 14px -10px -14px 14px; } }
@media (min-width: 900px) { .ceo-grid { grid-template-columns: 400px 1fr; gap: 96px; } .ceo-visual { max-width: 400px; margin-inline: 0; } }

/* Safety: nothing inside the page body may create sideways scrolling (iOS Safari can wobble otherwise) */
main { overflow-x: clip; }
@media (max-width: 899px) { .js .people-photos.reveal:not(.visible) .pp-side { transform: translate(0, 24px); } }

/* Founder seal (replaces the text chip) and cleaner pull quote */
.ceo-seal {
  position: absolute; left: -24px; top: 47%; z-index: 2; width: 94px; height: 94px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--white);
  box-shadow: 0 14px 34px -12px rgba(36, 8, 110, .5); animation: geoBob 5.5s ease-in-out infinite;
}
.ceo-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed var(--blue-200); animation: spin 26s linear infinite; }
.ceo-seal b { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--blue); }
.ceo-seal i { margin-top: 3px; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.pull-quote::before { content: none; }
.pull-quote { margin: 26px 0 26px; }
@media (max-width: 480px) { .ceo-seal { left: -10px; width: 80px; height: 80px; } .ceo-seal b { font-size: 1.45rem; } }

.industry-tile.featured .value-icon { background: var(--white); border: 1px solid var(--blue-100); box-shadow: var(--shadow-sm); }
.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.tile-chips li { padding: 4px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--blue-100); font-size: .76rem; font-weight: 600; color: var(--blue); }
