﻿/* ============================================================
   PuppLit : Design System
   Inspired by best-in-class SaaS design. Brand: purple to blue.
   ============================================================ */

/* Fonts: Inter (text) and Manrope (headings), variable, served from this site (fonts/). The latin file covers
   everything on the site; the latin-ext file only downloads if a page shows one of its letters. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --purple: #8b5cf6;
  --purple-deep: #7c3aed;
  --blue: #4353ff;
  --blue-deep: #3538cd;
  --ink: #17123a;
  --ink-soft: #4b4767;
  --ink-faint: #6c6985;   /* at least 4.5:1 on every light background (was #7d7a96, 3.9:1) */
  --bg: #f8f7fc;
  --bg-alt: #f1effa;
  --card: #ffffff;
  --line: #e6e3f2;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #4353ff 100%);
  --grad-soft: linear-gradient(120deg, rgba(139,92,246,.12), rgba(67,83,255,.12));
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(23,18,58,.06), 0 2px 8px rgba(23,18,58,.05);
  --shadow-md: 0 4px 12px rgba(23,18,58,.08), 0 12px 32px rgba(23,18,58,.08);
  --shadow-lg: 0 8px 24px rgba(23,18,58,.10), 0 24px 64px rgba(23,18,58,.14);
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.h-lg { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2rem); }
.h-sm { font-size: 1.25rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.center { text-align: center; }
.sub {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 720px;
  margin: 20px auto 0;
}
.sub.left { margin-left: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,246,.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99,74,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99,74,255,.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23,18,58,.3); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple-deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,247,252,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(23,18,58,.06); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo .lit { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 10px;
  transition: color .15s, background .15s;
}
.nav-links a.nav-item:hover, .nav-links a.nav-item.active { color: var(--ink); background: var(--bg-alt); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}
/* hover and focus open the menus on computers only: on phones a tap focuses the link, and the desktop transform
   would shift the opened list half off the screen */
@media (min-width: 861px) {
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.dropdown-menu a {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .15s;
}
.dropdown-menu a:hover { background: var(--bg-alt); }
.dd-icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.dd-title { font-weight: 700; font-size: .96rem; }
.dd-desc { font-size: .84rem; color: var(--ink-faint); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
/* Log in, Sign up and the footer's Client login show only once the account service answers (main.js adds
   html.auth-on), so the header never shows them and then takes them away, and no link leads to a login that
   cannot work on hosting without the service */
html:not(.auth-on) [data-auth-login], html:not(.auth-on) [data-auth-signup], html:not(.auth-on) [data-auth-link],
html:not(.auth-on) .nav-links > li.mobile-only { display: none !important; }
.hamburger { display: none; background: none; border: none; width: 44px; height: 44px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: .88rem;
  padding: 9px 16px;
  font-weight: 600;
}
.announce a { color: #b9a8ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 720px;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(139,92,246,.14), transparent 70%),
    radial-gradient(600px 400px at 70% 10%, rgba(67,83,255,.12), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-faint); }
.accent { color: var(--purple-deep); }
/* text for screen readers and search engines only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Consulting flip cards (homepage hero) ---------- */
.consult { margin-top: 64px; }
.consult-label { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 24px; }
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.flip-card { perspective: 1200px; cursor: pointer; border-radius: 18px; outline: none; }
.flip-card:focus-visible { box-shadow: 0 0 0 3px rgba(124,58,237,.35); }
.flip-inner { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  grid-area: 1 / 1; min-height: 210px; border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-front { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.flip-back { background: var(--ink); color: #fff; transform: rotateY(180deg); }
.flip-num { font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--ink-faint); }
.flip-front h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: auto; }
.flip-front p { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
.flip-back h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; }
.flip-back p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.5; margin-top: 10px; }
.flip-back a { margin-top: auto; padding-top: 14px; color: #b9a8ff; font-weight: 700; font-size: .92rem; }
.flip-back a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; transform: none !important; }
  .flip-face { transition: opacity .3s ease; }
  .flip-back { transform: none; opacity: 0; pointer-events: none; }
  .flip-card.flipped .flip-back { opacity: 1; pointer-events: auto; }
  .flip-card.flipped .flip-front { opacity: 0; }
}
@media (max-width: 860px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .consult { margin-top: 44px; }
  .consult-label { margin-bottom: 16px; }
  .flip-grid { gap: 10px; }
  .flip-face { min-height: 0; padding: 16px 14px; border-radius: 14px; }
  .flip-card { border-radius: 14px; }
  .flip-front h3 { font-size: 1.15rem; }
  .flip-front p { font-size: .84rem; line-height: 1.4; }
  .flip-back h3 { font-size: .95rem; }
  .flip-back p { display: none; }
  .flip-back a { font-size: .84rem; padding-top: 10px; }
  .flip-front h3 { margin-top: 18px; }
}

/* ---------- Pills / tabs ---------- */
.pill-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: all .18s;
}
.pill-tab:hover { border-color: var(--purple); color: var(--purple-deep); }
.pill-tab.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(99,74,255,.35); }

/* ---------- Product showcase panel ---------- */
.showcase {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 64px);
  margin-top: 40px;
  text-align: left;
}
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.showcase .tag { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-deep); }
.showcase h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 12px 0 16px; }
.showcase p.lead { color: var(--ink-soft); font-size: 1.05rem; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.check-list .ck {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Mock UI (browser frame) ---------- */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d5e6; flex: none; }
.mock-bar i:first-child { background: #f4726f; }
.mock-bar i:nth-child(2) { background: #f5bd4f; }
.mock-bar i:nth-child(3) { background: #61c554; }
.mock-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .74rem;
  color: var(--ink-faint);
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body { padding: 14px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; }
.mock-row + .mock-row { margin-top: 6px; }
.mock-row.hl { background: var(--grad-soft); }
.mock-row.plain { background: var(--bg); }
.mock-dot { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); flex: none; display: grid; place-items: center; color: #fff; }
.mock-dot.alt { background: var(--ink); }
.mock-text { flex: 1; min-width: 0; }
.mock-title { font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mock-sub { font-size: .76rem; color: var(--ink-faint); line-height: 1.35; }
.mock-pill { font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; flex: none; }
.mock-pill.green { background: #d9f7ec; color: #067a5b; }
.mock-pill.purple { background: #ece5ff; color: var(--purple-deep); }
.mock-pill.blue { background: #e2e6ff; color: var(--blue-deep); }

/* ---------- Auth (login / signup) ---------- */
.auth-tabs { display: flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 26px; }
.auth-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all .18s;
}
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-google {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.btn-google:hover { border-color: #c9c6da; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-google svg { width: 18px; height: 18px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--ink-faint);
  font-size: .82rem;
  font-weight: 600;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-error {
  display: none;
  background: #fdf0f0;
  border: 1px solid #f0c8c8;
  color: #a03030;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.auth-error.show { display: block; animation: fadeUp .3s ease; }
.btn:disabled { opacity: .6; cursor: default; pointer-events: none; }

/* ---------- Stats / case cards ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink-faint); margin-bottom: 18px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-desc { color: var(--ink-soft); margin-top: 10px; font-size: .98rem; }
.stat-link { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--purple-deep); font-size: .94rem; }
.stat-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(139,92,246,.4); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,246,.2);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Gradient band ---------- */
.band {
  background: linear-gradient(135deg, #6d3df0 0%, #4353ff 55%, #3538cd 100%);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 85% 15%, rgba(255,255,255,.12), transparent 70%),
    radial-gradient(400px 300px at 10% 90%, rgba(255,255,255,.08), transparent 70%);
}
.band .container { position: relative; }
.band .sub { color: rgba(255,255,255,.85); }
.band .pill-tab { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.band .pill-tab.active, .band .pill-tab:hover { background: #fff; color: var(--blue-deep); border-color: #fff; box-shadow: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: step; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  background: var(--grad);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .96rem; }
.band .step { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.band .step h3 { color: #fff; }
.band .step p { color: rgba(255,255,255,.8); }
.band .step-num { background: #fff; color: var(--blue-deep); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  flex: none;
}
.testi-name { font-weight: 700; font-size: .96rem; }
.testi-role { font-size: .84rem; color: var(--ink-faint); }
.testi p { color: var(--ink-soft); font-size: .97rem; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: .9rem; }

/* ---------- Logo cloud ---------- */
.logo-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; margin-top: 44px; align-items: center; }
.logo-cloud span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #b6b2cc;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.logo-cloud span:hover { color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-top: 32px; gap: 4px; }
.price-toggle button {
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 9px 22px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all .18s;
}
.price-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save-badge { font-size: .72rem; font-weight: 800; color: #067a5b; background: #d9f7ec; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.plan-for { color: var(--ink-faint); font-size: .9rem; margin-top: 4px; }
.plan-price { margin: 26px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-family: var(--font-head); font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; }
.plan-price .per { color: var(--ink-faint); font-weight: 600; }
.plan-setup { font-size: .86rem; color: var(--ink-faint); margin-bottom: 24px; }
.plan-features { display: grid; gap: 12px; margin: 26px 0 32px; flex: 1; }
.plan-features li { display: flex; gap: 11px; font-size: .95rem; color: var(--ink-soft); align-items: flex-start; }
.plan-features .ck { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .62rem; font-weight: 800; }
.plan-features li.dim { opacity: .45; }
.plan-features li.dim .ck { background: var(--line); color: var(--ink-faint); }
.plan-divider { font-family: var(--font-head); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-top: 8px; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; font-size: .94rem; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--font-head); font-weight: 800; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; color: var(--ink-soft); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--purple-deep); font-weight: 800; }
.compare .no { color: #c9c6da; }
.compare thead th { background: var(--bg-alt); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 48px auto 0; display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  text-align: left;
  color: var(--ink);
}
.faq-q .chev { transition: transform .25s; color: var(--purple-deep); flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Dark CTA ---------- */
.dark-cta { background: var(--ink); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.dark-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 100%, rgba(139,92,246,.25), transparent 70%),
    radial-gradient(600px 300px at 80% 0%, rgba(67,83,255,.22), transparent 70%);
}
.dark-cta .container { position: relative; }
.dark-cta .sub { color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.site-footer { background: #110d2e; color: #a9a5c4; padding: 72px 0 36px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; line-height: 1.6; }
.footer-col h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  font-size: .85rem;
  transition: all .18s;
}
.footer-social a:hover { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 88px 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 500px;
  background: radial-gradient(700px 380px at 50% 0%, rgba(139,92,246,.13), transparent 70%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip > .split-media { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 14px 0 16px; }
.split p { color: var(--ink-soft); }
.packages-shot { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: transform .2s ease, box-shadow .2s ease; }
.packages-shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.packages-shot img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .packages-split > div:first-child { text-align: center; }
  .packages-split .sub.left { margin-left: auto; margin-right: auto; }
  .packages-split .btn { width: 100%; }
  .packages-shot { max-width: 360px; margin: 0 auto; border-radius: var(--radius); }
}

/* ---------- Metric strip ---------- */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.metric { text-align: center; padding: 28px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.metric .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; font-weight: 600; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 700; font-size: .88rem; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: .97rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(139,92,246,.15);
  background: #fff;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 16px;
}
.form-success.show { display: block; animation: fadeUp .4s ease; }
.form-success .big { font-size: 3rem; margin-bottom: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Guarantee strip ---------- */
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .93rem;
}
.guarantee span { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   V2 : Mega menu, cookie consent, checkout, icon system
   ============================================================ */

/* ---------- SVG icon sizing ---------- */
[data-icon] svg { width: 100%; height: 100%; display: block; }
.feature-icon [data-icon], .dd-icon [data-icon] { width: 22px; height: 22px; color: var(--purple-deep); }
.mock-dot [data-icon] { width: 16px; height: 16px; color: #fff; }
.ico-inline { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; color: var(--purple-deep); }
.stars-svg { display: inline-flex; gap: 2px; }
.stars-svg [data-icon] { width: 16px; height: 16px; color: #f5a623; }
.compare [data-icon] { width: 18px; height: 18px; margin: 0 auto; color: var(--purple-deep); }
.compare .no-icon [data-icon] { color: #c9c6da; }

/* CSS-drawn checkmark (no glyphs) */
.ck::before {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}
.plan-features .ck::before { width: 8px; height: 4px; }
.plan-features li.dim .ck::before { border-color: var(--ink-faint); }
.faq-q .chev { width: 18px; height: 18px; }

/* ---------- Mega menu ---------- */
.mega, .nav-links > li.mega { position: static; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all .18s ease;
  z-index: 60;
}
.mega-menu.mega-sm { width: min(880px, calc(100vw - 32px)); }
@media (min-width: 861px) {
  .dropdown:hover .mega-menu, .dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; }
.mega-cols.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mobile-only { display: none; }
@media (min-width: 861px) {
  .nav-links > li { display: flex; align-items: center; height: 76px; }
  .nav-links > li.mobile-only { display: none; }
}
.mega-col h5 {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 6px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.mega-col h5 a { color: inherit; }
.mega-col h5 a:hover { color: var(--purple-deep); }
.mega-col ul { display: grid; gap: 2px; }
.mega-col ul a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s;
}
.mega-col ul a:hover { background: var(--bg-alt); }
.mega-item-title { font-weight: 700; font-size: .9rem; color: var(--ink); }
.mega-item-desc { font-size: .78rem; color: var(--ink-faint); line-height: 1.35; }
.mega-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mega-foot .bundles { display: flex; gap: 10px; flex-wrap: wrap; }
.mega-foot .bundles a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  transition: all .15s;
}
.mega-foot .bundles a:hover { border-color: var(--purple); color: var(--purple-deep); }
.mega-foot .note { font-size: .82rem; color: var(--ink-faint); }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200;
  width: min(400px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: none;
}
.cookie-banner.show { display: block; animation: fadeUp .35s ease; }
.cookie-banner h4 { font-size: 1rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .86rem; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-banner p a { color: var(--purple-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-faint); margin-bottom: 24px; justify-content: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--purple-deep); }
.breadcrumb .sep { color: #c9c6da; }

/* ---------- Buy box ---------- */
.buy-box {
  max-width: 880px;
  margin: 0 auto;
  background: var(--card);
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  text-align: left;
  align-items: center;
}
.buy-box h3 { font-size: 1.5rem; margin-bottom: 8px; }
.buy-box .includes { margin-top: 18px; display: grid; gap: 10px; }
.buy-box .includes li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.buy-price-panel { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.buy-price-panel .plan-price { margin-top: 8px; }
.buy-price-panel .btn { width: 100%; margin-top: 18px; }
.buy-note { font-size: .82rem; color: var(--ink-faint); margin-top: 14px; text-align: center; }

/* ---------- Checkout ---------- */
.checkout-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}
.checkout-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.checkout-form h2 { font-size: 1.2rem; margin: 0 0 18px; }
.checkout-form h2 + .form-grid { margin-bottom: 28px; }
.order-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
.order-summary h2 { font-size: 1.1rem; margin-bottom: 18px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.order-line strong { color: var(--ink); }
.order-line.total { border-bottom: none; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--ink); padding-top: 16px; }
.order-product { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.order-product .dd-icon { width: 44px; height: 44px; }
.order-product .op-name { font-family: var(--font-head); font-weight: 800; }
.order-product .op-cat { font-size: .82rem; color: var(--ink-faint); }
.billing-toggle { display: flex; gap: 8px; margin: 16px 0 6px; }
.billing-toggle button {
  flex: 1;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .86rem;
  color: var(--ink-soft);
  transition: all .15s;
}
.billing-toggle button.active { border-color: var(--purple); color: var(--purple-deep); background: var(--grad-soft); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--ink-faint); margin-top: 16px; }
.secure-note .ico-inline { color: var(--ink-faint); }
.checkout-guarantees { margin-top: 20px; display: grid; gap: 10px; font-size: .86rem; color: var(--ink-soft); }
.checkout-guarantees li { display: flex; gap: 10px; align-items: center; }

/* ---------- Related products ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: block;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(139,92,246,.4); }
.related-card .rc-cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-deep); }
.related-card h4 { font-size: 1.05rem; margin: 8px 0 6px; }
.related-card p { font-size: .88rem; color: var(--ink-soft); }
.related-card .rc-price { margin-top: 14px; font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.related-card .rc-price span { font-weight: 600; color: var(--ink-faint); font-size: .84rem; }

/* ---------- Product index cards ---------- */
.product-card { text-align: left; display: flex; flex-direction: column; }
.product-card .pc-price { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.product-card .pc-price span { font-size: .84rem; font-weight: 600; color: var(--ink-faint); }
.product-card .pc-links { display: flex; gap: 10px; margin-top: 14px; }

/* ---------- Solutions / industry cards ---------- */
.industry-card { text-align: left; }
.industry-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.industry-card .tags span { font-size: .74rem; font-weight: 700; background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: .97rem; margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; }

@media (max-width: 900px) {
  .buy-box, .checkout-wrap { grid-template-columns: 1fr; }
  .buy-price-panel { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .order-summary { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .mega-cols, .mega-cols.cols-3 { grid-template-columns: 1fr 1fr; }
  .nav-open .mega-menu, .nav-open .mega-menu.mega-sm { position: static; transform: none; width: auto; max-height: none; box-shadow: none; border: none; padding: 0 0 0 12px; opacity: 1; visibility: visible; }
  .nav-open .mega-cols, .nav-open .mega-cols.cols-3 { grid-template-columns: 1fr; }
  .nav-open .mega-foot { flex-direction: column; align-items: flex-start; }
  .nav-open .mobile-only { display: block; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .metric-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pill-tabs .pill-tab { flex: 1 1 40%; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: block; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }
  .nav-open .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; min-width: 0; padding: 0 0 0 12px; }
  .showcase-grid, .split { grid-template-columns: 1fr; }
  .split.flip > .split-media { order: 0; }
  .stat-cards, .feature-grid, .feature-grid.cols-4, .steps, .testi-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Mobile polish : refined phone experience (loads last, wins)
   ============================================================ */
@media (max-width: 860px) {
  .announce { font-size: .78rem; padding: 8px 12px; }
  .nav-cta { gap: 8px; }

  /* The phone menu is a sheet from the header's real bottom edge (set by main.js as --nav-top, so the announcement
     bar and the browser's own bars are accounted for) to the bottom of the screen, scrolling inside itself. The
     header's blur is switched off while it is open: a backdrop-filter would trap the fixed sheet inside the header. */
  /* the lock goes on html only: hidden overflow on body would make body its own scroll box and unstick the header */
  html.nav-lock { overflow: hidden; }
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-open .nav-links {
    position: fixed;
    top: var(--nav-top, 76px);
    bottom: 0;
    left: 0; right: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 16px calc(28px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    border-radius: 0;
    z-index: 90;
  }
  .nav-open .mega-menu, .nav-open .mega-menu.mega-sm, .nav-open .dropdown-menu {
    position: static; left: auto; transform: none !important; width: auto; max-width: 100%; max-height: none; overflow: visible;
    box-shadow: none; border: none; opacity: 1; visibility: visible; transition: none;
  }
  .nav-open .mega-col ul a, .nav-open .mega-item-title { overflow-wrap: anywhere; }
  .nav-links > li { border-bottom: 1px solid var(--bg-alt); height: auto; }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links a.nav-item {
    width: 100%;
    padding: 15px 10px;
    font-size: 1.02rem;
    border-radius: 12px;
    justify-content: space-between;
    display: flex;
  }

  /* Collapsible Products / Solutions sections */
  .nav-open .dropdown .mega-menu { display: none; }
  .nav-open .dropdown.open .mega-menu { display: block; padding: 0 0 14px 6px; }
  .nav-open .dropdown.open > a.nav-item { color: var(--purple-deep); }
  .nav-open .dropdown.open a.nav-item .ico-inline[data-icon="chevron"] { transform: rotate(180deg); }
  .nav-links .ico-inline[data-icon="chevron"] { transition: transform .2s; }
  .nav-open .mega-item-desc { display: none; }
  .nav-open .mega-foot { display: none; }
  .nav-open .mega-col h5 { padding: 12px 10px 8px; margin-bottom: 2px; border-bottom: none; }
  .nav-open .mega-col ul a { padding: 11px 12px; }
  .nav-open .mega-item-title { font-size: .95rem; font-weight: 600; }

  /* Log in / Sign up as buttons at the bottom of the menu */
  .nav-open .mobile-only { border-bottom: none; padding-top: 4px; }
  .nav-open .mobile-only a.nav-item {
    justify-content: center;
    text-align: center;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
    padding: 13px 10px;
    margin-top: 8px;
  }
  .nav-open .mobile-only.signup a.nav-item {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(99,74,255,.3);
  }

  /* Hamburger becomes an X */
  .nav-open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .hamburger span:nth-child(2) { opacity: 0; }
  .nav-open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* Tighter, calmer sections on phones */
  .section { padding: 60px 0; }
  .section-tight { padding: 44px 0; }
  .hero { padding: 52px 0 44px; }
  .page-hero { padding: 52px 0 40px; }
  .h-xl { font-size: clamp(2.05rem, 8.5vw, 2.9rem); }
  .h-lg { font-size: clamp(1.65rem, 7vw, 2.3rem); }
  .sub { font-size: 1rem; }
  .eyebrow { font-size: .72rem; padding: 5px 12px; }
  .hero-note { font-size: .82rem; }

  /* Cards and panels breathe without wasting space */
  .showcase { padding: 20px 16px; margin-top: 28px; }
  .stat-card, .feature-card, .step, .testi { padding: 26px 22px; }
  .price-card { padding: 30px 24px; }
  .stat-cards, .feature-grid, .steps, .testi-grid, .pricing-grid { gap: 16px; margin-top: 36px; }
  .metric-strip { gap: 12px; margin-top: 36px; }
  .metric { padding: 20px 12px; }
  .split + .split { margin-top: 64px; }

  /* Dashboard panels stay readable on small screens */
  .mock-body { padding: 10px; }
  .mock-row { padding: 10px; gap: 10px; }
  .mock-dot { width: 30px; height: 30px; }
  .mock-title { font-size: .78rem; }
  .mock-sub { font-size: .7rem; }
  .mock-pill { font-size: .6rem; padding: 3px 8px; }
  .mock-url { font-size: .68rem; }

  .footer-grid { gap: 28px; }
  .site-footer { padding: 52px 0 28px; }

  /* Finger-sized taps: small links get a taller hit area (the negative margin keeps the announcement's line height) */
  .footer-col ul { gap: 0; }
  .footer-col a, .footer-bottom a { display: inline-block; padding: 7px 0; }
  .announce a { display: inline-block; padding: 6px 2px; margin: -6px 0; }
  .case-card .case-site { display: inline-block; padding: 5px 0; }
}
@media (max-width: 400px) {
  .hero .h-xl { font-size: 8.2vw; }
  .nav-cta .btn-primary { display: none; }
  .logo { font-size: 1.25rem; }
  .logo .mark { width: 34px; height: 34px; }
}

/* ============================================================
   Client dashboard
   ============================================================ */
.dash-shell { display: grid; grid-template-columns: 248px 1fr; gap: 0; max-width: 1380px; margin: 0 auto; min-height: calc(100vh - 140px); }
.dash-side {
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-side .side-label { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); padding: 14px 14px 8px; }
.dash-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px; border-radius: 10px;
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  border: none; background: none; width: 100%; text-align: left;
  transition: background .15s ease, color .15s ease;
}
.dash-nav-item:hover { background: var(--bg-alt); color: var(--ink); }
.dash-nav-item.active { background: var(--grad-soft); color: var(--purple-deep); }
.dash-nav-item .ni { width: 17px; height: 17px; flex: none; }
.dash-user {
  margin-top: auto; padding: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 11px;
}
.dash-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
  color: #fff; font-weight: 700; font-family: var(--font-head);
  display: flex; align-items: center; justify-content: center; font-size: .95rem; flex: none;
}
.dash-user .du-name { font-size: .88rem; font-weight: 700; line-height: 1.2; }
.dash-user .du-mail { font-size: .74rem; color: var(--ink-faint); line-height: 1.3; word-break: break-all; }
.dash-main { padding: 34px 38px 64px; min-width: 0; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-head h1 { font-size: 1.65rem; }
.dash-head .sub { font-size: .95rem; color: var(--ink-faint); margin-top: 4px; }
.sample-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-soft); color: var(--purple-deep);
  font-size: .78rem; font-weight: 700; padding: 6px 13px; border-radius: 999px;
}
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.kpi-tile .k-label { font-size: .8rem; font-weight: 600; color: var(--ink-faint); }
.kpi-tile .k-num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; margin-top: 6px; }
.kpi-tile .k-delta { font-size: .78rem; font-weight: 700; margin-top: 4px; color: #1a9e5c; }
.kpi-tile .k-delta.down { color: #c14444; }
.dash-grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 16px; }
.dash-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.dash-card .c-sub { font-size: .85rem; color: var(--ink-faint); margin-bottom: 14px; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dash-table th { text-align: left; font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table .t-main { font-weight: 600; }
.dash-table .t-faint { color: var(--ink-faint); font-size: .82rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge.green { background: #e5f6ec; color: #187a47; }
.badge.blue { background: #e8ecff; color: #3538cd; }
.badge.purple { background: #f0e9fd; color: #7c3aed; }
.badge.amber { background: #fdf3e2; color: #a06a12; }
.badge.gray { background: var(--bg-alt); color: var(--ink-faint); }
.checklist { display: flex; flex-direction: column; gap: 0; }
.check-item { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.check-item:last-child { border-bottom: none; }
.check-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.check-item.done .check-dot { background: var(--grad); border-color: transparent; }
.check-item .ck-title { font-size: .9rem; font-weight: 600; }
.check-item.done .ck-title { color: var(--ink-faint); text-decoration: line-through; }
.check-item .ck-sub { font-size: .78rem; color: var(--ink-faint); }
.check-item .ck-cta { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--purple-deep); white-space: nowrap; }
.progress-track { height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; margin: 10px 0 4px; }
.progress-fill { height: 100%; border-radius: 999px; background: var(--grad); }
.activity-item { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.activity-item:last-child { border-bottom: none; }
.activity-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--grad-soft); color: var(--purple-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.activity-ico .ni { width: 15px; height: 15px; }
.activity-item .a-text { font-size: .87rem; line-height: 1.45; }
.activity-item .a-time { font-size: .75rem; color: var(--ink-faint); }
.convo-item { display: flex; gap: 13px; padding: 13px 2px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.convo-item:last-child { border-bottom: none; }
.convo-item .cv-body { min-width: 0; flex: 1; }
.convo-item .cv-top { display: flex; justify-content: space-between; gap: 10px; }
.convo-item .cv-name { font-weight: 700; font-size: .89rem; }
.convo-item .cv-time { font-size: .74rem; color: var(--ink-faint); white-space: nowrap; }
.convo-item .cv-msg { font-size: .84rem; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dash-empty { text-align: center; padding: 40px 20px; }
.dash-empty .de-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); color: var(--purple-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.dash-empty h4 { font-size: 1rem; margin-bottom: 6px; }
.dash-empty p { font-size: .87rem; color: var(--ink-faint); max-width: 380px; margin: 0 auto 16px; }
.dash-form label { display: block; font-size: .84rem; font-weight: 700; margin: 14px 0 6px; }
.dash-form input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .92rem; background: var(--bg); color: var(--ink);
}
.dash-form input:focus { outline: none; border-color: var(--purple); background: #fff; }
.dash-form input[disabled] { color: var(--ink-faint); cursor: not-allowed; }
.dash-msg { display: none; font-size: .85rem; font-weight: 600; border-radius: 10px; padding: 10px 14px; margin-top: 14px; }
.dash-msg.show { display: block; }
.dash-msg.ok { background: #e5f6ec; color: #187a47; }
.dash-msg.err { background: #fdf0f0; color: #a03030; }
.dash-section { display: none; }
.dash-section.active { display: block; animation: fadeUp .3s ease; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.plan-row:last-child { border-bottom: none; }
.plan-row .pr-name { font-weight: 700; font-size: .92rem; }
.plan-row .pr-sub { font-size: .78rem; color: var(--ink-faint); }
.dash-mobile-nav { display: none; }
@media (max-width: 980px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-mobile-nav {
    display: flex; gap: 8px; overflow-x: auto; padding: 14px 18px;
    background: #fff; border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .dash-mobile-nav::-webkit-scrollbar { display: none; }
  .dash-mobile-nav .dash-nav-item { width: auto; white-space: nowrap; flex: none; padding: 8px 14px; font-size: .85rem; }
  .dash-main { padding: 24px 18px 56px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Video testimonial wall and recorder
   ============================================================ */
.video-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.video-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); text-align: left;
  display: flex; flex-direction: column;
}
.video-card video { width: 100%; aspect-ratio: 4 / 3; background: #101018; display: block; object-fit: cover; }
.video-meta { padding: 14px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.video-meta .vm-name { font-weight: 700; font-size: .95rem; }
.video-meta .vm-sub { font-size: .8rem; color: var(--ink-faint); }
.vm-remove { border: none; background: none; color: var(--ink-faint); font-size: .76rem; font-weight: 600; padding: 4px 0; }
.vm-remove:hover { color: #a03030; }
.record-card {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 40px 24px; text-align: center; min-height: 280px;
}
.record-card h4 { font-size: 1.05rem; }
.record-card p { font-size: .87rem; color: var(--ink-faint); max-width: 260px; }
.record-plus {
  width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.pl-modal-overlay {
  position: fixed; inset: 0; background: rgba(23, 18, 58, .55); z-index: 400;
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.pl-modal-overlay.open { display: flex; }
.pl-modal {
  background: #fff; border-radius: var(--radius-lg); padding: 26px 28px;
  width: min(600px, 96vw); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.pl-modal h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pl-modal .m-sub { font-size: .88rem; color: var(--ink-faint); margin-bottom: 16px; }
.rec-stage { position: relative; border-radius: 14px; overflow: hidden; background: #101018; }
.rec-stage video { width: 100%; aspect-ratio: 4 / 3; display: block; background: #101018; }
.rec-stage video.mirror { transform: scaleX(-1); }
.rec-timer {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.65); color: #fff;
  font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  display: none; align-items: center; gap: 8px;
}
.rec-timer.on { display: inline-flex; }
.rec-timer .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; animation: recblink 1s infinite; }
@keyframes recblink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.rec-controls { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.rec-controls .btn { flex: 1; min-width: 130px; }
.upload-track { height: 10px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; margin-top: 16px; display: none; }
.upload-track.on { display: block; }
.upload-fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width .2s ease; }
@media (max-width: 980px) { .video-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .video-wall { grid-template-columns: 1fr; } }

/* ============================================================
   Homepage: connection diagram, band texture, video teaser
   ============================================================ */
.band { position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}
.band > .container { position: relative; z-index: 1; }
.band-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.band-pills a {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-size: .86rem; font-weight: 700; padding: 8px 18px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.band-pills a:hover { background: rgba(255,255,255,.28); transform: translateY(-1px); }
.connect-wrap { position: relative; max-width: 960px; margin: 60px auto 0; height: 560px; }
.connect-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.connect-lines path {
  fill: none; stroke: url(#plGradLine); stroke-width: 2;
  stroke-dasharray: 5 8; stroke-linecap: round;
  animation: plDash 1.8s linear infinite; vector-effect: non-scaling-stroke; opacity: .8;
}
@keyframes plDash { to { stroke-dashoffset: -26; } }
.cnode {
  position: absolute; transform: translate(-50%, -50%);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 14px 18px; width: 196px; text-align: left;
  display: flex; align-items: center; gap: 12px; transition: transform .2s ease, box-shadow .2s ease;
}
.cnode:hover { transform: translate(-50%, -50%) translateY(-3px); box-shadow: var(--shadow-lg); }
.cnode .cn-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--grad-soft); color: var(--purple-deep);
  display: flex; align-items: center; justify-content: center;
}
.cnode .cn-ico span[data-icon] { width: 18px; height: 18px; display: block; }
.cnode .cn-title { font-family: var(--font-head); font-weight: 800; font-size: .92rem; line-height: 1.2; }
.cnode .cn-sub { font-size: .74rem; color: var(--ink-faint); line-height: 1.35; margin-top: 2px; }
.cnode.center {
  width: 210px; text-align: center; flex-direction: column; gap: 8px; padding: 22px 20px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-lg); z-index: 2;
}
.cnode.center .logo { justify-content: center; }
.cnode.center .cn-sub { font-size: .78rem; }
@media (max-width: 820px) {
  .connect-wrap { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .connect-lines { display: none; }
  .cnode, .cnode:hover { position: static; transform: none; width: auto; }
  .cnode.center { grid-column: 1 / -1; width: auto; }
}
.home-video-note { margin-top: 30px; }

/* ============================================================
   Customer case cards with real brand logos
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; text-align: left; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-logo {
  height: 96px; border-radius: 14px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; padding: 14px; overflow: hidden;
}
.case-logo.dark { background: #0d1226; }
.case-logo img { max-height: 100%; max-width: 190px; object-fit: contain; }
.case-mark {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.case-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.case-ind { font-size: .82rem; color: var(--ink-faint); margin: 2px 0 12px; }
.case-card p { font-size: .93rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.case-card .tags { margin-top: 16px; }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }
.case-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-card .tags span { font-size: .74rem; font-weight: 700; background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink-soft); }

/* Logo tiles take the colour of the logo's own artwork so nothing sits in a box */
.case-logo.white { background: #fff; border: 1px solid var(--line); }
.case-logo.char { background: #232426; }
.case-logo.dark { background: #010718; }
.case-logo.tall { height: 140px; padding: 12px; }
.case-logo.tall img { max-width: 100%; }
.case-loc { font-size: .8rem; font-weight: 600; color: var(--purple-deep); margin: -8px 0 12px; }
.case-card .case-site {
  margin-top: 18px; font-size: .86rem; font-weight: 700; color: var(--purple-deep);
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.case-card .case-site:hover { text-decoration: underline; }
.case-card[hidden] { display: none; }
.case-card[id] { scroll-margin-top: 110px; }
.case-card:target { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,.18), var(--shadow-md); }

/* ============================================================
   Client logo marquee
   ============================================================ */
.client-marquee {
  position: relative; overflow: hidden; margin-top: 40px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cm-track { display: flex; gap: 18px; width: max-content; animation: cm-scroll 48s linear infinite; }
.client-marquee:hover .cm-track, .client-marquee:focus-within .cm-track { animation-play-state: paused; }
@keyframes cm-scroll { to { transform: translateX(calc(-50% - 9px)); } }
.cm-tile {
  flex: 0 0 auto; width: 200px; height: 120px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; padding: 10px 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cm-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cm-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cm-tile.dark { background: #010718; border-color: #010718; }
.cm-tile.char { background: #232426; border-color: #232426; }
.cm-tile .case-mark { font-size: 1.02rem; text-align: center; line-height: 1.2; }
@media (prefers-reduced-motion: reduce) {
  .client-marquee { -webkit-mask-image: none; mask-image: none; }
  .cm-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 16px; }
  .cm-track > [aria-hidden="true"] { display: none; }
}
@media (max-width: 620px) {
  .cm-tile { width: 156px; height: 96px; border-radius: 14px; padding: 8px 10px; }
  .cm-track { gap: 12px; animation-duration: 36s; }
  @keyframes cm-scroll { to { transform: translateX(calc(-50% - 6px)); } }
}

/* Platforms we work with: a quieter logo strip under the client wall */
.platforms-label { margin-top: 44px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink-faint); }
.platform-marquee { margin-top: 14px; }
.platform-marquee .cm-track { gap: 72px; align-items: center; animation-name: pm-scroll; animation-duration: 40s; }
@keyframes pm-scroll { to { transform: translateX(calc(-50% - 36px)); } }
.pm-logo { flex: 0 0 auto; display: flex; align-items: center; height: 64px; }
.pm-logo img { height: 30px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s ease, opacity .2s ease; }
.pm-logo img[src*="stripe"] { height: 40px; }
.pm-logo img[src*="google"] { filter: grayscale(1) brightness(.72); }
.pm-logo:hover img { filter: none; opacity: 1; }
.pm-word { gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: #1c1c1c; opacity: .62; transition: opacity .2s ease; }
.pm-word:hover { opacity: 1; }
.pm-glyph { width: 26px; height: 26px; flex: none; }
@media (max-width: 620px) {
  .platform-marquee .cm-track { gap: 44px; animation-name: pm-scroll-sm; animation-duration: 30s; }
  @keyframes pm-scroll-sm { to { transform: translateX(calc(-50% - 22px)); } }
  .pm-logo { height: 52px; }
  .pm-logo img { height: 24px; }
  .pm-logo img[src*="stripe"] { height: 32px; }
  .pm-word { font-size: 1.15rem; gap: 7px; }
  .pm-glyph { width: 21px; height: 21px; }
}

/* Industry filter on the customers page */
.client-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.client-filter button {
  font-family: var(--font-head); font-weight: 700; font-size: .86rem; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; transition: all .15s ease;
}
.client-filter button:hover { border-color: var(--purple); color: var(--ink); }
.client-filter button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.client-filter button span { opacity: .6; font-weight: 600; margin-left: 4px; }

/* ---------- Hero showcase flow diagrams (replace mock browsers) ---------- */
.flow-panel {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  position: relative; overflow: hidden; padding: 26px 18px;
  background-image: radial-gradient(rgba(124,58,237,.10) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.flow-map { position: relative; height: 380px; }
.flow-map .connect-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-map .cnode { width: 178px; padding: 11px 14px; border-radius: 13px; gap: 10px; box-shadow: var(--shadow-sm); }
.flow-map .cnode .cn-ico { width: 32px; height: 32px; border-radius: 9px; }
.flow-map .cnode .cn-ico span[data-icon] { width: 16px; height: 16px; }
.flow-map .cnode .cn-title { font-size: .84rem; }
.flow-map .cnode .cn-sub { font-size: .7rem; }
.flow-map .cnode.hub {
  width: 172px; border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-md); z-index: 2;
}
@media (max-width: 640px) {
  .flow-map { height: auto; display: flex; flex-direction: column; gap: 10px; }
  .flow-map .connect-lines { display: none; }
  .flow-map .cnode, .flow-map .cnode:hover { position: static; transform: none; width: auto; }
}
