/* Kickback Automations
   Colour system: near-black, warm off-white text, and ONE accent (logo teal)
   that is never a flat block — it blends in as gradients and glows. */
:root {
  --bg: #080808;
  --bg-top: #0d1622;
  --ink: #edece4;
  --ink-2: rgba(237, 236, 228, 0.68);
  --ink-3: rgba(237, 236, 228, 0.45);
  --line: rgba(237, 236, 228, 0.08);
  --teal: #7dd3fc;
  --teal-hi: #bae6fd;
  --teal-deep: #0c5a80;
  --navy: #0f1b2a;
  /* Chart palette (validated on the dark card surface) */
  --viz-1: #1e9bd7;      /* the data series */
  --viz-ref: #4b5563;    /* comparison / "before" — neutral, always dashed + legend */
  --viz-grid: #2c2c2a;   /* hairline gridlines */
  --viz-base: #383835;   /* baselines and tracks */
  --good: #0ca30c;       /* status: done / paid — always with ✓ */
  --warn: #fab219;       /* status: waiting / chasing — always with a label */
  --ink-muted: #898781;
  --card: linear-gradient(135deg, #121615, #060808);
  --glow-up: linear-gradient(180deg, rgba(8, 8, 8, 0) 45%, rgba(12, 90, 128, 0.85) 100%);
  --radius: 16px;
  --max: 1180px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: #04121c; }

/* ---------- Top block (hero area with the 3D scene) ---------- */
.brand-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 55% at 72% 42%, rgba(125, 211, 252, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 78%);
}
.brand-block > :not(#bg):not(.scroll-cue):not(.ticker) { position: relative; z-index: 1; }
.brand-block > .scroll-cue, .brand-block > .ticker { z-index: 1; }
#bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
.scene-ready #bg { opacity: 1; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: auto; transition: transform 0.5s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.brand-sub { margin-top: 5px; font-family: var(--font-display); font-weight: 500; font-size: 9px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--teal); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(16px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.85), rgba(8, 8, 8, 0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; font-size: 14.5px; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--ink); }
.nav-links .btn { margin-left: 10px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #080808; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #080808; background: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(125, 211, 252, 0.25); }
.btn-ghost { color: var(--ink); background: transparent; border-color: rgba(237, 236, 228, 0.22); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.nav .btn { padding: 10px 16px; font-size: 12.5px; }

/* ---------- Layout & type ---------- */
main { position: relative; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
section { padding: 120px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before, .eyebrow::after { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, rgba(125, 211, 252, 0), var(--teal)); }
.eyebrow::after { background: linear-gradient(90deg, var(--teal), rgba(125, 211, 252, 0)); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 300; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 300; }
h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
/* Highlighted words fade from off-white into teal */
.grad, .grad-warm {
  background: linear-gradient(90deg, var(--ink) 0%, var(--teal) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 560px; font-weight: 300; }
.muted { color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 112px 0 64px; }
.hero::after {
  /* darkens the honeycomb behind the centred copy, and fades it into the page below */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 50% at 50% 48%, rgba(8, 8, 8, 0.85) 0%, rgba(8, 8, 8, 0.5) 55%, rgba(8, 8, 8, 0) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0) 20%, rgba(8, 8, 8, 0) 72%, #080808 100%);
}
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .lead { margin: 0 auto 32px; max-width: 560px; }
.hero-note { max-width: 520px; margin: 22px auto 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* Rotating headline: the middle line types out a task, then swaps it */
.hero:has(.ticker) { padding-bottom: 110px; }
.rot-h1 { display: flex; flex-direction: column; align-items: center; margin: 20px 0 24px; font-size: clamp(44px, min(7.6vw, 10.5vh), 108px); line-height: 1.02; }
.rot { min-height: 1.06em; display: inline-flex; align-items: center; justify-content: center; }
.rot-word { font-weight: 400; white-space: nowrap; padding-bottom: 0.06em; }
.rot-caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.08em; border-radius: 2px; background: var(--teal); animation: caret 0.9s steps(1) infinite; }

/* Ticker along the bottom of the hero */
.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 1;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.ticker-track span::after { content: ''; width: 5px; height: 5px; transform: rotate(45deg); background: var(--teal); opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid rgba(237, 236, 228, 0.25); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--teal); animation: cue 1.8s ease-in-out infinite; }
@media (max-height: 860px) { .scroll-cue { display: none; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.page-hero { min-height: 70vh; display: flex; align-items: flex-end; padding: 180px 0 64px; }
.page-hero .lead { margin-top: 22px; }
.page-hero h1 { margin-top: 20px; font-size: clamp(42px, 6vw, 80px); }

/* ---------- Cards ---------- */
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin: 18px 0 16px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.35s;
  overflow: hidden;
}
.card::after {
  /* faint teal glow rising from the bottom on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 90, 128, 0.45));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(125, 211, 252, 0.3); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin: 22px 0 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--teal); background: rgba(125, 211, 252, 0.1); border: 1px solid rgba(125, 211, 252, 0.18); }
.icon svg { width: 22px; height: 22px; }

/* ---------- Feature carousel ---------- */
.xrail {
  --gut: max(16px, calc((100vw - var(--max)) / 2));
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden; /* sideways only — vertical swipes scroll the page */
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  padding: 8px var(--gut) 24px;
  scrollbar-width: none;
}
.xrail::-webkit-scrollbar { display: none; }
/* Each card owns one hue (validated order: violet → aqua → orange → blue → magenta).
   The card's glow, icon and chart all take that hue via --c / --viz-1. */
.xcard {
  --c: #3987e5;
  --viz-1: var(--c);
  position: relative;
  flex: 0 0 min(460px, 86vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 55% at 50% 105%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(8, 8, 8, 0) 40%, color-mix(in srgb, var(--c) 28%, transparent) 100%),
    var(--card);
  transition: border-color 0.3s;
}
.xcard:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.x-violet { --c: #9085e9; }
.x-aqua { --c: #199e70; }
.x-orange { --c: #d95926; }
.x-blue { --c: #3987e5; }
.x-magenta { --c: #d55181; }
.x-head { display: flex; align-items: center; gap: 16px; }
.x-head h3 { flex: 1; margin: 0; font-size: 21px; font-weight: 500; }
.x-ico { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; color: color-mix(in srgb, var(--c) 70%, #fff); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.x-ico svg { width: 25px; height: 25px; }
.x-go { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); border: 1px solid rgba(237, 236, 228, 0.2); transition: border-color 0.2s, transform 0.2s; }
.x-go svg { width: 18px; height: 18px; }
.x-go:hover { border-color: var(--c); transform: translateX(2px); }
.x-desc { margin: 24px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.55; font-weight: 300; color: var(--ink-2); }
.x-viz { position: relative; flex: 1; min-height: 0; overflow: hidden; font-family: var(--font-display); }
/* Each illustration is designed at 300px tall and scaled (by main.js) to fit the space left in the card */
.xv { position: absolute; left: 50%; bottom: 0; width: calc(100% / var(--k, 1)); height: 300px; transform: translateX(-50%) scale(var(--k, 1)); transform-origin: bottom center; }

/* Whole section fits one screen */
.why { height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 24px; }
.why .section-head { margin-bottom: 22px; }
.why .section-head h2 { margin: 12px 0 10px; }
.why .lead { margin: 0; }
.why .xrail { flex: 1 1 auto; min-height: 0; max-height: 660px; }
.why .xfoot { margin-top: 6px; }
@media (max-height: 860px) {
  .why { padding-top: 92px; }
  .why .section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
  .why .lead { font-size: 16px; }
  .xcard { padding: 22px 24px 0; }
  .x-head { gap: 12px; }
  .x-head h3 { font-size: 19px; }
  .x-ico { width: 46px; height: 46px; border-radius: 12px; }
  .x-ico svg { width: 22px; height: 22px; }
  .x-go { width: 40px; height: 40px; }
  .x-desc { margin-top: 14px; padding-bottom: 14px; font-size: 15px; line-height: 1.45; }
  .xbtn { width: 46px; height: 46px; }
}

/* 1 · hours bars */
.viz-hours { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 6px 26px; }
.v-pill { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--ink); background: rgba(8, 8, 8, 0.6); border: 1px solid var(--line); animation: pill-pulse 6s ease-in-out infinite; }
.v-pill::before { content: '▼'; font-size: 10px; color: var(--good); }
@keyframes pill-pulse { 0%, 40% { opacity: 0.3; } 60%, 90% { opacity: 1; } }
.v-bars { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; height: 170px; }
.v-bars::after { content: ''; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px; background: var(--viz-base); }
.v-bars span { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
/* "before": neutral, dashed (secondary encoding so it never relies on colour) */
.v-bars span::before { content: ''; position: absolute; left: 0; right: 0; bottom: 24px; height: calc((100% - 24px) * var(--h)); border-radius: 4px 4px 0 0; background: rgba(75, 85, 99, 0.22); border: 1px dashed var(--viz-ref); border-bottom: 0; }
/* "with Kickback": the series colour, 4px rounded data end anchored to the baseline */
.v-bars i { position: relative; width: calc(100% - 8px); height: calc((100% - 24px) * var(--h)); border-radius: 4px 4px 0 0; transform-origin: bottom; background: var(--viz-1); animation: bar-drop 6s cubic-bezier(.6, 0, .2, 1) infinite; animation-delay: var(--d); }
.v-bars em { margin-top: 8px; font-style: normal; font-size: 12px; color: var(--ink-muted); line-height: 16px; }
@keyframes bar-drop { 0%, 18% { transform: scaleY(1); } 50%, 88% { transform: scaleY(var(--to)); } 100% { transform: scaleY(1); } }
.v-legend { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-family: var(--font-body); font-size: 12px; color: var(--ink-2); }
.v-legend span { display: inline-flex; align-items: center; gap: 6px; }
.v-legend b { width: 10px; height: 10px; border-radius: 2px; }
.lg-before { background: rgba(75, 85, 99, 0.22); border: 1px dashed var(--viz-ref); }
.lg-after { background: var(--viz-1); }

/* 2 · copy-paste stream */
.viz-copy { overflow: hidden; -webkit-mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.v-track { animation: track 18s linear infinite; }
@keyframes track { to { transform: translateY(-50%); } }
.v-row { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; white-space: nowrap; font-size: 26px; font-weight: 300; letter-spacing: -0.01em; }
.v-row b { font-weight: 400; color: var(--ink); }
.v-row span { display: inline-block; color: var(--ink-muted); }
.v-row span::first-letter { color: var(--viz-1); }
.v-row:nth-child(odd) b { color: var(--ink-3); }
.v-row:nth-child(odd) span { color: var(--ink-2); }

/* 3 · status ring */
.viz-status { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 28px; }
.v-ring { position: relative; width: 170px; height: 170px; margin-bottom: 22px; }
.v-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.v-ring circle { fill: none; stroke-width: 5; }
.rg-bg { stroke: var(--viz-base); }
.rg-fg { stroke: var(--viz-1); stroke-linecap: round; stroke-dasharray: 1 1; animation: ring-fill 8s ease-in-out infinite; }
@keyframes ring-fill { 0% { stroke-dashoffset: 1; } 80%, 95% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.v-ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.v-ring-label small { font-family: var(--font-body); font-size: 13px; color: var(--ink-3); }
.v-ring-label b { grid-area: 2 / 1; font-size: 26px; font-weight: 400; }
.v-paid { color: var(--good); animation: show-late 8s infinite; }
.v-chasing { color: var(--warn); animation: show-early 8s infinite; }
@keyframes show-late { 0%, 76% { opacity: 0; transform: scale(0.8); } 82%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes show-early { 0%, 74% { opacity: 1; } 78%, 100% { opacity: 0; } }
.v-states { display: flex; gap: 28px; }
.st { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.st i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; opacity: 0.3; transform: scale(0.9); }
.st em { font-style: normal; font-family: var(--font-body); font-size: 12px; color: var(--ink-2); }
.st1 i { border: 2px dashed var(--ink-muted); animation: st1 8s infinite; }
.st2 i { border: 2px solid var(--viz-1); animation: st2 8s infinite; }
.st3 i { border: 2px solid var(--warn); background: conic-gradient(var(--warn) 0 50%, transparent 0); animation: st3 8s infinite; }
.st4 i { background: var(--good); color: #fff; animation: st4 8s infinite; }
.st4 svg { width: 22px; height: 22px; }
@keyframes st1 { 0%, 2% { opacity: 0.3; transform: scale(0.9); } 6%, 96% { opacity: 1; transform: none; } 100% { opacity: 0.3; } }
@keyframes st2 { 0%, 22% { opacity: 0.3; transform: scale(0.9); } 26%, 96% { opacity: 1; transform: none; } 100% { opacity: 0.3; } }
@keyframes st3 { 0%, 46% { opacity: 0.3; transform: scale(0.9); } 50%, 96% { opacity: 1; transform: none; } 100% { opacity: 0.3; } }
@keyframes st4 { 0%, 76% { opacity: 0.3; transform: scale(0.9); } 80% { opacity: 1; transform: scale(1.15); } 84%, 96% { opacity: 1; transform: none; } 100% { opacity: 0.3; } }

/* 4 · inbox */
.viz-inbox { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 8px 0 18px; }
.v-mail { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(237, 236, 228, 0.05); border: 1px solid var(--line); opacity: 0; animation: mail-in 9s cubic-bezier(.2, .8, .2, 1) infinite; animation-delay: calc(var(--i) * 0.7s); }
.v-mail div { flex: 1; min-width: 0; }
.v-mail b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.v-mail small { display: block; font-family: var(--font-body); font-size: 12.5px; color: var(--ink-3); }
.v-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: color-mix(in srgb, var(--c) 70%, #fff); background: color-mix(in srgb, var(--c) 18%, transparent); }
.tag { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink); background: rgba(237, 236, 228, 0.04); border: 1px solid rgba(237, 236, 228, 0.14); opacity: 0; animation: tag-pop 9s cubic-bezier(.3, 1.6, .5, 1) infinite; animation-delay: calc(var(--i) * 0.7s + 0.6s); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--viz-1); }
.v-mail:nth-child(3) .tag::before { content: '✓'; width: auto; height: auto; background: none; color: var(--good); font-weight: 700; }
@keyframes mail-in { 0% { opacity: 0; transform: translateY(-16px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(6px); } }
@keyframes tag-pop { 0% { opacity: 0; transform: scale(0.4); } 5%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

/* 5 · report chart */
.viz-report { display: flex; flex-direction: column; justify-content: center; padding: 14px 0 22px; }
.v-chart { width: 100%; height: 150px; overflow: visible; }
.ch-grid { stroke: var(--viz-grid); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.ch-base { stroke: var(--viz-base); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.ch-area { fill: url(#vArea); animation: area-in 8s ease-in-out infinite; }
.ch-ref { fill: none; stroke: var(--viz-ref); stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.ch-line { fill: none; stroke: var(--viz-1); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 1; animation: line-draw 8s ease-in-out infinite; }
.v-plot { position: relative; }
.ch-dot { position: absolute; right: -6px; top: calc(14 / 150 * 100% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--viz-1); box-shadow: 0 0 0 2px #0e1313; opacity: 0; animation: dot-in 8s ease-in-out infinite; }
@keyframes dot-in { 0%, 44% { opacity: 0; } 48%, 92% { opacity: 1; } 100% { opacity: 0; } }
.v-chart-key { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-family: var(--font-body); font-size: 12px; color: var(--ink-2); }
.v-chart-key span { display: inline-flex; align-items: center; gap: 6px; }
.v-chart-key b { width: 14px; height: 0; border-top: 2px solid var(--viz-1); }
.v-chart-key b.ref { border-top: 2px dashed var(--viz-ref); }
.v-delta { color: var(--ink); font-weight: 600; }
.v-delta::before { content: '▲ '; color: var(--good); font-size: 10px; }
@keyframes line-draw { 0% { stroke-dashoffset: 1; } 45%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes area-in { 0%, 25% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.v-toast { align-self: center; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 18px; border-radius: 12px; background: rgba(8, 8, 8, 0.6); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-size: 22px; opacity: 0; animation: toast-up 8s cubic-bezier(.2, .8, .2, 1) infinite; }
.v-toast b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.v-toast small { display: block; font-family: var(--font-body); font-size: 12px; color: var(--ink-3); }
@keyframes toast-up { 0%, 48% { opacity: 0; transform: translateY(14px); } 55%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* carousel footer */
.xfoot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.xmore { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); transition: color 0.2s; }
.xmore:hover { color: var(--ink); }
.xnav { display: flex; gap: 10px; }
.xbtn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); cursor: pointer; border: 1px solid rgba(237, 236, 228, 0.18); background: transparent; transition: border-color 0.2s, opacity 0.2s; }
.xbtn svg { width: 20px; height: 20px; }
.xbtn:hover { border-color: var(--teal); }
.xbtn:disabled { opacity: 0.3; cursor: default; border-color: rgba(237, 236, 228, 0.18); }
@media (max-width: 900px) {
  .xcard { padding: 22px 22px 0; }
  .xmore { font-size: 12px; white-space: nowrap; }
  .x-head h3 { font-size: 19px; }
  .x-desc { font-size: 15px; }
  .xbtn { width: 46px; height: 46px; }
}

/* ---------- Service list ---------- */
.service { display: flex; flex-direction: column; }
.service ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.service li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; }
.service li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--teal); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line); background: rgba(237, 236, 228, 0.03); color: var(--ink-2); font-size: 14.5px; transition: border-color 0.25s, color 0.25s; }
.chip:hover { border-color: rgba(125, 211, 252, 0.4); color: var(--ink); }

/* ---------- Glow panels: audit (services) + CTA ---------- */
.audit-card, .cta {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glow-up), var(--card);
}
.audit-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 60px); }
.audit-card h2 { margin: 16px 0 14px; }
.audit-card .lead { margin: 0 0 28px; }
.audit-list { margin: 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: 12px; }
.audit-list li { position: relative; padding: 16px 18px 16px 66px; border-radius: 12px; background: rgba(8, 8, 8, 0.55); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; counter-increment: a; backdrop-filter: blur(8px); }
.audit-list li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--teal); border: 1px solid rgba(125, 211, 252, 0.35); }
.audit-list b { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); }
@media (max-width: 900px) { .audit-card { grid-template-columns: 1fr; gap: 28px; } }
.cta { padding: 80px clamp(28px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 640px; }
.cta p { margin: 14px 0 0; color: var(--ink-2); max-width: 520px; font-weight: 300; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq-head h2 { margin: 18px 0 16px; }
.faq-head .lead { margin: 0 0 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list summary {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal-hi); }
.faq-list summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
/* plus that turns into a minus */
.faq-list summary::before, .faq-list summary::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--teal);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), opacity 0.3s;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(90deg) scaleX(0); opacity: 0; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height 0.35s cubic-bezier(.2, .8, .2, 1), content-visibility 0.35s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }
.faq-a p { margin: 0; padding: 0 56px 26px 0; color: var(--ink-2); font-size: 16px; font-weight: 300; line-height: 1.65; max-width: 620px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-list summary { font-size: 17px; padding: 20px 44px 20px 0; }
  .faq-a p { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { min-height: 100vh; padding: 150px 0 80px; display: flex; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h1 { font-size: clamp(42px, 5.4vw, 72px); margin: 20px 0 20px; }
/* Contact details: simple label / value rows on hairlines */
.contact .lead { margin: 0; }
.contact-meta { margin: 44px 0 0; border-top: 1px solid var(--line); }
.contact-meta div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-meta dt { padding-top: 3px; font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.contact-meta dd { margin: 0; font-size: 16px; font-weight: 300; color: var(--ink); }
.contact-meta a { color: var(--teal); transition: color 0.2s; }
.contact-meta a:hover { color: var(--teal-hi); }
@media (max-width: 520px) { .contact-meta div { grid-template-columns: 1fr; gap: 4px; } }

/* Form card */
.form {
  position: relative;
  padding: 34px;
  border-radius: 22px;
  border: 1px solid rgba(237, 236, 228, 0.1);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(125, 211, 252, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(18, 24, 32, 0.92), rgba(8, 10, 14, 0.92));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.form::before {
  /* soft light along the top edge */
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.form h2 { font-size: 26px; font-weight: 400; }
.form-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--ink-2); background: rgba(237, 236, 228, 0.04); border: 1px solid var(--line); }

/* Floating-label fields */
.fl { position: relative; margin-bottom: 14px; }
.fl input, .fl textarea {
  width: 100%;
  padding: 24px 16px 9px;
  border-radius: 12px;
  border: 1px solid rgba(237, 236, 228, 0.1);
  background: rgba(237, 236, 228, 0.03);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.fl textarea { min-height: 128px; resize: vertical; padding-top: 28px; }
.fl label {
  position: absolute;
  left: 17px;
  top: 17px;
  font-size: 15px;
  color: var(--ink-3);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s cubic-bezier(.2, .8, .2, 1), color 0.2s;
}
.fl label em { font-style: normal; opacity: 0.7; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: rgba(125, 211, 252, 0.6); background: rgba(125, 211, 252, 0.04); box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.12); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(0.78); color: var(--teal); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.row .fl { margin-bottom: 0; }

/* "What's slowing you down?" chips */
.pick { margin: 6px 0 16px; padding: 0; border: 0; }
.pick legend { padding: 0; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.pick legend em { font-style: normal; margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(237, 236, 228, 0.14);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.chip-btn:hover { border-color: rgba(125, 211, 252, 0.5); color: var(--ink); }
.chip-btn[aria-pressed='true'] { color: #04121c; background: var(--teal); border-color: var(--teal); }
.chip-btn[aria-pressed='true']::before { content: '✓ '; font-weight: 700; }
.chip-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.form .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 16px 22px; }
.form-note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- Footer ---------- */
footer { position: relative; padding: 60px 0 40px; background: var(--bg); }
footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(125, 211, 252, 0), var(--teal) 50%, rgba(125, 211, 252, 0)); opacity: 0.5; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; color: var(--ink-2); font-size: 14.5px; }
.foot-links a:hover { color: var(--ink); }
.copy { width: 100%; margin-top: 28px; color: var(--ink-3); font-size: 13px; letter-spacing: 0.06em; }

/* ---------- Reel (scroll showcase) ---------- */
.reel { position: relative; height: 280vh; padding: 0; }
.reel-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ribbon { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rb path { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.rb-shadow { stroke: #000; stroke-width: 30; opacity: 0.6; filter: url(#rblur); transform: translate(8px, 16px); }
.rb-base { stroke: url(#rbg); stroke-width: 28; }
.rb-hi { stroke: #ffffff; stroke-width: 7; opacity: 0.35; transform: translate(-3px, -6px); mix-blend-mode: soft-light; }

.reel-intro { position: absolute; top: 30vh; left: 0; right: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding-left: 50%; }
.reel-intro p { margin: 0 0 26px; font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 27px); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); max-width: 540px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 6px; background: #fff; color: #080808; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; transition: transform 0.25s, box-shadow 0.25s; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(125, 211, 252, 0.25); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.reel-card {
  position: absolute;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform, clip-path;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(125, 211, 252, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 8, 0) 55%, rgba(12, 90, 128, 0.45) 100%),
    linear-gradient(160deg, #111716 0%, #080a0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.reel-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0%, transparent 35%); }
.reel-inner { position: absolute; left: 50%; top: 50%; width: 1200px; height: 620px; transform-origin: 50% 50%; font-family: var(--font-display); color: var(--ink); }

.demo-sky { --day: 0; position: absolute; inset: 0; background: radial-gradient(60% 70% at 80% 0%, rgba(125, 211, 252, calc(0.04 + var(--day) * 0.2)), transparent 60%); }
.demo-badge, .demo-clock { position: absolute; top: 32px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(237, 236, 228, 0.04); border: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.demo-badge { left: 40px; }
.demo-clock { right: 40px; font-variant-numeric: tabular-nums; font-weight: 500; font-size: 17px; }
.clock-ico { display: inline-block; width: 18px; text-align: center; color: var(--teal); }
.clock-ico.sun { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.4; } }

.demo-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.demo-wires path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 6 8; opacity: 0.45; }
.pk { opacity: 0; fill: #fff; filter: drop-shadow(0 0 6px var(--teal)) drop-shadow(0 0 12px var(--teal)); }

/* Phone */
.phone { position: absolute; left: 60px; top: 88px; width: 232px; height: 502px; border-radius: 46px; background: linear-gradient(135deg, #b9c3d0 0%, #5d6878 14%, #2b323d 40%, #1c222b 60%, #4d5868 86%, #aab5c4 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 0 0 2.5px rgba(0, 0, 0, 0.55), 0 40px 70px rgba(0, 0, 0, 0.6); }
.phone::before { content: ''; position: absolute; inset: 5px; border-radius: 44px; background: #020304; }
.ph-btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #39424f, #9aa5b4, #39424f); }
.ph-action { left: -3px; top: 96px; height: 24px; }
.ph-volup { left: -3px; top: 136px; height: 46px; }
.ph-voldn { left: -3px; top: 192px; height: 46px; }
.ph-power { right: -3px; top: 150px; height: 72px; }
.phone-island { position: absolute; z-index: 6; left: 50%; top: 20px; width: 66px; height: 22px; margin-left: -33px; border-radius: 14px; background: #000; }
.phone-island::after { content: ''; position: absolute; right: 9px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a6a, #0a0d14 70%); }
.phone-status { position: absolute; z-index: 5; left: 14px; right: 14px; top: 14px; height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 20px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.ph-icons { display: flex; align-items: center; gap: 4px; }
.ph-icons svg { fill: #fff; height: 9px; width: auto; }
.ph-batt { position: relative; width: 20px; height: 10px; border: 1.2px solid rgba(255, 255, 255, 0.55); border-radius: 3.5px; padding: 1px; }
.ph-batt::after { content: ''; position: absolute; right: -3.5px; top: 3px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, 0.55); }
.ph-batt i { display: block; width: 78%; height: 100%; border-radius: 2px; background: #fff; }
.lock, .chat { position: absolute; inset: 9px; border-radius: 40px; overflow: hidden; }
.lock { text-align: center; padding: 58px 14px 0; background: radial-gradient(90% 55% at 25% 12%, rgba(125, 211, 252, 0.55), transparent 62%), linear-gradient(180deg, #0d1622 0%, #080808 60%, #0b3550 100%); }
.lock-pad { width: 12px; height: 15px; margin: 0 auto 4px; fill: #fff; stroke: #fff; opacity: 0.9; }
.lock-date { color: rgba(255, 255, 255, 0.85); font-family: var(--font-body); font-size: 13px; font-weight: 500; }
.lock-time { font-size: 66px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.lock-btn { position: absolute; bottom: 34px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); }
.lock-btn svg { width: 18px; height: 18px; fill: #fff; }
.lock-torch { left: 26px; }
.lock-cam { right: 26px; }
.chat { background: #0a0c0c; padding-top: 50px; }
.phone-glare { position: absolute; z-index: 7; inset: 9px; border-radius: 40px; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 26%, transparent 38%); }
.phone-homebar { position: absolute; z-index: 7; left: 50%; bottom: 17px; width: 92px; height: 4px; margin-left: -46px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }
.notif { display: flex; gap: 10px; margin-top: 26px; padding: 12px; border-radius: 18px; text-align: left; font-family: var(--font-body); font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, 0.72); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); }
.notif small { display: block; color: rgba(255, 255, 255, 0.5); font-size: 11px; }
.notif strong { display: block; color: #fff; font-size: 13px; }
.notif-done { position: absolute; left: 14px; right: 14px; top: 196px; margin: 0; border-color: rgba(125, 211, 252, 0.55); }
.ni { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: #04121c; background: var(--teal); }
.ni-k { font-family: var(--font-display); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.chat-back { font-size: 26px; line-height: 1; color: var(--teal); margin-top: -3px; }
.chat-head strong { display: block; font-size: 14px; font-weight: 500; color: #fff; }
.chat-head small { display: block; font-family: var(--font-body); font-size: 11px; color: rgba(255, 255, 255, 0.5); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--teal); background: rgba(125, 211, 252, 0.14); }
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-family: var(--font-body); font-size: 12.5px; line-height: 1.4; }
.msg.in { align-self: flex-start; background: #1a1f1f; color: var(--ink); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; color: #04121c; background: var(--teal); border-bottom-right-radius: 5px; }
.ai-tag { display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; background: rgba(4, 18, 28, 0.16); vertical-align: 1px; }
.msg.dots { display: flex; gap: 4px; padding: 12px 14px; }
.msg.dots i { width: 6px; height: 6px; border-radius: 50%; background: #04121c; animation: dot 1s ease-in-out infinite; }
.msg.dots i:nth-child(2) { animation-delay: 0.15s; }
.msg.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: 0.5; } }

/* Data cards */
.dcard { position: absolute; padding: 20px 22px; border-radius: 16px; font-family: var(--font-body); background: linear-gradient(135deg, #141a19, #0b0e0e); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); transition: border-color 0.3s, box-shadow 0.3s; }
.dcard.lit { border-color: rgba(125, 211, 252, 0.7); box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.1), 0 0 50px rgba(125, 211, 252, 0.25), 0 24px 50px rgba(0, 0, 0, 0.45); }
.crm { left: 400px; top: 108px; width: 340px; }
.cal { left: 820px; top: 108px; width: 320px; }
.dc-head { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink); }
.dc-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--teal); background: rgba(125, 211, 252, 0.12); }
.hot, .booked { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: #04121c; background: var(--viz-1); }
.booked { color: #fff; background: var(--good); }
.dc-row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dc-row span { color: var(--ink-3); }
.dc-row b { color: var(--ink); font-weight: 400; min-height: 1.4em; }
.dc-row b.typing::after { content: '|'; margin-left: 1px; color: var(--teal); animation: caret 0.6s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.score { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.score-bar { height: 6px; border-radius: 99px; background: var(--viz-base); overflow: hidden; }
.score-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--viz-1); }
.score-n { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.score b { color: var(--ink); font-weight: 500; }
.slots { display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.slot > span { text-align: center; font-size: 16px; }
.slot i { position: relative; height: 38px; border-radius: 8px; border: 1px dashed rgba(237, 236, 228, 0.12); overflow: hidden; }
.slot i em { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 12px; border-radius: 7px; font-style: normal; font-weight: 500; font-size: 13px; white-space: nowrap; color: var(--ink); background: rgba(237, 236, 228, 0.05); transform-origin: left center; }
.slot i em::after { content: '✓'; margin-left: auto; padding-left: 8px; font-weight: 700; color: var(--good); }
.slot.target i em { color: #04121c; background: var(--viz-1); }
.slot.target i em::after { color: #04121c; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti b { position: absolute; width: 7px; height: 7px; border-radius: 2px; }
.demo-tagline { position: absolute; left: 400px; right: 60px; top: 392px; font-size: 26px; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); }
.sun-dot { margin-right: 10px; color: var(--teal); }
.kpis { position: absolute; left: 400px; right: 60px; bottom: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { padding: 18px 20px; border-radius: 14px; background: linear-gradient(180deg, rgba(8, 8, 8, 0) 40%, rgba(12, 90, 128, 0.35)), linear-gradient(135deg, #141a19, #0b0e0e); border: 1px solid var(--line); }
.kpi { position: relative; overflow: hidden; }
.kpi::before { content: ''; position: absolute; left: 20px; top: 0; width: 28px; height: 2px; border-radius: 0 0 2px 2px; background: var(--viz-1); }
.kpi b { display: block; font-size: 36px; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 13px; color: var(--ink-2); }
.demo-warp { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 20%, rgba(125, 211, 252, 0.35) 48%, rgba(255, 255, 255, 0.2) 56%, transparent 80%); mix-blend-mode: screen; }

/* vertical layout for phones */
.reel.vertical .reel-inner { width: 560px; height: 980px; }
.reel.vertical .demo-badge { left: 24px; top: 28px; }
.reel.vertical .demo-clock { right: 24px; top: 28px; }
.reel.vertical .phone { left: 24px; top: 96px; width: 252px; height: 545px; }
.reel.vertical .crm { left: 300px; top: 112px; width: 236px; }
.reel.vertical .cal { left: 300px; top: 512px; width: 236px; }
.reel.vertical .dc-row { grid-template-columns: 1fr; gap: 2px; }
.reel.vertical .dc-head { font-size: 15px; }
.reel.vertical .hot, .reel.vertical .booked { position: absolute; top: -12px; right: 12px; }
.reel.vertical .demo-tagline { left: 24px; right: 24px; top: 790px; font-size: 24px; }
.reel.vertical .kpis { left: 24px; right: 24px; top: 866px; bottom: auto; }
.reel.vertical .kpi { padding: 16px 14px; }
.reel.vertical .kpi b { font-size: 26px; }
.reel.vertical .kpi small { font-size: 12px; }
.reel.vertical .rb-base { stroke-width: 12; }
.reel.vertical .rb-shadow { stroke-width: 14; }
.reel.vertical .rb-hi { stroke-width: 3; transform: translate(-1px, -3px); }
@media (max-width: 900px) { .reel-intro { padding-left: 0; top: 14vh; } }

/* ---------- Reveal: text sharpens out of a blur ---------- */
.reveal { opacity: 0; filter: blur(10px); transform: translateY(20px); transition: opacity 1s ease, filter 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; filter: none; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.no-js .reveal { opacity: 1; filter: none; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding: 84px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 70px; }
  .hero::after { background: radial-gradient(ellipse 90% 50% at 50% 48%, rgba(8, 8, 8, 0.85) 0%, rgba(8, 8, 8, 0.45) 60%, rgba(8, 8, 8, 0) 100%), linear-gradient(180deg, rgba(8, 8, 8, 0) 70%, #080808 100%); }
  .ticker { bottom: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact { padding-top: 140px; }
  .nav { flex-wrap: wrap; padding: 12px 16px; }
  .brand-mark { width: 34px; }
  .brand-name { font-size: 21px; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(237, 236, 228, 0.18); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 12px 0 4px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 4px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  .cta { padding: 56px 26px; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; filter: none; transform: none; }
  .reel { height: auto; }
  .reel-stage { position: relative; }
}
