:root {
  --h-bg: #ffffff;
  --h-ink: #0f172a;
  --h-muted: #64748b;
  --h-line: #e2e8f0;
  --h-brand: #7c3aed;
  --h-brand-dark: #5b21b6;
  --h-brand-soft: #f5f3ff;
  --h-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
  --h-gradient: linear-gradient(to right, #5919c2 0%, #a74cef 100%);
  --h-gradient-hover: linear-gradient(to right, #4e14ad 0%, #9a3ee6 100%);
}

body.home-v2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--h-ink);
  background: #fff;
}

.home-v2 * {
  box-sizing: border-box;
}

.home-v2 a {
  color: inherit;
  text-decoration: none;
}

.home-v2 .container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.home-v2 .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.home-v2 .nav-wrap {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.home-v2 .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.home-v2 .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.24);
}

.home-v2 .brand-name {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.home-v2 .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.home-v2 .nav-links a,
.home-v2 .link-btn {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.home-v2 .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.home-v2 .solid-btn,
.home-v2 .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.home-v2 .solid-btn {
  color: #fff;
  background: var(--h-gradient);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.22);
}

.home-v2 .outline-btn {
  color: #334155;
  background: #fff;
  border-color: var(--h-line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.home-v2 .large {
  min-height: 58px;
  padding: 0 34px;
  font-size: 18px;
}

.home-v2 .menu-btn,
.home-v2 .mobile-nav {
  display: none;
}

.ref-hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding-top: 148px;
  background: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 92%);
}

.hero-glow-ref {
  display: none; /* removed purple hero glow */
}

.ref-hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: var(--h-brand-soft);
  color: var(--h-brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c4b5fd;
}

.ref-hero h1 {
  max-width: 880px;
  margin: 34px auto 20px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(44px, 5.7vw, 76px);
  line-height: 1.04;
  font-weight: 800;
}

.ref-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(to right, #5919c2, #a74cef);
  -webkit-background-clip: text;
  background-clip: text;
}

.ref-hero-copy > p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--h-muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 18px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
}

.product-peek {
  position: relative;
  z-index: 3;
  left: 50%;
  bottom: auto;
  width: min(1280px, calc(100% - 56px));
  margin-top: 72px;
  transform: translateX(-50%);
}

.hero-shot-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: var(--h-shadow);
}
.hero-shot-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
  pointer-events: none;
  z-index: 2;
}

.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--h-line);
  background: #f8fafc;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.browser-bar span:first-child { background: #f87171; }
.browser-bar span:nth-child(2) { background: #fbbf24; }
.browser-bar span:nth-child(3) { background: #34d399; }

.browser-bar em {
  margin-left: 10px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.hero-shot-frame img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top left;
}

.mock-app {
  height: 610px;
  display: grid;
  grid-template-columns: 260px 340px minmax(440px, 1fr) 250px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: var(--h-shadow);
}

.mock-workspace {
  padding: 20px;
  background: #f8fafc;
  border-right: 1px solid var(--h-line);
}

.mock-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--h-brand);
  font-size: 11px;
  font-weight: 900;
}

.workspace-switcher {
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--h-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.workspace-switcher small,
.mock-workspace p,
.mock-contact > p {
  display: block;
  margin: 22px 0 8px;
  color: #a855f7;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.workspace-switcher small {
  margin: 0 0 4px;
}

.workspace-switcher strong,
.workspace-switcher span {
  display: block;
}

.workspace-switcher span {
  color: var(--h-muted);
  font-size: 13px;
}

.mock-workspace a {
  display: block;
  padding: 11px 12px;
  margin-bottom: 4px;
  border-radius: 12px;
  color: #52627a;
  font-size: 14px;
  font-weight: 700;
}

.mock-workspace a.active {
  color: #1e293b;
  background: #fff;
  border: 1px solid #c4b5fd;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.08);
}

.mock-inbox {
  background: #fff;
  border-right: 1px solid var(--h-line);
}

.mock-inbox header,
.mock-chat header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid #eef2f7;
}

.mock-inbox header strong {
  font-size: 18px;
}

.mock-inbox button,
.mock-ai button,
.mock-reply button,
.contact-mini button {
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--h-brand);
  padding: 9px 13px;
  font-weight: 900;
}

.mock-search {
  margin: 14px 18px 12px;
  padding: 12px 14px;
  border: 1px solid var(--h-line);
  border-radius: 12px;
  background: #f8fafc;
  color: #94a3b8;
  font-weight: 700;
}

.mock-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 18px 14px;
}

.mock-filters span {
  padding: 8px 4px;
  border: 1px solid var(--h-line);
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.mock-ticket {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-top: 1px solid #f1f5f9;
}

.mock-ticket.active {
  background: #f2eaff;
  border-left: 4px solid var(--h-brand);
}

.mock-ticket b,
.contact-mini b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
}

.mock-ticket p {
  max-width: 180px;
  margin: 3px 0;
  overflow: hidden;
  color: var(--h-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-ticket small {
  color: #94a3b8;
}

.mock-ticket em {
  align-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  color: #e11d48;
  background: #ffe4ec;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.mock-chat {
  position: relative;
  overflow: hidden;
  padding: 0 28px;
  background: #f8fafc;
}

.mock-chat header {
  padding-inline: 0;
}

.mock-chat header p {
  margin: 3px 0 0;
  color: var(--h-muted);
}

.mock-chat header span {
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.mock-message {
  max-width: 540px;
  margin: 38px auto 18px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.mock-message small {
  color: #94a3b8;
  font-weight: 800;
}

.mock-message p {
  margin: 10px 0;
  color: #243247;
  line-height: 1.58;
}

.mock-message a {
  color: #111827;
  text-decoration: underline;
  font-weight: 900;
}

.mock-ai {
  max-width: 540px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  background: #faf7ff;
}

.mock-ai p {
  margin: 5px 0 12px;
  color: var(--h-muted);
  font-size: 13px;
}

.mock-reply {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.08);
}

.mock-reply > div {
  height: 76px;
  margin: 12px 0;
  padding: 14px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #94a3b8;
}

.mock-reply footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-reply span {
  padding: 9px 12px;
  border: 1px solid var(--h-line);
  border-radius: 10px;
  color: #334155;
  font-weight: 900;
}

.mock-contact {
  padding: 20px;
  background: #fff;
}

.contact-mini {
  padding: 18px;
  border: 1px solid var(--h-line);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.contact-mini b {
  margin: 0 auto 10px;
}

.contact-mini strong {
  display: block;
}

.contact-mini p {
  margin: 5px 0 14px;
  color: var(--h-muted);
  font-size: 13px;
  word-break: break-word;
}

.contact-mini button {
  width: 100%;
  color: #111827;
  background: #fff;
  border: 1px solid var(--h-line);
}

.mock-status {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--h-line);
  border-radius: 14px;
  background: #f8fafc;
}

.mock-status span {
  flex: 1;
  padding: 8px 4px;
  border-radius: 10px;
  color: #64748b;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.mock-status .open {
  color: #fff;
  background: var(--h-brand);
}

.mock-pressure {
  padding: 13px;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  color: #be123c;
  background: #fff1f2;
  font-weight: 900;
}

.scroll-cue {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 8px 13px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.ref-section {
  padding-top: 120px;
  background: #fff;
}

.section-head {
  max-width: 850px;
  margin: 0 auto 54px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 8px 14px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: var(--h-brand-soft, #f5f3ff);
  color: var(--h-brand-dark, #5b21b6);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.section-head h2,
.operation-copy h2,
.cta-inner h2 {
  margin: 20px 0 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  font-weight: 800;
}

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

.ref-card-grid article,
.price-card {
  border: 1px solid var(--h-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.ref-card-grid article {
  padding: 26px;
}

.ref-card-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--h-brand-soft);
  color: var(--h-brand);
  font-size: 12px;
  font-weight: 900;
}

.ref-card-grid h3 {
  margin: 24px 0 10px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
}

.ref-card-grid p {
  margin: 0;
  color: var(--h-muted);
  line-height: 1.65;
}

.operation-section {
  background: #f8fafc;
}

.operation-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.operation-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--h-muted);
  font-size: 18px;
  line-height: 1.7;
}

.mini-stats {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding: 10px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(191, 219, 254, 0.2));
}

.mini-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 5% 0%, rgba(255, 255, 255, 0.45), transparent 48%);
  pointer-events: none;
}

.mini-stat-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 16px 18px 18px;
  border: 1px solid var(--h-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mini-stat-card:hover {
  transform: translateY(-2px);
  border-color: #c4b5fd;
  box-shadow: 0 16px 30px rgba(124, 58, 237, 0.11);
}

.mini-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--mini-accent, #7c3aed);
}

.mini-stat-risk {
  --mini-accent: #7c3aed;
}

.mini-stat-risk strong {
  color: #5b21b6;
}

.mini-stat-visibility {
  --mini-accent: #2563eb;
}

.mini-stat-visibility strong {
  color: #1d4ed8;
}

.mini-stat-action {
  --mini-accent: #0f766e;
}

.mini-stat-action strong {
  color: #0f766e;
}

.mini-stat-kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-stats strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(30px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.mini-stat-note {
  margin-top: auto;
  color: var(--h-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.route-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  gap: 26px;
  padding: 42px;
  border: 1px solid var(--h-line);
  border-radius: 26px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ddd6fe, #bfdbfe) border-box;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.node {
  padding: 16px 24px;
  border: 1px solid var(--h-line);
  border-radius: 16px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.node.hot {
  color: var(--h-brand-dark);
  border-color: #c4b5fd;
  background: var(--h-brand-soft);
}

.node.muted {
  color: #94a3b8;
}

.node-row {
  display: flex;
  gap: 80px;
}

.route-line {
  width: 2px;
  height: 58px;
  background: linear-gradient(#c4b5fd, var(--h-brand));
}

.pricing-preview {
  background: #fff;
}

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

.price-card {
  position: relative;
  padding: 32px;
}

.price-card.featured {
  border-color: #c4b5fd;
  box-shadow: 0 22px 60px rgba(124, 58, 237, 0.15);
}

.pill {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--h-brand-soft);
  color: var(--h-brand-dark);
  font-size: 11px;
  font-weight: 900;
}

.price-card h3 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 24px;
}

.price {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
}

.price span {
  color: var(--h-muted);
  font-size: 15px;
  font-weight: 700;
}

.small-note {
  color: var(--h-muted);
  line-height: 1.6;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-weight: 700;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
}

.ref-bottom {
  padding: 92px 0;
  color: #fff;
  background: #2e1065;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner p:not(.eyebrow) {
  max-width: 690px;
  margin: 18px auto 0;
  color: #ddd6fe;
  font-size: 18px;
  line-height: 1.7;
}

.ref-bottom .outline-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.ref-bottom .outline-btn:hover {
  color: var(--h-brand-dark, #5b21b6);
  background: #fff;
  border-color: #fff;
}

.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--h-line);
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 46px;
}

.footer-grid p,
.footer-grid a {
  color: var(--h-muted);
}

.footer-grid h4 {
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--h-line);
  color: #94a3b8;
  font-size: 13px;
}

.inner-v2 .page-shell {
  padding-top: 74px;
  background: #fff;
}

.inner-v2 .page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 76px;
  border-bottom: 1px solid var(--h-line);
  background: #fff;
}

.inner-v2 .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.9) 62%, transparent 100%);
}

.inner-v2 .page-hero::after {
  display: none; /* removed purple hero glow */
}

.inner-v2 .page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.inner-v2 .page-hero h1 {
  max-width: 860px;
  margin: 24px auto 18px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 800;
}

.inner-v2 .page-hero h1 .hero-accent {
  display: inline-block;
  background: linear-gradient(to right, #5919c2, #a74cef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.inner-v2 .page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--h-muted);
  font-size: 18px;
  line-height: 1.65;
}

.inner-v2 .kicker-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.inner-v2 .kicker {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

/* Pricing page hero copy tuning */
.inner-v2 .pricing-hero .eyebrow {
  margin-bottom: 14px;
}

.inner-v2 .pricing-hero h1 {
  max-width: 760px;
  margin-top: 0;
  text-wrap: balance;
  line-height: 1.08;
}

.inner-v2 .pricing-hero p:not(.eyebrow) {
  max-width: 800px;
  text-wrap: pretty;
}

.inner-v2 .section-alt {
  background: #f8fafc;
}

.inner-v2 .feature-grid,
.inner-v2 .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.inner-v2 .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inner-v2 .feature-card,
.inner-v2 .faq-item,
.inner-v2 .split-box,
.inner-v2 .stats-card,
.inner-v2 .visual-card {
  border: 1px solid var(--h-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.inner-v2 .feature-card,
.inner-v2 .faq-item {
  padding: 26px;
}

.inner-v2 .feature-card h3,
.inner-v2 .faq-item h3,
.inner-v2 .split-box h3 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 22px;
  line-height: 1.18;
}

.inner-v2 .feature-card p:not(.eyebrow),
.inner-v2 .faq-item p:not(.eyebrow),
.inner-v2 .split-box p:not(.eyebrow) {
  margin: 0;
  color: var(--h-muted);
  line-height: 1.65;
}

.inner-v2 .stack-gap {
  display: grid;
  gap: 24px;
}

.inner-v2 .split-box {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.inner-v2 .split-box.reverse {
  grid-template-columns: .95fr 1.05fr;
}

.inner-v2 .check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.inner-v2 .check-list li {
  position: relative;
  padding-left: 20px;
  color: #334155;
  font-weight: 700;
}

.inner-v2 .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
}

.inner-v2 .stats-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.inner-v2 .stats-card div {
  padding: 16px;
  border: 1px solid var(--h-line);
  border-radius: 14px;
  background: #f8fafc;
}

.inner-v2 .stats-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 900;
}

.inner-v2 .visual-card {
  overflow: hidden;
}

.inner-v2 .visual-card img {
  width: 100%;
  display: block;
}

@media (max-width: 980px) {
  .home-v2 .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .home-v2 .nav-links,
  .home-v2 .nav-actions {
    display: none;
  }

  .home-v2 .menu-btn {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 11px 10px;
    border: 1px solid var(--h-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
  }

  .home-v2 .menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #334155;
    border-radius: 2px;
  }

  /* Old mobile-nav dropdown rules removed - see drawer styles below */

  .ref-hero {
    min-height: 0;
    padding-top: 118px;
  }

  .product-peek {
    bottom: auto;
    margin-top: 54px;
  }

  .hero-shot-frame img {
    height: 430px;
  }

  .mock-app {
    height: 540px;
    grid-template-columns: 280px minmax(420px, 1fr);
  }

  .mock-workspace,
  .mock-contact {
    display: none;
  }

  .ref-card-grid,
  .pricing-grid,
  .integrations-grid,
  .testimonials-grid,
  .inner-v2 .feature-grid,
  .inner-v2 .faq-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 2px 16px;
    margin-inline: -2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ref-card-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar,
  .integrations-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar,
  .inner-v2 .feature-grid::-webkit-scrollbar,
  .inner-v2 .faq-grid::-webkit-scrollbar {
    display: none;
  }

  .ref-card-grid article,
  .pricing-grid article,
  .testimonials-grid article,
  .inner-v2 .feature-grid article,
  .inner-v2 .faq-grid article {
    min-width: 78%;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .integrations-grid .integration-tile {
    min-width: 82%;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .testi-card > p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .price-card {
    padding: 26px;
  }

  .price {
    font-size: 40px;
  }

  .price span {
    font-size: 14px;
  }

  .ref-card-grid article:hover,
  .price-card:hover,
  .testi-card:hover,
  .inner-v2 .feature-card:hover,
  .integration-tile:hover {
    transform: none;
  }

  .ref-card-grid .reveal,
  .pricing-grid .reveal,
  .integrations-grid .reveal,
  .testimonials-grid .reveal,
  .inner-v2 .feature-grid .reveal,
  .inner-v2 .faq-grid .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .operation-grid,
  .inner-v2 .split-box,
  .inner-v2 .split-box.reverse {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

@media (max-width: 640px) {
  .home-v2 .container {
    width: min(100% - 28px, 1280px);
  }

  .ref-hero {
    min-height: 0;
    padding-top: 102px;
  }

  .ref-hero h1 {
    margin-top: 24px;
    font-size: clamp(36px, 11vw, 52px);
  }

  .ref-hero-copy > p {
    font-size: 16px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .home-v2 .hero-cta-row a {
    width: 100%;
  }

  .product-peek {
    width: calc(100% - 18px);
    bottom: auto;
    margin-top: 38px;
  }

  .browser-bar em {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-shot-frame img {
    height: 330px;
  }

  .mock-app {
    height: 440px;
    grid-template-columns: 1fr;
  }

  .mock-inbox {
    display: none;
  }

  .mock-chat {
    padding: 0 16px;
  }

  .mock-message {
    margin-top: 24px;
  }

  .mock-ai {
    display: none;
  }

  .mock-reply {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

  .ref-section {
    padding-top: 84px;
  }

  .section {
    padding: 84px 0;
  }

  .section-head h2,
  .operation-copy h2,
  .cta-inner h2 {
    font-size: 36px;
  }

  .inner-v2 .page-hero {
    padding: 86px 0 54px;
  }

  .inner-v2 .page-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .inner-v2 .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .inner-v2 .feature-grid article,
  .inner-v2 .faq-grid article {
    min-width: 86%;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .node-row {
    flex-direction: column;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   V2 ENHANCEMENTS - 2026-05-19
   Font size reductions, hover effects, scroll animations,
   new sections: logo cloud, AI card, stats bar, testimonials,
   improved footer, responsive fixes
   ================================================================= */

/* ---- Reduced headline font sizes ---- */
.ref-hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
}

.section-head h2,
.operation-copy h2,
.cta-inner h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.fh-copy h2 {
  font-size: clamp(26px, 3vw, 40px);
}

/* ---- Button transitions ---- */
.home-v2 .solid-btn {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.home-v2 .solid-btn:hover {
  background: var(--h-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(124, 58, 237, 0.32);
}
.home-v2 .outline-btn {
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.home-v2 .outline-btn:hover {
  transform: translateY(-2px);
  border-color: #c4b5fd;
  background: #faf7ff;
}

/* ---- Card hover effects ---- */
.ref-card-grid article {
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.26s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.26s ease;
}
.ref-card-grid article:hover {
  transform: translateY(-4px);
  border-color: #c4b5fd;
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.1);
}

.price-card {
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}
.price-card.featured:hover {
  box-shadow: 0 32px 80px rgba(124, 58, 237, 0.22);
}

.inner-v2 .feature-card {
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.inner-v2 .feature-card:hover {
  transform: translateY(-4px);
  border-color: #c4b5fd;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.17s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.35s; }

/* ---- Feature icon box ---- */
.feat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--h-brand-soft, #f5f3ff);
  border: 1px solid #ddd6fe;
  margin-bottom: 20px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--h-brand, #7c3aed);
  flex-shrink: 0;
}
.ref-card-grid article:hover .feat-icon {
  transform: none;
  background: #ede9fe;
  border-color: #c4b5fd;
  box-shadow: none;
}
.inner-v2 .feature-card:hover .feat-icon {
  transform: none;
  background: #ede9fe;
  border-color: #c4b5fd;
  box-shadow: none;
}

/* ---- Section sub text ---- */
.section-sub {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--h-muted, #64748b);
  font-size: 16px;
  line-height: 1.7;
}

/* ---- Announce pill pulse ---- */
.pulse-dot {
  animation: pdot-pulse 2.4s ease infinite;
}
@keyframes pdot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(124, 58, 237, 0); }
}

/* ================================================================
   LOGO CLOUD
   ================================================================ */
.logo-cloud {
  padding: 64px 0 60px;
  border-bottom: 1px solid var(--h-line, #e2e8f0);
  background: #fff;
}
.logo-cloud-label {
  text-align: center;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 26px;
}
.logo-cloud-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #cbd5e1;
  letter-spacing: -0.025em;
  transition: color 0.22s ease;
  user-select: none;
}
.logo-item:hover { color: #94a3b8; }

/* ================================================================
   AI FEATURE SECTION
   ================================================================ */
.ai-section {
  background: #f8fafc;
  border-top: 1px solid var(--h-line, #e2e8f0);
  border-bottom: 1px solid var(--h-line, #e2e8f0);
}

.fh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feat-eyebrow { margin-bottom: 12px; }

.fh-copy h2 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
}
.fh-copy > p:not(.eyebrow) {
  color: var(--h-muted, #64748b);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.check-list-v2 {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 13px;
}
.check-list-v2 li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.55;
}
.check-list-v2 li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 999px;
  background: #d1fae5 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.fh-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.fh-link {
  color: var(--h-brand, #7c3aed);
  font-weight: 800;
  font-size: 15px;
  transition: text-decoration 0.15s ease;
}
.fh-link:hover { text-decoration: underline; }

/* AI visual card */
.ai-visual { position: relative; }

.ai-card {
  background: #fff;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.ai-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--h-brand-soft, #f5f3ff);
  color: var(--h-brand, #7c3aed);
  font-size: 12px;
  font-weight: 900;
}
.ai-badge svg { stroke: var(--h-brand, #7c3aed); }

.ai-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}
.ai-status-ring {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  animation: pdot-pulse 2s ease infinite;
}

.ai-message-preview {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--h-line, #e2e8f0);
  margin-bottom: 14px;
}
.ai-from {
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}
.ai-msg {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

.ai-draft {
  padding: 16px;
  border: 1px solid #ddd6fe;
  border-radius: 14px;
  background: #faf7ff;
  margin-bottom: 14px;
}
.ai-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
  color: var(--h-brand, #7c3aed);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.ai-label svg { stroke: var(--h-brand, #7c3aed); }
.ai-draft-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 14px;
}
.ai-actions-row { display: flex; gap: 10px; }

.ai-insert-btn {
  border: 0;
  border-radius: 9px;
  background: var(--h-brand, #7c3aed);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.ai-insert-btn:hover { background: #5b21b6; transform: translateY(-1px); }

.ai-edit-btn {
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ai-edit-btn:hover { border-color: #c4b5fd; background: #faf7ff; }

.ai-kb-match {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}
.ai-kb-match svg { stroke: #64748b; flex-shrink: 0; }

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  padding: 72px 0;
  background: var(--h-brand-soft, #f5f3ff);
  border-top: 1px solid #ddd6fe;
  border-bottom: 1px solid #ddd6fe;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  color: var(--h-brand, #7c3aed);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item > span {
  display: block;
  color: #475569;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section { background: #f8fafc; }

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

.testi-card {
  padding: 28px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
}

.testi-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-card > p {
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--h-brand-soft, #f5f3ff);
  color: var(--h-brand, #7c3aed);
  font-weight: 900;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; color: #0f172a; }
.testi-author span   { display: block; font-size: 13px; color: #94a3b8; font-weight: 600; }

/* ================================================================
   PRICING CARD IMPROVEMENTS
   ================================================================ */
.price-card li {
  position: relative;
  padding-left: 22px;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #d1fae5 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 8px no-repeat;
}

/* ================================================================
   BOTTOM CTA IMPROVEMENTS
   ================================================================ */
.cta-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
}
.cta-primary-btn {
  background: #fff !important;
  color: var(--h-brand, #7c3aed) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,0.22) !important;
}
.cta-primary-btn:hover {
  background: #f5f3ff !important;
  transform: translateY(-2px) !important;
}
.cta-note {
  margin-top: 22px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 700;
}

/* ================================================================
   FOOTER V2
   ================================================================ */
.footer-grid-v2 {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 10px;
  padding-bottom: 0;
}
.footer-brand-col > p {
  color: var(--h-muted, #64748b);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
  margin: 12px 0 20px;
}
.footer-grid-v2 h4 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.footer-grid-v2 a {
  display: block;
  color: var(--h-muted, #64748b);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-grid-v2 a:hover { color: var(--h-brand, #7c3aed); }

.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  display: grid !important;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--h-line, #e2e8f0) !important;
  background: #fff;
  color: #64748b;
  margin-bottom: 0 !important;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}
.social-link:hover {
  border-color: #c4b5fd !important;
  color: var(--h-brand, #7c3aed) !important;
  transform: translateY(-2px) !important;
}
.social-link svg { flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  animation: status-pulse 2.5s ease infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
  50%       { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* ================================================================
   INNER PAGES - icon overrides
   ================================================================ */
.inner-v2 .feature-card .feat-icon {
  margin-bottom: 18px;
}
.inner-v2 .faq-item {
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.inner-v2 .faq-item:hover {
  transform: translateY(-3px);
  border-color: #c4b5fd;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08);
}

/* ================================================================
   RESPONSIVE ADDITIONS
   ================================================================ */
@media (max-width: 1100px) {
  .fh-grid { gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 8px 2px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testi-card { min-width: 84%; scroll-snap-align: start; flex: 0 0 auto; }
  .footer-grid-v2 { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .fh-grid { grid-template-columns: 1fr; gap: 36px; }
  .logo-cloud-row { gap: 28px; }
  .ref-hero h1 { font-size: clamp(30px, 9vw, 50px); }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: clamp(30px, 9vw, 46px); }
  .stat-item > span { font-size: 13px; }
  .logo-cloud-row { gap: 18px; }
  .logo-item { font-size: 15px; }
  .footer-grid-v2 { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ai-card { padding: 18px; }
  .fh-copy > p:not(.eyebrow) { font-size: 15px; }
  .ref-card-grid article,
  .pricing-grid article,
  .testimonials-grid article,
  .inner-v2 .feature-grid article,
  .inner-v2 .faq-grid article {
    min-width: 88%;
  }

  .integrations-grid .integration-tile {
    min-width: 88%;
  }

  .testi-card { min-width: 88%; }

  .price-card {
    padding: 22px;
  }

  .price {
    font-size: 36px;
  }

  .pricing-grid {
    padding-bottom: 20px;
  }

  .section-sub { font-size: 15px; }
}

/* ================================================================
   ROLE HIERARCHY VISUAL (platform page)
   ================================================================ */
.role-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 38px 28px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  min-height: 420px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.role-node {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--h-line, #e2e8f0);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.role-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.14);
}

.role-pill {
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.role-pill.alt {
  background: #f5f3ff;
  color: var(--h-brand-dark, #5b21b6);
}

.role-node.is-top {
  background: var(--h-brand, #7c3aed);
  color: #fff;
  border-color: var(--h-brand-dark, #5b21b6);
  box-shadow: 0 18px 38px rgba(124, 58, 237, 0.32);
}
.role-node.is-top .role-pill {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
}

.role-node.is-admin {
  background: #faf7ff;
  border-color: #c4b5fd;
  color: var(--h-brand-dark, #5b21b6);
}

.role-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, #c4b5fd, #7c3aed);
  margin: 4px 0;
}
.role-line-tall { height: 28px; }

.role-row {
  display: flex;
  gap: 18px;
  position: relative;
  padding-top: 12px;
}
.role-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c4b5fd 30%, #c4b5fd 70%, transparent);
}

/* ================================================================
   SIGNUP FLOW VISUAL (contact page)
   ================================================================ */
.signup-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.flow-title {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: var(--h-brand-dark, #5b21b6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--h-line, #e2e8f0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.flow-step:hover {
  transform: translateX(3px);
  border-color: #c4b5fd;
}

.flow-step.complete {
  background: rgba(124, 58, 237, 0.04);
  border-color: #ddd6fe;
}
.flow-step.active {
  background: #fff;
  border-color: var(--h-brand, #7c3aed);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.16);
}

.flow-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--h-line, #e2e8f0);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: #94a3b8;
  flex-shrink: 0;
}
.flow-step.complete .flow-num {
  background: var(--h-brand, #7c3aed);
  border-color: var(--h-brand, #7c3aed);
  color: #fff;
}
.flow-step.complete .flow-num svg { stroke: #fff; }
.flow-step.active .flow-num {
  background: var(--h-brand, #7c3aed);
  border-color: var(--h-brand, #7c3aed);
  color: #fff;
  animation: pdot-pulse 2.4s ease infinite;
}

.flow-body { flex: 1; min-width: 0; }
.flow-body strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.flow-body span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.flow-time {
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.flow-step.complete .flow-time { color: var(--h-brand, #7c3aed); }
.flow-step.active .flow-time { color: var(--h-brand, #7c3aed); }

.flow-line {
  width: 2px;
  height: 14px;
  margin-left: 32px;
  background: var(--h-line, #e2e8f0);
}
.flow-line.is-complete { background: var(--h-brand, #7c3aed); }
.flow-line.is-active {
  background: linear-gradient(180deg, var(--h-brand, #7c3aed), #c4b5fd);
}

@media (max-width: 640px) {
  .role-tree { padding: 28px 16px; min-height: 360px; }
  .role-node { font-size: 13px; padding: 11px 16px; }
  .role-pill { display: none; }
  .role-row { gap: 12px; }
  .signup-flow { padding: 20px; }
  .flow-step { padding: 12px; }
  .flow-time { display: none; }
}

/* ================================================================
   FOOTER NEWSLETTER STRIP
   ================================================================ */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0 36px;
  margin-bottom: 24px;
}
.footer-newsletter > div { flex: 1 1 auto; max-width: 480px; }
.footer-newsletter h4 {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.footer-newsletter p {
  margin: 0;
  color: var(--h-muted, #64748b);
  font-size: 14px;
  line-height: 1.5;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 1 1 360px;
  max-width: 440px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input[type="email"]::placeholder { color: #94a3b8; }
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--h-brand, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.newsletter-form button {
  height: 46px;
  flex-shrink: 0;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
}
.newsletter-msg {
  width: 100%;
  margin: 8px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.newsletter-msg[data-kind="ok"]   { background: #ecfdf5; color: #047857; }
.newsletter-msg[data-kind="warn"] { background: #fef3c7; color: #92400e; }
.newsletter-msg[data-kind="err"]  { background: #fef2f2; color: #b91c1c; }

/* ================================================================
   FOOTER CREDIT (aarondigitalservices.com)
   ================================================================ */
.footer-credit {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}
.footer-credit a {
  color: #475569;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit a:hover { color: var(--h-brand, #7c3aed); }

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1000;
  width: min(380px, calc(100% - 36px));
  padding: 0;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 12px;
  padding: 18px 18px 14px;
}
.cookie-banner-icon {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--h-brand-soft, #f5f3ff);
  color: var(--h-brand, #7c3aed);
  flex-shrink: 0;
}
.cookie-banner-text {
  grid-row: 1;
  grid-column: 2;
}
.cookie-banner-text strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.cookie-banner-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}
.cookie-banner-text a {
  color: var(--h-brand, #7c3aed);
  font-weight: 700;
  text-decoration: underline;
}
.cookie-banner-actions {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.cookie-banner-actions button {
  flex: 1;
  height: 42px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.cookie-decline {
  background: #fff;
  color: #475569;
  border: 1px solid var(--h-line, #e2e8f0);
}
.cookie-decline:hover {
  border-color: #c4b5fd;
  background: #faf7ff;
}
.cookie-accept {
  background: var(--h-gradient);
  color: #fff;
  border: 1px solid transparent;
}
.cookie-accept:hover {
  background: var(--h-gradient-hover);
  transform: translateY(-1px);
}

/* ================================================================
   CONTACT FORM (contact page)
   ================================================================ */
.contact-eyebrow {
  margin-bottom: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-family: inherit;
}
.contact-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.contact-form label > span em {
  color: var(--h-brand, #7c3aed);
  font-style: normal;
  margin-left: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.55;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #94a3b8; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--h-brand, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.cf-consent {
  margin: 4px 0 0;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.cf-consent a { color: var(--h-brand, #7c3aed); font-weight: 700; }
.cf-submit { justify-content: center; width: 100%; }
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cf-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.cf-status[data-kind="ok"]   { background: #ecfdf5; color: #047857; }
.cf-status[data-kind="warn"] { background: #fef3c7; color: #92400e; }
.cf-status[data-kind="err"]  { background: #fef2f2; color: #b91c1c; }
.cf-status[data-kind="info"] { background: #eff6ff; color: #1e40af; }

/* ================================================================
   404 PAGE
   ================================================================ */
.page-404 { padding-top: 130px; }
.page-404-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.page-404-code {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(to right, #5919c2 0%, #a74cef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}
.page-404 h1 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 14px 0 14px;
}
.page-404-sub {
  max-width: 560px;
  margin: 0 auto 0;
  color: var(--h-muted, #64748b);
  font-size: 17px;
  line-height: 1.65;
}
.page-404-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
  text-align: left;
}
.page-404-links a {
  display: block;
  padding: 22px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.page-404-links a:hover {
  transform: translateY(-3px);
  border-color: #c4b5fd;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}
.page-404-links strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.page-404-links span {
  display: block;
  color: var(--h-muted, #64748b);
  font-size: 14px;
}

/* ================================================================
   LEGAL PAGES (privacy + terms)
   ================================================================ */
.legal-section {
  background: #fff;
  padding-top: 56px;
}
.legal-prose {
  max-width: 760px;
  margin: 0 auto;
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}
.legal-prose h2 {
  margin: 44px 0 14px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p {
  margin: 0 0 14px;
  color: #334155;
}
.legal-prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.legal-prose li { color: #334155; }
.legal-prose a {
  color: var(--h-brand, #7c3aed);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.legal-prose strong { color: #0f172a; font-weight: 800; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 860px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }
  /* Column layout: stop flex-basis (360px) from stretching the form vertically */
  .newsletter-form { width: 100%; max-width: none; flex: 0 0 auto; }
  .newsletter-form input[type="email"] { min-width: 0; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .page-404-links { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .cookie-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
  .cookie-banner-inner { padding: 16px; }
  .footer-credit { font-size: 12px; }
  .legal-prose { font-size: 14.5px; }
  .legal-prose h2 { font-size: 19px; margin-top: 32px; }
}

/* =================================================================
   PHASE 2 - UI POLISH & ACCESSIBILITY
   Focus rings, skip link, mobile menu, AI typing, active nav,
   scroll-to-top, reduced motion, contrast fixes
   ================================================================= */

/* ---- Skip-to-content ---- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 9999;
  padding: 10px 18px;
  background: #fff;
  color: var(--h-brand, #7c3aed);
  font-weight: 800;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid var(--h-brand, #7c3aed);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus, .skip-link:focus-visible { top: 12px; }

/* ---- Focus rings (focus-visible) ---- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--h-brand, #7c3aed);
  outline-offset: 3px;
  border-radius: 6px;
}
.solid-btn:focus-visible,
.outline-btn:focus-visible,
.cookie-banner-actions button:focus-visible,
.cf-submit:focus-visible {
  outline-offset: 4px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none; /* form controls already have a focus box-shadow */
}

/* ---- Active nav indicator (aria-current=page) ---- */
.nav-links a[aria-current="page"] {
  color: var(--h-brand, #7c3aed);
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--h-brand, #7c3aed);
}
.mobile-nav a[aria-current="page"] {
  color: var(--h-brand, #7c3aed);
  background: var(--h-brand-soft, #f5f3ff);
  border-radius: 8px;
  padding-left: 10px;
}

/* ---- Mobile side off-canvas drawer ---- */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity 0.28s ease;
}
.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.home-v2 .mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(392px, 92vw);
  display: flex !important;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(124, 58, 237, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  border-left: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: -30px 0 90px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.36s;
}
.home-v2 .mobile-nav[hidden] {
  display: flex !important;
  transform: translateX(100%);
  visibility: hidden;
}
.home-v2 .mobile-nav:not([hidden]) {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear;
}

/* Drawer header: brand + close */
.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 16px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.mnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.mnav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.28);
}

/* Scrollable nav body */
.mnav-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 8px;
}
.mnav-label {
  margin: 0 0 8px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.mnav-label:not(:first-child) { margin-top: 22px; }

.mnav-links { display: flex; flex-direction: column; gap: 4px; }
.home-v2 .mobile-nav .mnav-links a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.home-v2 .mobile-nav .mnav-links a:active { transform: scale(0.985); }
.home-v2 .mobile-nav .mnav-links a:hover,
.home-v2 .mobile-nav .mnav-links a[aria-current="page"] {
  background: #fff;
  border-color: rgba(124, 58, 237, 0.18);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.mnav-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #f1f5f9;
  color: #475569;
  transition: transform 0.2s ease;
}
.mnav-ic svg { width: 20px; height: 20px; }
.mnav-links a:hover .mnav-ic { transform: scale(1.05); }
.mnav-ic-platform { background: #ede9fe; color: #7c3aed; }
.mnav-ic-pricing  { background: #dbeafe; color: #2563eb; }
.mnav-ic-security { background: #ecfdf5; color: #059669; }
.mnav-ic-compare  { background: #fef3c7; color: #d97706; }
.mnav-ic-faq      { background: #fce7f3; color: #db2777; }
.mnav-ic-contact  { background: #e0f2fe; color: #0284c7; }

.mnav-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mnav-txt strong {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
}
.mnav-txt small {
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.35;
}
.mnav-arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.mnav-links a:hover .mnav-arrow { transform: translateX(3px); color: var(--h-brand, #7c3aed); }

/* CTA block */
.mnav-cta {
  padding: 14px 18px 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.6);
}
.home-v2 .mobile-nav .mnav-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 13px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.home-v2 .mobile-nav .mnav-signin {
  color: #0f172a;
  background: #fff;
  border: 1px solid var(--h-line, #e2e8f0);
}
.home-v2 .mobile-nav .mnav-signin:hover { border-color: var(--h-brand, #7c3aed); color: var(--h-brand, #7c3aed); }
.home-v2 .mobile-nav .mnav-trial {
  margin-top: 9px;
  color: #fff;
  background: linear-gradient(to right, #5919c2 0%, #a74cef 100%);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.32);
}
.mnav-trial svg { width: 18px; height: 18px; }
.home-v2 .mobile-nav .mnav-trial:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(124, 58, 237, 0.4); }
.mnav-cta-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

/* Drawer footer */
.mnav-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.home-v2 .mobile-nav .mnav-foot-mail {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
}
.home-v2 .mobile-nav .mnav-foot-mail:hover { color: var(--h-brand, #7c3aed); }
.mnav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}
.mnav-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  animation: status-pulse 2.5s ease infinite;
}

.mobile-nav-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--h-line, #e2e8f0);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.25s ease, background 0.2s ease;
}
.mobile-nav-close svg { width: 18px; height: 18px; stroke: #475569; }
.mobile-nav-close:hover { border-color: var(--h-brand, #7c3aed); background: var(--h-brand-soft, #f5f3ff); transform: rotate(90deg); }

/* Hamburger → X transition */
.home-v2 .menu-btn span { transition: transform 0.25s ease, opacity 0.2s ease; transform-origin: center; }
.home-v2 .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.home-v2 .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.home-v2 .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Prevent background scroll when drawer is open */
body.menu-open { overflow: hidden; }

/* ---- AI status: typing dots ---- */
.ai-status-text {
  display: inline-flex;
  align-items: baseline;
}
.ai-typing-dots {
  display: inline-block;
  width: 14px;
  margin-left: 1px;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  animation: ai-typing 1.4s steps(4, end) infinite;
}
@keyframes ai-typing {
  0%   { width: 0; }
  100% { width: 14px; }
}

/* ---- Scroll-to-top button ---- */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--h-line, #e2e8f0);
  background: #fff;
  color: var(--h-brand, #7c3aed);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  border-color: var(--h-brand, #7c3aed);
  transform: translateY(-2px);
}
.scroll-top-btn svg { width: 18px; height: 18px; }
@media (max-width: 540px) {
  .scroll-top-btn { right: 14px; bottom: 14px; }
}

/* ---- Contrast fixes (muted #94a3b8 → #64748b on white surfaces) ---- */
.home-v2 .hero-note,
.home-v2 .scroll-cue,
.home-v2 .footer-credit,
.home-v2 .footer-status,
.home-v2 .testi-author span,
.home-v2 .flow-body span,
.cf-consent,
.cookie-banner-text p { color: #64748b; }

.home-v2 .logo-item { color: #94a3b8; }
.home-v2 .logo-item:hover { color: #64748b; }

/* ---- prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .pulse-dot, .status-dot, .ai-status-ring, .ai-typing-dots, .flow-step.active .flow-num,
  .scroll-top-btn { animation: none !important; }
  .ai-typing-dots { width: 14px !important; }
}

/* =================================================================
   PHASE 3 - CONTENT SECTIONS
   FAQ accordion, Who-for, Integrations, Pricing toggle/compare,
   Breadcrumbs, Compare page
   ================================================================= */

/* ---- Who is this for ---- */
.who-section { background: #fff; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.who-card {
  padding: 28px 22px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.who-card:hover {
  transform: translateY(-4px);
  border-color: #c4b5fd;
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.1);
}
.who-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--h-brand-soft, #f5f3ff);
  border: 1px solid #ddd6fe;
}
.who-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--h-brand, #7c3aed);
  fill: none;
}
.who-card h3 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.who-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

/* ---- Integrations strip ---- */
.integrations-section {
  background: #f8fafc;
  border-top: 1px solid var(--h-line, #e2e8f0);
  border-bottom: 1px solid var(--h-line, #e2e8f0);
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.integration-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.integration-tile:hover {
  transform: translateY(-3px);
  border-color: #c4b5fd;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.08);
}
.integration-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--h-line, #e2e8f0);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #475569;
}
.integration-tile strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.integration-tile span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* ---- FAQ accordion (details/summary) ---- */
.faq-section { background: #fff; }
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-accordion details {
  padding: 0;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.faq-accordion details[open] {
  border-color: #c4b5fd;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.08);
}
.faq-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--h-brand-soft, #f5f3ff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq-accordion details[open] summary::after { transform: rotate(180deg); }
.faq-accordion details > div {
  padding: 0 22px 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}
.faq-accordion details > div a {
  color: var(--h-brand, #7c3aed);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- Pricing toggle (monthly/annual) ---- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin: 28px auto 0;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--h-line, #e2e8f0);
}
.pt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pt-btn span {
  padding: 2px 7px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 11px;
  font-weight: 900;
}
.pt-btn.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

/* ---- Pricing comparison table ---- */
.pricing-compare-section { background: #fff; padding-top: 36px; }
.pricing-compare {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}
.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.pricing-compare thead {
  background: #f8fafc;
}
.pricing-compare thead th {
  padding: 18px 18px;
  text-align: left;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 1px solid var(--h-line, #e2e8f0);
}
.pricing-compare thead th:not(:first-child) {
  text-align: center;
  font-weight: 900;
}
.pricing-compare thead th.is-featured { color: var(--h-brand, #7c3aed); }
.pricing-compare tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.pricing-compare tbody td:first-child { font-weight: 700; }
.pricing-compare tbody td:not(:first-child) {
  text-align: center;
  font-weight: 700;
  color: #475569;
}
.pricing-compare tbody tr:last-child td { border-bottom: 0; }
.pricing-compare tbody tr:hover { background: #faf7ff; }
.pc-check {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
}
.pc-check svg { width: 14px; height: 14px; }
.pc-dash { color: #cbd5e1; font-weight: 900; }
.pc-featured-col { background: rgba(124, 58, 237, 0.04); }

@media (max-width: 720px) {
  .pricing-compare table { font-size: 13.5px; }
  .pricing-compare thead th,
  .pricing-compare tbody td { padding: 12px 10px; }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}
.breadcrumbs a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--h-brand, #7c3aed); }
.breadcrumbs span[aria-current="page"] { color: #0f172a; }
.breadcrumbs .breadcrumb-sep { color: #cbd5e1; }

/* ---- Compare page ---- */
.compare-section { background: #fff; }
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare-table thead {
  background: linear-gradient(180deg, #faf7ff 0%, #fff 100%);
}
.compare-table thead th {
  padding: 22px 18px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 1px solid var(--h-line, #e2e8f0);
}
.compare-table thead th:first-child {
  text-align: left;
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-table thead th.is-ads {
  background: var(--h-brand-soft, #f5f3ff);
  color: var(--h-brand-dark, #5b21b6);
  position: relative;
}
.compare-table thead th.is-ads::after {
  content: "Recommended";
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--h-brand, #7c3aed);
}
.compare-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  text-align: center;
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: #0f172a;
}
.compare-table tbody td.is-ads { background: rgba(124, 58, 237, 0.04); font-weight: 800; color: var(--h-brand-dark, #5b21b6); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-section .section-head { margin-bottom: 36px; }
.compare-tab-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.compare-tab {
  padding: 8px 16px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.compare-tab:hover { border-color: #c4b5fd; }
.compare-tab.is-active {
  background: var(--h-brand, #7c3aed);
  color: #fff;
  border-color: var(--h-brand, #7c3aed);
}

@media (max-width: 1080px) {
  .who-grid, .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   FIX PACK - 2026-05-22
   Supervisor section redesign, integrations marquee,
   hamburger menu, carousel widths, mobile spacing
   ================================================================ */

/* ---- Supervisor metrics (3 boxes in a row) ---- */
.sup-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.sup-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 10px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.sup-metric-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
}
.sup-metric-icon svg { width: 20px; height: 20px; }
.sup-metric-warn { background: #fef3c7; color: #d97706; }
.sup-metric-view { background: #eff6ff; color: #2563eb; }
.sup-metric-zap  { background: #ecfdf5; color: #059669; }
.sup-metric strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.sup-metric span {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.3;
}

/* ---- Supervisor dashboard visual ---- */
.sup-dash {
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.sup-dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--h-line, #e2e8f0);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}
.sup-dash-header svg { color: var(--h-brand, #7c3aed); }
.sup-dash-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sup-dash-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #10b981;
  animation: status-pulse 2.5s ease infinite;
}
.sup-dash-body { padding: 20px; }
.sup-queue-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.sup-queue {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 14px;
  text-align: center;
  background: #fafbfc;
}
.sup-q-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
}
.sup-queue strong {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}
.sup-q-amber { color: #d97706 !important; }
.sup-q-red   { color: #dc2626 !important; }
.sup-ticket {
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
}
.sup-ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sup-ticket-id {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}
.sup-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  animation: sla-pulse 2s ease infinite;
}
@keyframes sla-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(220,38,38,0); }
}
.sup-ticket-subject {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.sup-ticket-meta {
  margin: 0 0 14px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.sup-ticket-actions {
  display: flex;
  gap: 8px;
}
.sup-assign-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--h-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.sup-escalate-btn {
  padding: 8px 14px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

/* ---- Integrations marquee (mobile only) ---- */
.integrations-marquee { display: none; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.marquee-item span {
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
}

/* ---- Mobile overrides ---- */
@media (max-width: 980px) {
  /* Hamburger: reset margin from styles.css */
  .home-v2 .menu-btn span { margin: 0; }

  /* Reduced section spacing on mobile */
  .section { padding: 56px 0; }
  .ref-section { padding-top: 56px; }
  .stats-bar { padding: 44px 0; }

  /* Integrations: hide grid, show marquee */
  .integrations-grid { display: none !important; }
  .integrations-marquee {
    display: block;
    overflow: hidden;
    margin-top: 28px;
    padding: 16px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  /* Carousel card explicit widths */
  .ref-card-grid article,
  .pricing-grid article,
  .inner-v2 .feature-grid article,
  .inner-v2 .faq-grid article {
    flex: 0 0 78%;
    min-width: 0;
    max-width: 78%;
  }
}

/* Testimonials: explicit widths at 1100px */
@media (max-width: 1100px) {
  .testi-card {
    flex: 0 0 84%;
    min-width: 0;
    max-width: 84%;
  }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .ref-section { padding-top: 48px; }

  .ref-card-grid article,
  .pricing-grid article,
  .inner-v2 .feature-grid article,
  .inner-v2 .faq-grid article {
    flex: 0 0 88%;
    min-width: 0;
    max-width: 88%;
  }

  .testi-card {
    flex: 0 0 88%;
    min-width: 0;
    max-width: 88%;
  }

  .sup-queue-row { flex-wrap: wrap; }
  .sup-queue { flex: 1 1 calc(33% - 8px); min-width: 70px; }
  .sup-queue strong { font-size: 22px; }
}

/* ---- Security page: pillar cards ---- */
.sec-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.sec-pillar {
  padding: 28px 22px;
  border: 1px solid var(--h-line, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  text-align: center;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.sec-pillar:hover {
  transform: translateY(-4px);
  border-color: #c4b5fd;
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.1);
}
.sec-pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.sec-pillar-icon svg { width: 26px; height: 26px; }
.sec-pillar-rbac  { background: #ede9fe; color: #7c3aed; }
.sec-pillar-scope { background: #dbeafe; color: #2563eb; }
.sec-pillar-obs   { background: #fef3c7; color: #d97706; }
.sec-pillar-arch  { background: #ecfdf5; color: #059669; }
.sec-pillar h3 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.sec-pillar p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .sec-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .sec-pillars { grid-template-columns: 1fr; }
}

/* ================================================================
   WHO-ICON INDIVIDUAL COLORS (security-pillar style)
   ================================================================ */
.who-icon-ecom     { background: #ede9fe; border-color: #ddd6fe; }
.who-icon-ecom svg { stroke: #7c3aed; }
.who-icon-saas     { background: #dbeafe; border-color: #bfdbfe; }
.who-icon-saas svg { stroke: #2563eb; }
.who-icon-agency     { background: #fef3c7; border-color: #fde68a; }
.who-icon-agency svg { stroke: #d97706; }
.who-icon-internal     { background: #ecfdf5; border-color: #a7f3d0; }
.who-icon-internal svg { stroke: #059669; }

/* ================================================================
   FEAT-ICON INDIVIDUAL COLORS (security-pillar style)
   ================================================================ */
.feat-icon-inbox { background: #ede9fe; border-color: #ddd6fe; }
.feat-icon-inbox svg { stroke: #7c3aed; }
.feat-icon-ai { background: #fef3c7; border-color: #fde68a; }
.feat-icon-ai svg { stroke: #d97706; }
.feat-icon-sla { background: #fee2e2; border-color: #fecaca; }
.feat-icon-sla svg { stroke: #dc2626; }
.feat-icon-route { background: #ecfdf5; border-color: #a7f3d0; }
.feat-icon-route svg { stroke: #059669; }
.feat-icon-rbac { background: #dbeafe; border-color: #bfdbfe; }
.feat-icon-rbac svg { stroke: #2563eb; }
.feat-icon-kb { background: #fce7f3; border-color: #fbcfe8; }
.feat-icon-kb svg { stroke: #db2777; }

/* ================================================================
   SUPERVISOR GRID — DASH LEFT, TEXT RIGHT, BIGGER DASH
   ================================================================ */
.operation-grid-reverse {
  grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 980px) {
  .operation-grid-reverse { grid-template-columns: 1fr; }
  .operation-grid-reverse .sup-dash { order: 2; }
  .operation-grid-reverse .operation-copy { order: 1; }
}

/* ================================================================
   FOOTER MOBILE — REDUCE GAP
   ================================================================ */
@media (max-width: 640px) {
  .footer-newsletter {
    padding: 20px 0 22px;
    margin-bottom: 10px;
    gap: 14px;
  }
  .footer-grid-v2 {
    gap: 22px;
    padding-top: 0;
  }
  .site-footer {
    padding: 36px 0 24px;
  }
  .footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
  }
}
