/* ==========================================================================
   TicAte — marketing site
   Palette sampled from the logo: navy #001735, blue #197CFA → #0230D8

   No inline style attributes are used anywhere on this site; every visual
   decision lives here. That is what lets the Content-Security-Policy ban
   inline styles outright. If you need a one-off, add a utility class at
   the bottom of this file rather than a style="" attribute.
   ========================================================================== */

:root {
  --navy-900: #001735;
  --navy-800: #04203f;
  --navy-700: #0b2c52;

  --blue-500: #197cfa;
  --blue-600: #0d5fe0;
  --blue-700: #0230d8;
  --blue-050: #eaf2ff;
  --blue-100: #d3e4ff;
  --blue-soft: #6ba6ff;

  --ink:       #0d1b2e;
  --body:      #4a5c74;
  --muted:     #6b7c94;
  --line:      #e3e9f2;
  --line-soft: #eef2f8;
  --surface:   #ffffff;
  --canvas:    #f7f9fd;

  --on-dark:      #b7cae2;
  --on-dark-dim:  #8fa8c6;

  --green-600: #12a150;
  --green-050: #e8f8ef;
  --green-100: #c6ecd6;
  --red-600:   #d64545;

  --grad-blue: linear-gradient(135deg, #197cfa 0%, #0230d8 100%);
  --grad-navy: linear-gradient(160deg, #04203f 0%, #001735 55%, #001028 100%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 23, 53, .06), 0 2px 8px rgba(0, 23, 53, .04);
  --shadow:    0 2px 6px rgba(0, 23, 53, .05), 0 12px 32px rgba(0, 23, 53, .08);
  --shadow-lg: 0 24px 64px rgba(0, 23, 53, .16);
  --shadow-blue: 0 6px 18px rgba(2, 48, 216, .28);

  --wrap: 1160px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(25, 124, 250, .55);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ------------------------------------------------------ scroll progress -- */

.scroll-progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 150; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0; background: var(--grad-blue);
  box-shadow: 0 0 12px rgba(25, 124, 250, .6);
  transform-origin: left; transition: width .1s linear;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, transform .35s var(--ease-out);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(0, 23, 53, .05); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { width: 138px; height: auto; transition: transform .3s var(--ease-spring); }
.brand:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link {
  position: relative; color: var(--ink); font-weight: 600; font-size: .96rem;
  padding: 6px 0; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--grad-blue); border-radius: 2px; transition: right .28s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link.is-active { color: var(--blue-700); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.bars { display: grid; gap: 4px; }
.bars i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------- breadcrumbs -- */

.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #c3d1e2; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------- buttons -- */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease-spring), box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn .icon { transition: transform .25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2, 48, 216, .38); }
.btn-primary:active { transform: translateY(0); }

/* Light sweep across the button on hover. */
.btn-shine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn-shine:hover::before { animation: shine .85s var(--ease-out); }
@keyframes shine { to { transform: translateX(120%); } }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--blue-100); background: var(--blue-050); transform: translateY(-2px); }

.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow); }

/* --------------------------------------------------------------- pieces -- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-050); border: 1px solid var(--blue-100);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow-light { color: #bcd6ff; background: rgba(25, 124, 250, .14); border-color: rgba(25, 124, 250, .3); }
.eyebrow .icon { animation: pulse-soft 2.8s ease-in-out infinite; }
@keyframes pulse-soft { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.9); } }

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-canvas { background: var(--canvas); }
.section-navy { background: var(--grad-navy); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

.lede { font-size: 1.18rem; color: var(--muted); }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative; overflow: hidden;
  background: var(--grad-navy); color: var(--on-dark);
  padding: 96px 0 108px;
}
.hero .wrap { position: relative; z-index: 2; }

/* Drifting aurora blobs. Transform-only, so they stay on the compositor. */
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora i {
  position: absolute; display: block; border-radius: 50%; filter: blur(90px);
  will-change: transform;
}
.aurora i:nth-child(1) {
  width: 620px; height: 620px; top: -280px; right: -160px;
  background: rgba(25, 124, 250, .34); animation: drift-a 22s ease-in-out infinite;
}
.aurora i:nth-child(2) {
  width: 480px; height: 480px; bottom: -300px; left: -140px;
  background: rgba(2, 48, 216, .32); animation: drift-b 27s ease-in-out infinite;
}
.aurora i:nth-child(3) {
  width: 380px; height: 380px; top: 30%; left: 42%;
  background: rgba(25, 124, 250, .16); animation: drift-c 19s ease-in-out infinite;
}
@keyframes drift-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-60px, 50px, 0) scale(1.12); } }
@keyframes drift-b { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(70px, -40px, 0) scale(1.08); } }
@keyframes drift-c { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-40px, -60px, 0); } }

/* Faint grid, masked to fade out toward the edges. */
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(120deg, #6ba6ff, #197cfa 60%, #6ba6ff);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: 220% center; } }

.hero-sub { font-size: 1.16rem; color: var(--on-dark); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9rem; color: var(--on-dark-dim); }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes .icon { color: #4d94ff; }

/* Words in the headline rise in one after another. */
.js .word { display: inline-block; opacity: 0; transform: translateY(24px); }
.js .hero.is-ready .word { animation: word-in .7s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes word-in { to { opacity: 1; transform: none; } }

/* Chat mock ---------------------------------------------------------- */

.hero-visual { position: relative; }

.mock {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: float-slow 7s ease-in-out infinite;
}
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.mock-window { background: #fff; border-radius: 16px; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dde5f0; display: block; }
.mock-bar span { margin-left: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 116px 1fr; min-height: 320px; }
.mock-list { border-right: 1px solid var(--line-soft); padding: 10px; background: var(--canvas); }
.mock-row { display: flex; align-items: center; gap: 7px; padding: 8px 6px; border-radius: 8px; transition: background .3s; }
.mock-row.is-on { background: var(--blue-050); }
.mock-av { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-blue); flex: none; opacity: .85; }
.mock-row:nth-child(2) .mock-av { background: #7f9ec4; }
.mock-row:nth-child(3) .mock-av { background: #a9bdd6; }
.mock-lines { display: grid; gap: 4px; flex: 1; }
.mock-lines i { display: block; height: 5px; border-radius: 3px; background: #dde5f0; }
.mock-lines i:first-child { width: 78%; background: #c3d1e2; }
.mock-lines i:last-child { width: 54%; }
.mock-thread { padding: 16px; display: grid; gap: 10px; align-content: start; background: #fbfcfe; }

.bubble { max-width: 78%; padding: 10px 13px; border-radius: 14px; font-size: .82rem; line-height: 1.45; }
.bubble-in { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.bubble-out { background: var(--grad-blue); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; box-shadow: 0 6px 16px rgba(2, 48, 216, .22); }

/* Messages pop in one by one once the mock is on screen. */
.js .mock-thread > * { opacity: 0; transform: translateY(10px) scale(.97); }
.js .mock.is-playing .mock-thread > * {
  animation: msg-in .5s var(--ease-spring) forwards; animation-delay: var(--d, 0s);
}
@keyframes msg-in { to { opacity: 1; transform: none; } }

.bubble-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--blue-700);
  background: var(--blue-050); border: 1px solid var(--blue-100);
  padding: 4px 9px; border-radius: 100px; width: fit-content;
}

.typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 5px; width: fit-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b3c2d6; display: block; animation: typing 1.3s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.mock-float {
  position: absolute; right: -14px; bottom: -22px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 11px; z-index: 3;
  animation: float-slow 6s ease-in-out infinite .8s;
}
.mock-float .icon { color: var(--blue-600); }
.mock-float b { display: block; color: var(--ink); font-size: .86rem; }
.mock-float small { color: var(--muted); font-size: .76rem; }

/* ---------------------------------------------------------------- stats -- */

.stat-strip { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 72px; padding-top: 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: .92rem; color: var(--on-dark-dim); }

/* -------------------------------------------------------------- marquee -- */

.marquee {
  overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line);
  background: var(--surface);
  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; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 9px; padding: 0 26px;
  font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap;
}
.marquee-track .icon { color: var(--blue-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
/* Cursor-following highlight; --mx/--my are set by main.js. */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(25, 124, 250, .1), transparent 65%);
  transition: opacity .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; color: var(--muted); margin: 0; }

.card-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue-600); margin-bottom: 18px;
  transition: transform .35s var(--ease-spring), background .3s ease, color .3s ease;
}
.card:hover .card-icon { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.card-icon-solid { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 20px rgba(2, 48, 216, .24); }

.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .9rem; }
.card-link .icon { transition: transform .25s var(--ease-out); }
.card:hover .card-link .icon { transform: translateX(4px); }

/* Compact index cards on the features page. */
.card-compact { padding: 20px 22px; }
.card-compact h3 { font-size: .98rem; margin: 0; }
.card-icon-sm { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px; }

/* Cards on a navy background. */
.card-dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.card-dark:hover { border-color: rgba(25, 124, 250, .45); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-dim); }
.card-icon-dark { background: rgba(25, 124, 250, .18); color: var(--blue-soft); }

/* ------------------------------------------------------------- features -- */

.feature-nav {
  position: sticky; top: var(--header-h); z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.feature-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 24px; scrollbar-width: none; }
.feature-nav-inner::-webkit-scrollbar { display: none; }
.feature-nav a {
  flex: none; font-size: .84rem; font-weight: 700; color: var(--muted);
  padding: 8px 14px; border-radius: 100px; white-space: nowrap;
  border: 1px solid transparent; transition: all .25s ease;
}
.feature-nav a:hover { color: var(--ink); background: var(--canvas); }
.feature-nav a.is-current { color: var(--blue-700); background: var(--blue-050); border-color: var(--blue-100); }

.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
  padding: 64px 0; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 70px);
}
.feature-block:first-of-type { border-top: 0; padding-top: 0; }
.feature-block.is-flipped .feature-media { order: -1; }
.feature-num { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--blue-600); text-transform: uppercase; margin-bottom: 12px; display: block; }
.feature-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.feature-block > div > p { font-size: 1.05rem; color: var(--muted); }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .98rem; color: var(--body); }
.checklist .icon { width: 20px; height: 20px; margin-top: 2px; color: #fff; background: var(--grad-blue); border-radius: 50%; padding: 3px; box-shadow: 0 3px 8px rgba(2, 48, 216, .25); }
.checklist strong { color: var(--ink); }
.checklist-light li { color: var(--on-dark); }

.feature-media {
  background: linear-gradient(150deg, #f2f7ff 0%, #eaf1fc 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; position: sticky; top: calc(var(--header-h) + 70px);
}
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 10px; }
.panel-head .icon { color: var(--blue-600); width: 20px; height: 20px; }
.panel-head b { color: var(--ink); font-size: .92rem; }
.panel-body { padding: 18px; display: grid; gap: 12px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 100px;
  background: var(--blue-050); color: var(--blue-700); border: 1px solid var(--blue-100);
  transition: transform .25s var(--ease-spring);
}
.pill:hover { transform: translateY(-2px); }
.pill-grey { background: #f2f5fa; color: var(--muted); border-color: var(--line); }

.mini-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe;
  transition: transform .25s var(--ease-out), border-color .25s ease, background .25s ease;
}
.mini-row:hover { transform: translateX(3px); border-color: var(--blue-100); background: #fff; }
.mini-row .icon { width: 18px; height: 18px; color: var(--blue-600); }
.mini-row b { font-size: .88rem; color: var(--ink); display: block; }
.mini-row small { font-size: .78rem; color: var(--muted); }
.mini-row .tail { margin-left: auto; font-size: .74rem; font-weight: 700; color: var(--green-600); background: var(--green-050); padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.mini-row .tail-blue { color: var(--blue-700); background: var(--blue-050); }
.mini-row .tail-grey { color: var(--muted); background: #f2f5fa; }
.mini-row .tail-live { position: relative; padding-left: 18px; }
.mini-row .tail-live::before {
  content: ""; position: absolute; left: 8px; top: 50%; margin-top: -3px;
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(18, 161, 80, .5); } 50% { opacity: .5; box-shadow: 0 0 0 5px rgba(18, 161, 80, 0); } }

.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban-col { background: #f7f9fd; border: 1px solid var(--line); border-radius: 11px; padding: 9px; display: grid; gap: 8px; align-content: start; }
.kanban-col > b { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.kanban-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-spring), box-shadow .25s; cursor: grab; }
.kanban-card:hover { transform: translateY(-3px) rotate(-1.2deg); box-shadow: var(--shadow); }
.kanban-card b { display: block; font-size: .78rem; color: var(--ink); }
.kanban-card span { font-size: .74rem; color: var(--blue-700); font-weight: 700; }

.bar-chart { display: flex; align-items: flex-end; gap: 9px; height: 116px; }
.bar-chart i {
  flex: 1; border-radius: 6px 6px 0 0; background: var(--grad-blue); opacity: .28; display: block;
  height: var(--h, 50%); transform-origin: bottom; transition: transform .3s var(--ease-out), opacity .3s;
}
.bar-chart i.hot { opacity: 1; }
.bar-chart:hover i { opacity: .2; }
.bar-chart i:hover { opacity: 1; transform: scaleY(1.06); }
/* Bars grow from the baseline when the chart scrolls into view. */
.js .bar-chart i { transform: scaleY(0); }
.js .bar-chart.is-in i { animation: bar-grow .8s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes bar-grow { to { transform: scaleY(1); } }

/* ----------------------------------------------------------- coexistence -- */

.split-cards { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.split-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out), box-shadow .3s; }
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.split-card h3 { display: flex; align-items: center; gap: 10px; }
.split-card h3 .icon { color: var(--blue-600); }
.split-card ul { margin: 14px 0 0; padding-left: 18px; font-size: .94rem; color: var(--muted); }
.split-card li { margin-bottom: 7px; }
.split-join {
  position: relative;
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad-blue); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .8rem;
  box-shadow: 0 12px 30px rgba(2, 48, 216, .3); text-align: center; line-height: 1.2;
}
/* Two rings pulsing outward, to read as "linked". */
.split-join::before, .split-join::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(25, 124, 250, .5); animation: ring 3s ease-out infinite;
}
.split-join::after { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 20px; align-items: start; }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(2, 48, 216, .24);
  transition: transform .3s var(--ease-spring);
}
.step:hover .step-num { transform: rotate(-8deg) scale(1.08); }
.step h3 { margin-bottom: 5px; }
.step p { font-size: .97rem; color: var(--muted); margin: 0; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare .col-label { width: 34%; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare thead th { background: var(--canvas); color: var(--ink); font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
.compare tbody tr { transition: background .2s ease; }
.compare tbody tr:hover { background: var(--blue-050); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--ink); font-weight: 600; }
.compare .col-us { background: rgba(25, 124, 250, .05); }
.compare .yes { color: var(--green-600); font-weight: 700; }
.compare .no  { color: #9aa8bb; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------- pricing -- */

.price-card {
  background: var(--grad-navy); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: 52px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.price-card::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(25, 124, 250, .3); filter: blur(90px); top: -220px; right: -140px;
  animation: drift-a 20s ease-in-out infinite;
}
.price-card > * { position: relative; z-index: 1; }
.price-head { font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
.price-note { color: var(--on-dark-dim); font-size: .95rem; }
.price-intro { max-width: 640px; color: var(--on-dark); }
.price-list { list-style: none; margin: 30px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.price-list li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; font-size: .96rem; color: #cbdaeb; }
.price-list .icon { width: 19px; height: 19px; color: #4d94ff; margin-top: 3px; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ------------------------------------------------------------------ faq -- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 54px 19px 22px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
/* Smooth open/close: JS animates the grid row from 0fr to 1fr. */
.faq .faq-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-out); }
.faq details[open] .faq-wrap { grid-template-rows: 1fr; }
.faq .faq-body { overflow: hidden; }
.faq .faq-body > div { padding: 0 22px 20px; color: var(--muted); font-size: .97rem; }

/* ------------------------------------------------------------- integrations */

.logo-card {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.logo-card > span:nth-child(2) { flex: 1; min-width: 180px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 1.05rem; flex: none;
  transition: transform .35s var(--ease-spring);
}
.logo-card:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.mark-bitrix { background: #2fc7f7; }
.mark-hooks  { background: var(--grad-blue); }
.mark-meta   { background: #0230d8; }
.mark-zoho   { background: #e42527; }
.mark-hub    { background: #ff7a59; }
.mark-sf     { background: #00a1e0; }
.logo-card b { display: block; color: var(--ink); font-size: 1rem; }
.logo-card small { color: var(--muted); font-size: .86rem; }
.badge-soon, .badge-live {
  margin-left: auto; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 5px 11px; border-radius: 100px; white-space: nowrap;
}
.badge-soon { color: var(--muted); background: #f2f5fa; border: 1px solid var(--line); }
.badge-live { color: var(--green-600); background: var(--green-050); border: 1px solid var(--green-100); }

/* ------------------------------------------------------------------ form -- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-title { font-size: 1.35rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 124, 250, .13);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-error { color: var(--red-600); font-size: .84rem; margin-top: 6px; }
.field input.has-error, .field textarea.has-error, .field select.has-error { border-color: var(--red-600); }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: .96rem; animation: alert-in .45s var(--ease-spring); }
@keyframes alert-in { from { opacity: 0; transform: translateY(-8px); } }
.alert-ok  { background: var(--green-050); border: 1px solid var(--green-100); color: #0f6b39; }
.alert-bad { background: #fdecec; border: 1px solid #f6cfcf; color: #96292d; }

.contact-aside .mini-row { margin-bottom: 12px; background: #fff; }
.contact-steps { margin: 24px 0 34px; }

/* -------------------------------------------------------- floating bits -- */

.fab-whatsapp {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px 13px 15px; border-radius: 100px;
  background: #25d366; color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .42);
  transition: transform .3s var(--ease-spring), box-shadow .3s, color .2s;
}
.fab-whatsapp:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(37, 211, 102, .5); }
.fab-whatsapp .icon { animation: wiggle 3.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-12deg); } 96% { transform: rotate(12deg); } }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--navy-900); color: #fff; border: 0;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s var(--ease-out), visibility .3s, background .2s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-700); }

/* --------------------------------------------------------------- cta band -- */

.cta-band { background: var(--grad-navy); position: relative; overflow: hidden; padding: 72px 0; }
.cta-band::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: rgba(25, 124, 250, .26); filter: blur(100px); top: -340px; left: 20%;
  animation: drift-b 24s ease-in-out infinite;
}
.cta-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: var(--on-dark); margin: 0; max-width: 520px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------- prose ---- */

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.page-head { padding: 56px 0 0; }
.page-head .wrap { max-width: 820px; }
.page-head h1 { margin-bottom: 16px; }

/* --------------------------------------------------------------- footer -- */

.site-footer { background: #001028; color: #7f96b3; padding: 68px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer-logo { width: 148px; background: #fff; padding: 10px 14px; border-radius: 12px; }
.footer-brand p { margin: 18px 0 0; max-width: 300px; }
.footer-meta { font-style: normal; display: grid; gap: 6px; margin-top: 14px; }
.footer-meta a, .footer-meta span { display: inline-flex; align-items: center; gap: 8px; color: #b7cae2; }
.footer-meta a:hover { color: #fff; }
.footer-col h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; color: #7f96b3; padding: 5px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; color: #64798f;
}
.footer-bottom p { margin: 0; }
.footer-disclaimer { max-width: 560px; text-align: right; }

/* ====================================================== animation system == */

/*
 * One reveal primitive. Add data-anim="up|left|right|scale|fade" to any
 * element; main.js adds .is-in when it enters the viewport, and staggers
 * siblings by setting --d. Everything is transform + opacity only.
 */
.js [data-anim] {
  opacity: 0;
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-anim="up"]    { transform: translateY(26px); }
.js [data-anim="down"]  { transform: translateY(-26px); }
.js [data-anim="left"]  { transform: translateX(-32px); }
.js [data-anim="right"] { transform: translateX(32px); }
.js [data-anim="scale"] { transform: scale(.94); }
.js [data-anim="fade"]  { transform: none; }
.js [data-anim].is-in   { opacity: 1; transform: none; will-change: auto; }

/* ============================================================= utilities == */

.u-center     { text-align: center; }
.u-mt-sm      { margin-top: 14px; }
.u-mt-md      { margin-top: 24px; }
.u-mt-lg      { margin-top: 44px; }
.u-mb-sm      { margin-bottom: 14px; }
.u-actions    { display: flex; gap: 14px; flex-wrap: wrap; }
.u-actions-center { justify-content: center; }
.u-full       { width: 100%; }
.grid-gap-lg  { gap: 44px; }
.grid-gap-xl  { gap: 52px; }
.grid-top     { align-items: start; }
.section-flush-top { padding-top: 24px; }

.t-white      { color: #fff; }
.t-dim        { color: var(--on-dark-dim); }
.t-hi         { color: #dbe8f8; }
.t-sm-muted   { font-size: .95rem; color: var(--muted); margin: 0; }
.t-md         { font-size: .98rem; }
.h-sm         { font-size: 1.35rem; }

/* Bar-chart heights as classes — see the no-inline-styles note at the top. */
.bh-20 { --h: 20%; }
.bh-22 { --h: 22%; }
.bh-24 { --h: 24%; }
.bh-26 { --h: 26%; }
.bh-28 { --h: 28%; }
.bh-30 { --h: 30%; }
.bh-32 { --h: 32%; }
.bh-34 { --h: 34%; }
.bh-36 { --h: 36%; }
.bh-38 { --h: 38%; }
.bh-40 { --h: 40%; }
.bh-42 { --h: 42%; }
.bh-44 { --h: 44%; }
.bh-46 { --h: 46%; }
.bh-48 { --h: 48%; }
.bh-50 { --h: 50%; }
.bh-52 { --h: 52%; }
.bh-54 { --h: 54%; }
.bh-56 { --h: 56%; }
.bh-58 { --h: 58%; }
.bh-60 { --h: 60%; }
.bh-62 { --h: 62%; }
.bh-64 { --h: 64%; }
.bh-66 { --h: 66%; }
.bh-68 { --h: 68%; }
.bh-70 { --h: 70%; }
.bh-72 { --h: 72%; }
.bh-74 { --h: 74%; }
.bh-76 { --h: 76%; }
.bh-78 { --h: 78%; }
.bh-80 { --h: 80%; }
.bh-82 { --h: 82%; }
.bh-84 { --h: 84%; }
.bh-86 { --h: 86%; }
.bh-88 { --h: 88%; }
.bh-90 { --h: 90%; }
.bh-92 { --h: 92%; }
.bh-94 { --h: 94%; }
.bh-96 { --h: 96%; }
.bh-98 { --h: 98%; }
.bh-100 { --h: 100%; }
.u-mt-xs { margin-top: 6px; }

/* ========================================================== reduced motion = */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .word, .js .mock-thread > *, .js .bar-chart i { opacity: 1 !important; transform: none !important; animation: none !important; }
  .aurora i, .mock, .mock-float, .marquee-track, .split-join::before, .split-join::after,
  .eyebrow .icon, .fab-whatsapp .icon, .hero h1 .accent, .price-card::after,
  .cta-band::before, .mini-row .tail-live::before { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================= responsive == */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 34px; }
  .feature-block.is-flipped .feature-media { order: 0; }
  .feature-media { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .price-card { padding: 38px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    box-shadow: var(--shadow); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s var(--ease-out);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav-link::after { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; margin: 18px 0 0; }
  .nav-toggle { display: inline-flex; }
  .split-cards { grid-template-columns: 1fr; }
  .split-join { margin: 0 auto; }
  .why-grid, .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .price-list { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
  .fab-whatsapp span { display: none; }
  .fab-whatsapp { padding: 14px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 76px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mock-float { position: static; margin-top: 14px; animation: none; }
  .price-card, .form-card { padding: 26px; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-band-actions .btn, .u-actions .btn { width: 100%; }
  .to-top { bottom: 84px; }
}

@media print {
  .site-header, .nav, .fab-whatsapp, .to-top, .scroll-progress, .cta-band { display: none !important; }
  body { color: #000; }
}

/* ------------------------------------------------- catalogue + AI panels -- */

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px;
  display: grid; gap: 3px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prod-img {
  display: block; height: 46px; border-radius: 7px;
  background: linear-gradient(135deg, #cfe0f8, #9fc2ee);
}
.prod-img-b { background: linear-gradient(135deg, #f6d5cf, #eaa79b); }
.prod-img-c { background: linear-gradient(135deg, #d3ecd9, #a6d5b4); }
.prod b { font-size: .74rem; color: var(--ink); line-height: 1.25; }
.prod span:last-child { font-size: .74rem; font-weight: 700; color: var(--blue-700); }

/* The AI panel reuses the chat bubbles, minus the thread's own padding. */
.mock-thread-flat { padding: 0; background: none; gap: 8px; }
.mock-thread-flat .bubble { max-width: 88%; }
.js .mock-thread-flat > * { opacity: 1; transform: none; }

/* "New" badge on a feature heading. */
.badge-new {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  margin-left: 10px; padding: 4px 10px; border-radius: 100px;
  font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: var(--grad-blue); box-shadow: 0 4px 12px rgba(2, 48, 216, .3);
}
.card .badge-new { margin-left: 8px; }
