/* =========================================================
   Chatpier — main stylesheet
   No external fonts or frameworks. System font stack for speed.
   ========================================================= */

:root {
  --ink: #141414;
  --ink-2: #262626;
  --muted: #666666;
  --muted-2: #8a8a8a;
  --line: #ebebeb;
  --line-2: #e2e2e2;
  --bg: #ffffff;
  --soft: #f7f7f7;
  --soft-2: #f0f0f0;
  --brand: #ff6a3d;
  --brand-1: #ff7a45;
  --brand-2: #ff4d2d;
  --brand-ink: #c2410c;            /* AA on white for small brand text */
  --brand-tint: #fff1ea;
  --grad: linear-gradient(100deg, #ff7a45 0%, #ff4d2d 100%);
  --green: #12a150;
  --green-tint: #e7f7ee;
  --blue: #2f6bff;
  --blue-tint: #e9f0ff;
  --violet: #635bff;
  --lime: #d4ff3a;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -8px rgba(0,0,0,.10);
  --shadow-lg: 0 30px 60px -20px rgba(20,20,20,.22);
  --container: 1200px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: #ffd9c9; color: var(--ink); }

.sr-only {
  position: absolute !important; 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: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 26px; height: 26px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(44px, 7.4vw, 66px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.h2 {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.h4 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-size: clamp(44px, 7.4vw, 86px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border: 0; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -6px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--soft-2); color: var(--ink); }
.btn-light:hover { background: #e7e7e7; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn .g-logo { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 2px; }
.btn .chev { transition: transform .25s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }

/* ---------- Section badge (Saro-style numbered chip) ---------- */
.badge-row { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.badge-num {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px;
  border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
}
.badge-num .dots { display: grid; grid-template-columns: repeat(2, 5px); gap: 2px; }
.badge-num .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-1); }
.badge-num .dots i:nth-child(2), .badge-num .dots i:nth-child(3) { background: #ffd0bd; }
.badge-label {
  display: inline-flex; align-items: center; height: 30px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: #fff;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.pill .pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
}
.pill .pill-tag::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 3px rgba(255,122,69,.3); }

.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.h2 + .lead { margin-top: 18px; }
.section-head .lead { margin-top: 18px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .lead { margin-left: 0; }

/* ---------- Navigation (floating pill) ---------- */
.nav-wrap {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 920px; height: 60px; padding: 0 8px 0 10px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(0,0,0,.06); border-radius: 999px;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.18);
  transition: max-width .45s var(--ease), box-shadow .3s;
}
.nav.is-compact { max-width: 880px; box-shadow: 0 14px 40px -14px rgba(0,0,0,.28); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.03em; padding: 4px; border-radius: 999px; }
.brand svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: inline-flex; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #3d3d3d; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: var(--soft-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-signin { white-space: nowrap; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: #3d3d3d; }
.nav-signin:hover { background: var(--soft-2); color: var(--ink); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft-2);
  align-items: center; justify-content: center;
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu {
  pointer-events: auto;
  position: absolute; top: 72px; left: 16px; right: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 12px; display: none;
}
.mobile-menu.is-open { display: block; animation: menuIn .3s var(--ease); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 16px; border-radius: 14px; font-weight: 500; font-size: 17px; }
.mobile-menu a:not(.btn):hover { background: var(--soft); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 180px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(255,122,69,.13), transparent 70%),
    radial-gradient(30% 40% at 20% 10%, rgba(255,77,45,.06), transparent 70%);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; min-height: calc(100vh - 220px); display: flex; justify-content: center; align-items: center; flex-direction: column; }
.hero .pill { margin-bottom: 28px; }
.hero h1 { margin: 0 auto; max-width: 880px; }
.hero .lead { margin: 26px auto 0; max-width: 700px; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { width: 15px; height: 15px; color: var(--green); }

/* Hanging icons: anchored at the top edge, draggable with spring physics (see main.js) */
.float-icons { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fi { position: absolute; top: 0; width: 0; height: 0; }
.rope-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rope { fill: none; stroke: url(#rope-fade); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rope-stop { stop-color: #c2c2c2; }
.has-ropes .fi-string { display: none; }
.fi-string {
  position: absolute; left: 0; top: 0; width: 1px; height: var(--len); margin-left: -.5px;
  background: linear-gradient(rgba(0,0,0,0), #cfcfcf 18%, #c4c4c4);
  transform-origin: 50% 0;
  will-change: transform;
}
.fi span {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  transform-origin: 50% 0; transform: translate3d(-50%, var(--len), 0);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12);
  pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: box-shadow .25s var(--ease);
  will-change: transform;
}
.fi span:hover { box-shadow: 0 16px 30px -10px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.fi span.is-drag { cursor: grabbing; box-shadow: 0 26px 40px -14px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.fi .i { width: 24px; height: 24px; stroke-width: 2.1; pointer-events: none; }
.fi-1 { left: 7%;  --len: 380px; } .fi-1 span { background: var(--grad); }
.fi-2 { left: 15%; --len: 200px; } .fi-2 span { background: var(--ink); }
.fi-3 { left: 12%; --len: 560px; } .fi-3 span { background: #25d366; }
.fi-4 { left: 50%; --len: 96px; }  .fi-4 span { background: var(--violet); width: 50px; height: 50px; }
.fi-5 { right: 15%; --len: 230px; } .fi-5 span { background: #22c55e; }
.fi-6 { right: 7%;  --len: 380px; } .fi-6 span { background: var(--blue); }
.fi-7 { right: 13%; --len: 560px; } .fi-7 span { background: var(--lime); color: var(--ink); }

/* Hero capability cards */
.hero-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 96px; }
.hcard {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 8px 8px 22px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.hcard-vis {
  --tint: var(--brand-tint);
  position: relative; height: 172px; border-radius: 18px; overflow: hidden; margin-bottom: 18px; padding: 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.07) 1px, transparent 0) 0 0 / 14px 14px,
    linear-gradient(180deg, var(--tint) 0%, var(--soft) 100%);
}
.hcard:nth-child(2) .hcard-vis { --tint: #efeeff; }
.hcard:nth-child(3) .hcard-vis { --tint: var(--blue-tint); }
.hcard:nth-child(4) .hcard-vis { --tint: var(--green-tint); }
.hcard h2 { padding: 0 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.hcard p { padding: 0 12px; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Support */
.mini-bubble {
  max-width: 84%; font-size: 12px; line-height: 1.4; padding: 8px 11px; border-radius: 14px; text-align: left;
  box-shadow: var(--shadow-sm);
}
.mini-bubble.u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.mini-bubble.b { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }

/* Leads */
.mini-card {
  background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 10px; text-align: left; font-size: 12.5px; min-width: 0;
}
.mini-card > span:last-child { min-width: 0; }
.mini-card.mc2 { justify-content: space-between; }
.mini-card b { display: block; font-size: 13px; font-weight: 600; }
.mini-card small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--violet);
}
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; flex: none; }
.tag-green { background: var(--green-tint); color: #0b7a3b; }
.tag-orange { background: var(--brand-tint); color: var(--brand-ink); }
.tag-blue { background: var(--blue-tint); color: #1d4ed8; }

/* Bookings */
.slot-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink); padding: 0 2px 2px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.slot-grid i { font-style: normal; height: 32px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; display: grid; place-items: center; color: var(--muted); }
.slot-grid i.on { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(255,77,45,.6); }

/* Channels */
.chan-row { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; }
.chan-row::before { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; border-top: 1.5px dashed var(--line-2); }
.chan {
  position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink);
}
.chan.wa { background: #25d366; color: #fff; }
.chan.api { background: var(--ink); color: #fff; }
.chan-live {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 11px; font-weight: 600; color: var(--ink);
}
.chan-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }

/* ---------- Statement (word reveal) ---------- */
.statement { position: relative; }
.statement-pin {
  position: relative; isolation: isolate; overflow: hidden; padding: 140px 0;
  /* soft brand-coloured wash that fades back to white at the top and bottom edges */
  background:
    radial-gradient(38% 60% at 18% 45%, rgba(255,122,69,.16), transparent 70%),
    radial-gradient(34% 55% at 82% 40%, rgba(99,91,255,.12), transparent 70%),
    radial-gradient(30% 50% at 55% 85%, rgba(34,197,94,.10), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fff8f4 30%, #f8f7ff 70%, #fff 100%);
}
.statement-pin::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(20,20,20,.05) 1px, transparent 0) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
          mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent);
}
/* pinned mode (set by JS): a tall track; the statement sticks full-screen until every word is lit */
.statement.is-pinned { height: 260vh; }
.statement.is-pinned .statement-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0;
  display: grid; align-items: center;
}
.statement p {
  max-width: 980px; margin: 0 auto; text-align: center;
  font-size: clamp(30px, 4.4vw, 54px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 600;
}
.statement .w { color: var(--ink); transition: opacity .45s ease; }
.js .statement .w { opacity: .3; }
.js .statement .w.on { opacity: 1; }
/* each icon chip fades in together with the word before it */
.statement .chip { transition: opacity .45s ease, transform .45s var(--ease); }
.js .statement .w:not(.on) + .chip { opacity: .3; transform: translateY(-.06em) scale(.9); }
.statement .chip {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: 1.05em; height: 1.05em; border-radius: .26em; margin: 0 .08em; transform: translateY(-.06em);
  color: #fff;
}
.statement .chip .i { width: .55em; height: .55em; stroke-width: 2.2; }
.chip-o { background: var(--grad); } .chip-g { background: #25d366; } .chip-b { background: var(--blue); } .chip-k { background: var(--ink); }

/* ---------- Bento (Platform) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  --pad: 30px;
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--pad); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .h3 + p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.card-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--line); color: var(--brand-ink); box-shadow: var(--shadow-sm);
}
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-dark:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.card-dark .grad-text { color: transparent; }
.card-dark .h3 + p, .card-dark p { color: #b5b5b5; }
.card-dark .card-ico { background: #262626; border-color: #333; color: var(--brand-1); }
/* every visual sits in a tinted, dotted "stage" inset into the card (matches the hero cards) */
.mock {
  --tint: var(--brand-tint);
  margin: auto calc(14px - var(--pad)) calc(14px - var(--pad));
  padding: 22px; border-radius: 20px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.07) 1px, transparent 0) 0 0 / 14px 14px,
    linear-gradient(180deg, var(--tint) 0%, var(--soft) 100%);
}
.card:has(.mock) > p { margin-bottom: 26px; }
.bento > .card:nth-child(3) .mock { --tint: #efeeff; }
.bento > .card:nth-child(4) .mock { --tint: var(--blue-tint); }
.bento > .card:nth-child(5) .mock { --tint: var(--green-tint); }
.bento > .card:nth-child(6) .mock { --tint: #fdf2ff; }
.card-dark .mock {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0) 0 0 / 14px 14px,
    linear-gradient(180deg, #232323 0%, #1a1a1a 100%);
}
.panel { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

.sources { padding: 8px; }
.src-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.src-row + .src-row { border-top: 1px dashed var(--line); border-radius: 0; }
.src-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--soft-2); color: var(--ink-2); }
.src-row .name { font-weight: 600; }
.src-row .meta { color: var(--muted); font-size: 12.5px; }
.src-row .tag { margin-left: auto; }
.sync-line { display: flex; align-items: center; gap: 8px; padding: 10px 14px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.uptime .big { font-size: clamp(56px, 6vw, 76px); font-weight: 650; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
.uptime-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #fff; }
.uptime-bars { display: flex; gap: 3px; margin-top: 14px; }
.uptime-bars i { flex: 1; height: 30px; border-radius: 3px; background: #22c55e; opacity: .85; }
.uptime-bars i:nth-child(17) { background: #facc15; height: 30px; }
.uptime-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: #8a8a8a; }

.deploy-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.deploy-tile {
  height: 78px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted);
}
.deploy-tile .i { color: var(--ink); }
.deploy-tile.wa { background: #25d366; border-color: #25d366; color: #fff; } .deploy-tile.wa .i { color: #fff; }
.deploy-tile.api { background: var(--ink); border-color: var(--ink); color: #c9c9c9; } .deploy-tile.api .i { color: #fff; }

.speed { display: flex; align-items: flex-end; gap: 16px; }
.speed .big { font-size: 56px; line-height: 1; font-weight: 650; letter-spacing: -0.05em; }
.speed .unit { font-size: 15px; color: var(--muted); padding-bottom: 8px; }
.meter { margin-top: 18px; height: 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 22%; border-radius: inherit; background: var(--grad); }
.scale-row { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); font-family: var(--mono); }

.learn { padding: 14px; font-size: 13.5px; }
.learn .q { color: var(--muted); }
.learn .old { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #fff5f5; color: #9f1d1d; text-decoration: line-through; text-decoration-color: rgba(159,29,29,.5); }
.learn .new { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--green-tint); color: #0b5e2e; display: flex; gap: 8px; align-items: flex-start; }
.learn .new .i { color: var(--green); margin-top: 2px; }

.custom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px; }
.custom-preview { flex-basis: 100%; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; }
.custom-preview b { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--grad); }
.custom-preview span { padding: 7px 11px; border-radius: 12px 12px 12px 4px; background: var(--brand-tint); color: var(--brand-ink); }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatches i:nth-child(1) { background: var(--brand-1); box-shadow: 0 0 0 2px var(--ink); }
.swatches i:nth-child(2) { background: var(--blue); } .swatches i:nth-child(3) { background: var(--green); }
.swatches i:nth-child(4) { background: var(--violet); } .swatches i:nth-child(5) { background: var(--ink); }
.tone { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--soft-2); font-size: 12px; }
.tone span { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.tone span.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }

.secure-chips { display: flex; gap: 8px; margin-bottom: 16px; }
.secure-chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid #333; background: #262626; font-size: 11.5px; font-weight: 600; color: #e5e5e5; letter-spacing: .02em; }
.secure-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.secure-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: #d9d9d9; }
.secure-list .i { color: #22c55e; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind {
  --c: var(--brand-ink); --t: var(--brand-tint);
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.ind:nth-child(2) { --c: #be123c; --t: #ffeef0; }
.ind:nth-child(3) { --c: #1d4ed8; --t: var(--blue-tint); }
.ind:nth-child(4) { --c: #0b7a3b; --t: var(--green-tint); }
.ind:nth-child(5) { --c: #4f46e5; --t: #f1efff; }
.ind:nth-child(6) { --c: var(--ink); --t: #f1f1f1; }
.ind:nth-child(7) { --c: #a16207; --t: #fff7e0; }
.ind:nth-child(8) { --c: #0e7490; --t: #e8fbff; }
/* photo with the sample conversation floating over it */
.ind-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--t); }
.ind-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.ind:hover .ind-photo img { transform: scale(1.05); }
.ind-photo::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(10,10,10,.62)); pointer-events: none; }
.ind-chat { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 34px; display: flex; flex-direction: column; gap: 5px; }
.ind-chat span { max-width: 88%; padding: 6px 10px; border-radius: 12px; font-size: 12px; line-height: 1.35; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.ind-chat .q { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.ind-chat .a { align-self: flex-start; background: rgba(255,255,255,.96); color: var(--ink); border-bottom-left-radius: 4px; backdrop-filter: blur(6px); }
.ind-body { position: relative; padding: 0 22px 22px; }
.ind-ico {
  position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  margin: -24px 0 14px; background: var(--t); color: var(--c); border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.ind ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ind li { padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
@media (min-width: 601px) and (max-width: 1080px) {
  .ind { display: grid; grid-template-columns: 1fr 1fr; }
  .ind-photo { aspect-ratio: auto; min-height: 240px; height: 100%; }
  .ind-body { padding: 22px; }
  .ind-ico { margin: 0 0 14px; }
  .ind-chat { bottom: 12px; }
}

/* ---------- Split (demo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split .h2 { text-wrap: balance; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; counter-reset: step; }
.checks li {
  display: flex; gap: 14px; align-items: center; font-size: 15px; line-height: 1.45;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.checks li:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.checks .ck {
  position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--brand-tint); color: var(--brand-ink);
}
.checks li:nth-child(2) .ck { background: #efeeff; color: var(--violet); }
.checks li:nth-child(3) .ck { background: var(--green-tint); color: #0b7a3b; }
.checks .ck::after {
  counter-increment: step; content: counter(step);
  position: absolute; right: -5px; top: -5px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.checks .ck .i { width: 18px; height: 18px; }
.checks b { display: block; font-weight: 600; color: var(--ink); }
.checks span { color: var(--muted); }

.stat-row { display: flex; gap: 40px; margin-bottom: 32px; }
.stat-row b { display: block; font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
.stat-row span { font-size: 14px; color: var(--muted); }

.widget-stage {
  position: relative; border-radius: 32px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.07) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(160deg, var(--soft) 0%, var(--soft) 45%, var(--brand-tint) 100%);
  padding: 104px 40px; min-height: 560px; display: flex; justify-content: center; align-items: center; overflow: hidden;
}
.widget-stage::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -120px;
  background: radial-gradient(closest-side, rgba(255,122,69,.18), transparent);
}
.widget {
  position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden;
}
.widget-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.widget-head svg.logo { width: 34px; height: 34px; }
.widget-head b { display: block; font-size: 15px; font-weight: 600; }
.widget-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #bdbdbd; }
.widget-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.widget-body { padding: 18px; display: grid; gap: 10px; background: #fcfcfc; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.user { justify-self: end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.msg .src { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.slots { display: flex; gap: 6px; flex-wrap: wrap; }
.slots span { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 500; }
.slots span.on { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(255,77,45,.6); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #bdbdbd; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.widget-input { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 14px; }
.widget-input .send { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.float-note {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow);
  display: flex; gap: 10px; align-items: center; font-size: 13px; border: 1px solid var(--line);
  animation: bob 6s ease-in-out infinite; z-index: 2;
}
.float-note b { display: block; font-size: 13.5px; }
.float-note small { color: var(--muted); font-size: 12px; }
.float-note .fn-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.fn-lead { left: 24px; top: 24px; } .fn-lead .fn-ico { background: var(--violet); }
.fn-book { right: 24px; bottom: 24px; animation-delay: -3s; } .fn-book .fn-ico { background: var(--green); }
.fn-cust { right: 24px; top: 24px; animation-delay: -1.5s; }
.fn-photo { position: relative; width: 38px; height: 38px; flex: none; }
.fn-photo img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: block; }
.fn-photo::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Product tour (tabs) ---------- */
.tour { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.tablist { display: grid; gap: 6px; position: sticky; top: 110px; }
.tab {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: transparent;
  font-size: 15.5px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s;
}
.tab .tab-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft-2); color: var(--ink-2); flex: none; transition: background-color .2s, color .2s; }
.tab:hover { background: var(--soft); color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"] .tab-ico { background: var(--tc, var(--ink)); color: #fff; box-shadow: 0 6px 14px -6px var(--tc, rgba(0,0,0,.4)); }
.tab:nth-child(1) { --tc: var(--brand-2); } .tab:nth-child(2) { --tc: var(--violet); } .tab:nth-child(3) { --tc: var(--blue); }
.tab:nth-child(4) { --tc: var(--green); } .tab:nth-child(5) { --tc: var(--ink); }
.tab-txt { display: block; line-height: 1.3; }
.tab-txt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted-2); }
.tabpanel {
  border: 1px solid var(--line); border-radius: 32px; padding: 36px; min-height: 540px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.06) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(170deg, var(--soft) 0%, var(--soft) 55%, var(--brand-tint) 100%);
}
.tabpanel[hidden] { display: none; }
/* scroll-driven mode (desktop): tall track, the tour pins inside it */
.tour-scroll.is-scrolly { height: calc(560px + 4 * 65vh); }
.tour-scroll.is-scrolly .tour { position: sticky; top: max(100px, calc(50vh - 270px)); }
.tour-scroll.is-scrolly .tablist { position: static; }
.tour-side { min-width: 0; }
.tour-scroll.is-scrolly .tabpanel.is-active { animation-duration: .35s; }
.tab { position: relative; overflow: hidden; }
.tab-bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; transition: opacity .2s; }
.tab-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--tc, var(--ink)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.is-scrolly .tab[aria-selected="true"] .tab-bar { opacity: 1; }
.tour-hint { display: none; align-items: center; gap: 8px; margin: 14px 0 0 16px; font-size: 12.5px; color: var(--muted-2); }
.tour-hint b { color: var(--ink); font-weight: 600; }
.is-scrolly .tour-hint { display: flex; }
.tour-mouse { position: relative; width: 14px; height: 20px; border: 1.5px solid var(--muted-2); border-radius: 8px; flex: none; }
.tour-mouse::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px; border-radius: 1px; background: var(--muted-2); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(5px); } }
.tabpanel.is-active { animation: fadeUp .45s var(--ease); }
.tp-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 26px; flex-wrap: wrap; }
.tp-head p { color: var(--muted); max-width: 420px; margin-top: 6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .who { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.table .who small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.table .avatar { width: 30px; height: 30px; font-size: 11px; }
.table-wrap { overflow-x: auto; }

.convo-list { display: grid; gap: 10px; }
.convo { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.convo .txt { min-width: 0; }
.convo .txt b { font-size: 14px; }
.convo .txt p { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo .when { margin-left: auto; font-size: 12px; color: var(--muted-2); white-space: nowrap; }

.chart { padding: 22px; }
.chart-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.chart-top .big { font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
.chart-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 18px; }
.bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: #ffd9c9; height: 50%; }
.bars i[data-h="38"] { height: 38%; }
.bars i[data-h="52"] { height: 52%; }
.bars i[data-h="45"] { height: 45%; }
.bars i[data-h="64"] { height: 64%; }
.bars i[data-h="58"] { height: 58%; }
.bars i[data-h="76"] { height: 76%; }
.bars i[data-h="92"] { height: 92%; }
.bars i:last-child { background: var(--grad); }
.bars-x { display: flex; gap: 10px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.kpi { padding: 16px; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.spark i { width: 5px; border-radius: 2px; background: #ffd9c9; }
.spark i:nth-child(1) { height: 35%; } .spark i:nth-child(2) { height: 55%; } .spark i:nth-child(3) { height: 45%; }
.spark i:nth-child(4) { height: 70%; } .spark i:nth-child(5) { height: 60%; } .spark i:nth-child(6) { height: 80%; }
.spark i:nth-child(7) { height: 100%; background: var(--brand-2); }
.kpi:nth-child(2) .spark i { background: #dcdaff; } .kpi:nth-child(2) .spark i:last-child { background: var(--violet); }
.kpi:nth-child(3) .spark i { background: #c9efd8; } .kpi:nth-child(3) .spark i:last-child { background: var(--green); }

.cal { padding: 18px; }
.cal-grid { display: grid; grid-template-columns: 56px repeat(5, 1fr); gap: 6px; font-size: 12px; }
.cal-grid .h { color: var(--muted); text-align: center; padding-bottom: 4px; font-weight: 500; }
.cal-grid .t { color: var(--muted-2); padding-top: 8px; font-family: var(--mono); font-size: 11px; }
.cal-grid .c { height: 40px; border-radius: 10px; background: var(--soft); }
.cal-grid .c.ev { background: var(--ink); color: #fff; padding: 5px 8px; font-size: 11.5px; line-height: 1.25; font-weight: 500; }
.cal-grid .c.ev.o { background: var(--brand-tint); color: var(--brand-ink); }
.cal-grid .c.ev.g { background: var(--green-tint); color: #0b5e2e; }

.kb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kb-add { border: 1.5px dashed #d4d4d4; border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 22px; color: var(--muted); font-size: 14px; background: #fff; }
.kb-add .i { margin: 0 auto 8px; color: var(--ink); }
.kb-add { align-content: center; gap: 18px; }
.kb-upload { width: 100%; max-width: 240px; padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); text-align: left; font-size: 12.5px; }
.kb-file { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.kb-add .kb-file .i { margin: 0; color: var(--muted); }
.kb-bar { display: block; height: 6px; margin: 8px 0 6px; border-radius: 999px; background: #e9e9e9; overflow: hidden; }
.kb-bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: var(--grad); }
.kb-pct { font-size: 11.5px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  --pad: 30px; --tint: var(--brand-tint); --c: var(--brand-ink);
  position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--pad); display: flex; flex-direction: column; min-height: 380px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.step:nth-child(2) { --tint: var(--blue-tint); --c: #1d4ed8; }
.step:nth-child(3) { --tint: var(--green-tint); --c: #0b7a3b; }
.step .mock { --tint: inherit; min-height: 190px; padding: 18px; display: flex; flex-direction: column; justify-content: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint); color: var(--c); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
/* arrow connecting one step to the next */
.step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 2; right: -24px; top: 40px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.field { padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; }
.field + .field { margin-top: 8px; }
.field label, .field .lbl { color: var(--muted); font-size: 11.5px; }
.field .val { font-size: 14px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 2px; }
.caret { display: inline-block; width: 1.5px; height: 16px; background: var(--brand-2); animation: caret 1s steps(1) infinite; vertical-align: middle; }
@keyframes caret { 50% { opacity: 0; } }
.step .src-row .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.embed { font-family: var(--mono); font-size: 12px; line-height: 1.7; background: var(--ink); color: #d4d4d4; border-radius: 14px; padding: 14px 16px; white-space: pre; overflow-x: auto; box-shadow: var(--shadow-sm); }
.embed .k { color: #ff9b73; } .embed .s { color: #a5e3a5; }
.deploy-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.plan {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan > * { position: relative; }
/* tinted, dotted band behind the plan header (same language as the feature visuals) */
.plan::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.07) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(180deg, var(--brand-tint), transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.plan-badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.plan-badge-hot { background: var(--grad); border-color: transparent; color: #fff; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; min-height: 64px; }
.price b { font-size: 64px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--muted); }
.plan .desc { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; min-height: 3.2em; }
.plan-inc { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.plan ul { list-style: none; padding: 0; margin: 14px 0 30px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.plan li .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-tint); color: var(--green); stroke-width: 2.6; flex: none; }
.plan li.plan-limit { color: var(--muted); }
.plan li.plan-limit .i { background: var(--soft-2); color: var(--muted-2); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-dark::before {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0) 0 0 / 16px 16px,
    radial-gradient(120% 90% at 100% 0%, rgba(255,122,69,.35), transparent 60%);
  height: 260px;
}
.plan-dark:hover { box-shadow: var(--shadow-lg); }
.plan-dark .plan-name, .plan-dark .desc, .plan-dark .price span { color: #a3a3a3; }
.plan-dark .plan-inc { border-color: #333; color: #8a8a8a; }
.plan-dark li .i { background: rgba(255,122,69,.16); color: var(--brand-1); }
.plan-dark .price b { font-size: 52px; line-height: 64px; }
.plan-notes { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.plan-notes li { display: flex; align-items: center; gap: 6px; }
.plan-notes .i { color: var(--green); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.help-card {
  position: relative; overflow: hidden; margin-top: 30px; border: 1px solid var(--line); border-radius: 24px; padding: 26px;
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.07) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(160deg, var(--soft) 0%, var(--soft) 40%, var(--brand-tint) 100%);
}
.help-card .online { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 12.5px; color: #0b7a3b; font-weight: 600; }
.help-card .online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.help-card h3 { margin-top: 14px; font-size: 19px; }
.help-card p { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.help-card .btn { margin-right: 12px; }
.help-mail { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.help-mail a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.help-mail a:hover { text-decoration-color: var(--brand-1); }

.faq-list { display: grid; gap: 10px; counter-reset: faq; }
.faq-item {
  counter-increment: faq; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; gap: 16px;
  padding: 20px 20px 20px 22px; font-weight: 600; font-size: 16px; cursor: pointer; border-radius: 18px;
}
.faq-item summary::before {
  content: counter(faq, decimal-leading-zero); flex: none; width: 34px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--muted-2); transition: color .25s;
}
.faq-item[open] summary::before { color: var(--brand-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.faq-item summary .pm {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--soft-2); color: var(--ink);
  display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.faq-item summary:hover .pm { background: #e7e7e7; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-item .ans { padding: 0 64px 22px 72px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.faq-item[open] .ans { animation: fadeUp .35s var(--ease); }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; color: #fff; border: 1px solid var(--ink);
  padding: 72px 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0) 0 0 / 18px 18px,
    radial-gradient(60% 80% at 78% 50%, rgba(255,106,61,.32), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(99,91,255,.18), transparent 70%),
    var(--ink);
}
.cta-box .h2 { color: #fff; }
.cta-hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-box .lead { margin-top: 16px; max-width: 460px; color: #b5b5b5; }
.cta-box .badge-num { background: #fff; color: var(--ink); }
.cta-box .badge-label { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e5e5e5; }
.cta-box .btn-dark { background: var(--grad); box-shadow: 0 10px 24px -8px rgba(255,77,45,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.cta-box .btn-dark:hover { background: var(--grad); filter: brightness(1.06); }
.cta-box .btn-white { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.cta-box .btn-white:hover { background: rgba(255,255,255,.14); }
.cta-notes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #a3a3a3; }
.cta-notes li { display: flex; align-items: center; gap: 6px; }
.cta-notes .i { color: #22c55e; }
.cta-box .orbit .ring { border-color: rgba(255,255,255,.12); }
.cta-box .orbit .ring.r3 { background: radial-gradient(closest-side, rgba(255,122,69,.18), transparent); }
.cta-box .orbit .core { background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 20px 40px -10px rgba(255,106,61,.55); }
.cta-box .orbit .o5 { background: #2a2a2a; box-shadow: inset 0 0 0 1px #3a3a3a, 0 10px 20px -8px rgba(0,0,0,.6); }
.cta-box .hero-ctas { justify-content: flex-start; margin-top: 30px; }
.orbit { position: relative; width: 100%; aspect-ratio: 1; max-width: 360px; margin: 0 auto; }
.orbit .ring { position: absolute; inset: 0; border: 1px solid #e3e3e3; border-radius: 50%; }
.orbit .ring.r2 { inset: 17%; } .orbit .ring.r3 { inset: 34%; }
.orbit .core { position: absolute; inset: 40%; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.orbit .core svg { width: 60%; height: 60%; }
.orbit .spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit .spin.rev { inset: 17%; animation-duration: 28s; animation-direction: reverse; }
.orbit .o {
  position: absolute; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.35); margin: -23px 0 0 -23px;
  animation: spin 40s linear infinite reverse;
}
.orbit .spin.rev .o { animation-duration: 28s; animation-direction: normal; }
.orbit .o1 { left: 50%; top: 0; background: var(--grad); }
.orbit .o2 { left: 100%; top: 50%; background: #25d366; }
.orbit .o3 { left: 50%; top: 100%; background: var(--blue); }
.orbit .o4 { left: 0; top: 50%; background: var(--violet); }
.orbit .o5 { left: 85%; top: 15%; background: var(--ink); }
.orbit .o6 { left: 15%; top: 85%; background: var(--lime); color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-visual { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.cta-visual img {
  display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 8px rgba(255,255,255,.04);
  transform: rotate(2deg); transition: transform .6s var(--ease);
}
.cta-box:hover .cta-visual img { transform: rotate(0deg) scale(1.01); }
.cv-chip {
  position: absolute; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.6); animation: bob 6s ease-in-out infinite;
}
.cv-wa { left: -18px; top: 18%; background: #25d366; }
.cv-web { right: -16px; top: -14px; background: var(--blue); animation-delay: -2s; }
.cv-api { right: 14%; bottom: -20px; background: #2a2a2a; box-shadow: inset 0 0 0 1px #3a3a3a, 0 14px 28px -10px rgba(0,0,0,.6); animation-delay: -4s; }
.cv-note {
  position: absolute; left: -22px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; animation-delay: -1s;
}
.cv-note b { display: block; font-size: 13.5px; }
.cv-note small { display: block; font-size: 12px; color: var(--muted); }
.cv-logo svg { width: 34px; height: 34px; display: block; }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden; padding: 80px 0 32px; margin-top: 40px; border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, rgba(20,20,20,.06) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .about { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, transform .2s var(--ease);
}
.footer-mail .i { color: var(--brand-ink); }
.footer-mail:hover { border-color: var(--line-2); transform: translateY(-1px); }
.footer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.footer-chips span { padding: 3px 10px; border-radius: 999px; background: var(--soft-2); font-size: 12px; color: var(--muted); }
.footer h2 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { position: relative; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.footer ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.footer ul a:hover { color: var(--ink); }
.footer ul a:hover::after { transform: scaleX(1); }
/* oversized wordmark that fades into the page */
.footer-mark {
  margin-top: 48px; text-align: center; font-weight: 700; letter-spacing: -0.06em; line-height: .8;
  font-size: clamp(72px, 19vw, 260px); user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,.09) 0%, rgba(20,20,20,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { position: relative; margin-top: -8px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-bottom nav { display: flex; align-items: center; gap: 18px; }
.footer-bottom a:hover { color: var(--ink); }
.to-top { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.to-top .i { transform: rotate(-90deg); }

/* ---------- Legal pages ---------- */
.legal { padding: 160px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.045em; line-height: 1.02; font-weight: 650; }
.legal .updated { margin-top: 14px; color: var(--muted); font-size: 14px; }
.legal .intro { margin-top: 28px; font-size: 18px; color: var(--ink-2); }
.legal h2 { font-size: 24px; letter-spacing: -0.025em; font-weight: 600; margin: 48px 0 12px; }
.legal p, .legal li { color: #4a4a4a; font-size: 16.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.legal li strong { color: var(--ink); }
.legal a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .toc { margin-top: 36px; padding: 22px 24px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.legal .toc b { font-size: 13px; letter-spacing: .04em; }
.legal .toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.legal .toc a:hover { color: var(--brand-ink); }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.notfound .code { font-size: clamp(110px, 22vw, 220px); font-weight: 700; letter-spacing: -0.07em; line-height: .9; }

/* ---------- Reveal animations (progressive enhancement) ---------- */
/* Uses a keyframe animation on the individual `translate` property, so it never fights the
   `transform` hover lifts or the `transition` lists on cards (it used to override both). */
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: reveal-in .85s var(--ease) var(--d, 0s) both; }
@keyframes reveal-in {
  from { opacity: 0; translate: 0 28px; filter: blur(6px); }
  60% { filter: blur(0); }
  to { opacity: 1; translate: 0 0; filter: none; }
}
.js .reveal[data-d="1"] { --d: 0.07s; }
.js .reveal[data-d="2"] { --d: 0.14s; }
.js .reveal[data-d="3"] { --d: 0.21s; }
.js .reveal[data-d="4"] { --d: 0.28s; }
.js .reveal[data-d="5"] { --d: 0.35s; }
.js .reveal[data-d="6"] { --d: 0.42s; }
.js .reveal[data-d="7"] { --d: 0.49s; }
.js .hero .reveal { animation-duration: 1s; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .fi-1, .fi-6 { display: none; }
}
@media (max-width: 1080px) {
  .industries { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-3, .span-2 { grid-column: span 3; }
  .bento .card.wide { grid-column: span 6; }
  .fi-2, .fi-5 { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-signin, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .nav { max-width: 100%; }
  .hero { padding-top: 236px; }
  .hero-cards { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .split, .faq, .tour, .cta-box { grid-template-columns: 1fr; }
  .tablist { position: static; grid-template-columns: repeat(5, max-content); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { padding: 10px 14px; }
  .tab .tab-ico { width: 30px; height: 30px; }
  .tab-txt small { display: none; }
  .tabpanel { min-height: 0; }
  .tour > * { min-width: 0; }
  .faq-aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step:not(:last-child)::after { display: none; }
  .pricing { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .section { padding: 88px 0; }
  /* phones & tablets: four small icons hang in the band under the nav (tilt the device to swing them) */
  .fi-1, .fi-4, .fi-6 { display: none; }
  .fi-2, .fi-5 { display: block; }
  .fi span { width: 44px; height: 44px; border-radius: 13px; }
  .fi .i { width: 20px; height: 20px; }
  .fi-2 { left: 9%;  --len: 132px; }
  .fi-3 { left: 30%; --len: 96px; }
  .fi-5 { right: 30%; --len: 110px; }
  .fi-7 { right: 9%; --len: 146px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .industries { grid-template-columns: 1fr; gap: 12px; }
  .ind-body { padding: 0 18px 18px; }
  .bento { grid-template-columns: 1fr; }
  .span-4, .span-3, .span-2, .bento .card.wide { grid-column: auto; }
  .card { --pad: 22px; }
  .mock { padding: 12px; margin: auto -12px -12px; border-radius: 18px; }
  .card:has(.mock) > p { margin-bottom: 20px; }
  .sources { padding: 4px; } .src-row { padding: 10px 8px; gap: 10px; }
  .hero-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hcard { padding: 6px 6px 16px; border-radius: 20px; }
  .hcard h2 { padding: 0 8px; font-size: 15px; } .hcard p { padding: 0 8px; font-size: 13px; }
  .hcard-vis { height: 150px; padding: 10px; gap: 6px; margin-bottom: 14px; border-radius: 15px; }
  .mini-card { padding: 8px 9px; gap: 8px; }
  .avatar { width: 28px; height: 28px; font-size: 11px; }
  .mini-card.mc2 small { display: none; }
  .mini-bubble { font-size: 11px; max-width: 90%; padding: 7px 9px; }
  .slot-grid { gap: 5px; } .slot-grid i { height: 28px; font-size: 11px; }
  .chan { width: 40px; height: 40px; border-radius: 12px; } .chan-row { gap: 8px; }
  .hero-ctas .btn { width: 100%; }
  .tabpanel { padding: 22px; }
  .kb-grid { grid-template-columns: 1fr; }
  .kb-add { padding: 18px; }
  .faq-item summary { padding: 16px 16px 16px 18px; gap: 10px; font-size: 15px; }
  .faq-item summary::before { width: 24px; }
  .faq-item .ans { padding: 0 18px 18px 52px; font-size: 15px; }
  .fn-cust { display: none; }
  .cta-visual { margin-top: 12px; max-width: 320px; }
  .cv-wa { left: -8px; } .cv-web { right: -6px; } .cv-note { left: -6px; }
}
@media (max-width: 380px) {
  .hero-cards { grid-template-columns: 1fr; }
  .widget-stage { padding: 20px; min-height: 0; padding-top: 80px; padding-bottom: 80px; }
  .fn-lead { left: 12px; top: 14px; } .fn-book { right: 12px; bottom: 14px; }
  .tabpanel { padding: 20px; }
  .kb-grid, .kpis { grid-template-columns: 1fr; }
  .cal-grid { grid-template-columns: 44px repeat(3, 1fr); }
  .cal-grid .x { display: none; }
  .deploy-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row { gap: 24px; }
  .legal .toc ol { columns: 1; }
  .statement-pin { padding: 96px 0; }
  .statement.is-pinned { height: 230vh; }
  .orbit { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; filter: none; animation: none; }
  .js .statement .w, .js .statement .w:not(.on) + .chip { opacity: 1; transform: none; }
}

@media print {
  .nav-wrap, .float-icons, .orbit, .cta-visual, .skip-link { display: none !important; }
  .js .reveal { opacity: 1; translate: none; filter: none; animation: none; }
}
