:root {
  --violet-800: #172554;
  --violet-700: #1e3a8a;
  --violet-600: #1d4ed8;
  --violet-500: #2563eb;
  --violet-400: #3b82f6;
  --violet-300: #60a5fa;
  --violet-200: #bfdbfe;
  --violet-50: #eff6ff;

  /* secondary accents for a richer, premium palette */
  --accent: #4f46e5;   /* indigo — refined secondary (was bright violet) */
  --accent-2: #22d3ee; /* cyan */

  --ink: #0d0f17;
  --text: #353a48;
  --muted: #71768a;
  --line: #ececf3;
  --line-strong: #d8dae5;
  --page: #ffffff;
  --soft: #f8f8fc;

  --shadow-sm: 0 1px 2px rgba(13,15,23,.06), 0 1px 1px rgba(13,15,23,.04);
  --shadow-md: 0 10px 30px rgba(13,15,23,.08);
  --shadow-lg: 0 30px 70px rgba(23,37,84,.16);

  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.site { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.logo__mark { width: 34px; height: 34px; display: inline-block; flex: 0 0 auto; }
.logo__mark svg { width: 100%; height: 100%; display: block; }
.logo__word { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.logo--light { color: #fff; }
.logo--dark { color: var(--ink); }
.logo--dark .logo__word { color: var(--ink); }
.logo--compact .logo__word { font-size: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; font-family: inherit;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .25s, background .2s, border-color .2s, color .2s;
  white-space: nowrap; position: relative;
}
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--violet-400), var(--violet-500) 60%, var(--violet-600)); color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.34), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37,99,235,.44), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--violet-300); color: var(--violet-500); }
.btn--white { background: #fff; color: var(--violet-600); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.btn--clear { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn--clear:hover { background: rgba(255,255,255,.2); }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Chip / eyebrow ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--violet-600); background: var(--violet-50); border: 1px solid #dbeafe;
}
.chip--light { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: transparent; backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 1px 24px rgba(13,15,23,.06); background: rgba(255,255,255,.88); }
/* at the top the header is the same dark as the hero top, so they read as one band; flips to white on scroll */
.header:not(.scrolled) { background: #0b1736; border-bottom-color: transparent; }
.header:not(.scrolled) .logo--dark, .header:not(.scrolled) .logo--dark .logo__word { color: #fff; }
.header:not(.scrolled) .header__nav a { color: rgba(255,255,255,.82); }
.header:not(.scrolled) .header__nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.header:not(.scrolled) .burger span { background: #fff; }
.header:not(.scrolled) .lang { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.header:not(.scrolled) .lang__btn { color: rgba(255,255,255,.75); }
.header:not(.scrolled) .lang__btn:hover { color: #fff; }
.header:not(.scrolled) .lang__btn.is-active { color: #fff; }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 72px; }

.header__nav { display: flex; gap: 4px; justify-self: center; }
.header__nav a {
  color: var(--muted); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 9px;
  transition: color .2s, background .2s;
}
.header__nav a:hover { color: var(--ink); background: var(--soft); }

.header__right { display: flex; gap: 10px; align-items: center; justify-self: end; }
.header__sep { width: 1px; height: 22px; background: var(--line-strong); }

/* language switch */
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; }
.lang__btn {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--muted);
  padding: 5px 10px; border-radius: 7px; transition: background .2s, color .2s;
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { background: var(--violet-500); color: #fff; }

/* theme switch — segmented control, mirrors .lang */
.theme { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; }
.theme__btn {
  display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer; font-family: inherit;
  color: var(--muted); padding: 5px 9px; border-radius: 7px; transition: background .2s, color .2s;
}
.theme__btn svg { width: 16px; height: 16px; display: block; }
.theme__btn:hover { color: var(--ink); }
.theme__btn.is-active { background: var(--violet-500); color: #fff; }
/* on the dark, un-scrolled header it reads as glass (mirrors .lang) */
.header:not(.scrolled) .theme { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.header:not(.scrolled) .theme__btn { color: rgba(255,255,255,.75); }
.header:not(.scrolled) .theme__btn:hover { color: #fff; }
.header:not(.scrolled) .theme__btn.is-active { color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: 4px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0 0 56px; text-align: center; overflow-x: clip; }
/* dark band extends to ~the middle of the mockup; mockup's lower half is on white */
.hero__band { position: relative; padding: 60px 0 480px; }
.hero__mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #0b1736 0%, #102a63 55%, #1a3a86 100%);
}
/* soft glow for depth, centred behind the hero content like a lit stage */
.hero__mesh::before {
  content: ""; position: absolute; left: 50%; top: -120px; width: 1320px; height: 760px; margin-left: -660px;
  background: radial-gradient(closest-side, rgba(96,165,250,.36), transparent 70%);
}
/* curved bottom edge — the band dips and flows into the white page below (Aircall-style) */
.hero__curve {
  position: absolute; left: -1px; right: -1px; bottom: -1px; width: calc(100% + 2px);
  height: clamp(72px, 9vw, 140px); z-index: 0; display: block; pointer-events: none;
}
/* aurora blobs — curtain: start merged in the centre, open outward to the corners, fade (one-shot) */
.hero__blob {
  position: absolute; top: -90px; left: 50%; width: 1100px; height: 1100px; margin-left: -550px;
  border-radius: 50%; filter: blur(110px); mix-blend-mode: multiply; opacity: 0; will-change: transform, opacity;
}
.hero__blob--a {
  background: radial-gradient(circle at center, rgba(59,130,246,.28), transparent 72%);
  animation: blobA 5s cubic-bezier(.25,.8,.3,1) forwards;
}
.hero__blob--b {
  background: radial-gradient(circle at center, rgba(37,99,235,.24), transparent 72%);
  animation: blobB 5s cubic-bezier(.25,.8,.3,1) forwards;
}
@keyframes blobA {
  0%   { transform: translateX(0);     opacity: .04; }
  18%  { transform: translateX(-4vw);  opacity: .13; }  /* merged in the centre — barely visible */
  100% { transform: translateX(-52vw); opacity: 0; }    /* curtain opens to the left, fades */
}
@keyframes blobB {
  0%   { transform: translateX(0);     opacity: .035; }
  18%  { transform: translateX(4vw);   opacity: .12; }  /* merged in the centre — barely visible */
  100% { transform: translateX(52vw);  opacity: 0; }    /* curtain opens to the right, fades */
}
@media (prefers-reduced-motion: reduce) {
  .hero__blob { animation: none; opacity: 0; }
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.09); font-size: 13.5px; color: rgba(255,255,255,.9);
  margin-bottom: 28px; box-shadow: var(--shadow-sm); font-weight: 500; backdrop-filter: blur(6px);
}
.badge__tag { background: linear-gradient(135deg, var(--violet-500), var(--accent)); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge__arrow { color: rgba(255,255,255,.6); transition: transform .2s; margin-right: -3px; }
.badge:hover .badge__arrow { transform: translateX(3px); }
.hero__title { font-size: clamp(28px, 5.8vw, 72px); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.hero__title .grad { display: inline-block; padding-bottom: .06em; }
/* light accent for the wordmark on the dark hero (scoped — leaves pillars .grad untouched) */
.hero__title .grad { background: linear-gradient(110deg, #7cb0ff, #a5b4fc 50%, #d6c9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.grad { background: linear-gradient(110deg, var(--violet-500), var(--violet-600) 45%, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { max-width: 980px; margin: 24px auto 0; color: rgba(255,255,255,.74); font-size: clamp(16px, 2.2vw, 20px); }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
/* glass secondary button on the dark hero */
.hero .btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; box-shadow: none; }
.hero .btn--ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.55); color: #fff; }
.hero__proof { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, var(--violet-300), var(--violet-500)); }
.avatars span:first-child { margin-left: 0; }
.avatars span[style*="--i:1"] { background: linear-gradient(135deg, #f0abfc, var(--violet-400)); }
.avatars span[style*="--i:2"] { background: linear-gradient(135deg, #93c5fd, var(--violet-500)); }
.avatars span[style*="--i:3"] { background: linear-gradient(135deg, #a7f3d0, var(--violet-400)); }
.hero__proof-txt { text-align: left; line-height: 1.3; }
.hero__proof-txt b { display: block; color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.hero__proof-txt span { font-size: 13px; color: var(--muted); }

/* ---------- Product mockup ---------- */
.hero__stage { position: relative; z-index: 1; }
.mock { position: relative; margin: -430px auto 0; max-width: 980px; }

.mock__glow { position: absolute; inset: -6% 6% 12%; z-index: 0; background: radial-gradient(closest-side, rgba(59,130,246,.4), transparent); filter: blur(50px); }
.mock__win {
  position: relative; z-index: 1; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg), var(--shadow-md);
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d7d9e3; }
.mock__bar span:nth-child(1){ background:#ff5f57 } .mock__bar span:nth-child(2){ background:#febc2e } .mock__bar span:nth-child(3){ background:#28c840 }
.mock__bar em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 12.5px; background:#fff; border:1px solid var(--line); padding:3px 12px; border-radius:8px; }
.mock__body { display: grid; grid-template-columns: 210px 1fr; min-height: 360px; }
.mock__side { background: linear-gradient(180deg, var(--violet-700), var(--violet-800)); color: #fff; padding: 18px; display: flex; flex-direction: column; }
.mock__brand { display:flex; align-items:center; gap:8px; font-weight: 800; letter-spacing: .06em; margin-bottom: 20px; }
.mock__brand-mark { width:18px; height:18px; border-radius:6px; background: linear-gradient(135deg,#fff,var(--violet-200)); }
.mock__nav { position: relative; list-style: none; display: grid; gap: 4px; }
.mock__nav-ind { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 9px;
  background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .55s cubic-bezier(.34,1.3,.4,1), height .3s ease, background .22s ease; pointer-events: none; }
.mock__nav-ind.flash { background: rgba(255,255,255,.32); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.mock__nav li { position: relative; z-index: 1; font-size: 13.5px; padding: 9px 11px; border-radius: 9px;
  color: rgba(255,255,255,.7); transition: color .35s ease; cursor: default; user-select: none; }
.mock__nav li.on { color: #fff; font-weight: 600; }
.mock__ai { margin-top: auto; font-size: 13px; padding: 11px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color:#fff; }
.mock__main { padding: 22px; }
.mock__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.mock__head h4 { font-size: 17px; color: var(--ink); }
.mock__head p { font-size: 13px; color: var(--muted); }
.mock__pill { font-size: 12.5px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; height: fit-content; }
.mock__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.mock__kpi { border: 1px solid var(--line); border-radius: 12px; padding: 13px; background:#fff; }
.mock__kpi span { font-size: 11.5px; color: var(--muted); display: block; }
.mock__kpi b { font-size: 21px; font-weight: 800; color: var(--ink); display: block; margin: 3px 0; }
.mock__kpi i { font-size: 11.5px; color: var(--muted); font-style: normal; }
.mock__kpi i.up { color: #16a34a; } .mock__kpi i.down { color: #dc2626; }
.mock__cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.mock__panel { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mock__panel-h { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.mock__panel-h span { color: var(--muted); font-weight: 400; }
.mock__bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.mock__bars span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--violet-300), var(--violet-500)); }
.mock__feed { list-style: none; display: grid; gap: 12px; }
.mock__feed li { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 9px; }
.mock__feed i { width: 8px; height: 8px; border-radius: 50%; }
.mock__feed .d1 { background: var(--violet-400); } .mock__feed .d2 { background: #16a34a; } .mock__feed .d3 { background: #f59e0b; }
.mock__bars.tall { height: 150px; }

/* ----- Animated screens ----- */
.mock__main { position: relative; min-height: 376px; display: flex; flex-direction: column; }
.screen { display: none; }
.screen.is-active { flex: 1; }
.screen.is-active { display: block; animation: scrIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes scrIn {
  0% { opacity: 0; transform: translateY(12px) scale(.99); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

.screen.is-active .stagger > * { animation: itemIn .55s cubic-bezier(.22,1.2,.36,1) both; }
.screen.is-active .stagger > *:nth-child(1) { animation-delay: .05s; }
.screen.is-active .stagger > *:nth-child(2) { animation-delay: .11s; }
.screen.is-active .stagger > *:nth-child(3) { animation-delay: .17s; }
.screen.is-active .stagger > *:nth-child(4) { animation-delay: .23s; }
.screen.is-active .stagger > *:nth-child(5) { animation-delay: .29s; }
@keyframes itemIn {
  0% { opacity: 0; transform: translateY(14px); }
  60% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: none; }
}

.mock__bars span { transform: scaleY(0); transform-origin: bottom; }
.screen.is-active .mock__bars span { animation: barUp .75s cubic-bezier(.2,.85,.25,1) both; }
.screen.is-active .mock__bars span:nth-child(1) { animation-delay: .16s; }
.screen.is-active .mock__bars span:nth-child(2) { animation-delay: .22s; }
.screen.is-active .mock__bars span:nth-child(3) { animation-delay: .28s; }
.screen.is-active .mock__bars span:nth-child(4) { animation-delay: .34s; }
.screen.is-active .mock__bars span:nth-child(5) { animation-delay: .40s; }
.screen.is-active .mock__bars span:nth-child(6) { animation-delay: .46s; }
.screen.is-active .mock__bars span:nth-child(7) { animation-delay: .52s; }
@keyframes barUp { 0% { transform: scaleY(0); } 72% { transform: scaleY(1.05); } 100% { transform: scaleY(1); } }

/* kanban / pipeline columns */
.mock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kb-col { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kb-h { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.kb-card, .deal { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 13px; color: var(--ink); margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.kb-card:last-child, .deal:last-child { margin-bottom: 0; }
.deal { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.deal b { color: var(--violet-600); }
.deal--win { border-color: var(--violet-300); background: var(--violet-50); }
.kb-card--done { color: var(--muted); text-decoration: line-through; }

/* team */
.tm-list { display: grid; gap: 9px; }
.tm-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.tm-av { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; background: linear-gradient(135deg, var(--violet-300), var(--violet-500)); }
.tm-av.a2 { background: linear-gradient(135deg, #93c5fd, var(--violet-500)); }
.tm-av.a3 { background: linear-gradient(135deg, #6ee7b7, var(--violet-400)); }
.tm-av.a4 { background: linear-gradient(135deg, #f0abfc, var(--violet-400)); }
.tm-av.a5 { background: linear-gradient(135deg, #fcd34d, var(--violet-400)); }
.tm-row b { font-size: 13.5px; color: var(--ink); display: block; line-height: 1.2; }
.tm-row i { font-size: 12px; color: var(--muted); font-style: normal; }
.tm-row .dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #cbd0dc; }
.tm-row .dot.on { background: #16a34a; }

/* leave list */
.leave { list-style: none; display: grid; gap: 10px; }
.leave li { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.leave em { color: var(--muted); font-style: normal; }
.leave button { font-family: inherit; font-size: 12px; font-weight: 600; color: #fff; background: var(--violet-500); border: 0; border-radius: 7px; padding: 6px 12px; cursor: pointer; }

/* reports progress */
.rep { list-style: none; display: grid; gap: 13px; padding-top: 4px; }
.rep li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink); }
.rep li span { width: 56px; color: var(--muted); flex: 0 0 auto; }
.rep-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.rep-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--violet-500), var(--violet-300)); }
.screen.is-active .rep-bar i { animation: repGrow .85s cubic-bezier(.2,.85,.25,1) both .3s; }
@keyframes repGrow { 0% { width: 0; } 78% { width: calc(var(--w) + 4%); } 100% { width: var(--w); } }

@media (prefers-reduced-motion: reduce) {
  .screen.is-active, .screen.is-active .stagger > *, .screen.is-active .mock__bars span, .screen.is-active .rep-bar i { animation: none; }
  .mock__bars span { transform: none; }
  .rep-bar i { width: var(--w); }
}

/* click ripple */
.mock__ripple { position: absolute; z-index: 5; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: rgba(59,130,246,.45); pointer-events: none; animation: rip .62s cubic-bezier(.2,.7,.2,1) forwards; }
.mock__ripple.on-dark { background: rgba(255,255,255,.55); }
@keyframes rip {
  0% { transform: scale(.2); opacity: .8; }
  35% { opacity: .55; }
  65% { opacity: .26; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* element poke highlight — snappy press + settle */
.poke { animation: poke .6s cubic-bezier(.3,1.4,.5,1); }
@keyframes poke {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59,130,246,0); }
  18% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(59,130,246,.34); }
  40% { transform: scale(.985); box-shadow: 0 0 0 6px rgba(59,130,246,.12); }
  62% { transform: scale(1.015); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
  82% { transform: scale(.997); box-shadow: 0 0 0 1px rgba(59,130,246,.1); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

/* ---------- Marquee ---------- */
.marquee-wrap { padding: 56px 0 16px; text-align: center; }
.marquee__label { color: var(--muted); font-size: 13px; letter-spacing: .04em; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; gap: 56px; white-space: nowrap; animation: scroll 32s linear infinite; }
.marquee__track span { font-weight: 700; font-size: 20px; color: #bcbfce; letter-spacing: .5px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Pillars (modern cards) ---------- */
.pillars { padding: 92px 0 40px; }
.pillars .section__head { max-width: none; }
.pillars .section__title { white-space: nowrap; }
.pillars .section__head { margin-bottom: 50px; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  position: relative; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px 28px 34px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-6px); border-color: var(--violet-200); box-shadow: 0 20px 44px rgba(23,37,84,.12); }
.pcard__ic {
  position: relative; width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  color: var(--violet-600); margin: 0 auto 22px;
  background: var(--violet-50); border: 1px solid #dbeafe;
  transition: transform .25s cubic-bezier(.3,1.3,.5,1);
}
.pcard:hover .pcard__ic { transform: translateY(-2px) scale(1.05); }
.pcard__ic svg { width: 30px; height: 30px; display: block; }
.pcard h3 { font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
/* Pillars + Features are both white and related — tighten the gap between them */
#features { padding-top: 52px; }
/* alternating sections become floating rounded panels for separation */
.section--alt {
  position: relative; background: linear-gradient(180deg, #f3f7ff, #eef3ff);
  border-top: 1px solid #e6edfb; border-bottom: 1px solid #e6edfb;
  border-radius: 0; margin: 14px 0;
}
/* offset anchor jumps for the sticky header */
:where(#top, #features, #showcase, #customers, #pricing, #faq) { scroll-margin-top: 92px; }
.section__head { max-width: 660px; margin-bottom: 50px; }
#showcase { overflow-x: clip; }
.section__head--center { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .section__lead { max-width: 640px; margin-left: auto; margin-right: auto; }
/* the Features lead is longer — give it more room before wrapping */
#features .section__lead { max-width: 820px; }
.section__head .chip { margin-bottom: 16px; }
.section__title { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.025em; color: var(--ink); line-height: 1.22; text-wrap: balance; }
.section__lead { color: var(--muted); font-size: 17px; margin-top: 14px; text-wrap: pretty; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento__cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 6px rgba(13,15,23,.04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.bento__cell:hover { transform: translateY(-4px); border-color: var(--violet-200); box-shadow: var(--shadow-md); }
.bento__cell--lg { grid-row: span 2; display: flex; flex-direction: column; }
.bento__cell--accent { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; background: linear-gradient(120deg, var(--violet-50), #fff 60%); border-color: #dbeafe; }
.bento__accent-cta { margin-left: auto; flex: 0 0 auto; white-space: nowrap; }
/* highlighted hero tile — spans two columns, brand gradient */
.bento__cell--hero { grid-column: span 2; border: 0; color: #fff; box-shadow: var(--shadow-md);
  background:
    radial-gradient(120% 120% at 88% 6%, rgba(34,211,238,.28), transparent 55%),
    linear-gradient(135deg, var(--violet-600), var(--violet-500) 58%, var(--accent)); }
.bento__cell--hero:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.bento--benefits .bento__cell--hero h3 { color: #fff; font-size: 20px; }
.bento--benefits .bento__cell--hero p { color: rgba(255,255,255,.88); font-size: 15.5px; max-width: 46ch; }
.bento__cell--hero .bento__icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; }
.ben-mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ben-mods span { font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); padding: 6px 13px; border-radius: 999px; }
/* stats band sits inside the benefits bento, full width */
.bento--benefits .stats { grid-column: 1 / -1; }
/* keep the benefits lead on a single line (wraps only on smaller screens) */
#customers .section__lead { max-width: 900px; }
.bento__cell--accent .bento__icon { margin-bottom: 0; flex: 0 0 auto; width: 56px; height: 56px; background: #fff; }
.bento__cell--accent .bento__icon svg { width: 28px; height: 28px; }
.bento__accent-body h3 { margin-bottom: 6px; }
.bento__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; color: var(--violet-600); background: var(--violet-50); border: 1px solid #dbeafe; }
.bento__icon svg { width: 25px; height: 25px; }
.bento__cell h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.bento__cell p { color: var(--muted); font-size: 15px; }
.bento__viz { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }
.pipe { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-radius: 11px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; }
.pipe span { color: var(--muted); } .pipe b { color: var(--ink); font-size: 16px; }
.pipe--hot { background: var(--violet-50); border-color: #cfe0fd; }
.pipe--hot b { color: var(--violet-600); }

/* bento mini-viz */
.btags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.btag { font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.btag--on { color: var(--violet-600); background: var(--violet-50); border-color: #cfe0fd; }
.bavs { display: flex; align-items: center; margin-top: 18px; }
.bav { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; box-shadow: 0 1px 3px rgba(13,15,23,.12); background: var(--violet-300); }
.bav:first-child { margin-left: 0; }
.bav.a1 { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.bav.a2 { background: linear-gradient(135deg,#818cf8,#4f46e5); }
.bav.a3 { background: linear-gradient(135deg,#34d399,#059669); }
.bav.a4 { background: linear-gradient(135deg,#fbbf24,#f59e0b); }
.bav--n { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--violet-600); background: var(--violet-50); }
.bspark { display: flex; align-items: flex-end; gap: 7px; height: 52px; margin-top: 18px; }
.bspark span { flex: 1; height: var(--h); border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, var(--violet-400), var(--violet-300)); opacity: .9; }
.bspark span:last-child { background: linear-gradient(180deg, var(--violet-500), var(--violet-400)); opacity: 1; }
.brule { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.brule__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violet-500); box-shadow: 0 0 0 4px var(--violet-50); flex: 0 0 auto; }
.brule__bar { flex: 1; height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--violet-400), var(--violet-200)); }
.bswitch { width: 34px; height: 19px; border-radius: 999px; background: var(--violet-500); position: relative; flex: 0 0 auto; }
.bswitch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 28px; }
.showcase + .showcase { margin-top: 80px; }
.showcase--rev .showcase__text { order: 2; }
.showcase__eyebrow { color: var(--violet-500); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.showcase__text h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 10px 0 14px; line-height: 1.12; }
.showcase__text p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--text); }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--violet-50); color: var(--violet-500); font-weight: 800; font-size: 12px; flex: 0 0 auto; }
.showcase__viz .vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.vcard__h { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.vcard__h span { color: var(--muted); font-weight: 500; }
.vcard__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.vcol b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.vrow { height: 38px; border-radius: 9px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 9px; }
.vrow.on { background: var(--violet-50); border-color: #cfe0fd; }
.vrow.win { background: linear-gradient(135deg, var(--violet-400), var(--violet-300)); border: 0; }
.vbars { display: grid; gap: 16px; }
.vbar { display: grid; gap: 7px; }
.vbar em { font-size: 12.5px; color: var(--muted); font-style: normal; }
.vbar span { display: block; height: 9px; border-radius: 999px; background: var(--soft); position: relative; overflow: hidden; }
.vbar span::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--violet-500), var(--violet-300)); }

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; padding: 52px 24px; border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 80% at 84% 4%, rgba(34,211,238,.30), transparent 55%),
    radial-gradient(120% 110% at 6% 104%, rgba(79,70,229,.44), transparent 60%),
    linear-gradient(135deg, var(--violet-600), var(--violet-500) 55%, var(--accent));
  color:#fff; box-shadow: var(--shadow-lg); }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 4px 4px; opacity: .5; pointer-events: none; }
.stat { position: relative; z-index: 1; }
.stat:not(:first-child)::after { content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); height: 56%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.22), transparent); }
.stat b { display: block; font-size: clamp(34px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1; text-shadow: 0 2px 14px rgba(13,15,23,.18); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.45; max-width: 22ch; margin-left: auto; margin-right: auto; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote__stars { color: #f59e0b; letter-spacing: 2px; font-size: 14px; }
.quote blockquote { font-size: 15.5px; color: var(--text); margin: 14px 0 20px; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--violet-300), var(--violet-500)); flex: 0 0 auto; }
.quote figcaption b { display: block; font-size: 14px; color: var(--ink); }
.quote figcaption i { font-size: 13px; color: var(--muted); font-style: normal; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.toggle__btn { border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 18px; border-radius: 999px; transition: background .2s, color .2s; }
.toggle__btn.is-active { background: var(--violet-500); color: #fff; }
.toggle__btn em { font-style: normal; font-size: 11px; opacity: .85; }
.pricing .plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 2px 6px rgba(13,15,23,.04); transition: box-shadow .2s, transform .2s; }
/* push CTAs to the bottom so all three align regardless of feature count */
.pricing .plan .btn { margin-top: auto; }
.pricing .plan:hover { transform: translateY(-3px); }
.plan:hover { box-shadow: var(--shadow-md); }
.plan h3 { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin: 10px 0; }
.plan__price .cur { font-size: 22px; font-weight: 700; color: var(--ink); }
.plan__price b { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan__price .per { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.plan__desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; margin-bottom: 24px; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.plan li::before { content: "✓"; color: var(--violet-500); font-weight: 800; margin-right: 10px; }
/* needs .pricing prefix to outrank `.pricing .plan`; thin, soft violet featured outline */
.pricing .plan--featured { border-color: rgba(79,70,229,.34); box-shadow: 0 16px 40px rgba(79,70,229,.12); }
/* featured card gets a cool purple→blue gradient so it stands apart from the plain-blue CTAs */
.pricing .plan--featured .btn--primary { background: linear-gradient(135deg, #8b5cf6, #6366f1 48%, #3b82f6); box-shadow: 0 8px 22px rgba(99,102,241,.34), inset 0 1px 0 rgba(255,255,255,.28); }
.pricing .plan--featured .btn--primary:hover { box-shadow: 0 12px 30px rgba(99,102,241,.44), inset 0 1px 0 rgba(255,255,255,.28); }
.pricing .plan--featured .plan__badge { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.plan__badge { position: absolute; top: -12px; right: 24px; background: linear-gradient(180deg,var(--violet-400),var(--violet-500)); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 13px; background: #fff; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { padding: 19px 22px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-500); font-size: 22px; transition: transform .2s; flex: 0 0 auto; margin-left: 16px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 92px 0 96px; }
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(110% 80% at 82% 6%, rgba(34,211,238,.34), transparent 55%),
    radial-gradient(120% 100% at 8% 102%, rgba(79,70,229,.52), transparent 60%),
    linear-gradient(135deg, var(--violet-600), var(--violet-500) 55%, var(--accent));
  box-shadow: var(--shadow-lg);
}
.cta__noise { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 4px 4px; opacity: .5; }
.cta > * { position: relative; }
.cta .chip { margin-bottom: 18px; }
.cta h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.cta p { margin: 16px auto 30px; font-size: 18px; color: rgba(255,255,255,.9); max-width: 520px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
/* dark footer — same blue as the hero band, with a curved top edge (mirror of the hero curve) */
.footer { position: relative; overflow: hidden; background: linear-gradient(180deg, #0b1736 0%, #102a63 55%, #1a3a86 100%); padding: clamp(96px, 12vw, 150px) 0 32px; color: rgba(255,255,255,.7); }
.footer__curve { position: absolute; left: -1px; right: -1px; top: -1px; width: calc(100% + 2px); height: clamp(60px, 8vw, 120px); z-index: 1; display: block; pointer-events: none; }
.footer .logo--dark, .footer .logo--dark .logo__word { color: #fff; }
.footer__card { position: relative; }
.footer__glow { display: none; }
.footer__top { position: relative; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { max-width: 300px; }
.footer__brand p { color: rgba(255,255,255,.66); margin-top: 12px; font-size: 14px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: rgba(255,255,255,.82);
  transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.footer__social a svg { width: 19px; height: 19px; display: block; }
.footer__social a:hover { color: #fff; background: var(--violet-500); border-color: var(--violet-500); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,99,235,.4); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols h4 { font-size: 14px; margin-bottom: 14px; color: #fff; }
.footer__cols a { display: block; color: rgba(255,255,255,.6); font-size: 14px; padding: 5px 0; transition: color .2s, transform .2s; }
.footer__cols a:hover { color: #fff; transform: translateX(2px); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 13px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ================= LOGIN ================= */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.panel { position: relative; display: flex; flex-direction: column; padding: 44px 56px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 18%, rgba(96,165,250,.55), transparent 55%), radial-gradient(120% 120% at 12% 100%, rgba(23,37,84,.65), transparent 60%), linear-gradient(135deg, var(--violet-500) 0%, var(--violet-400) 48%, var(--violet-300) 100%); }
.panel__noise { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 4px 4px; opacity: .5; pointer-events: none; }
.panel > * { position: relative; z-index: 1; }
.panel__body { margin-top: auto; }
.panel__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.panel__title span { color: #ede9fe; }
.checks { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.92); }
.checks i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); position: relative; }
.checks i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.panel__foot { margin-top: 32px; font-size: 12.5px; color: rgba(255,255,255,.7); }
.auth { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: #fff; }
.auth__inner { width: 100%; max-width: 380px; }
.auth__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.logo--compact { margin-bottom: 0; }
.auth__title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.auth__sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.form { margin-top: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input { width: 100%; height: 46px; padding: 0 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #9ca3af; }
.field input:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.field__pw { position: relative; }
.field__pw input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--violet-500); padding: 6px 8px; border-radius: 6px; }
.pw-toggle:hover { background: rgba(59,130,246,.08); }
.forgot { display: block; text-align: right; font-size: 13.5px; font-weight: 600; color: var(--violet-500); margin: 4px 0 24px; }
.forgot:hover { color: var(--violet-400); text-decoration: underline; }
.btn-primary { width: 100%; height: 48px; font-size: 15px; font-weight: 700; font-family: inherit; color: #fff; background: var(--violet-500); border: 0; border-radius: 10px; cursor: pointer; transition: background .15s, transform .1s, box-shadow .2s; box-shadow: 0 6px 20px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--violet-400); box-shadow: 0 8px 26px rgba(37,99,235,.38); }
.btn-primary:active { transform: translateY(1px); }
.signup { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.signup a { color: var(--violet-500); font-weight: 600; }
.signup a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--lg { grid-row: auto; grid-column: span 2; }
  .quotes { grid-template-columns: 1fr; }
  .showcase, .showcase--rev .showcase__text { grid-template-columns: 1fr; order: 0; }
  .showcase__viz { order: -1; }
  .mock__cards { grid-template-columns: 1fr; }
  .mock__row { grid-template-columns: repeat(2, 1fr); }
  .mock__body { grid-template-columns: 1fr; } .mock__side { display: none; }
}
@media (max-width: 820px) {
  .header__nav { display: none; }
  .header__right .btn, .header__sep { display: none; }
  .burger { display: flex; }
  .header__inner { display: flex; justify-content: space-between; }
  .header__nav.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px; box-shadow: var(--shadow-md); }
  .header__nav.open a { padding: 12px 14px; }
  .pillars__grid, .bento, .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat:nth-child(odd)::after { display: none; }
  .bento__cell--lg { grid-column: auto; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer { padding: clamp(70px, 16vw, 96px) 0 28px; }
  .section--alt { margin: 10px 0; border-radius: 0; }
  .pillars .section__title { white-space: normal; }
  .split { grid-template-columns: 1fr; }
  .panel { min-height: 44vh; padding: 32px 28px; }
  .logo--compact { display: none; }
}
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* =========================================================
   DARK MODE
   The hero band, footer, stats and CTA are already dark/branded
   surfaces, so they carry over as-is. Here we flip the page +
   the light card surfaces, and re-tint the soft accents.
   ========================================================= */
/* Smooth crossfade when toggling light <-> dark.
   The .theme-anim class is added to <html> only for the duration of a
   user toggle, so it never fires on load and never fights hover states. */
html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color .5s ease, border-color .5s ease,
              color .45s ease, fill .5s ease, box-shadow .5s ease !important;
  transition-delay: 0s !important;
}
@media (prefers-reduced-motion: reduce) {
  html.theme-anim, html.theme-anim *,
  html.theme-anim *::before, html.theme-anim *::after { transition: none !important; }
}

[data-theme="dark"] {
  --ink: #eef2fb;
  --text: #c4ccdd;
  --muted: #8b93a8;
  --line: #232d44;
  --line-strong: #34405e;
  --page: #0a0f1d;
  --soft: #111a2c;
  --surface: #141d31;          /* elevated cards (replaces hardcoded #fff) */
  --violet-50: rgba(96,165,250,.12);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow-md: 0 12px 30px rgba(0,0,0,.5);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.6);
}

/* curved section edges that fill into the page (hero + footer) */
[data-theme="dark"] .hero__curve path,
[data-theme="dark"] .footer__curve path { fill: var(--page); }

/* header */
[data-theme="dark"] .header.scrolled { background: rgba(10,15,29,.85); border-color: var(--line); box-shadow: 0 1px 24px rgba(0,0,0,.5); }
[data-theme="dark"] .header__nav.open { background: #0d1424; border-color: var(--line); }
[data-theme="dark"] .lang,
[data-theme="dark"] .theme { background: var(--surface); }

/* buttons */
[data-theme="dark"] .btn--ghost { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .btn--ghost:hover { border-color: var(--violet-400); color: var(--violet-300); }
/* the hero band is dark in both themes — keep its ghost button glass, not solid */
[data-theme="dark"] .hero .btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; box-shadow: none; }
[data-theme="dark"] .hero .btn--ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.55); color: #fff; }

/* chips, eyebrows & icon tiles */
[data-theme="dark"] .chip { color: #93c5fd; border-color: rgba(96,165,250,.24); }
[data-theme="dark"] .bento__icon,
[data-theme="dark"] .pcard__ic { color: #93c5fd; border-color: rgba(96,165,250,.22); }

/* sections */
[data-theme="dark"] .section--alt { background: linear-gradient(180deg, #0c1326, #0a1020); border-top-color: var(--line); border-bottom-color: var(--line); }

/* bento + pillar cards */
[data-theme="dark"] .bento__cell,
[data-theme="dark"] .pcard,
[data-theme="dark"] .toggle,
[data-theme="dark"] .pricing .plan,
[data-theme="dark"] .faq details,
[data-theme="dark"] .quote { background: var(--surface); }
[data-theme="dark"] .bento__cell--accent { background: linear-gradient(120deg, rgba(96,165,250,.14), var(--surface) 60%); border-color: var(--line-strong); }
/* keep the featured plan visibly highlighted on the dark background */
[data-theme="dark"] .pricing .plan--featured {
  border-color: rgba(129,140,248,.42);
  background: linear-gradient(180deg, rgba(99,102,241,.06), var(--surface) 60%);
  box-shadow: 0 18px 46px rgba(79,70,229,.20);
}
[data-theme="dark"] .bento__cell--accent .bento__icon { background: rgba(96,165,250,.16); color: #93c5fd; }

/* bento mini-viz accents */
[data-theme="dark"] .pipe--hot,
[data-theme="dark"] .btag--on,
[data-theme="dark"] .vrow.on { border-color: rgba(96,165,250,.3); }
[data-theme="dark"] .pipe--hot b,
[data-theme="dark"] .btag--on,
[data-theme="dark"] .bav--n,
[data-theme="dark"] .deal b { color: #93c5fd; }
[data-theme="dark"] .bav { border-color: var(--surface); }

/* product mockup — turns dark to match the page */
[data-theme="dark"] .mock__win { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .mock__bar { background: var(--soft); }
[data-theme="dark"] .mock__bar em { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .mock__kpi,
[data-theme="dark"] .kb-card,
[data-theme="dark"] .deal,
[data-theme="dark"] .tm-row { background: var(--soft); }
[data-theme="dark"] .deal--win { background: rgba(96,165,250,.14); }

/* showcase preview cards */
[data-theme="dark"] .showcase__viz .vcard { background: var(--surface); }

/* login page (shares the theme via localStorage) */
[data-theme="dark"] .auth { background: var(--page); }
[data-theme="dark"] .field input { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
[data-theme="dark"] .field input::placeholder { color: var(--muted); }
