/*---------- PALLACOR — GLOBAL STYLES ----------*/

/*---------- PREVIEW BANNER ----------*/
.preview-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: -0.1px;
}
.preview-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4444;
  flex-shrink: 0;
  animation: preview-pulse 2s ease-in-out infinite;
}
@keyframes preview-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.preview-banner-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s;
}
.preview-banner-close:hover { color: #fff; }

/*---------- VARIABLES ----------*/
:root {
  --backgroundmain:  #f7f7f4;
  --backgroundbreak: #f2f1ed;
  --accent:          #2A6DD9;
  --accent-hover:    #2460BF;
  --text-primary:    #1D1E20;
  --text-secondary:  #414145;
  --text-muted:      #A8A8AE;
  --border:          #E5E7EB;
  --border-light:    #F3F4F6;
  --font-sans:       'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width:       1280px;
  --nav-height:      64px;
  --page-px:         40px;
  --grid-line:       #E0E0E0;
}

/*---------- RESET ----------*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--backgroundmain);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

/*---------- LAYOUT UTILITIES ----------*/
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
}


/*---------- NAVIGATION ----------*/
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--backgroundmain);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-nav.scrolled {
  border-bottom-color: #e6e5e0;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 20px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #5a5852;
  transition: color 0.15s;
}
.nav-links a:hover { color: #26251e; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-ghost {
  background: none;
  color: #5a5852;
}
.btn-ghost:hover {
  background: #efeee8;
  color: #26251e;
}
.btn-solid {
  background: #0272F2;
  color: #fff;
  font-weight: 500;
}
.btn-solid:hover { background: #0262D6; }


/*---------- HERO ----------*/
.hero {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--backgroundmain);
}

/* Video fills hero with 10px margin on all sides, below nav */
.hero-video-wrap {
  position: absolute;
  top: calc(var(--nav-height) + 10px);
  bottom: 10px;
  left: 10px;
  right: 10px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Text sits above video */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 80px;
  padding-top: var(--nav-height);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  height: 100%;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-size: 58px;
  font-weight: 600;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -1.8px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title em {
  font-style: normal;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-cta-primary {
  font-size: 15px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 0 0 1px rgba(42,109,217,0.7), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-cta-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 3px 10px rgba(42,109,217,0.25), 0 0 0 1px rgba(42,109,217,0.7), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.btn-cta-secondary {
  font-size: 15px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  flex-shrink: 0;
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-cta-secondary:hover {
  border-color: #b0b8c4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
}
.hero-stat-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/*---------- CTA SECTION ----------*/
.cta-section {
  background: var(--backgroundmain);
  padding: 112px 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.cta-section-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.cta-section-sub {
  flex: 1;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  letter-spacing: -0.6px;
  max-width: 640px;
}

.cta-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.cta-actions .btn-cta-primary {
  font-size: 16px;
  padding: 14px 32px;
}

.cta-actions .btn-cta-secondary {
  font-size: 16px;
  padding: 14px 32px;
}

/*---------- SECTIONS ----------*/
.section {
  padding: 96px 0;
}
.section-break {
  background: var(--backgroundbreak);
}
.section-title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}

/*---------- FOOTER ----------*/
.site-footer {
  position: relative;
  z-index: 0;
  background: var(--backgroundmain);
  font-size: 13px;
  color: #807d72;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px var(--page-px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer {
  border-top: 1px solid #e6e5e0;
}

.footer-logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}
.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.footer-logo span {
  color: var(--accent);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-header {
  font-size: 11px;
  font-weight: 600;
  color: #26251e;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: #807d72;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #0272F2;
}

.footer-bottom-wrapper {
  border-top: 1px solid #e6e5e0;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--page-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/*---------- MEGA MENU ----------*/
.nav-item {
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0 14px;
  height: var(--nav-height);
  transition: color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.active .nav-link { color: var(--accent); }
.nav-link svg {
  transition: transform 0.2s;
  display: inline-block;
  flex-shrink: 0;
}

.nav-item .nav-link:hover { color: var(--accent); }

.nav-item.active .nav-link svg { transform: rotate(180deg); }
.mega-shell {
  position: fixed;
  top: var(--nav-height);
  left: 50%;
  width: var(--max-width);
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  padding: 0;
}
.mega-shell.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.mega-clip {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  background: var(--backgroundmain);
  margin: 8px 12px 12px;
}
.mega-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.mega-menu-inner {
  flex: 0 0 auto;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}
.mega-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.mega-col:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.mega-col-header {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 12px 2px;
  display: block;
}
a.mega-col-header-link {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
a.mega-col-header-link:hover {
  opacity: 0.7;
}
.mega-col a:not(.mega-link-item) {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 5px 12px;
  transition: color 0.15s;
  text-decoration: none;
}
.mega-col a:not(.mega-link-item):hover { color: var(--accent); }
.mega-link-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.13s;
}
.mega-link-item:hover {
  background: var(--border);
}
.mega-link-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.mega-link-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Icon layout variant (Features menu) */
.mega-link-item.has-icon {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.mega-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--backgroundmain);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-link-icon img {
  width: 20px;
  height: 20px;
  display: block;
}
.mega-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-link-item.has-icon .mega-link-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.mega-link-item.has-icon .mega-link-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Modules column */
.mega-col-modules {
  border-left: 1px solid var(--border);
  padding-left: 8px;
}
.mega-col-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 4px 12px 6px;
  display: block;
}
.mega-col-label--spacer {
  visibility: hidden;
  pointer-events: none;
}
.mega-brand-col {
  display: flex;
  flex-direction: column;
}
.mega-brand-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: var(--backgroundmain);
  border-radius: 8px;
  border: 1px solid var(--border);
  min-height: 120px;
}
.mega-brand-logo {
  height: 18px;
  width: auto;
  display: block;
  margin-bottom: 6px;
}
.mega-brand-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.has-dropdown .nav-link::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  transition: transform 0.3s;
}

.has-dropdown.active .nav-link::after {
  transform: rotate(225deg);
  margin-bottom: -2px;
}

/*---------- PROBLEM SECTION — interactive dark tab layout ----------*/
.problem-section {
  background: var(--backgroundbreak);
  padding: 96px 0;
  position: relative;
}
.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.problem-intro {
  display: grid;
  align-items: end;
  margin: 0 0 64px;
}

.problem-intro h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 12px 0 0;
}

.problem-intro-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 4px;
}

.problem-tabs-layout {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 0 56px;
  align-items: start;
}

/* Left: tab list */
.problem-tabs {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.problem-tab {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  transition: background 0.18s;
  position: relative;
  width: 100%;
}

.problem-tab:last-child {
  border-bottom: none;
}

.problem-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.18s;
  border-radius: 0 2px 2px 0;
}

.problem-tab.active::before { opacity: 1; }

.problem-tab:hover { background: var(--backgroundbreak); }

.problem-tab.active { background: rgba(42, 109, 217, 0.05); }

.problem-tab-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 20px;
  flex-shrink: 0;
  padding-top: 2px;
  transition: color 0.15s;
}

.problem-tab.active .problem-tab-num { color: var(--accent); }

.problem-tab-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.problem-tab-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
  transition: color 0.15s;
}

.problem-tab.active .problem-tab-title,
.problem-tab:hover .problem-tab-title { color: var(--text-primary); }

.problem-tab-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Right: content panels */
.problem-panels {
  position: relative;
  min-height: 380px;
}

.problem-panel {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.28s ease;
}

.problem-panel.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.problem-panel-head {
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.problem-panel-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Impact stat row */
.problem-impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.problem-impact-item {
  background: #fff;
  padding: 18px 20px 16px;
}

.problem-impact-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.problem-impact-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Callout — centered below tab layout */
.problem-callout-wrap {
  max-width: 720px;
  margin: 40px auto 0;
}

.problem-callout {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
}

.problem-callout.active {
  display: flex;
}

.problem-callout-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.problem-callout-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.problem-callout-text span {
  font-size: 12px;
  color: var(--text-secondary);
}

/*---------- HAMBURGER BUTTON ----------*/
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
  border-radius: 6px;
  transition: background 0.15s;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: #efeee8; }
.nav-hamburger .close-icon { display: none; }

/*---------- MOBILE NAV DRAWER ----------*/
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--backgroundmain);
  z-index: 195;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 8px 0 120px;
  min-height: 100%;
}
.mobile-nav-list {
  flex: 1;
  padding: 0 var(--page-px);
}
.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}
.mobile-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}
.mobile-nav-toggle[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
}
.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.mobile-nav-submenu {
  padding-bottom: 12px;
}
.mobile-submenu-group {
  margin-bottom: 16px;
}
.mobile-submenu-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding-left: 12px;
}
.mobile-sub-link {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.mobile-sub-link:hover {
  background: #efeee8;
  color: var(--text-primary);
}
.mobile-nav-footer {
  padding: 20px var(--page-px) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}
.mobile-btn-full {
  width: 100%;
  justify-content: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
}

/*---------- RESPONSIVE — NAV BREAKPOINT ----------*/
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-solid { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: block; }
  .mega-shell { display: none !important; }
}

/*---------- RESPONSIVE ----------*/
@media (max-width: 768px) {
  :root {
    --page-px: 20px;
  }
  .hero-title { font-size: 38px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }

  /* Problem section responsive */
  .problem-section { padding: 64px 0; }
  .problem-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .problem-tabs-layout { grid-template-columns: 1fr; gap: 28px; }
  .problem-panels { min-height: auto; }
  .problem-panel { position: relative; }
  .problem-impact { grid-template-columns: 1fr 1fr; }
}

/*---------- OVERLINE LABELS ----------*/
.overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

/*---------- LOGO / SOCIAL PROOF BAR ----------*/
.logo-bar {
  background: var(--backgroundbreak);
  padding: 28px 0;
  position: relative;
}
.logo-bar::before,
.logo-bar::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.logo-bar::before { top: 0; }
.logo-bar::after  { bottom: 0; }
.logo-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-bar-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px solid var(--border);
}
.logo-bar-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  letter-spacing: -0.1px;
}
.logo-pill svg {
  color: var(--accent);
  opacity: 0.7;
}

/*---------- DEMO SECTION — tabbed product video player ----------*/
.demo-section {
  background: var(--backgroundbreak);
  padding: 80px 0;
  position: relative;
}
.demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.demo-heading {
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 32px;
}

.demo-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 40px;
}

.demo-intro h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin: 16px 0 18px;
}

.demo-intro-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Segmented control */
.demo-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.demo-tabs-inner {
  display: inline-flex;
  background: #e9eaec;
  border: 1px solid #dadde0;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.demo-tab {
  padding: 8px 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.12s, color 0.12s, box-shadow 0.12s;
  font-family: inherit;
  white-space: nowrap;
}

.demo-tab:hover { color: var(--text-primary); }

.demo-tab.active {
  background: #fff;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
}

/* Player shell */
.demo-player {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Video placeholder */
.demo-placeholder {
  aspect-ratio: 16 / 9;
  background: #141518;
  width: 100%;
  display: block;
}

/* Browser chrome */
.demo-chrome {
  background: #1D1E20;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-chrome-dots { display: flex; gap: 6px; flex-shrink: 0; }

.demo-chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-chrome-dot:nth-child(1) { background: #FF5F57; }
.demo-chrome-dot:nth-child(2) { background: #FEBC2E; }
.demo-chrome-dot:nth-child(3) { background: #28C840; }

.demo-chrome-bar {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 4px 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.demo-chrome-spacer { width: 58px; flex-shrink: 0; }

/* Screen container */
.demo-screens { position: relative; background: var(--backgroundbreak); }

.demo-screen {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.28s ease;
}

.demo-screen.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

/* App layout inside each screen */
.demo-app {
  display: flex;
  min-height: 440px;
}

.demo-app-nav {
  width: 172px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-nav-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 4px 10px 14px;
  letter-spacing: -0.3px;
}

.demo-nav-item {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: default;
}

.demo-nav-item.active {
  background: rgba(42,109,217,0.08);
  color: var(--accent);
  font-weight: 600;
}

.demo-app-main {
  flex: 1;
  padding: 20px 24px;
  overflow: hidden;
}

.demo-app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.demo-app-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-app-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--backgroundbreak);
  color: var(--text-muted);
  padding: 1px 7px;
  border-radius: 10px;
}

.demo-app-actions { display: flex; align-items: center; gap: 6px; }

.demo-app-filter {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: default;
  border: 1px solid transparent;
}

.demo-app-filter.active {
  border-color: var(--border);
  background: #fff;
  color: var(--text-primary);
  font-weight: 500;
}

.demo-app-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  cursor: default;
}

/* Shared data table */
.demo-table {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.demo-table-head {
  display: grid;
  grid-template-columns: 76px 1fr 86px 86px 66px 58px;
  padding: 8px 14px;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-table-row {
  display: grid;
  grid-template-columns: 76px 1fr 86px 86px 66px 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.demo-table-row:last-child { border-bottom: none; }
.demo-table-row:hover { background: var(--backgroundbreak); }

/* Audit table — different column layout */
.demo-table.demo-table-audit .demo-table-head,
.demo-table.demo-table-audit .demo-table-row {
  grid-template-columns: 1fr 86px 86px 110px 66px 80px;
}

.demo-cell-primary { font-size: 12px; font-weight: 500; color: var(--text-primary); }
.demo-cell-muted   { font-size: 12px; color: var(--text-muted); }

/* Audit progress bar in table cell */
.demo-audit-progress-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.demo-audit-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: block;
}

.demo-audit-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* Investigations split panel */
.demo-inv-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.demo-inv-list { border-right: 1px solid var(--border); }

.demo-inv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  cursor: default;
}

.demo-inv-item:last-child { border-bottom: none; }
.demo-inv-item.active { background: rgba(42,109,217,0.05); }

.demo-inv-avatar {
  width: 30px;
  height: 30px;
  background: var(--backgroundbreak);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.demo-inv-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.demo-inv-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.demo-inv-sub  { font-size: 11px; color: var(--text-muted); }

.demo-inv-detail { padding: 16px 18px; }

/* Video control bar */
.demo-videobar {
  background: #1D1E20;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-play-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.demo-seek {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.demo-seek-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 2px;
}

.demo-timestamp {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.demo-bar-icon {
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.demo-bar-icon:hover { color: rgba(255,255,255,0.8); }

/*---------- FEATURE SHOWCASE — alternating rows ----------*/
/* ── SHOWCASE V2 ──────────────────────────────────────────── */
.showcase-v2 {
  background: var(--backgroundmain);
  position: relative;
}
.showcase-v2-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 128px var(--page-px) 0;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
/* Top 2-col row */
.showcase-v2-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.showcase-v2-title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 12px 0 28px;
}
.sv2-title-pill {
  display: inline-flex;
  align-items: flex-start;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
  top: -2px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 2px 10px;
}
.sv2-pill-reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sv2-pill-reel > span {
  white-space: nowrap;
  display: block;
  flex-shrink: 0;
}
.sv2-title-static {
  font-weight: 400;
  color: var(--text-secondary);
}
.showcase-v2-pills {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--backgroundbreak);
  padding: 3px;
  gap: 0;
  position: relative;
}
.sv2-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.sv2-pill {
  position: relative;
  z-index: 1;
  padding: 6px 16px;
  border-radius: 100px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.18s;
  white-space: nowrap;
}
.sv2-pill.active { color: var(--text-primary); }
.sv2-pill:hover:not(.active) { color: var(--text-primary); }
.showcase-v2-right { padding-top: 52px; display: grid; }
.sv2-desc {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.sv2-desc.active { opacity: 1; visibility: visible; }

/* Demo panel */
.showcase-v2-demo { position: relative; display: grid; max-height: 570px; }
.sv2-visual {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  border: 1px solid var(--grid-line);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03), 0 1px 6px rgba(0,0,0,0.03);
  overflow: hidden;
  background: #fff;
  min-height: 540px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sv2-visual.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sv2-screenshot { width: 100%; height: 570px; object-fit: cover; object-position: top left; display: block; }
#sv2-visual-0 { min-height: 0; }

/* Demo sidebar */
.sv2-demo-sidebar {
  width: 180px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  background: var(--backgroundmain);
  display: flex;
  flex-direction: column;
}
.sv2-sidebar-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 16px 8px;
}
.sv2-sidebar-item {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 6px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default;
}
.sv2-sidebar-item.active { background: var(--border); color: var(--text-primary); font-weight: 500; }
.sv2-sidebar-count { font-size: 10px; color: var(--text-muted); background: var(--border); padding: 1px 5px; border-radius: 10px; }
.sv2-sidebar-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* Demo main area */
.sv2-demo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sv2-demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--backgroundmain);
}
.sv2-demo-topbar-title { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.sv2-demo-topbar-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 5px;
  cursor: default;
  background: #fff;
}

/* Demo table */
.sv2-demo-table { padding: 0 20px 16px; flex: 1; }
.sv2-demo-thead {
  display: grid;
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  gap: 12px;
}
.sv2-demo-row {
  display: grid;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  gap: 12px;
  align-items: center;
}
.sv2-demo-row:last-child { border-bottom: none; }
/* Column layouts per visual */
#sv2-visual-0 .sv2-demo-thead,
#sv2-visual-0 .sv2-demo-row { grid-template-columns: 70px 1fr 80px 60px 60px; }
#sv2-visual-1 .sv2-demo-thead,
#sv2-visual-1 .sv2-demo-row { grid-template-columns: 1fr 80px 60px 60px; }
#sv2-visual-2 .sv2-demo-thead { display: none; }
#sv2-visual-2 .sv2-demo-row { grid-template-columns: 20px 1fr 60px; }
#sv2-visual-3 .sv2-demo-thead,
#sv2-visual-3 .sv2-demo-row { grid-template-columns: 55px 1fr 80px 110px; }
#sv2-visual-4 .sv2-demo-thead,
#sv2-visual-4 .sv2-demo-row { grid-template-columns: 1fr 80px 60px 90px; }

.sv2-muted { color: var(--text-muted); }

/* Badges */
.sv2-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}
.sv2-badge.open   { background: #DBEAFE; color: #1D4ED8; }
.sv2-badge.review { background: #FEF3C7; color: #B45309; }
.sv2-badge.closed { background: #F0FDF4; color: #15803D; }

/* Checkboxes in audit */
.sv2-check {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  display: inline-block;
  flex-shrink: 0;
}
.sv2-check.done { background: var(--accent); border-color: var(--accent); }

/* Audit progress */
.sv2-audit-progress { padding: 12px 20px 4px; }
.sv2-audit-pct { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.sv2-progress-track { height: 4px; background: var(--border); border-radius: 2px; }
.sv2-progress-fill { height: 100%; background: var(--accent); border-radius: 2px; }

/* Profile section */
.sv2-demo-profile { padding: 12px 20px 4px; }
.sv2-profile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.sv2-profile-stat { background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.sv2-stat-val { font-size: 18px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.5px; }
.sv2-stat-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sv2-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }

/* Stats row (reporting) */
.sv2-demo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
.sv2-stat-box { background: #fff; padding: 16px 20px; display: flex; flex-direction: column; gap: 3px; }
.feature-showcase-header .section-title {
  margin-bottom: 14px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
}
.feature-row.flip .feature-row-content { order: 2; }
.feature-row.flip .feature-row-visual { order: 1; }

.feature-row-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-row-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.feature-row-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  line-height: 1.2;
}
.feature-row-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.feature-row-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-row-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.feature-row-list li .row-check {
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-top: 7px;
  flex-shrink: 0;
}
.feature-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 6px;
  transition: gap 0.15s;
}
.feature-row-link:hover { gap: 10px; }

/* Mockup window */
.mockup-window {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.mockup-titlebar {
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-titlebar-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 500;
}
.mockup-body {
  padding: 20px;
}

/* Case list mockup */
.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mockup-toolbar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.mockup-toolbar-btn {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 5px;
}
.mockup-case-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-case-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
}
.mockup-case-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.mockup-case-badge.open { background: #dbeafe; color: #1d4ed8; }
.mockup-case-badge.closed { background: #dcfce7; color: #15803d; }
.mockup-case-badge.pending { background: #fef3c7; color: #b45309; }
.mockup-case-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}
.mockup-case-store {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.mockup-case-amount {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* Investigation / profile mockup */
.mockup-profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.mockup-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
}
.mockup-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-profile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.mockup-profile-sub {
  font-size: 11px;
  color: var(--text-muted);
}
.mockup-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.mockup-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 500;
}
.mockup-tag.red { border-color: #fecaca; background: #fef2f2; color: #dc2626; }
.mockup-tag.yellow { border-color: #fde68a; background: #fffbeb; color: #d97706; }
.mockup-incident-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mockup-incident {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--backgroundbreak);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}
.mockup-incident-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.mockup-incident-store {
  color: var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
}
.mockup-incident-dot--warning { background: #f59e0b; }
.mockup-incident-dot--danger  { background: #dc2626; }

/* Row header: text + badge, space-between, bottom border */
.mockup-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

/* Confidential / restricted-access alert box */
.mockup-confidential-box {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 12px;
}
.mockup-confidential-label {
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.mockup-confidential-text {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Pattern alert box (accent-bordered) */
.mockup-pattern-alert {
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
.mockup-pattern-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.mockup-pattern-text {
  font-size: 12px;
  color: var(--text-secondary);
}
.mockup-pattern-text strong { color: var(--text-primary); }

/* Audit mockup */
.mockup-audit-progress {
  margin-bottom: 16px;
}
.mockup-audit-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.mockup-audit-progress-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.mockup-audit-progress-pct {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.mockup-progress-track {
  height: 5px;
  background: var(--backgroundbreak);
  border-radius: 3px;
  overflow: hidden;
}
.mockup-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.mockup-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 6px;
}
.mockup-check-item:hover { background: var(--backgroundbreak); }
.mockup-check-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.mockup-check-box.done {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.mockup-check-label { flex: 1; }
.mockup-check-label.done {
  text-decoration: line-through;
  color: var(--text-muted);
}

/*---------- VERCARD FEATURE GRID — Vercel-style bento grid ----------*/
.vercards-section {
  background: var(--backgroundmain);
  padding: 140px 0 0;
  position: relative;
}
.vercards-header {
  margin-bottom: 48px;
}
.vercards-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}
@property --shine-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes vercard-shine {
  to { --shine-angle: 360deg; }
}

.vercards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 12px;
}
.vercard {
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background-image:
    linear-gradient(var(--backgroundmain), var(--backgroundmain)),
    linear-gradient(var(--border), var(--border));
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}
.vercard:hover {
  animation: vercard-shine 8s linear infinite;
  background-image:
    linear-gradient(var(--backgroundmain), var(--backgroundmain)),
    conic-gradient(
      from var(--shine-angle),
      var(--border) 0%,
      var(--border) 60%,
      rgba(30,30,30,0.7) 72%,
      rgba(10,10,10,0.95) 78%,
      rgba(30,30,30,0.7) 84%,
      var(--border) 95%,
      var(--border) 100%
    );
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}
.vercard-wide {
  grid-column: span 2;
}
.vercard-tall {
  grid-row: span 2;
}
.vercard-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.vercard-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.vercard-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 280px;
}
.vercard-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.vercard-title-row .vercard-title { margin-bottom: 0; }
.vercard-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.vercard:hover .vercard-arrow {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #fff;
}
.vercard-visual { margin-top: auto; padding-top: 20px; }
.vercard-img-wrap { padding-top: 16px; overflow: hidden; margin-left: -24px; margin-right: -24px; margin-bottom: -22px; }
.vercard-img { width: 100%; height: auto; display: block; }
.vercard-tall .vercard-img-wrap { margin: auto -24px -24px 16px; overflow: hidden; border-radius: 8px 0 0 0; }
.vercard-tall .vercard-img { width: 100%; display: block; }

/* ---- Incident rows (card 1) ---- */
.vc-rows { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.vc-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--backgroundmain); border-bottom: 1px solid var(--border); font-size: 12px; }
.vc-row:last-child { border-bottom: none; }
.vc-row-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.vc-row-dot.green { background: #22c55e; }
.vc-row-dot.amber { background: #f59e0b; }
.vc-row-dot.grey  { background: #cbd5e1; }
.vc-row-label { flex: 1; color: var(--text-primary); font-weight: 500; }
.vc-row-amt { color: var(--text-muted); font-weight: 500; }

/* ---- Pipeline / workflow (card 2) ---- */
.vc-pipeline { display: flex; flex-direction: column; }
.vc-pipe-step { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.vc-pipe-step:last-child { border-bottom: none; }
.vc-pipe-step.done { color: var(--text-secondary); }
.vc-pipe-step.active { color: var(--text-primary); font-weight: 600; }
.vc-pipe-icon { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-pipe-icon.done { background: var(--accent); border-color: var(--accent); }
.vc-pipe-icon.active { border-color: var(--accent); border-width: 2px; }
.vc-pipe-label { flex: 1; }
.vc-pipe-meta { font-size: 11px; color: var(--accent); }

/* ---- Evidence grid (card 3) ---- */
.vc-ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vc-ev-tile { background: var(--backgroundmain); border: 1px solid var(--border); border-radius: 8px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.vc-ev-icon { font-size: 20px; line-height: 1; }
.vc-ev-count { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.vc-ev-type { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Bar chart (card 4) ---- */
.vc-chart { display: flex; flex-direction: column; gap: 10px; }
.vc-chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.vc-bar-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.vc-bar { width: 100%; border-radius: 3px 3px 0 0; background: var(--accent); }
.vc-bar.dim { opacity: 0.18; }
.vc-bar.mid { opacity: 0.45; }
.vc-bar-lbl { font-size: 9px; color: var(--text-muted); }
.vc-chart-metric { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.vc-chart-val { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.5px; }
.vc-chart-sub { font-size: 11px; color: var(--text-muted); }

/* ---- Suspect profile (card 5) ---- */
.vc-profile-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--backgroundmain); }
.vc-profile-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.vc-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--backgroundbreak); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.vc-profile-id { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.vc-profile-stats { font-size: 11px; color: var(--text-muted); }
.vc-profile-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--text-secondary); }
.vc-profile-row:last-child { border-bottom: none; }
.vc-store-tag { font-size: 10px; font-weight: 600; background: var(--backgroundbreak); color: var(--text-muted); padding: 2px 6px; border-radius: 4px; flex-shrink: 0; }

/* ---- BOLO alerts (card 6) ---- */
.vc-alert-list { display: flex; flex-direction: column; gap: 6px; }
.vc-alert { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid var(--border); border-radius: 8px; border-left-width: 3px; }
.vc-alert.live     { border-left-color: #22c55e; }
.vc-alert.watching { border-left-color: #f59e0b; }
.vc-alert.resolved { border-left-color: #cbd5e1; }
.vc-alert-status { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0; padding-top: 1px; }
.vc-alert.live     .vc-alert-status { color: #16a34a; }
.vc-alert.watching .vc-alert-status { color: #d97706; }
.vc-alert.resolved .vc-alert-status { color: #94a3b8; }
.vc-alert-body { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* ---- Timeline (card 7) ---- */
.vc-tl { display: flex; flex-direction: column; position: relative; padding-left: 22px; }
.vc-tl::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.vc-tl-item { position: relative; padding: 5px 0; }
.vc-tl-dot { position: absolute; left: -22px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--border); }
.vc-tl-dot.done    { background: var(--accent); border-color: var(--accent); }
.vc-tl-dot.current { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,109,217,0.12); }
.vc-tl-action { font-size: 12px; font-weight: 500; color: var(--text-primary); }
.vc-tl-meta   { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

/* ---- Audit checklist (card 8) ---- */
.vc-audit-progress { margin-bottom: 12px; }
.vc-audit-prog-header { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 5px; }
.vc-audit-prog-label { color: var(--text-secondary); font-weight: 500; }
.vc-audit-prog-pct { color: var(--text-primary); font-weight: 700; }
.vc-audit-track { height: 5px; background: var(--backgroundbreak); border-radius: 3px; overflow: hidden; }
.vc-audit-fill { height: 100%; border-radius: 3px; background: var(--accent); }
.vc-audit-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.vc-audit-item:last-child { border-bottom: none; }
.vc-audit-item.done { color: var(--text-secondary); }
.vc-audit-box { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.vc-audit-box.done { background: var(--accent); border-color: var(--accent); }

/* ---- Compliance bars (card 9) ---- */
.vc-compliance { display: flex; flex-direction: column; gap: 10px; }
.vc-compliance-row { display: flex; align-items: center; gap: 10px; }
.vc-comp-label { font-size: 11px; color: var(--text-muted); width: 58px; flex-shrink: 0; }
.vc-comp-track { flex: 1; height: 6px; background: var(--backgroundbreak); border-radius: 3px; overflow: hidden; }
.vc-comp-fill { height: 100%; border-radius: 3px; background: var(--accent); }
.vc-comp-pct { font-size: 11px; font-weight: 700; color: var(--text-primary); width: 30px; text-align: right; flex-shrink: 0; }
/* ---- Gantt / Incident Management (wide card) ---- */
.vc-gantt-wrap { border: 1px solid #EBEBEB; border-radius: 8px; overflow: hidden; background: var(--backgroundmain); }
.vc-gantt-header { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid #EBEBEB; background: #fff; }
.vc-gantt-month { padding: 8px 8px 7px; position: relative; }
.vc-gantt-month + .vc-gantt-month { border-left: 1px dashed #EBEBEB; }
.vc-month-name { display: block; font-size: 10px; font-weight: 600; color: #414145; margin-bottom: 5px; }
.vc-month-days { display: flex; justify-content: space-between; }
.vc-month-days span { font-size: 9px; color: #666666; }
.vc-gantt-body { position: relative; height: 140px; overflow: hidden; }
.vc-gantt-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vc-gbar-card { position: absolute; height: 55px; background: rgba(255,255,255,0.6); border: 1px solid #EBEBEB; border-radius: 4px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.vc-gbar-card-title { font-size: 11px; font-weight: 600; color: #414145; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-gbar-card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: #666666; white-space: nowrap; }

/* ---- Investigations network SVG ---- */
.vc-network-wrap { overflow: hidden; }
.vc-network-svg { width: 100%; height: auto; display: block; }

/* ---- Audit form (new card) ---- */
.vc-audit-form { display: flex; flex-direction: column; gap: 10px; }
.vc-form-block { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.vc-form-question { font-size: 11px; color: var(--text-secondary); line-height: 1.45; margin-bottom: 8px; }
.vc-form-yn-row { display: flex; gap: 6px; }
.vc-yn-btn { font-size: 11px; font-weight: 500; padding: 4px 14px; border-radius: 5px; border: 1px solid var(--border); background: #fff; color: var(--text-muted); cursor: default; }
.vc-yn-btn.active { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }
.vc-form-radio-group { display: flex; flex-direction: column; gap: 6px; }
.vc-radio-opt { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-muted); cursor: default; }
.vc-radio-opt.active { color: var(--text-primary); font-weight: 500; }
.vc-radio-circle { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0; }
.vc-radio-circle.filled { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2.5px #fff; }

/* ---- Evidence document stack ---- */
.vc-doc-stack-wrap { display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.vc-doc-stack { position: relative; width: 90px; height: 110px; }
.vc-doc { position: absolute; width: 78px; height: 96px; background: #fff; border: 1px solid var(--border); border-radius: 4px 4px 4px 4px; }
.vc-doc::after { content: ''; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: var(--backgroundmain); border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0 0 0 4px; }
.vc-doc-back  { transform: rotate(-7deg) translate(-12px, 10px); z-index: 1; opacity: 0.4; }
.vc-doc-mid   { transform: rotate(-2.5deg) translate(-5px, 4px); z-index: 2; opacity: 0.7; }
.vc-doc-front { z-index: 3; }

/* Brand card */
.vercard-brand { justify-content: flex-end; }
.vc-brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  line-height: 1;
}
.vc-brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
/* CTA card */
.vercard-cta {
  background: var(--text-primary) url('https://cdn.pallacor.com/featurecta.jpg') center / cover no-repeat;
  justify-content: flex-end;
  cursor: default;
}
.vercard-cta:hover {
  background: var(--text-primary) url('https://cdn.pallacor.com/featurecta.jpg') center / cover no-repeat;
}
.vc-cta-text {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  line-height: 1.3;
  max-width: 520px;
  margin-bottom: 24px;
}
.vc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.15s;
}
.vc-cta-btn:hover { opacity: 0.88; }

/*---------- STATS SECTION ----------*/
.stats-section {
  background: var(--backgroundmain);
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.stats-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: repeat(4, 1fr);
  margin-right: calc(-1 * var(--page-px));
}
.stats-left {
  grid-column: 1;
  grid-row: 1 / 5;
  padding: 80px 64px 80px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stats-section-title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.stats-section-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.stat-item {
  grid-column: 2;
  padding: 36px var(--page-px) 36px 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.stat-item:last-child {
  border-bottom: none;
}
.stat-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-num-accent { color: var(--accent); }
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/*---------- LOCATION HIERARCHY / ROLLUP SECTION ----------*/
.rollup-section {
  max-width: var(--max-width);
  margin: 0 auto;
}
.rollup-inner {
  background: url('https://cdn.pallacor.com/locationview-bg.jpg') center / cover no-repeat;
  min-height: 680px;
  display: flex;
  align-items: flex-start;
}
.rollup-text {
  padding: 64px 80px;
}
.rollup-title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.rollup-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}

/*---------- FEATURE GRID — bento cards ----------*/
.feature-grid-section {
  padding: 96px 0;
  background: var(--backgroundbreak);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-grid-header {
  max-width: 580px;
  margin-bottom: 48px;
}
.feature-grid-header .section-title { margin-bottom: 12px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
}
a.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(42,109,217,0.08);
  transform: translateY(-2px);
}
.feature-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #EEF3FC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.feature-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.feature-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
  margin-top: 4px;
}
a.feature-card:hover .feature-card-link { gap: 8px; }

/*---------- TESTIMONIALS ----------*/
.testimonials-section {
  padding: 96px 0;
  background: var(--backgroundmain);
  position: relative;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.testimonials-header {
  max-width: 520px;
  margin-bottom: 48px;
}
.testimonials-header .section-title { margin-bottom: 12px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-mark {
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: -8px;
  display: block;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

/*---------- FINAL CTA SECTION (homepage) ----------*/
.final-cta {
  padding: 96px 0;
  background: var(--backgroundmain);
  position: relative;
}
.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 580px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  line-height: 1.25;
}
.flip-static {
  font-weight: 400;
  color: var(--text-secondary);
}
.flip-word-wrap {
  display: inline-block;
  position: relative;
}
.flip-word {
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text-primary);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.flip-spacer {
  visibility: hidden;
  white-space: nowrap;
  font-weight: 700;
  pointer-events: none;
}
.flip-word.flip-out {
  opacity: 0;
  transform: translateY(6px);
}
.flip-word.flip-in {
  animation: flipWordIn 0.4s ease forwards;
}
@keyframes flipWordIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.final-cta-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}
.final-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.final-cta-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/*---------- PAGE HERO — sub-pages (features, solutions, pricing, about) ----------*/
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: var(--backgroundmain);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
}
.page-hero--no-rule::after { display: none; }
.page-hero-inner {
  max-width: 700px;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.page-hero-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.15s;
}
.page-hero-breadcrumb a:hover { color: var(--accent); }
.page-hero-breadcrumb-sep {
  font-size: 11px;
  color: var(--border);
}
.page-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-hero-title {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -1.4px;
  color: var(--text-primary);
  line-height: 1.08;
  margin-bottom: 18px;
}
.page-hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}
.page-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/*---------- DETAIL SECTIONS — alternating, sub-pages ----------*/
.detail-section {
  padding: 80px 0;
  scroll-margin-top: calc(var(--nav-height) + 16px);
  position: relative;
}
.detail-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.detail-section.alt { background: var(--backgroundbreak); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.detail-grid.flip .detail-content { order: 2; }
.detail-grid.flip .detail-visual { order: 1; }
.detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.detail-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}
.detail-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}
.detail-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.detail-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: #EEF3FC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%232A6DD9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  margin-top: 1px;
  flex-shrink: 0;
}
.detail-visual-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.detail-visual-placeholder {
  padding: 32px;
  min-height: 280px;
  background: var(--backgroundbreak);
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/*---------- RELATED FEATURES ----------*/
.related-section {
  padding: 80px 0;
  background: var(--backgroundmain);
  position: relative;
}
.related-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.related-header {
  max-width: 440px;
  margin-bottom: 32px;
}
.related-header .section-title { font-size: 28px; margin-bottom: 10px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(42,109,217,0.07);
}
.related-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #EEF3FC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.related-card-content { flex: 1; }
.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.related-card-desc {
  font-size: 13px;
  color: var(--text-muted);
}
.related-card-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}
.related-card:hover .related-card-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/*---------- STEPS / HOW IT WORKS ----------*/
.steps-section {
  padding: 80px 0;
  position: relative;
}
.steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.steps-header {
  max-width: 480px;
  margin-bottom: 48px;
}
.steps-header .section-title { font-size: 28px; margin-bottom: 10px; }
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 660px;
}
.step-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/*---------- PRICING PAGE ----------*/

/* ---- Header ---- */
.px-header {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}
.px-header-inner { max-width: 680px; }
.px-title {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 12px 0 20px;
}
.px-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}

/* ---- Plan grid ---- */
.px-plans-section { padding: 64px 0 96px; }
.px-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.px-plan {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.px-plan:last-child { border-right: none; }
.px-plan.featured { background: #0B0F1A; }

/* ---- Plan top block ---- */
.px-plan-top {
  padding: 36px 32px 32px;
  border-bottom: 1px solid var(--border);
}
.px-plan.featured .px-plan-top { border-bottom-color: rgba(255,255,255,0.08); }

.px-plan-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.px-plan.featured .px-plan-category { color: rgba(255,255,255,0.4); }

.px-plan-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.px-plan.featured .px-plan-name { color: #fff; }

.px-plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 6px;
}
.px-price-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1;
}
.px-plan.featured .px-price-num { color: #fff; }
.px-price-unit {
  font-size: 13px;
  color: var(--text-muted);
}
.px-plan.featured .px-price-unit { color: rgba(255,255,255,0.4); }

.px-plan-annual {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.px-plan.featured .px-plan-annual { color: rgba(255,255,255,0.35); }

.px-plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}
.px-plan.featured .px-plan-desc { color: rgba(255,255,255,0.55); }

.px-plan-cta {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  margin-bottom: 14px;
}
.px-plan-cta:hover {
  border-color: #b0b8c4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.px-plan-cta.featured-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(42,109,217,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}
.px-plan-cta.featured-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 3px 10px rgba(42,109,217,0.3);
}

.px-plan-users {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.px-plan.featured .px-plan-users { color: rgba(255,255,255,0.3); }

/* ---- Feature sections ---- */
.px-plan-features {
  padding: 28px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.px-feat-group { display: flex; flex-direction: column; gap: 0; }
.px-feat-head {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.px-plan.featured .px-feat-head { color: rgba(255,255,255,0.3); }

.px-feat-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  line-height: 1.5;
}
.px-plan.featured .px-feat-row { color: rgba(255,255,255,0.65); }
.px-feat-na { color: var(--text-muted); }
.px-plan.featured .px-feat-na { color: rgba(255,255,255,0.2); }

/* Check icon */
.px-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dcfce7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.px-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #15803d;
  border-bottom: 1.5px solid #15803d;
  transform: rotate(-45deg) translateY(-1px);
}
.px-plan.featured .px-check { background: rgba(34,197,94,0.18); }
.px-plan.featured .px-check::after { border-color: #4ade80; }

/* Dash icon */
.px-dash {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.px-dash::after {
  content: '';
  display: block;
  width: 8px;
  height: 1.5px;
  background: #d1d5db;
  border-radius: 1px;
}

/* Legacy pricing classes kept for backward compatibility */
.pricing-section {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 96px;
}
.pricing-hero-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 64px;
}
.pricing-hero-header .page-hero-title { font-size: 44px; margin-bottom: 14px; }
.pricing-hero-header .page-hero-sub { margin-bottom: 0; font-size: 17px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 40px rgba(42,109,217,0.12);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-price-num {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-price-period {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-features-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.pf-check {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: #EEF3FC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%232A6DD9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  margin-top: 1px;
  flex-shrink: 0;
}
.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
}
.pricing-cta:hover { border-color: var(--accent); color: var(--accent); }
.pricing-cta.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pricing-cta.primary:hover { background: var(--accent-hover); }
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/*---------- FAQ SECTION ----------*/
.faq-section {
  padding: 80px 0;
  background: var(--backgroundbreak);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.faq-header {
  max-width: 400px;
  margin-bottom: 40px;
}
.faq-header .section-title { font-size: 28px; margin-bottom: 10px; }
.faq-list {
  max-width: 700px;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.15s;
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}
.faq-answer {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-bottom: 20px;
  max-width: 620px;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/*---------- COMPARISON TABLE ----------*/
.comparison-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.comparison-header {
  max-width: 440px;
  margin-bottom: 40px;
}
.comparison-header .section-title { font-size: 28px; margin-bottom: 10px; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th {
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--backgroundbreak);
}
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
}
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tr:hover td { background: var(--backgroundbreak); }
.comparison-table .section-row td {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  background: var(--backgroundbreak);
  padding: 9px 20px;
}
.ct-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EEF3FC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%232A6DD9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.ct-dash {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
}

/*---------- INDUSTRY CHALLENGES ----------*/
.challenges-section {
  padding: 80px 0;
  background: var(--backgroundbreak);
  position: relative;
}
.challenges-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.challenges-header {
  max-width: 540px;
  margin-bottom: 48px;
}
.challenges-header .section-title { margin-bottom: 12px; }
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.challenge-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.challenge-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.challenge-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.challenge-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/*---------- SOLUTION PAGE VARIANTS (startup / mid-market / enterprise) ----------*/

/* --- Startup: stat strip --- */
.sol-stats-bar {
  position: relative;
}
.sol-stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.sol-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.sol-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.sol-stat:last-child { border-right: none; }
.sol-stat-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.sol-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Startup: horizontal challenge rows --- */
.sol-challenges-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.sol-challenge-row {
  display: grid;
  grid-template-columns: 56px 1fr 2fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.sol-challenge-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 3px;
}
.sol-challenge-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.sol-challenge-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Startup: 3-step section --- */
.sol-steps-section {
  padding: 80px 0;
  position: relative;
}
.sol-steps-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.sol-steps-header {
  max-width: 480px;
  margin-bottom: 48px;
}
.sol-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.sol-step {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sol-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.sol-step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.sol-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Mid-market: split hero card --- */
.sol-hero-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.sol-hero-summary-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--backgroundmain);
  flex-shrink: 0;
}
.sol-hero-summary-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--backgroundbreak);
}
.sol-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sol-summary-row:last-child { border-bottom: none; }
.sol-summary-label { color: var(--text-secondary); }
.sol-summary-value {
  font-weight: 600;
  color: var(--text-primary);
}
.sol-summary-pill {
  background: #EFF6FF;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

/* --- Mid-market: before/after comparison --- */
.sol-compare-section {
  padding: 80px 0;
  background: var(--backgroundbreak);
  position: relative;
}
.sol-compare-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.sol-compare-header {
  max-width: 480px;
  margin-bottom: 48px;
}
.sol-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sol-compare-col {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--backgroundmain);
}
.sol-compare-col.after { border-color: var(--accent); }
.sol-compare-col-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sol-compare-col.after .sol-compare-col-header {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: var(--accent);
}
.sol-compare-col:not(.after) .sol-compare-col-header {
  color: var(--text-muted);
  background: var(--backgroundbreak);
}
.sol-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.sol-compare-item:last-child { border-bottom: none; }
.sol-compare-icon { flex-shrink: 0; margin-top: 1px; }
.sol-compare-col.after .sol-compare-icon { color: #16a34a; }
.sol-compare-col:not(.after) .sol-compare-icon { color: #ef4444; }

/* --- Enterprise: dark hero --- */
.page-hero.dark {
  background: #080E1C;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-hero.dark .page-hero-breadcrumb a,
.page-hero.dark .page-hero-breadcrumb span { color: rgba(255,255,255,0.45); }
.page-hero.dark .page-hero-breadcrumb-sep { color: rgba(255,255,255,0.2); }
.page-hero.dark .page-hero-label {
  color: #93c5fd;
  border-color: rgba(147,197,253,0.25);
}
.page-hero.dark .page-hero-title { color: #fff; }
.page-hero.dark .page-hero-sub { color: rgba(255,255,255,0.6); }
.page-hero.dark .btn-cta-secondary {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
.page-hero.dark .btn-cta-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* --- Enterprise: compliance trust strip --- */
.sol-trust-strip {
  border-bottom: 1px solid var(--border);
  background: var(--backgroundbreak);
}
.sol-trust-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid var(--border);
}
.sol-trust-badge {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.sol-trust-badge-icon { color: var(--accent); }
.sol-trust-badge-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.sol-trust-badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Enterprise: 2-col detailed capabilities --- */
.capabilities-grid.detailed {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.capabilities-grid.detailed .capability-item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 32px 36px;
  gap: 12px;
}
.capabilities-grid.detailed .capability-icon {
  width: 40px;
  height: 40px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.capabilities-grid.detailed .capability-title {
  font-size: 17px;
  margin-bottom: 6px;
}
.capabilities-grid.detailed .capability-desc {
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .sol-stats-inner { grid-template-columns: 1fr; }
  .sol-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .sol-challenge-row { grid-template-columns: 40px 1fr; }
  .sol-challenge-desc { grid-column: 2; }
  .sol-steps-grid { grid-template-columns: 1fr; }
  .sol-hero-split { grid-template-columns: 1fr; }
  .sol-compare-grid { grid-template-columns: 1fr; }
  .sol-trust-inner { grid-template-columns: repeat(3, 1fr); }
  .capabilities-grid.detailed { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sol-trust-inner { grid-template-columns: 1fr 1fr; }
  .sol-challenge-row { grid-template-columns: 1fr; gap: 8px; }
}

/*---------- ABOUT PAGE ----------*/
.about-mission {
  padding: 80px 0;
}
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-mission-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.about-mission-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.values-section {
  padding: 80px 0;
  background: var(--backgroundbreak);
  position: relative;
}
.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.values-header {
  max-width: 480px;
  margin-bottom: 48px;
}
.values-header .section-title { margin-bottom: 12px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.value-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.value-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1;
}
.value-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.value-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.team-section {
  padding: 80px 0;
  position: relative;
}
.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.team-header {
  max-width: 460px;
  margin-bottom: 48px;
}
.team-header .section-title { margin-bottom: 12px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.team-card-photo {
  aspect-ratio: 4/3;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-muted);
}
.team-card-info {
  padding: 20px;
}
.team-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.team-card-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.team-card-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/*---------- CASE MANAGEMENT — VERCEL-INSPIRED REDESIGN ----------*/

/* Full-width cover that hides col-guides above the hero top rule */
.hero-gap-cover {
  height: calc(var(--nav-height) + 48px);
  background: var(--backgroundmain);
  position: relative;
  z-index: 10;
}

/* Page-level horizontal rule sitting at top of max-width boundary */
.page-top-rule {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 1px;
  background: var(--border);
  position: relative;
}
.page-top-rule::before,
.page-top-rule::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--text-muted);
}
.page-top-rule::before { left: 0; }
.page-top-rule::after  { right: 0; }

/* Hero */
.cm-hero {
  background: var(--backgroundmain);
  position: relative;
  overflow: hidden;
}
.cm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c4cad5 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 18% 50%, transparent 10%, black 65%);
  mask-image: radial-gradient(ellipse 55% 90% at 18% 50%, transparent 10%, black 65%);
  pointer-events: none;
}
.cm-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--page-px) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.cm-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.cm-hero-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cm-hero-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}
.cm-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.cm-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.cm-hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.cm-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cm-ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-sans);
}
.cm-ghost-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* Bento section */
.cm-bento-section {
  background: var(--backgroundmain);
}
.cm-bento-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--page-px);
}
.cm-bento-heading {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 var(--page-px);
}
.cm-bento-overline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cm-bento-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}
.cm-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 380px;
  gap: 12px;
}
.cm-bento-card {
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  background-image:
    linear-gradient(var(--backgroundmain), var(--backgroundmain)),
    linear-gradient(var(--border), var(--border));
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  scroll-margin-top: calc(var(--nav-height) + 16px);
}
.cm-bento-card:hover {
  animation: vercard-shine 8s linear infinite;
  background-image:
    linear-gradient(var(--backgroundmain), var(--backgroundmain)),
    conic-gradient(
      from var(--shine-angle),
      var(--border) 0%,
      var(--border) 60%,
      rgba(30,30,30,0.7) 72%,
      rgba(10,10,10,0.95) 78%,
      rgba(30,30,30,0.7) 84%,
      var(--border) 95%,
      var(--border) 100%
    );
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}
.cm-bento-card.wide { grid-column: span 2; }
.cm-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.cm-card-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.cm-card-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.cm-card-learn-more {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.15s;
}
.cm-card-learn-more svg { transition: transform 0.15s; }
.cm-card-learn-more:hover { gap: 8px; }
.cm-card-learn-more:hover svg { transform: translateX(3px); }

.cm-card-visual {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--backgroundbreak);
}
.cm-card-visual-pad { padding: 16px; }

/* Showcase section */
.cm-showcase-section {
  background: var(--backgroundmain);
  padding: 48px 0 96px;
}
.cm-showcase-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.cm-showcase-heading {
  text-align: center;
  margin-bottom: 48px;
}
.cm-showcase-overline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.cm-showcase-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}
.cm-showcase-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}
.cm-showcase-frame {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.cm-showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Mid-market hero overrides ---- */
.cm-hero.no-dots::before { display: none; }
.cm-hero-inner.mm {
  grid-template-columns: 1fr 1.3fr;
  align-items: stretch;
  padding-top: 60px;
  padding-bottom: 80px;
}
.cm-hero-inner.mm .cm-hero-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 24px;
}
.cm-hero-inner.mm .cm-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cm-hero-inner.mm .cm-hero-media {
  align-items: stretch;
}
.cm-hero-inner.mm .cm-hero-sub {
  margin-bottom: 40px;
}
.mm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.mm-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: auto;
  padding-top: 28px;
  width: 100%;
}
.mm-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mm-hero-stat-num {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.mm-hero-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}
body.page-mid-market {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
}

.page-mid-market .feat-detail-title,
.page-industries .feat-detail-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
}

/* ---- Stats bar (case-management + investigations) ---- */
.cm-stats-bar {
  background: var(--backgroundmain);
  padding: 48px 0;
}
.cm-stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cm-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--backgroundmain);
}
.cm-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.cm-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---- Feature section header ---- */
.cm-feat-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px var(--page-px) 0;
}
.cm-feat-header-overline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.cm-feat-header-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1.2px;
  line-height: 1.1;
  max-width: 580px;
}
.cm-feat-header-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 540px;
}

/* ---- feat-detail alternating flip ---- */
.feat-detail-inner.flip > *:first-child { order: 2; }
.feat-detail-inner.flip > *:last-child { order: 1; }

/*---------- INVESTIGATIONS — VERCEL FLUID INSPIRED ----------*/

/* Flow-field hero */
.inv-flow-hero {
  position: relative;
  background: var(--backgroundmain);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}
.inv-flow-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--page-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.inv-flow-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.inv-flow-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inv-flow-logo-box {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  position: relative;
  z-index: 3;
}
.inv-flow-logo-box img {
  width: 38px;
  height: 38px;
  display: block;
}

/* Shared bordered wrapper — left edge aligns with col-guide */
.inv-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  border-left: 1px solid var(--border);
}

/* Section titles used in multiple sections */
.inv-section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.inv-section-title {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--text-primary);
}
.inv-section-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-top: 12px;
}

/* Section header row (full-width, left-to-right, bordered) */
.inv-section-header {
  padding: 56px var(--page-px) 48px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- STICKY SCROLL SECTION ---- */
.inv-sticky-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  border-left: 1px solid var(--border);
  display: grid;
  grid-template-columns: 5fr 7fr;
}
.inv-sticky-left {
  padding: 64px var(--page-px);
  align-self: start;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.inv-scroll-col {
  border-left: 1px solid var(--border);
}
.inv-sticky-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.inv-sticky-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.inv-sticky-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.inv-scroll-item {
  padding: 52px var(--page-px);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.inv-scroll-item:last-child { border-bottom: none; }
.inv-scroll-num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.inv-scroll-title {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.inv-scroll-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- 4 BOXES GRID ---- */
.inv-sticky-section + .inv-boxes-section .inv-wrap { border-top: 1px solid var(--border); }
.inv-boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.inv-box {
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--backgroundmain);
}
.inv-box-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--backgroundbreak);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inv-box-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.inv-box-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- QUOTE ---- */
.inv-quote-section {
  background: var(--backgroundmain);
}
.inv-quote-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--backgroundbreak);
  padding: 80px var(--page-px);
  text-align: center;
}
.inv-quote-mark {
  display: block;
  font-size: 52px;
  line-height: 0.8;
  color: var(--border);
  font-family: Georgia, serif;
  margin-bottom: 16px;
}
.inv-quote-text {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin: 0 auto 24px;
}
.inv-quote-attr {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- COMPARISON TABLE ---- */
.inv-table-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  border-left: 1px solid var(--border);
}
.inv-table {
  width: 100%;
  border-collapse: collapse;
}
.inv-table thead th {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--backgroundbreak);
  color: var(--text-secondary);
}
.inv-table thead th.col-hl {
  background: #EEF4FF;
  color: var(--accent);
}
.inv-table thead th:last-child { border-right: 1px solid var(--border); }
.inv-table tbody td {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  vertical-align: top;
}
.inv-table tbody td:first-child {
  font-weight: 500;
  color: var(--text-primary);
  background: var(--backgroundbreak);
}
.inv-table tbody td.col-hl { background: #FAFBFF; }
.inv-table tbody tr:last-child td { border-bottom: none; }
.inv-table-good { color: #15803d; font-weight: 600; }
.inv-table-warn { color: #b45309; }
.inv-table-na   { color: var(--text-muted); }


/*---------- SECTION CTA INLINE — mid-page CTA rows ----------*/
.inline-cta {
  background: var(--backgroundmain);
}
.inline-cta .container {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: 64px;
}
.inline-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.inline-cta-text {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  line-height: 1.3;
  max-width: 500px;
}
.inline-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  letter-spacing: -0.1px;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  text-decoration: none;
}
.btn-white:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-white-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-secondary);
  transition: border-color 0.15s, color 0.15s, transform 0.1s;
  cursor: pointer;
  text-decoration: none;
}
.btn-white-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/*---------- RESPONSIVE — new components ----------*/
@media (max-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.flip .feature-row-content { order: 1; }
  .feature-row.flip .feature-row-visual { order: 2; }
  .stats-layout { grid-template-columns: 1fr; grid-template-rows: auto repeat(4, auto); }
  .stats-left { grid-row: 1; grid-column: 1; border-right: none; border-bottom: 1px solid var(--border); padding: 64px 0 48px; }
  .stat-item { grid-column: 1; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-grid.flip .detail-content { order: 1; }
  .detail-grid.flip .detail-visual { order: 2; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-cta-inner { flex-direction: column; gap: 28px; align-items: flex-start; }
}
@media (max-width: 768px) {
  .vercards-grid { grid-template-columns: 1fr; }
  .vercard-wide { grid-column: span 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .challenges-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 32px; letter-spacing: -0.8px; }
  .final-cta-title { font-size: 28px; }
  .cta-section-inner { flex-direction: column; gap: 32px; }
  .cta-actions { margin-left: 0; }
  .feature-showcase-header { margin-bottom: 40px; }
  .logo-bar-inner { gap: 24px; }
}

/*---------- LEGAL DOCUMENT PAGE ----------*/

.legal-page {
  padding: calc(var(--nav-height) + 64px) 0 96px;
}
.legal-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  align-items: start;
  position: relative;
}
.legal-page-layout::before {
  content: '';
  position: absolute;
  top: calc(-1 * (var(--nav-height) + 64px));
  bottom: -96px;
  left: 220px;
  width: 1px;
  background: var(--border);
}

/* Sidebar */
.legal-page-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  padding-right: 40px;
}
.legal-page-content {
  padding-left: 56px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.legal-back:hover { color: var(--text-primary); }
.legal-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  line-height: 1.4;
}
.legal-toc-link:hover { color: var(--text-primary); background: var(--backgroundbreak); }
.legal-toc-link.active { color: var(--accent); font-weight: 500; }

/* Content */
.legal-page-header {
  padding-bottom: 48px;
}
.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.legal-page-body {
  padding-top: 0;
}
.legal-page-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin: 8px 0 10px;
}
.legal-page-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.legal-page-intro {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-page-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Sections */
.legal-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }
.legal-section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.legal-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-list {
  margin: 12px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.legal-list--plain {
  list-style: none;
  margin-left: 0;
}

@media (max-width: 900px) {
  .legal-page-layout { grid-template-columns: 1fr; }
  .legal-page-sidebar { position: static; }
  .legal-toc { display: none; }
}

/*---------- LEGAL HUB PAGE ----------*/

.legal-docs-section {
  padding: 0 0 96px;
}
.legal-master-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.legal-master-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.legal-group-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 4px 8px;
}
.legal-group-spacer {
  grid-column: 1 / -1;
  height: 8px;
}
.legal-group-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex-shrink: 0;
}
.legal-group-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-doc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: var(--backgroundmain);
  transition: background 0.15s, border-color 0.15s;
}
.legal-doc-card:hover {
  background: var(--backgroundbreak);
  border-color: var(--border-strong, var(--text-muted));
}
.legal-doc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-doc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-doc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.legal-doc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.legal-doc-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.legal-doc-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.15s, transform 0.15s;
}
.legal-doc-card:hover .legal-doc-arrow {
  color: var(--text-primary);
  transform: translateX(2px);
}
.legal-contact {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.legal-contact a {
  color: var(--accent);
  text-decoration: none;
}
.legal-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-master-grid { grid-template-columns: 1fr; }
  .legal-group-row { flex-direction: column; gap: 4px; }
}

/*---------- RESPONSIBILITY PAGE ----------*/

.resp-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 40px;
  text-align: center;
}
.resp-hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text-primary);
  margin: 0 auto 24px;
  max-width: 700px;
}
.resp-hero-tagline {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.resp-letter-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  background: url('/assets/responsibility-background.jpg') center center / cover no-repeat;
}
.resp-letter {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 44px 72px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
}
.resp-letter-greeting {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.resp-letter-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.resp-letter-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.resp-letter-sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resp-letter-closing {
  font-size: 16px;
  color: var(--text-secondary);
}
.resp-letter-sig {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.resp-commit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.resp-commit-card {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.resp-commit-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.resp-commit-icon {
  color: var(--accent);
  margin-bottom: 2px;
}
.resp-commit-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.1px;
}
.resp-commit-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.resp-intro-strip {
  padding: 56px 0;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
}
.resp-hero-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.resp-hero-cols p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.resp-sections {
  padding: 0 0 96px;
}
.resp-group {
  padding-top: 64px;
  margin-bottom: 8px;
}
.resp-group-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.resp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.resp-row-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}
.resp-row-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.resp-row-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resp-row-teaser {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.resp-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
  width: fit-content;
  transition: border-color 0.15s, color 0.15s;
}
.resp-row-link:hover {
  border-color: var(--text-primary);
  color: var(--accent);
}
.resp-row-link svg {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .resp-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .resp-hero-tagline { max-width: 100%; }
  .resp-hero-cols { grid-template-columns: 1fr 1fr; }
  .resp-row { grid-template-columns: 1fr 1fr; }
  .resp-row-aside { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .resp-hero-cols { grid-template-columns: 1fr; }
  .resp-commit-grid { grid-template-columns: 1fr; }
  .resp-row { grid-template-columns: 1fr; }
}

/*---------- PRICING PAGE v2  (px2-*) ----------*/

/* --- Page header --- */
.px2-header {
  text-align: center;
}
.px2-header .container {
  padding-top: 80px;
  padding-bottom: 80px;
}
.px2-header .px2-title {
  white-space: nowrap;
}
.px2-header .px2-sub {
  margin: 0 auto;
  white-space: nowrap;
}
.px2-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 14px 0 18px;
}
.px2-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

/* --- Plans wrapper --- */
.px2-plans-wrap {
  padding-bottom: 0;
}
.px2-plans-wrap .container {
  padding-left: 0;
  padding-right: 0;
}

.px2-popular {
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  background: var(--text-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
}

/* Plan columns */
.px2-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.px2-plan {
  padding: 68px 28px 40px;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.px2-plan:first-child {
  border-left: 1px solid var(--border);
}
.px2-plan:last-child {
  border-right: 1px solid var(--border);
}
.px2-plan-featured {
  border-top: 2px solid var(--accent);
  padding-top: 67px;
}

.px2-plan-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.px2-plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 28px;
  min-height: 70px;
}
.px2-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 6px;
  min-height: 50px;
}
.px2-price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  line-height: 1;
}
.px2-price-meta {
  font-size: 14px;
  color: var(--text-muted);
}
.px2-price-custom {
  font-size: 34px;
}
.px2-price-annual {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* --- CTA buttons (pill style) --- */
.px2-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
  margin-bottom: 8px;
}
.px2-cta-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}
.px2-cta-outline:hover {
  border-color: #9ca3af;
}
.px2-cta-blue {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.px2-cta-blue:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.px2-cta-dark {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}
.px2-cta-dark:hover {
  opacity: 0.82;
}
.px2-cta-sm {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
}

/* Plan bullet list */
.px2-bullets {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.px2-bullets li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.px2-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%232A6DD9' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Custom plan nudge */
.px2-custom-nudge {
  background: var(--backgroundmain);
  padding-bottom: 80px;
}
.px2-nudge-frame {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  padding: 48px 0;
}
.px2-custom-nudge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.px2-custom-nudge-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.px2-custom-nudge-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.px2-custom-nudge-text {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.55;
}
.px2-nudge-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.px2-cta-inline {
  width: auto;
}

/* --- Comparison section --- */
.px2-compare-outer {
  padding-bottom: 80px;
}

/* Sticky header */
.px2-sticky {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: var(--backgroundmain);
}
.px2-sticky-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: stretch;
  min-height: 68px;
  gap: 0;
  position: relative;
}
.px2-sticky-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--page-px));
  right: calc(-1 * var(--page-px));
  height: 1px;
  background: var(--border);
}
.px2-sh-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  position: relative;
}
.px2-sh-label::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--page-px));
  width: 1px;
  background: var(--border);
}
.px2-sh-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  border-left: 1px solid var(--border);
  position: relative;
}
.px2-sh-plan:last-child::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * var(--page-px));
  width: 1px;
  background: var(--border);
}
.px2-sh-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Sticky plan CTAs */
.px2-sh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.px2-sh-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}
.px2-sh-outline:hover { border-color: #9ca3af; }
.px2-sh-blue {
  background: var(--accent);
  color: #fff;
}
.px2-sh-blue:hover { background: var(--accent-hover); }
.px2-sh-dark {
  background: var(--text-primary);
  color: #fff;
}
.px2-sh-dark:hover { opacity: 0.82; }

/* Outer left/right rails continued through comparison */
.px2-compare-outer > .container {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.px2-sticky-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-1 * var(--page-px));
  right: calc(-1 * var(--page-px));
  height: 1px;
  background: var(--border);
}

/* Comparison body */
.px2-compare-body {
  padding-top: 0;
}

/* Category header blocks */
.px2-cat-header {
  padding: 52px 0 20px;
  margin-top: 0;
}
.px2-compare-body > .px2-cat-header:first-child {
  padding-top: 48px;
}
.px2-cat-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.px2-cat-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.px2-cat-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.55;
}

/* Feature comparison rows */
.px2-compare-rows {
  position: relative;
  /* Continuous vertical column dividers using background-image.
     Grid is 2fr 1fr 1fr 1fr = 5 parts total → dividers at 40%, 60%, 80% */
  background-image:
    linear-gradient(to bottom, var(--border), var(--border)),
    linear-gradient(to bottom, var(--border), var(--border)),
    linear-gradient(to bottom, var(--border), var(--border));
  background-size: 1px 100%, 1px 100%, 1px 100%;
  background-position: 40% 0, 60% 0, 80% 0;
  background-repeat: no-repeat;
}
/* Horizontal rules that bleed past container padding to the full max-width edge */
.px2-compare-rows::before,
.px2-compare-rows::after {
  content: '';
  position: absolute;
  left: calc(-1 * var(--page-px));
  right: calc(-1 * var(--page-px));
  height: 1px;
  background: var(--border);
}
.px2-compare-rows::before { top: 0; }
.px2-compare-rows::after  { bottom: 0; }
.px2-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 13px 0;
}
.px2-feat {
  font-size: 14px;
  color: var(--text-primary);
  padding-right: 16px;
  min-width: 0;
}
.px2-val {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
}

/* Checkmark */
.px2-val.chk::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.5' stroke='%23E5E7EB'/%3E%3Cpath d='M5.5 9l2.5 2.5 4.5-5' stroke='%232A6DD9' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Dash */
.px2-val.dsh::after {
  content: '—';
  color: var(--border);
  font-size: 15px;
  line-height: 1;
}

/* --- Pricing page responsive --- */
@media (max-width: 900px) {
  .px2-title { font-size: 38px; }
  .px2-sticky-inner { grid-template-columns: 1fr; }
  .px2-sh-plan { border-left: none; padding-left: 0; }
}
@media (max-width: 768px) {
  .px2-plans { grid-template-columns: 1fr; }
  .px2-plan { border-right: none; border-bottom: 1px solid var(--border); }
  .px2-plan:last-child { border-bottom: none; }
  .px2-badge-row { display: none; }
  .px2-plan-featured { border-top: 2px solid var(--accent); padding-top: 67px; }
  .px2-sticky-inner {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 0;
    min-height: auto;
  }
  .px2-sh-label { display: none; }
  .px2-sh-plan { border-left: none; padding-left: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .px2-col-heads { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .px2-col-heads div:not(:first-child) { font-size: 10px; }
  .px2-row { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .px2-feat { font-size: 13px; }
}


/*---------- BLOG ----------*/

/* Listing page */
.blog-section {
  padding: 64px 0 96px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--backgroundmain);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover {
  border-color: #c8cdd6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.blog-card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-card-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* Empty state */
.blog-empty-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--backgroundmain);
}
.blog-empty h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.blog-empty p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Post detail page */
.blog-post-page {
  padding: calc(var(--nav-height) + 64px) 0 96px;
}
.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.15s;
}
.blog-post-back:hover { color: var(--text-primary); }
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 80px;
  align-items: start;
}
.blog-post-header {
  margin-bottom: 40px;
}
.blog-post-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.blog-post-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.blog-post-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.blog-post-body h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.blog-post-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
}
.blog-post-body p {
  margin-bottom: 20px;
}
.blog-post-body p:last-child { margin-bottom: 0; }
.blog-post-body ul, .blog-post-body ol {
  margin: 0 0 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-post-body li {
  line-height: 1.7;
}
.blog-post-body strong { color: var(--text-primary); font-weight: 600; }
.blog-post-body a { color: var(--accent); text-decoration: none; }
.blog-post-body a:hover { text-decoration: underline; }
.blog-post-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--backgroundbreak);
  border-radius: 0 8px 8px 0;
  font-size: 17px;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.65;
}

/* Post sidebar */
.blog-post-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-post-sidebar-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.blog-post-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}
.blog-post-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.blog-post-author-role {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.blog-post-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-post-toc-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 5px;
  line-height: 1.4;
  transition: background 0.12s, color 0.12s;
}
.blog-post-toc-link:hover, .blog-post-toc-link.active {
  background: var(--backgroundmain);
  color: var(--accent);
}
.blog-subscribe-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.blog-subscribe-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.blog-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-subscribe-form input {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--backgroundmain);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}
.blog-subscribe-form input:focus { border-color: var(--accent); }
.blog-subscribe-form button {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.blog-subscribe-form button:hover { background: var(--accent-hover); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; gap: 48px; }
  .blog-post-sidebar { position: static; }
  .blog-post-title { font-size: 32px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-title { font-size: 26px; letter-spacing: -0.6px; }
}

/*---------- AUDITS — COMPLIANCE-FOCUSED PAGE ----------*/

/* Hero */
.aud-hero {
  background: var(--backgroundmain);
}
.aud-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  border: 1px solid var(--border);
  min-height: 640px;
  overflow: hidden;
  /* 12 col × 8 row grid: 100px × 80px cells */
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100px 80px;
  background-origin: content-box;
  background-clip: content-box;
  background-position: 99px 79px;
}

/* Erase grid lines inside text area (boxes 1-40: cols 1-4, rows 1-4 = 400×320px)
   Outer hero border is on .aud-hero-inner itself so it's unaffected. */
.aud-hero-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 399px;
  height: 319px;
  background: var(--backgroundmain);
  z-index: 2;
  pointer-events: none;
}

/* Chart: full-width absolute base layer */
.aud-hero-inner .aud-chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Text overlay — boxes 1-40: cols 1-4, rows 1-4 = left:0, top:0, 400×320px */
.aud-hero-left {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 400px;
  height: 320px;
  padding: 0 var(--page-px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.aud-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.aud-hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.aud-hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 380px;
}
.aud-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Floating score callout — removed (replaced by inline text) */
.aud-float-score {
  display: none;
}
.aud-float-score-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.aud-float-score-value {
  font-size: 32px;
  font-weight: 700;
  color: #22c55e;
  line-height: 1;
  margin-bottom: 4px;
}
.aud-float-score-badge {
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
}

/* Recent Audits — boxes 77-79, 89-91: col 5-7, row 7-8 = left:400, top:480, 300×160px */
.aud-float-log {
  position: absolute;
  left: 400px;
  top: 480px;
  width: 300px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  z-index: 4;
}
.aud-float-log-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.aud-float-log-head span { font-weight: 400; color: var(--text-muted); }
.aud-float-log-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.aud-log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.aud-log-dot-green { background: #22c55e; }
.aud-log-dot-blue  { background: var(--accent); }
.aud-log-dot-red   { background: #ef4444; }
.aud-log-store {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 30px;
}
.aud-log-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}
.aud-log-done { background: #dcfce7; color: #15803d; }
.aud-log-prog { background: rgba(42,109,217,0.1); color: var(--accent); }
.aud-log-over { background: #fef2f2; color: #dc2626; }
.aud-log-path { color: var(--text-muted); font-size: 10px; }

/* Top Districts — boxes 59-60, 71-72, 83-84: col 11-12, row 5-7 = left:1000, top:320, 200×240px */
.aud-float-districts {
  position: absolute;
  left: 1000px;
  top: 320px;
  width: 200px;
  height: 240px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  z-index: 4;
  display: flex;
  flex-direction: column;
}
.aud-float-districts-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.aud-float-districts-head span { color: var(--accent); }
.aud-float-districts-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  flex: 1;
  border-bottom: 1px solid var(--border-light);
}
.aud-float-districts-row:last-child { border-bottom: none; }
.aud-float-districts-row span:last-child { font-weight: 600; color: var(--text-primary); }

/* Line draw-in animation */
@keyframes aud-draw {
  to { stroke-dashoffset: 0; }
}
.aud-chart-line {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: aud-draw 1.8s ease forwards 0.4s;
}

/* Dot fade-in */
@keyframes aud-dot-in {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
.aud-dot {
  opacity: 0;
  animation: aud-dot-in 0.3s ease forwards;
  transform-origin: center;
}

/* Tooltip */
.aud-chart-tooltip {
  position: absolute;
  background: var(--text-primary);
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity 0.1s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.3;
}
.aud-tooltip-month {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.aud-tooltip-score {
  font-size: 14px;
  font-weight: 700;
}

/* Shared inner wrapper */
.aud-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

/* Section header */
.aud-section-header {
  padding: 56px var(--page-px) 40px;
}
.aud-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.aud-section-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 560px;
}

/* Template section */
.aud-template-section {
  background: var(--backgroundmain);
}
.aud-template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.aud-template-cell {
  padding: 40px var(--page-px) 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aud-template-cell + .aud-template-cell {
  border-left: 1px solid var(--border);
}

/* Mockup chrome */
.aud-cell-mockup {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.aud-cell-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.aud-dot-sm {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.aud-mockup-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
  font-weight: 500;
}
.aud-cell-mockup-body {
  padding: 14px;
}

/* Cell content */
.aud-cell-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aud-cell-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.aud-cell-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Compliance posture section */
.aud-posture-section {
  background: var(--backgroundmain);
}
.aud-posture-header {
  padding: 56px var(--page-px) 40px;
  border-bottom: 1px solid var(--border);
}
.aud-posture-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 10px;
  max-width: 560px;
}
.aud-posture-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
}
.aud-posture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.aud-posture-cell {
  padding: 36px var(--page-px) 40px;
  border-bottom: 1px solid var(--border);
}
.aud-posture-cell:nth-child(odd) {
  border-right: 1px solid var(--border);
}
.aud-posture-cell:nth-child(3),
.aud-posture-cell:nth-child(4) {
  border-bottom: none;
}
.aud-posture-cell-icon {
  width: 32px;
  height: 32px;
  background: rgba(42, 109, 217, 0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.aud-posture-cell-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}
.aud-posture-cell-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.aud-posture-visual {
  margin-top: 4px;
}

/* ---- SPLIT FEATURE SECTION (Vercel-style) ---- */
.aud-split-section {
  background: var(--backgroundmain);
}
.aud-split-grid {
  display: grid;
  grid-template-columns: 5fr 9fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.aud-split-left {
  padding: 48px var(--page-px) 56px;
  border-right: 1px solid var(--border);
}
.aud-split-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}
.aud-split-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(42, 109, 217, 0.06);
}
.aud-split-tag-muted {
  border-color: var(--border);
  color: var(--text-secondary);
  background: var(--backgroundbreak);
}
.aud-split-heading {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.aud-split-body {
  font-size: 14px;
  color: var(--accent);
  line-height: 1.7;
}

/* Right column */
.aud-split-right {
  display: flex;
  flex-direction: column;
}
.aud-split-top {
  padding: 36px var(--page-px) 32px;
  border-bottom: 1px solid var(--border);
}
.aud-split-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}
.aud-split-bottom-cell {
  padding: 32px var(--page-px) 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aud-split-bottom-cell + .aud-split-bottom-cell {
  border-left: 1px solid var(--border);
}
.aud-split-item-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.55;
}
.aud-hi-blue {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.aud-hi-orange {
  font-style: normal;
  color: #d97706;
  font-weight: 600;
}

/* Audit table mockup */
.aud-split-mockup-lg {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.aud-mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--backgroundbreak);
}
.aud-mockup-table {
  font-size: 11px;
}
.aud-table-head {
  display: grid;
  grid-template-columns: 2fr 1.6fr 1.2fr 0.9fr 1fr;
  padding: 8px 14px;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.aud-table-row {
  display: grid;
  grid-template-columns: 2fr 1.6fr 1.2fr 0.9fr 1fr;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  align-items: center;
  transition: background 0.1s;
}
.aud-table-row:last-child { border-bottom: none; }
.aud-row-warn { background: #fffbeb; }
.aud-row-fade { opacity: 0.55; }
.aud-cell-store { color: var(--text-primary); font-weight: 500; }
.aud-due-warn { color: #d97706; font-weight: 600; }
.aud-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}
.aud-status-done { background: #dcfce7; color: #15803d; }
.aud-status-prog { background: rgba(42, 109, 217, 0.1); color: var(--accent); }
.aud-status-over { background: #fef2f2; color: #dc2626; }
.aud-status-todo { background: var(--backgroundbreak); color: var(--text-muted); border: 1px solid var(--border); }

/* Metrics mockup (bottom-left) */
.aud-split-mockup-sm {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.aud-metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  font-size: 11px;
  color: var(--text-secondary);
  align-items: center;
}
.aud-metric-bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 4px;
  margin-top: 2px;
  transition: width 0.6s ease;
}

/* Export buttons mockup (bottom-right) */
.aud-split-export {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aud-export-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Responsive */
@media (max-width: 900px) {
  .aud-hero-inner {
    min-height: 480px;
  }
  .aud-hero-left {
    width: 100%;
    padding: 56px var(--page-px) 0;
  }
  .aud-float-log { min-width: 200px; left: 20px; }
  .aud-float-districts { display: none; }
  .aud-split-grid {
    grid-template-columns: 1fr;
  }
  .aud-split-left {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .aud-split-bottom {
    grid-template-columns: 1fr;
  }
  .aud-split-bottom-cell + .aud-split-bottom-cell {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .aud-template-grid,
  .aud-posture-grid {
    grid-template-columns: 1fr;
  }
  .aud-template-cell + .aud-template-cell {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .aud-posture-cell:nth-child(odd) {
    border-right: none;
  }
  .aud-posture-cell:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }
  .aud-posture-cell:nth-child(4) {
    border-bottom: none;
  }
}

/*---------- AUDIT VTC (VIEW / TRACK / CLOSE) 4-CARD GRID ----------*/
.aud-vtc-section {
  background: var(--backgroundmain);
}
.aud-vtc-intro {
  padding: 48px 0 36px;
}
.aud-vtc-heading {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.aud-vtc-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}
.aud-vtc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 80px;
}
.aud-vtc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--backgroundmain);
}
.aud-vtc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
}
.aud-vtc-card-body {
  flex: 1;
  min-width: 0;
}
.aud-vtc-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.4;
}
.aud-vtc-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/*---------- AUDIT PROGRAM SECTION (RAMP-STYLE 2+3 LAYOUT) ----------*/
.aud-program-section {
  background: var(--backgroundmain);
}
.aud-program-header {
  padding: 56px 0 36px;
}
.aud-program-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}
.aud-program-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.aud-program-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}
.aud-pcard {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aud-pcard-visual {
  flex: 1;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.aud-pcard-visual .aud-cell-mockup-header {
  border-radius: 0;
}
.aud-pcard-visual-body {
  padding: 14px;
}
.aud-pcard-text {
  padding: 20px 24px 24px;
}
.aud-pcard-heading {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.aud-pcard-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.aud-pcard-sm {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aud-pcard-sm-visual {
  padding: 16px 16px 0;
}
.aud-pcard-sm-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 14px 16px 6px;
  line-height: 1.35;
  letter-spacing: -0.15px;
}
.aud-pcard-sm-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 16px 20px;
}

@media (max-width: 768px) {
  .aud-vtc-grid { grid-template-columns: 1fr; }
  .aud-program-top { grid-template-columns: 1fr; }
  .aud-program-bottom { grid-template-columns: 1fr; }
}


/*---------- STAY INFORMED ----------*/
.informed-section {
  background: var(--backgroundmain);
  padding: 100px 0;
}
.informed-header {
  margin-bottom: 40px;
}
.informed-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.informed-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 560px;
}
.informed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.informed-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--backgroundmain);
  display: flex;
  flex-direction: column;
}
.informed-img-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.informed-img {
  width: 100%;
  height: auto;
  display: block;
}
.informed-card-body {
  padding: 24px;
}
.informed-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.informed-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/*---------- TIME SAVE STATS ----------*/
.timesave-section {
  background: var(--backgroundmain);
  padding: 100px 0;
}
.timesave-header {
  text-align: center;
  margin-bottom: 56px;
}
.timesave-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.timesave-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 480px;
}
.timesave-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.timesave-card {
  position: relative;
  height: 380px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--backgroundmain);
  padding: 22px;
}
.timesave-card:nth-child(1) { --bar-h: 40%; }
.timesave-card:nth-child(2) { --bar-h: 55%; }
.timesave-card:nth-child(3) { --bar-h: 70%; }
.timesave-card:nth-child(4) { --bar-h: 100%; }
.timesave-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.timesave-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  background: #EEF2FF;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.timesave-card:nth-child(1) .timesave-bar { transition-delay: 0.45s; }
.timesave-card:nth-child(2) .timesave-bar { transition-delay: 0.57s; }
.timesave-card:nth-child(3) .timesave-bar { transition-delay: 0.69s; }
.timesave-card:nth-child(4) .timesave-bar { transition-delay: 0.81s; }
.timesave-grid.in-view .timesave-bar {
  clip-path: inset(0 0 0 0);
}
.timesave-value {
  font-size: 58px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -2px;
}
.timesave-unit {
  font-size: 34px;
  letter-spacing: -1px;
}
.timesave-card-accent {
  background: var(--accent);
  border-color: var(--accent);
}
.timesave-card-accent .timesave-label { color: rgba(255,255,255,0.7); }
.timesave-card-accent .timesave-bar { background: transparent; }
.timesave-card-accent .timesave-value { color: #fff; }
.timesave-footnote-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
}
.timesave-footnote-trigger {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dashed;
  cursor: default;
}
.timesave-footnote-detail {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #26251e;
  color: #f7f7f4;
  font-size: 12px;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.timesave-footnote-detail::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #26251e;
}
.timesave-footnote-wrap:hover .timesave-footnote-detail {
  opacity: 1;
}

/*---------- RIPPLE GRID (used on inv-flow-hero) ----------*/
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 32%), radial-gradient(ellipse 70% 44% at 50% 0%, black 20%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, black 32%), radial-gradient(ellipse 70% 44% at 50% 0%, black 20%, transparent 100%);
  mask-composite: intersect;
}

.ripple-cell {
  border-right: 1px solid #e8e9eb;
  border-bottom: 1px solid #e8e9eb;
  background: transparent;
}

/*---------- HOME HERO ----------*/
.home-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff url('https://cdn.pallacor.com/hero-background.png') center top / cover no-repeat;
}


.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px var(--page-px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-hero-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 680px;
  padding-bottom: 52px;
}

.hero-stat-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 13px;
}

.hero-stat-label {
  color: rgba(255,255,255,0.6);
}

.hero-stat-value {
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.home-hero-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: #ffffff;
  margin: 0;
}

.home-hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
  white-space: nowrap;
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-hero-cta:hover {
  background: var(--accent-hover);
}

.home-hero-visual {
  width: 100%;
  align-self: center;
}

.hero-app-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.60)) drop-shadow(0 16px 32px rgba(0,0,0,0.40)) drop-shadow(0 4px 8px rgba(0,0,0,0.30));
}

/*---------- FEATURE DETAIL PAGES  (.fdet-) ----------*/

/* Hero split */
.fdet-hero {
  position: relative;
  overflow: hidden;
}
.fdet-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--page-px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: 520px;
}
.fdet-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 88px;
}
.fdet-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fdet-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.fdet-badge-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.fdet-module-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: -8px;
}
.fdet-module-crumb a {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.15s;
}
.fdet-module-crumb a:hover { color: var(--accent-hover); }
.fdet-hero-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  line-height: 1.08;
  margin: 0;
}
.fdet-hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
  margin: 0;
}
.fdet-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.fdet-ghost-btn {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  white-space: nowrap;
}
.fdet-ghost-btn:hover {
  border-color: #b0b8c4;
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* Mockup graphic */
.fdet-hero-graphic {
  align-self: flex-end;
  position: relative;
}
.fdet-mockup {
  width: 100%;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
}
.fdet-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
}
.fdet-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.fdet-mockup-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 500;
}
.fdet-mockup-body {
  padding: 20px;
}

/* Feature cards */
.fdet-cards-section {
  position: relative;
  padding: 80px 0 96px;
}
.fdet-cards-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.fdet-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
  overflow: hidden;
}
.fdet-card {
  background: #fff;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fdet-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--backgroundbreak);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.fdet-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.fdet-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 900px) {
  .fdet-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: unset;
    padding-bottom: 0;
  }
  .fdet-hero-text { padding-bottom: 0; }
  .fdet-mockup {
    border-radius: 12px;
    border-bottom: 1px solid var(--border);
  }
  .fdet-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fdet-hero-title { letter-spacing: -0.8px; }
}

/*---------- CONTACT DIRECTORY PAGE  (.cdir-) ----------*/

.cdir-section {
  padding: 0 0 96px;
}
.cdir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.cdir-card {
  background: var(--backgroundmain);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
}
.cdir-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cdir-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.cdir-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.cdir-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.cdir-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.15s, gap 0.15s;
}
.cdir-contact-row:hover { color: var(--accent-hover); gap: 10px; }
.cdir-contact-row svg { flex-shrink: 0; color: var(--text-muted); }
.cdir-note {
  font-size: 11px;
  color: var(--text-muted);
  padding-left: 22px;
}
.cdir-spacer {
  display: block;
  height: 15px;
  flex-shrink: 0;
}

/* Bottom CTA */
.cdir-cta-section {
  position: relative;
  padding: 48px 0 80px;
}
.cdir-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
}
.cdir-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cdir-cta-text {
  font-size: 16px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 200px;
}

@media (max-width: 860px) {
  .cdir-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .cdir-grid { grid-template-columns: 1fr; }
  .cdir-cta-inner { flex-direction: column; align-items: flex-start; }
}


/*---------- CONTACT PAGE  (.ctc-) ----------*/

/* Header */
.ctc-header {
  position: relative;
  padding: 80px 0 64px;
  text-align: center;
}
.ctc-header .overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}
.ctc-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin: 0 0 16px;
  line-height: 1.1;
}
.ctc-sub {
  font-size: 16px;
  color: #5a5852;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* Body layout */
.ctc-body {
  padding: 0 0 96px;
}
.ctc-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* Form column */
.ctc-form-col {
  min-width: 0;
}
.ctc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ctc-form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ctc-form-row-2 {
  flex-direction: row;
}
.ctc-form-row-2 .ctc-field {
  flex: 1;
  min-width: 0;
}
.ctc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ctc-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.ctc-input {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #26251e;
  background: #fff;
  border: 1px solid #e6e5e0;
  border-radius: 8px;
  padding: 12px 16px;
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.ctc-input::placeholder {
  color: #a09c92;
}
.ctc-input:focus {
  border-color: var(--accent);
}
.ctc-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8A8AE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.ctc-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Form footer */
.ctc-form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.ctc-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  height: 40px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.ctc-submit:hover {
  background: var(--accent-hover);
}
.ctc-privacy {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.ctc-privacy a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ctc-privacy a:hover {
  color: var(--accent);
}

/* Success state */
.ctc-success {
  padding: 56px 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ctc-success-icon {
  color: var(--accent);
}
.ctc-success-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: #26251e;
}
.ctc-success-body {
  font-size: 14px;
  color: #5a5852;
  max-width: 380px;
  line-height: 1.6;
}

/* Sidebar */
.ctc-info-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ctc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.ctc-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  background: #fff;
}
.ctc-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--backgroundbreak);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.ctc-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.ctc-info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.ctc-info-link {
  color: var(--accent);
  transition: color 0.15s;
}
.ctc-info-link:hover {
  color: var(--accent-hover);
}
.ctc-info-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Demo card */
.ctc-demo-card {
  padding: 24px;
  border-radius: 12px;
  background: #26251e;
  color: #f7f7f4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ctc-demo-card .overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,247,244,0.5);
}
.ctc-demo-title {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: #f7f7f4;
  line-height: 1.2;
}
.ctc-demo-body {
  font-size: 13px;
  color: rgba(247,247,244,0.65);
  line-height: 1.6;
}
.ctc-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #26251e;
  background: var(--backgroundmain);
  border-radius: 8px;
  padding: 10px 18px;
  height: 40px;
  margin-top: 4px;
  align-self: flex-start;
  transition: background 0.15s;
  white-space: nowrap;
}
.ctc-demo-btn:hover {
  background: #efeee8;
}

/* Quick links row */
.ctc-links-section {
  position: relative;
  padding: 72px 0 96px;
  background: var(--backgroundbreak);
}
.ctc-links-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-width), 100%);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.ctc-links-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ctc-link-card {
  padding: 28px 28px 24px;
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ctc-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--backgroundbreak);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.ctc-link-title {
  font-size: 15px;
  font-weight: 600;
  color: #26251e;
  letter-spacing: -0.2px;
}
.ctc-link-body {
  font-size: 13px;
  color: #5a5852;
  line-height: 1.6;
  flex: 1;
}
.ctc-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
  transition: gap 0.15s, color 0.15s;
}
.ctc-link-cta:hover {
  gap: 9px;
  color: var(--accent-hover);
}

/* Responsive */
@media (max-width: 860px) {
  .ctc-layout {
    grid-template-columns: 1fr;
  }
  .ctc-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .ctc-info-card {
    flex: 1 1 220px;
  }
  .ctc-demo-card {
    flex: 1 1 100%;
    margin-top: 0;
  }
}
@media (max-width: 640px) {
  .ctc-header {
    padding: 52px 0 48px;
    text-align: left;
  }
  .ctc-sub {
    margin: 0;
  }
  .ctc-form-row-2 {
    flex-direction: column;
  }
  .ctc-links-inner {
    grid-template-columns: 1fr;
  }
  .ctc-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .ctc-sidebar {
    flex-direction: column;
  }
  .ctc-info-card {
    flex: 1 1 100%;
  }
}


/*---------- FEATURE DETAIL SECTIONS (legacy, kept for back-compat) ----------*/
.feat-detail-section {
  background: var(--backgroundmain);
  padding: 96px 0;
}
.feat-detail-section + .feat-detail-section {
  padding-top: 0;
}
.feat-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feat-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px 5px 6px;
  margin-bottom: 20px;
}
.feat-detail-badge-icon {
  width: 28px;
  height: 28px;
  background: var(--backgroundmain);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-detail-badge-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.feat-detail-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.feat-detail-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 10px;
}
.feat-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.feat-detail-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.feat-detail-btn-primary:hover { opacity: 0.88; }
.feat-detail-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--backgroundbreak);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.15s;
}
.feat-detail-btn-ghost:hover { background: var(--border); }
.feat-detail-mockup {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feat-detail-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
}
.feat-detail-mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.feat-detail-mockup-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}
.feat-detail-mockup-body {
  padding: 16px;
}

/*---------- POLICY PAGES (Privacy, TOS, Accessibility, Cookie) ----------*/

.policy-page {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 96px;
}
.policy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 64px;
  align-items: start;
}
.policy-tracker {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.policy-tracker-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.policy-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.policy-nav-item {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s, background 0.15s;
}
.policy-nav-item:hover {
  color: var(--text-primary);
  background: var(--backgroundbreak);
}
.policy-nav-item.active {
  color: var(--accent);
  font-weight: 500;
}
.policy-page-header {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.policy-page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  margin: 0;
}
.policy-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.policy-section-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}
.policy-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section a { color: var(--accent); text-decoration: none; }
.policy-section a:hover { text-decoration: underline; }
.policy-section ul {
  margin: 12px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.policy-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.policy-contact-block {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.policy-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.policy-contact-row:last-child { border-bottom: none; }
.policy-contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  width: 60px;
  flex-shrink: 0;
}
.policy-contact-value {
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
}
a.policy-contact-value:hover { color: var(--accent); }
.policy-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 13px;
}
.policy-meta-label { color: var(--text-muted); }
.policy-meta-date { color: var(--text-secondary); font-weight: 500; }

@media (max-width: 900px) {
  .policy-inner { grid-template-columns: 1fr; }
  .policy-tracker { position: static; margin-bottom: 40px; }
}

/* ============================================================
   HOME PAGE — CURSOR DESIGN SYSTEM
   canvas: #f7f7f4 · ink: #26251e · body: #5a5852
   primary: #0272F2 · hairline: #e6e5e0
   ============================================================ */

.page-home {
  background: var(--backgroundmain);
}

/* --- Hero --- */
.page-home .home-hero {
  background: var(--backgroundmain);
}
.page-home .home-hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -2.16px;
  line-height: 1.1;
  color: #26251e;
}
.page-home .home-hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: #5a5852;
  white-space: normal;
}
.page-home .hero-stat-ticker {
  background: #ffffff;
  border-color: #e6e5e0;
}
.page-home .hero-stat-label { color: #807d72; }
.page-home .hero-stat-value { color: #26251e; font-weight: 500; }
.page-home .btn-hero-cta {
  background: #0272F2;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
}
.page-home .btn-hero-cta:hover { background: #0262D6; }
.page-home .hero-app-img { filter: none; }
.hero-underlay-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}
.hero-underlay-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-app-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 40px;
}
.hero-app-wrap .hero-app-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

/* --- Hero spacing --- */
.page-home .home-hero-inner { padding-top: 80px; }
.page-home .home-hero-text { padding-bottom: 48px; }

/* --- Feature cards (vercards) --- */
.page-home .vercards-section { background: var(--backgroundmain); padding-top: 80px; }
.page-home .vercards-wrap { padding: 0 var(--page-px); }
.page-home .vercards-header .section-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: #26251e;
}
.page-home .vercards-header .section-sub {
  font-size: 16px;
  color: #5a5852;
}
.page-home .vercard {
  background: #ffffff;
  border: 1px solid #e6e5e0;
  background-image: none;
  box-shadow: none;
}
.page-home .vercard:hover {
  animation: none;
  background: #ffffff;
  background-image: none;
  border: 1px solid #cfcdc4;
  box-shadow: none;
}
.page-home .vercard-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: #26251e;
}
.page-home .vercard-desc { font-size: 14px; color: #5a5852; }
.page-home .vercard-arrow { border-color: #e6e5e0; color: #807d72; }
.page-home .vercard:hover .vercard-arrow {
  background: #26251e;
  border-color: #26251e;
  color: #f7f7f4;
}

/* --- Stay Informed --- */
.page-home .informed-section { background: var(--backgroundmain); padding: 80px 0; }
.page-home .informed-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  color: #26251e;
}
.page-home .informed-sub { font-size: 16px; color: #5a5852; }
.page-home .informed-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .informed-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  background: var(--backgroundbreak);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  flex-direction: unset;
  min-height: 500px;
}
.page-home .informed-card-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-home .informed-card-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #26251e;
  margin-bottom: 14px;
  line-height: 1.2;
}
.page-home .informed-card-desc { font-size: 15px; color: #5a5852; line-height: 1.65; max-width: 320px; }
.page-home .informed-img-wrap {
  border: none;
  overflow: hidden;
  align-self: stretch;
  padding: 24px 24px 24px 0;
}
.page-home .informed-card--flip {
  grid-template-columns: 2fr 1fr;
}
.page-home .informed-card--flip .informed-img-wrap {
  padding: 24px 0 24px 24px;
}
.informed-underlay-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.page-home .informed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}
.informed-app-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 0;
}
.informed-app-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  align-self: flex-end;
}

/* --- Time Save Stats --- */
.page-home .timesave-section { background: var(--backgroundmain); padding: 80px 0; }
.page-home .timesave-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  color: #26251e;
}
.page-home .timesave-sub { color: #5a5852; }
.page-home .timesave-card { background: #ffffff; border-color: #e6e5e0; }
.page-home .timesave-label { color: #807d72; }
.page-home .timesave-bar { background: #0272F2; }
.page-home .timesave-value { color: #fff; }
.page-home .timesave-unit { color: #fff; }
.page-home .timesave-card-accent { background: #26251e; border-color: #26251e; }
.page-home .timesave-card-accent .timesave-label { color: rgba(247,247,244,0.6); }
.page-home .timesave-card-accent .timesave-bar { background: transparent; }
.page-home .timesave-card-accent .timesave-value { color: #f7f7f4; }
.page-home .timesave-card-accent .timesave-unit { color: #f7f7f4; }
.page-home .timesave-footnote { color: #807d72; }

/* --- Final CTA --- */
.page-home .final-cta { background: var(--backgroundmain); padding: 80px 0; }
.page-home .final-cta-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: #26251e;
}
.page-home .btn-cta-primary {
  background: #0272F2;
  border-radius: 8px;
  box-shadow: none;
}
.page-home .btn-cta-primary:hover { background: #0262D6; box-shadow: none; }
.page-home .btn-cta-secondary {
  background: #ffffff;
  color: #26251e;
  border-color: #cfcdc4;
  border-radius: 8px;
}
.page-home .final-cta-note { color: #807d72; }

/*---------- PAGE: CASE MANAGEMENT ----------*/

/* Page background */
body.page-incident-management { background: var(--backgroundmain); }

/* Hero */
.page-incident-management .cm-hero { background: var(--backgroundmain); }
.page-incident-management .cm-hero::before { display: none; }
.page-incident-management .cm-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: #807d72;
  margin-bottom: 20px;
}
.page-incident-management .cm-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -1.5px;
  color: #26251e;
  line-height: 1.1;
}
.page-incident-management .cm-hero-sub { color: #5a5852; }
.page-incident-management .cm-ghost-btn {
  color: #26251e;
  border: 1px solid #cfcdc4;
  border-radius: 8px;
  background: #ffffff;
}
.page-incident-management .cm-ghost-btn:hover { background: var(--backgroundbreak); border-color: #cfcdc4; }

/* Stats bar */
.page-incident-management .cm-stats-bar {
  background: var(--backgroundmain);
}
.page-incident-management .cm-stat-item {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
}
.page-incident-management .cm-stat-num {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.72px;
  color: #26251e;
}
.page-incident-management .cm-stat-label { font-size: 13px; color: #5a5852; }

/* Feature section header */
.page-incident-management .cm-feat-header { padding: 80px var(--page-px) 0; }
.page-incident-management .cm-feat-header-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: #807d72;
  margin-bottom: 12px;
}
.page-incident-management .cm-feat-header-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  color: #26251e;
  line-height: 1.2;
}
.page-incident-management .cm-feat-header-sub { font-size: 16px; color: #5a5852; }

/* Feature detail sections */
.page-incident-management .feat-detail-section { background: var(--backgroundmain); padding: 80px 0; }
.page-incident-management .feat-detail-section + .feat-detail-section { padding-top: 0; }
.page-incident-management .feat-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.page-incident-management .feat-detail-inner.flip {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Badge */
.page-incident-management .feat-detail-badge {
  gap: 8px;
  margin-bottom: 14px;
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 8px;
  padding: 6px 12px 6px 6px;
}
.page-incident-management .feat-detail-badge-icon {
  display: flex;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e6e5e0;
}
.page-incident-management .feat-detail-badge-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #5a5852;
}

/* Titles & body copy */
.page-incident-management .feat-detail-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #26251e;
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-incident-management .feat-detail-desc { color: #5a5852; font-size: 15px; line-height: 1.65; }

/* Bullet list */
.page-incident-management .feature-row-list li { font-size: 14px; color: #5a5852; }
.page-incident-management .feature-row-list li .row-check {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0272F2;
  flex-shrink: 0;
  margin-top: 6px;
}

/* Mockup card */
.page-incident-management .feat-detail-mockup {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
}
.page-incident-management .feat-detail-mockup-bar {
  background: #efeee8;
  border-bottom: 1px solid #e6e5e0;
  border-radius: 12px 12px 0 0;
  padding: 10px 14px;
}
.page-incident-management .feat-detail-mockup-dot { background: #cfcdc4; }
.page-incident-management .feat-detail-mockup-title { color: #807d72; }

/* Feature image box */
.page-incident-management .feat-img-box {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
}

.page-incident-management .feat-img-box img {
  width: 100%;
  display: block;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}
#incident-logging .feat-img-box {
  align-items: center;
  padding: 24px;
}
#incident-logging .feat-img-box img {
  border-radius: 8px;
}
#case-workflow .feat-img-box {
  align-items: center;
  padding: 24px;
}
#case-workflow .feat-img-box img {
  border-radius: 8px;
}
#reporting .feat-img-box img {
  width: 80%;
  margin: 0 auto;
}

/* Buttons */
.page-incident-management .btn-cta-primary {
  background: #0272F2;
  border-radius: 8px;
  box-shadow: none;
}
.page-incident-management .btn-cta-primary:hover { background: #0262D6; box-shadow: none; }
.page-incident-management .btn-cta-secondary {
  background: #ffffff;
  color: #26251e;
  border-color: #cfcdc4;
  border-radius: 8px;
}

/* Final CTA */
.page-incident-management .final-cta { background: var(--backgroundmain); }
.page-incident-management .final-cta-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: #26251e;
}
.page-incident-management .final-cta-note { color: #807d72; }

/*---------- PAGE: INDUSTRIES ----------*/

body.page-industries { background: var(--backgroundmain); }

/* Hero */
.page-industries .page-hero { background: var(--backgroundmain); padding: 80px 0 64px; }
.page-industries .cm-hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: #807d72;
  margin-bottom: 20px;
}
.page-industries .page-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -1.5px;
  color: #26251e;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-industries .page-hero-sub { font-size: 16px; color: #5a5852; line-height: 1.6; max-width: 560px; }

/* Cards section */
.page-industries .industries-section { background: var(--backgroundmain); padding: 0 0 80px; }
.page-industries .industries-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Industry card — same pattern as homepage informed cards */
.page-industries .industry-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  background: var(--backgroundbreak);
  border-radius: 16px;
  min-height: 480px;
  overflow: hidden;
}
.page-industries .industry-card--flip {
  grid-template-columns: 2fr 1fr;
}

/* Card body */
.page-industries .industry-card-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-industries .industry-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: #807d72;
  margin-bottom: 16px;
}
.page-industries .industry-card-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: #26251e;
  line-height: 1.2;
  margin: 0 0 14px;
}
.page-industries .industry-card-desc {
  font-size: 15px;
  color: #5a5852;
  line-height: 1.65;
  max-width: 320px;
  margin: 0;
}

/* Image column */
.page-industries .industry-img-wrap {
  overflow: hidden;
  align-self: stretch;
  padding: 24px 24px 24px 0;
}
.page-industries .industry-card--flip .industry-img-wrap {
  padding: 24px 0 24px 24px;
}
.page-industries .industry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Final CTA */
.page-industries .final-cta { background: var(--backgroundmain); }
.page-industries .final-cta-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: #26251e;
}
.page-industries .btn-cta-primary {
  background: #0272F2;
  border-radius: 8px;
  box-shadow: none;
}
.page-industries .btn-cta-primary:hover { background: #0262D6; box-shadow: none; }
.page-industries .btn-cta-secondary {
  background: #ffffff;
  color: #26251e;
  border-color: #cfcdc4;
  border-radius: 8px;
}

/*---------- PAGE: INVESTIGATIONS ----------*/

body.page-investigations {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
}

/* Hero */
.page-investigations .cm-hero { background: var(--backgroundmain); }
.page-investigations .cm-hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.88px;
  text-transform: uppercase; color: #807d72; margin-bottom: 20px;
}
.page-investigations .cm-hero-title { font-size: clamp(32px, 4vw, 52px); font-weight: 400; letter-spacing: -1.5px; color: #26251e; line-height: 1.1; }
.page-investigations .cm-hero-sub { color: #5a5852; }
.page-investigations .cm-ghost-btn { color: #26251e; border: 1px solid #cfcdc4; border-radius: 8px; background: #ffffff; }
.page-investigations .cm-ghost-btn:hover { background: var(--backgroundbreak); }
.page-investigations .btn-cta-primary { background: #0272F2; border-radius: 8px; box-shadow: none; }
.page-investigations .btn-cta-primary:hover { background: #0262D6; box-shadow: none; }

/* Shared sections */
.page-investigations .startup-cards-section { background: var(--backgroundmain); }
.page-investigations .final-cta { background: var(--backgroundmain); }
.page-investigations .final-cta-title { color: #26251e; }
.page-investigations .final-cta-note { color: #807d72; }

/* Feature detail rows */
.page-investigations .feat-detail-section { background: var(--backgroundmain); padding: 80px 0; }
.page-investigations .feat-detail-section + .feat-detail-section { padding-top: 0; }
.page-investigations .feat-detail-title { color: #26251e; }
.page-investigations .feat-detail-desc { color: #5a5852; }
.page-investigations .feat-detail-badge { background: #ffffff; border: 1px solid #e6e5e0; }
.page-investigations .feat-detail-badge-label { color: #26251e; }
.page-investigations .feature-row-list li { font-size: 14px; color: #5a5852; }
.page-investigations .feature-row-list li .row-check { background: #0272F2; }

/*---------- PAGE: AUDITS ----------*/

body.page-audits {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
}

/* Hero */
.page-audits .aud-hero { background: var(--backgroundmain); }
.page-audits .aud-hero-title { font-weight: 400; letter-spacing: -1.5px; color: #26251e; }
.page-audits .aud-hero-sub { color: #5a5852; }
.page-audits .aud-float-log { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 12px; }
.page-audits .aud-float-log-head { border-bottom: 1px solid #e6e5e0; color: #26251e; font-weight: 500; }
.page-audits .aud-float-districts { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 12px; }
.page-audits .aud-float-districts-head { border-bottom: 1px solid #e6e5e0; color: #26251e; font-weight: 500; }
.page-audits .aud-float-districts-row { border-bottom: 1px solid #efeee8; color: #5a5852; }
.page-audits .btn-cta-primary { background: #0272F2; border-radius: 8px; box-shadow: none; }
.page-audits .btn-cta-primary:hover { background: #0262D6; box-shadow: none; }
.page-audits .cm-ghost-btn { color: #26251e; border: 1px solid #cfcdc4; border-radius: 8px; background: #ffffff; }
.page-audits .cm-ghost-btn:hover { background: var(--backgroundbreak); }

/* Split section */
.page-audits .aud-split-section { background: var(--backgroundmain); }
.page-audits .aud-split-tag { border-color: #e6e5e0; color: #5a5852; background: var(--backgroundbreak); border-radius: 8px; }
.page-audits .aud-split-tag-muted { background: transparent; color: #807d72; }
.page-audits .aud-split-heading { font-weight: 400; letter-spacing: -1px; color: #26251e; }
.page-audits .aud-split-body { color: #5a5852; }
.page-audits .aud-split-mockup-lg { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 12px; overflow: hidden; }
.page-audits .aud-table-head { background: var(--backgroundbreak); color: #807d72; }
.page-audits .aud-table-row { color: #5a5852; }
.page-audits .aud-cell-store { color: #26251e; }
.page-audits .aud-split-mockup-sm { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 12px; padding: 16px; }
.page-audits .aud-split-export { background: var(--backgroundbreak); border: 1px solid #e6e5e0; border-radius: 12px; padding: 20px; }
.page-audits .aud-export-btn { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 8px; color: #26251e; }

/* Template section */
.page-audits .aud-template-section { background: var(--backgroundmain); }
.page-audits .aud-section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; color: #807d72; display: block; margin-bottom: 10px; }
.page-audits .aud-section-title { font-weight: 400; letter-spacing: -0.72px; color: #26251e; }
.page-audits .aud-template-cell { border-color: #e6e5e0; }
.page-audits .aud-cell-mockup { background: var(--backgroundbreak); border: 1px solid #e6e5e0; border-radius: 12px; overflow: hidden; }
.page-audits .aud-cell-mockup-header { background: #efeee8; border-bottom: 1px solid #e6e5e0; border-radius: 12px 12px 0 0; }
.page-audits .aud-dot-sm { background: #cfcdc4; }
.page-audits .aud-mockup-label { color: #807d72; }
.page-audits .aud-cell-heading { font-weight: 400; color: #26251e; letter-spacing: -0.3px; }
.page-audits .aud-cell-sub { color: #5a5852; }

/* Feature cards */
.page-audits .feat-cards-section { background: var(--backgroundmain); padding: 80px 0; }
.page-audits .fcard { background: var(--backgroundbreak); border: 1px solid #e6e5e0; border-radius: 16px; }
.page-audits .fcard-badge { background: none; border: none; padding: 0; gap: 8px; margin-bottom: 14px; }
.page-audits .fcard-badge-icon { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 6px; }
.page-audits .fcard-badge-label { font-size: 12px; font-weight: 500; color: #5a5852; letter-spacing: 0; text-transform: none; }
.page-audits .fcard-title { font-weight: 400; letter-spacing: -0.3px; color: #26251e; }
.page-audits .fcard-desc { color: #5a5852; }
.page-audits .fcard-mockup { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 10px; }
.page-audits .fcard-mockup-bar { background: var(--backgroundbreak); border-bottom: 1px solid #e6e5e0; border-radius: 10px 10px 0 0; }
.page-audits .fcard-mockup-dot { background: #cfcdc4; }
.page-audits .fcard-mockup-label { color: #807d72; }

/* VTC section */
.page-audits .aud-vtc-section { background: var(--backgroundmain); }
.page-audits .aud-vtc-heading { font-weight: 400; letter-spacing: -1px; color: #26251e; }
.page-audits .aud-vtc-sub { color: #5a5852; }
.page-audits .aud-vtc-card { background: var(--backgroundbreak); border-color: #e6e5e0; border-radius: 12px; }
.page-audits .aud-vtc-icon { background: var(--backgroundbreak); border-color: #e6e5e0; color: #26251e; }
.page-audits .aud-vtc-card-title { color: #26251e; font-weight: 500; }
.page-audits .aud-vtc-card-desc { color: #5a5852; }

/* Program section */
.page-audits .aud-program-section { background: var(--backgroundmain); }
.page-audits .aud-program-header { border-color: #e6e5e0; }
.page-audits .aud-program-title { font-weight: 400; letter-spacing: -0.72px; color: #26251e; }
.page-audits .aud-pcard { background: var(--backgroundbreak); border-color: #e6e5e0; border-radius: 12px; }
.page-audits .aud-pcard-visual { background: var(--backgroundbreak); border-bottom: none; border-top: none; }
.page-audits .aud-pcard-heading { font-weight: 400; color: #26251e; letter-spacing: -0.3px; }
.page-audits .aud-pcard-desc { color: #5a5852; }
.page-audits .aud-pcard-sm { background: var(--backgroundbreak); border-color: #e6e5e0; border-radius: 12px; }
.page-audits .aud-pcard-sm-heading { font-weight: 400; color: #26251e; letter-spacing: -0.3px; margin: 20px 16px 6px; }
.page-audits .aud-pcard-sm-desc { color: #5a5852; margin: 0 16px 14px; }
.page-audits .aud-pcard-sm-visual { padding: 0 16px 16px; border-top: none; }

/* Inline CTA */
.page-audits .inline-cta { background: var(--backgroundmain); }
.page-audits .inline-cta .container { background: #26251e; border-radius: 16px; }
.page-audits .inline-cta-text { color: #f7f7f4; font-weight: 400; letter-spacing: -0.5px; }
.page-audits .btn-white { background: var(--backgroundmain); color: #26251e; border-radius: 8px; }
.page-audits .btn-white:hover { background: #efeee8; }
.page-audits .btn-white-ghost { color: rgba(247,247,244,0.7); border-color: rgba(247,247,244,0.25); border-radius: 8px; }

/*---------- PAGE: STARTUP ----------*/

body.page-startup {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
}

/* Hero */
.page-startup .cm-hero { background: var(--backgroundmain); }
.page-startup .cm-hero::before { display: none; }
.page-startup .cm-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; color: #807d72; margin-bottom: 20px; }
.page-startup .cm-hero-title { font-size: clamp(32px, 4vw, 52px); font-weight: 400; letter-spacing: -1.5px; color: #26251e; line-height: 1.1; }
.page-startup .cm-hero-sub { color: #5a5852; }
.page-startup .cm-ghost-btn { color: #26251e; border: 1px solid #cfcdc4; border-radius: 8px; background: #ffffff; }
.page-startup .cm-ghost-btn:hover { background: var(--backgroundbreak); }
.page-startup .btn-cta-primary { background: #0272F2; border-radius: 8px; box-shadow: none; }
.page-startup .btn-cta-primary:hover { background: #0262D6; box-shadow: none; }

/* Stats bar */
.page-startup .cm-stats-bar { background: var(--backgroundmain); }
.page-startup .cm-stat-item { background: var(--backgroundbreak); border: 1px solid #e6e5e0; border-radius: 12px; }
.page-startup .cm-stat-num { font-size: clamp(22px, 2.5vw, 30px); font-weight: 400; letter-spacing: -0.72px; color: #26251e; }
.page-startup .cm-stat-label { font-size: 13px; color: #5a5852; }

/* ---- 3-column feature cards ---- */
.startup-cards-section { background: var(--backgroundmain); padding: 80px 0; }
.startup-cards-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-px); }
.startup-cards-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.startup-cards-header-left { display: flex; flex-direction: column; }
.startup-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase; color: #807d72; margin-bottom: 14px; }
.startup-section-title { font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.72px; color: #26251e; line-height: 1.2; margin: 0; }
.startup-section-sub { font-size: 16px; color: #5a5852; margin: 0; align-self: end; }
.startup-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.startup-card { background: var(--backgroundbreak); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.startup-card-top { padding: 28px 28px 20px; }
.startup-card-title { font-size: 15px; font-weight: 500; color: #26251e; line-height: 1.35; margin: 0 0 8px; }
.startup-card-desc { font-size: 14px; color: #5a5852; line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.startup-card-link { font-size: 13px; font-weight: 500; color: #0272F2; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.startup-card-link:hover { color: #0262D6; }
.startup-card-visual { flex: 1; background: var(--backgroundbreak); border-top: none; padding: 20px; min-height: 190px; }
.startup-card-visual--img { padding: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.startup-card-img { width: 85%; display: block; border-radius: 8px; }

/* ---- Hairline feature grid ---- */
.startup-grid-section { background: var(--backgroundmain); padding: 80px 0; }
.startup-grid-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-px); }
.startup-grid-header { margin-bottom: 48px; }
.startup-grid-title { font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.72px; color: #26251e; line-height: 1.2; margin: 0 0 10px; }
.startup-grid-sub { font-size: 16px; color: #5a5852; margin: 0; }
.startup-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.startup-feature-item { padding: 24px; background: var(--backgroundbreak); border: 1px solid #e6e5e0; border-radius: 8px; }
.startup-feature-title { font-size: 14px; font-weight: 500; color: #26251e; margin: 0 0 6px; }
.startup-feature-desc { font-size: 13px; color: #5a5852; line-height: 1.55; margin: 0; }

/* ---- FAQ ---- */
.startup-faq-section { background: var(--backgroundmain); padding: 80px 0; }
.startup-faq-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-px); display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.startup-faq-heading { font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.72px; color: #26251e; line-height: 1.2; margin: 0; position: sticky; top: calc(var(--nav-height) + 40px); }
.startup-faq-list { display: flex; flex-direction: column; border-top: 1px solid #e6e5e0; }
.startup-faq-item { border-bottom: 1px solid #e6e5e0; }
.startup-faq-question { width: 100%; background: none; border: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; text-align: left; font-family: inherit; }
.startup-faq-q-text { font-size: 15px; font-weight: 400; color: #26251e; line-height: 1.4; }
.startup-faq-chevron { width: 16px; height: 16px; flex-shrink: 0; color: #807d72; transition: transform 0.2s ease; }
.startup-faq-answer { font-size: 14px; color: #5a5852; line-height: 1.65; padding: 0 0 20px; display: none; max-width: 580px; }
.startup-faq-item.open .startup-faq-answer { display: block; }
.startup-faq-item.open .startup-faq-chevron { transform: rotate(180deg); }
.startup-faq-question:hover .startup-faq-q-text { color: #0272F2; }

/* Final CTA */
.page-startup .final-cta { background: var(--backgroundmain); }
.page-startup .final-cta-inner { max-width: 800px; }
.page-startup .final-cta-title { color: #26251e; white-space: nowrap; }
.page-startup .final-cta-note { color: #807d72; }

/*---------- PAGE: ENTERPRISE ----------*/
body.page-enterprise {
  background: var(--backgroundmain);
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
  --accent: #0272F2;
}
.page-enterprise .cm-hero { background: var(--backgroundmain); }
.page-enterprise .startup-grid-section { background: var(--backgroundmain); }
.page-enterprise .final-cta { background: var(--backgroundmain); }
.page-enterprise .final-cta-title { color: #26251e; }
.page-enterprise .final-cta-note { color: #807d72; }

/* Informed cards */
.page-enterprise .ent-informed-section { background: var(--backgroundmain); padding: 0 0 80px; }
.page-enterprise .ent-informed-grid { display: flex; flex-direction: column; gap: 16px; }
.page-enterprise .informed-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  background: var(--backgroundbreak);
  border-radius: 16px;
  overflow: hidden;
  min-height: 500px;
}
.page-enterprise .informed-card--flip { grid-template-columns: 2fr 1fr; }
.page-enterprise .informed-card-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-enterprise .informed-card-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #26251e;
  margin-bottom: 14px;
  line-height: 1.2;
}
.page-enterprise .informed-card-desc { font-size: 15px; color: #5a5852; line-height: 1.65; max-width: 320px; }
.page-enterprise .informed-img-wrap { overflow: hidden; align-self: stretch; padding: 24px 24px 24px 0; }
.page-enterprise .informed-card--flip .informed-img-wrap { padding: 24px 0 24px 24px; }
.page-enterprise .informed-img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; border-radius: 10px; }
.page-enterprise .ent-informed-section .informed-card:first-child { min-height: unset; height: 500px; }
.page-enterprise .ent-informed-section .informed-card:first-child .informed-img-wrap { padding: 24px 24px 24px 0; }
.page-enterprise .ent-informed-section .informed-card:first-child .informed-img { object-fit: contain; object-position: right center; }
.page-enterprise .ent-informed-section .informed-card--flip { height: 500px; }
.page-enterprise .ent-informed-section .informed-card--flip .informed-img { object-fit: cover; object-position: center top; }

/*---------- PAGE: CONTACT DIRECTORY ----------*/
body.page-contact-directory {
  background: var(--backgroundmain);
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
  --accent: #0272F2;
}
.page-contact-directory .ctc-header {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 64px;
  background: var(--backgroundmain);
}
.page-contact-directory .ctc-title {
  font-weight: 400;
  letter-spacing: -1px;
  color: #26251e;
}
.page-contact-directory .ctc-sub { color: #5a5852; }
.page-contact-directory .cdir-section { background: var(--backgroundmain); padding: 0 0 80px; }
.page-contact-directory .cdir-card {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
}
.page-contact-directory .cdir-card-title { font-weight: 500; color: #26251e; }
.page-contact-directory .cdir-card-body { color: #5a5852; }
.page-contact-directory .cdir-icon {
  background: #ffffff;
  border: 1px solid #e6e5e0;
  border-radius: 8px;
}
.page-contact-directory .cdir-contacts { border-top-color: #e6e5e0; }
.page-contact-directory .cdir-note { color: #807d72; }

/*---------- PAGE: LEGAL ----------*/
body.page-legal {
  background: var(--backgroundmain);
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
  --accent: #0272F2;
}
.page-legal .page-hero { background: var(--backgroundmain); }
.page-legal .page-hero-title { font-weight: 400; letter-spacing: -1px; }
.page-legal .legal-docs-section { background: var(--backgroundmain); padding: 0 0 80px; }
.page-legal .legal-doc-card {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
}
.page-legal .legal-doc-card:hover { background: #eae9e4; border-color: #c9c8c3; }
.page-legal .legal-doc-title { font-weight: 500; color: #26251e; }
.page-legal .legal-doc-desc { color: #5a5852; }
.page-legal .legal-doc-meta { color: #807d72; }
.page-legal .legal-doc-icon { background: #ffffff; border-color: #e6e5e0; border-radius: 8px; }
.page-legal .legal-group-label { font-weight: 600; color: #26251e; }
.page-legal .legal-group-desc { color: #807d72; }

/*---------- PAGE: LEGAL DOCUMENT (all policy/agreement sub-pages) ----------*/
body.page-legal-doc {
  background: var(--backgroundmain);
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
  --accent: #0272F2;
}
.page-legal-doc .policy-page { background: var(--backgroundmain); }
.page-legal-doc .policy-page-title { font-weight: 400; letter-spacing: -0.8px; }
.page-legal-doc .policy-section-heading { font-weight: 500; }
.page-legal-doc .policy-tracker-label { font-weight: 600; }
.page-legal-doc .policy-nav-item:hover { background: var(--backgroundbreak); }
.page-legal-doc .policy-contact-block { border-color: #e6e5e0; border-radius: 12px; }
.page-legal-doc .policy-contact-row { border-bottom-color: #e6e5e0; }
.page-legal-doc .legal-back { color: #807d72; }
.page-legal-doc .legal-back:hover { color: #26251e; }

/*---------- PAGE: RESPONSIBILITY ----------*/
body.page-responsibility {
  background: var(--backgroundmain);
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
  --accent: #0272F2;
}
.page-responsibility .resp-hero { background: var(--backgroundmain); }
.page-responsibility .resp-hero-title { font-weight: 400; letter-spacing: -1px; }
.page-responsibility .resp-letter { background: #ffffff; border-radius: 12px; box-shadow: none; border: 1px solid #e6e5e0; }
.page-responsibility .resp-group-title { font-weight: 500; }
.page-responsibility .resp-row-title { font-weight: 500; }
.page-responsibility .resp-row-link { font-weight: 500; border-bottom-color: #e6e5e0; }
.page-responsibility .resp-sections { background: var(--backgroundmain); padding: 0 0 80px; }

/*---------- PAGE: BLOG ----------*/
body.page-blog {
  background: var(--backgroundmain);
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
  --accent: #0272F2;
}
.page-blog .page-hero { background: var(--backgroundmain); }
.page-blog .page-hero-title { font-weight: 400; letter-spacing: -1px; }
.page-blog .blog-section { background: var(--backgroundmain); padding: 64px 0 80px; }
.page-blog .blog-card { background: var(--backgroundbreak); border-color: #e6e5e0; }
.page-blog .blog-card:hover { border-color: #c9c8c3; box-shadow: none; transform: none; }
.page-blog .blog-card-image { background: #eae9e4; border-bottom-color: #e6e5e0; }
.page-blog .blog-card-title { font-weight: 500; }
.page-blog .blog-card-category { font-weight: 600; }
.page-blog .blog-card-meta { border-top-color: #e6e5e0; }
.page-blog .blog-empty { background: var(--backgroundbreak); border-color: #e6e5e0; }
.page-blog .blog-empty h3 { font-weight: 500; }

/*---------- PAGE: CONTACT ----------*/
body.page-partnerships {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
}

/* ---- Guided flow layout ---- */
.page-partnerships .pship-flow-section {
  padding: 0 0 120px;
}

.pship-step {
  display: none;
  justify-content: center;
}

.pship-step.pship-step--active {
  display: flex;
  animation: pship-fadein 0.25s ease;
}

@keyframes pship-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step label ("Step 1 of 2") */
.pship-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #807d72;
  margin-bottom: 10px;
}

/* Shared action button */
.pship-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0272F2;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 48px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.pship-action-btn:hover:not(:disabled) { background: #0262D6; }
.pship-action-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---- Step 1: Start card ---- */
.pship-start-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pship-start-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #807d72;
  margin-bottom: 20px;
}

.pship-start-title {
  font-size: 26px;
  font-weight: 600;
  color: #26251e;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.pship-start-desc {
  font-size: 15px;
  color: #5a5852;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* ---- Step 2: TOS card ---- */
.pship-tos-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 160px);
}

.pship-tos-header {
  padding: 36px 48px 28px;
  border-bottom: 1px solid #e6e5e0;
  flex-shrink: 0;
}

.pship-tos-title {
  font-size: 20px;
  font-weight: 600;
  color: #26251e;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.pship-tos-intro {
  font-size: 14px;
  color: #5a5852;
  line-height: 1.6;
  margin: 0;
}

.pship-tos-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 48px;
  overscroll-behavior: contain;
}

.pship-tos-section {
  padding: 20px 0;
}

.pship-tos-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #26251e;
  margin-bottom: 6px;
}

.pship-tos-section-body {
  font-size: 14px;
  color: #5a5852;
  line-height: 1.65;
  margin: 0;
}

.pship-tos-footer {
  padding: 24px 48px 32px;
  border-top: 1px solid #e6e5e0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pship-tos-agree-notice {
  font-size: 14px;
  font-weight: 600;
  color: #26251e;
  margin: 0;
}

.pship-tos-agree-confirm {
  font-size: 14px;
  font-weight: 600;
  color: #26251e;
  margin: 0 0 6px;
}

.pship-agree-btn {
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid #26251e;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #26251e;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pship-agree-btn:hover {
  background: var(--backgroundmain);
}

/* Form section labels */
.pship-form-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #807d72;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6e5e0;
}

.pship-form-section-label:first-child {
  margin-top: 0;
}

.ctc-label-optional {
  font-weight: 400;
  color: #807d72;
}

/* ---- Step 3: Form card ---- */
.pship-form-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  overflow: hidden;
}

.pship-form-card-header {
  padding: 36px 48px 0;
}

.pship-form-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #26251e;
  letter-spacing: -0.2px;
  margin-bottom: 28px;
}

.pship-form-card .ctc-form {
  padding: 0 48px 40px;
}

.pship-form-card .ctc-success {
  margin: 0 48px 48px;
}

/* Responsive */
@media (max-width: 680px) {
  .pship-start-card { padding: 40px 28px; }
  .pship-tos-header,
  .pship-tos-footer { padding-left: 24px; padding-right: 24px; }
  .pship-tos-body { padding: 0 24px; }
  .pship-tos-footer { flex-direction: column; align-items: flex-start; }
  .pship-form-card-header { padding: 28px 24px 0; }
  .pship-form-card .ctc-form { padding: 0 24px 32px; }
  .pship-form-card .ctc-success { margin: 0 24px 32px; }
}

body.page-contact {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
}

/* Header */
.page-contact .ctc-header { background: var(--backgroundmain); }
.page-contact .ctc-title { font-weight: 400; letter-spacing: -1.5px; color: #26251e; }
.page-contact .ctc-sub { color: #5a5852; }

/* Body */
.page-contact .ctc-body { background: var(--backgroundmain); }
.page-contact .ctc-input { background: #ffffff; border-color: #e6e5e0; color: #26251e; }
.page-contact .ctc-input:focus { border-color: #0272F2; box-shadow: 0 0 0 3px rgba(2,114,242,0.1); }

/* Submit */
.page-contact .ctc-submit { background: #0272F2; box-shadow: none; }
.page-contact .ctc-submit:hover { background: #0262D6; box-shadow: none; }

/* Success */
.page-contact .ctc-success { background: #ffffff; border-color: #e6e5e0; }
.page-contact .ctc-success-title { font-weight: 400; color: #26251e; }

/* Sidebar info cards */
.page-contact .ctc-info-card { background: #ffffff; border-color: #e6e5e0; }
.page-contact .ctc-info-icon { background: var(--backgroundbreak); color: #5a5852; }

/* Demo card */
.page-contact .ctc-demo-card { background: #26251e; }
.page-contact .ctc-demo-title { font-weight: 400; letter-spacing: -0.3px; color: #ffffff; }
.page-contact .ctc-demo-card .overline { color: rgba(255,255,255,0.5); }
.page-contact .ctc-demo-btn { color: #26251e; background: #ffffff; }
.page-contact .ctc-demo-btn:hover { background: var(--backgroundbreak); }

/* Quick links section */
.page-contact .ctc-links-section { background: var(--backgroundbreak); }
.page-contact .ctc-link-card { background: #ffffff; border-color: #e6e5e0; }
.page-contact .ctc-link-card:hover { box-shadow: none; transform: none; border-color: #c9c8c3; }
.page-contact .ctc-link-icon { background: var(--backgroundbreak); color: #0272F2; }
.page-contact .ctc-link-title { font-weight: 500; color: #26251e; }

/*---------- PAGE: PRICING ----------*/
body.page-pricing {
  background: var(--backgroundmain);
  --accent: #0272F2;
  --accent-hover: #0262D6;
  --border: #e6e5e0;
  --border-light: #efeee8;
  --text-primary: #26251e;
  --text-secondary: #5a5852;
  --text-muted: #807d72;
}

/* Header */
.page-pricing .px2-header { background: var(--backgroundmain); }
.page-pricing .px2-title { font-weight: 400; letter-spacing: -2px; color: #26251e; }
.page-pricing .px2-sub { color: #5a5852; }

/* Separated card layout — restore container padding, add gap, round cards */
.page-pricing .px2-plans-wrap { background: var(--backgroundmain); padding-bottom: 60px; }
.page-pricing .px2-plans-wrap .container { padding-left: var(--page-px); padding-right: var(--page-px); }
.page-pricing .px2-plans { gap: 12px; }
.page-pricing .px2-plan { background: #ffffff; border: 1px solid #e6e5e0; border-radius: 12px; padding: 32px; }
.page-pricing .px2-plan-name { font-weight: 500; letter-spacing: -0.2px; color: #26251e; }
.page-pricing .px2-price { font-weight: 400; letter-spacing: -2px; color: #26251e; }

/* Featured plan — dark ink inversion */
.page-pricing .px2-plan-featured { background: #26251e; border-color: #26251e; border-top-width: 1px; padding-top: 32px; }
.page-pricing .px2-plan-featured .px2-plan-name { color: #f7f7f4; }
.page-pricing .px2-plan-featured .px2-plan-desc { color: rgba(247,247,244,0.6); }
.page-pricing .px2-plan-featured .px2-price { color: #f7f7f4; }
.page-pricing .px2-plan-featured .px2-price-meta { color: rgba(247,247,244,0.5); }
.page-pricing .px2-plan-featured .px2-price-annual { color: rgba(247,247,244,0.5); }
.page-pricing .px2-plan-featured .px2-bullets li { color: rgba(247,247,244,0.75); }
.page-pricing .px2-plan-featured .px2-bullets li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%23f7f7f4' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.page-pricing .px2-plan-featured .px2-cta-blue { background: var(--backgroundmain); color: #26251e; border-color: #f7f7f4; }
.page-pricing .px2-plan-featured .px2-cta-blue:hover { background: #efeee8; border-color: #efeee8; }

/* Popular badge — sits on dark card now */
.page-pricing .px2-popular { background: rgba(247,247,244,0.15); color: #f7f7f4; border-radius: 6px; letter-spacing: 0.06em; }

/* CTA buttons — rounded.md (8px) instead of pill */
.page-pricing .px2-cta { border-radius: 8px; font-weight: 500; }
.page-pricing .px2-sh-cta { border-radius: 8px; font-weight: 500; }

/* Bullet checkmarks — updated to #0272F2 */
.page-pricing .px2-bullets li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%230272F2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Custom nudge */
.page-pricing .px2-custom-nudge { padding-left: var(--page-px); padding-right: var(--page-px); }
.page-pricing .px2-nudge-frame { background: var(--backgroundbreak); border-color: #e6e5e0; border-radius: 12px; }
.page-pricing .px2-custom-nudge-title { font-weight: 400; letter-spacing: -0.3px; color: #26251e; }

/* Comparison table */
.page-pricing .px2-sticky { background: var(--backgroundmain); }
.page-pricing .px2-cat-eyebrow { color: #807d72; }
.page-pricing .px2-cat-name { font-weight: 400; letter-spacing: -0.4px; color: #26251e; }

/* Comparison checkmarks — updated colors */
.page-pricing .px2-val.chk::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.5' stroke='%23e6e5e0'/%3E%3Cpath d='M5.5 9l2.5 2.5 4.5-5' stroke='%230272F2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.page-pricing .px2-val.dsh::after { color: #cfcdc4; }


/*---------- CASE MANAGEMENT PAGE ----------*/

.cm-row-section {
  background: var(--backgroundmain);
  padding: 80px 0;
}
.cm-row-section + .cm-row-section {
  padding-top: 0;
}
.cm-row-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.cm-row-inner.cm-row-flip {
  grid-template-columns: 1.5fr 1fr;
}
.cm-row-inner.cm-row-flip .cm-row-content { order: 2; }
.cm-row-inner.cm-row-flip .cm-row-visual  { order: 1; }
.cm-row-visual {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  padding: 24px;
}
.cm-row-visual img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/*---------- INVESTIGATIONS PAGE ----------*/

.inv-img-box {
  background: var(--backgroundbreak);
  border: 1px solid #e6e5e0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  padding: 24px;
}
.inv-img-box img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
#suspect-tracking .inv-img-box {
  justify-content: center;
  padding: 32px;
}
#suspect-tracking .inv-img-box img {
  width: 85%;
}
.feat-detail-inner--wide {
  grid-template-columns: 1fr 1.4fr;
}
.page-investigations .mm-hero-img {
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent), linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent), linear-gradient(to bottom, black 70%, transparent 100%);
  mask-composite: intersect;
}

/*---------- ABOUT PAGE ----------*/

.about-stat-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-stat-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.about-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1.5px;
  margin-bottom: 6px;
}
.about-stat-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.steps-section--alt {
  background: var(--backgroundbreak);
}

/*---------- SUPPLIER POLICY PAGE ----------*/

.sp-section-intro {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.sp-section-commitment {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.sp-section-contact {
  padding: 80px 0;
}
.sp-bordered {
  border-bottom: 1px solid var(--border);
}
.sp-alt {
  background: var(--backgroundbreak);
  border-bottom: 1px solid var(--border);
}
.sp-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sp-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.sp-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sp-card-label--lg {
  margin-bottom: 14px;
}
.sp-card-quote {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0;
}
.sp-partner-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.sp-commitment-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-commitment-card {
  background: var(--backgroundbreak);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sp-commitment-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.sp-commitment-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.sp-commitment-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.sp-narrow {
  max-width: 740px;
}
.sp-cta-title {
  margin-bottom: 16px;
}
.sp-cta-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}
.sp-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.sp-cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}
.sp-link {
  color: var(--accent);
  text-decoration: none;
}

/*---------- BLOG / LEGAL INDEX — CENTERED HERO ----------*/

.page-hero--center {
  text-align: center;
}
.page-hero--center .page-hero-sub {
  margin: 0 auto;
}

/*---------- COOKIE POLICY PAGE ----------*/

.policy-term {
  color: var(--text-primary);
}

/*---------- CONTACT DIRECTORY PAGE ----------*/

.ctc-sub a {
  color: var(--accent);
}

/*---------- ENTERPRISE PAGE ----------*/

.informed-app-wrap--offset {
  padding: 24px 8px 0 40px;
}

/*---------- MID-MARKET PAGE ----------*/

.mid-market-img {
  width: 100%;
  height: auto;
  display: block;
}

/*---------- MOBILE RESPONSIVE — SITE-WIDE ----------*/
@media (max-width: 768px) {

  /* Vercard grid: reset tall/wide spans */
  .vercard-tall { grid-row: span 1; }
  .vercards-grid { grid-auto-rows: auto; }

  /* Home page informed cards: collapse 2-col grid */
  .page-home .informed-card {
    grid-template-columns: 1fr;
    min-height: auto;
    flex-direction: column;
  }
  .page-home .informed-card--flip { grid-template-columns: 1fr; }
  .page-home .informed-card--flip .informed-img-wrap { order: -1; }
  .page-home .informed-card-body { padding: 36px 28px; }
  .page-home .informed-img-wrap { padding: 0 0 28px; min-height: 220px; }
  .page-home .informed-card-desc { max-width: 100%; }

  /* Hero stat ticker: allow wrap on very small screens */
  .hero-stat-ticker { flex-wrap: wrap; }

  /* Home hero inner: tighten padding */
  .page-home .home-hero-inner { padding-top: 56px; }
  .page-home .home-hero-text { padding-bottom: 32px; gap: 14px; }

  /* CTA section: stack on mobile */
  .cta-section-inner { flex-direction: column; gap: 24px; }
  .cta-section-sub { font-size: 26px; }
  .cta-actions { flex-direction: column; width: 100%; margin-left: 0; }
  .cta-actions .btn-cta-primary,
  .cta-actions .btn-cta-secondary { width: 100%; justify-content: center; }

  /* Logo bar: tighten */
  .logo-bar-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .logo-bar-label { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 12px; width: 100%; }
  .logo-bar-logos { gap: 10px; }

  /* Informed card (generic): stack */
  .informed-grid { grid-template-columns: 1fr; }
  .informed-card { flex-direction: column; }
  .informed-img-wrap { width: 100%; }

  /* Feature detail: reduce padding */
  .fdet-hero-inner { padding: 60px var(--page-px) 0; }

  /* cm-row: stack */
  .cm-row-inner,
  .cm-row-inner.cm-row-flip { grid-template-columns: 1fr; gap: 40px; }
  .cm-row-inner.cm-row-flip .cm-row-content { order: 0; }
  .cm-row-inner.cm-row-flip .cm-row-visual  { order: 0; }
  .cm-row-inner { padding: 0 var(--page-px); }

  /* Contact directory: stack */
  .cdir-grid { grid-template-columns: 1fr; }

  /* Legal page: stack sidebar */
  .legal-page-layout { grid-template-columns: 1fr; }
  .legal-page-layout::before { display: none; }
  .legal-page-sidebar { position: static; padding-right: 0; margin-bottom: 32px; }
  .legal-page-content { padding-left: 0; }

  /* General section padding reduction */
  .section { padding: 64px 0; }
  .cta-section { padding: 72px 0; }
}
